include/mscvpdb.h: Use flexible array members for the rest of structures.
[wine.git] / configure
blob5ef0acd586e708ff9f939633e889a63c8e3a741c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 9.13.
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.13'
615 PACKAGE_STRING='Wine 9.13'
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 toolsdir
813 x86_64_DISABLED_SUBDIRS
814 x86_64_DELAYLOADFLAG
815 x86_64_TARGET
816 x86_64_DEBUG
817 x86_64_LDFLAGS
818 x86_64_EXTRACFLAGS
819 x86_64_CFLAGS
820 x86_64_CC
821 i386_DISABLED_SUBDIRS
822 i386_DELAYLOADFLAG
823 i386_TARGET
824 i386_DEBUG
825 i386_LDFLAGS
826 i386_EXTRACFLAGS
827 i386_CFLAGS
828 i386_CC
829 arm64ec_DISABLED_SUBDIRS
830 arm64ec_DELAYLOADFLAG
831 arm64ec_TARGET
832 arm64ec_DEBUG
833 arm64ec_LDFLAGS
834 arm64ec_EXTRACFLAGS
835 arm64ec_CFLAGS
836 arm64ec_CC
837 arm_DISABLED_SUBDIRS
838 arm_DELAYLOADFLAG
839 arm_TARGET
840 arm_DEBUG
841 arm_LDFLAGS
842 arm_EXTRACFLAGS
843 arm_CFLAGS
844 arm_CC
845 aarch64_DISABLED_SUBDIRS
846 aarch64_DELAYLOADFLAG
847 aarch64_TARGET
848 aarch64_DEBUG
849 aarch64_LDFLAGS
850 aarch64_EXTRACFLAGS
851 aarch64_CFLAGS
852 aarch64_CC
853 HOST_ARCH
854 toolsext
855 TARGETFLAGS
857 CPPBIN
858 ac_ct_CXX
859 CXXFLAGS
861 OBJEXT
862 EXEEXT
863 ac_ct_CC
864 CPPFLAGS
865 LDFLAGS
866 CFLAGS
868 SET_MAKE
869 srcdir
870 host_os
871 host_vendor
872 host_cpu
873 host
874 build_os
875 build_vendor
876 build_cpu
877 build
878 system_dllpath
879 target_alias
880 host_alias
881 build_alias
882 LIBS
883 ECHO_T
884 ECHO_N
885 ECHO_C
886 DEFS
887 mandir
888 localedir
889 libdir
890 psdir
891 pdfdir
892 dvidir
893 htmldir
894 infodir
895 docdir
896 oldincludedir
897 includedir
898 runstatedir
899 localstatedir
900 sharedstatedir
901 sysconfdir
902 datadir
903 datarootdir
904 libexecdir
905 sbindir
906 bindir
907 program_transform_name
908 prefix
909 exec_prefix
910 PACKAGE_URL
911 PACKAGE_BUGREPORT
912 PACKAGE_STRING
913 PACKAGE_VERSION
914 PACKAGE_TARNAME
915 PACKAGE_NAME
916 PATH_SEPARATOR
917 SHELL'
918 ac_subst_files=''
919 ac_user_opts='
920 enable_option_checking
921 enable_archs
922 enable_win16
923 enable_win64
924 enable_tests
925 enable_build_id
926 enable_maintainer_mode
927 enable_silent_rules
928 enable_werror
929 with_alsa
930 with_capi
931 with_coreaudio
932 with_cups
933 with_dbus
934 with_fontconfig
935 with_freetype
936 with_gettext
937 with_gettextpo
938 with_gphoto
939 with_gnutls
940 with_gssapi
941 with_gstreamer
942 with_inotify
943 with_krb5
944 with_mingw
945 with_netapi
946 with_odbc
947 with_opencl
948 with_opengl
949 with_osmesa
950 with_oss
951 with_pcap
952 with_pcsclite
953 with_pthread
954 with_pulse
955 with_sane
956 with_sdl
957 with_udev
958 with_unwind
959 with_usb
960 with_v4l2
961 with_vulkan
962 with_wayland
963 with_xcomposite
964 with_xcursor
965 with_xfixes
966 with_xinerama
967 with_xinput
968 with_xinput2
969 with_xrandr
970 with_xrender
971 with_xshape
972 with_xshm
973 with_xxf86vm
974 with_system_dllpath
975 with_wine_tools
976 with_wine64
977 enable_largefile
978 with_x
979 enable_acledit
980 enable_aclui
981 enable_activeds_tlb
982 enable_activeds
983 enable_actxprxy
984 enable_adsldp
985 enable_adsldpc
986 enable_advapi32
987 enable_advpack
988 enable_amsi
989 enable_amstream
990 enable_apisetschema
991 enable_apphelp
992 enable_appwiz_cpl
993 enable_appxdeploymentclient
994 enable_atl
995 enable_atl100
996 enable_atl110
997 enable_atl80
998 enable_atl90
999 enable_atlthunk
1000 enable_atmlib
1001 enable_authz
1002 enable_avicap32
1003 enable_avifil32
1004 enable_avrt
1005 enable_bcp47langs
1006 enable_bcrypt
1007 enable_bcryptprimitives
1008 enable_bluetoothapis
1009 enable_browseui
1010 enable_bthprops_cpl
1011 enable_cabinet
1012 enable_capi2032
1013 enable_cards
1014 enable_cdosys
1015 enable_cfgmgr32
1016 enable_clusapi
1017 enable_cng_sys
1018 enable_combase
1019 enable_comcat
1020 enable_comctl32
1021 enable_comdlg32
1022 enable_coml2
1023 enable_compstui
1024 enable_comsvcs
1025 enable_concrt140
1026 enable_connect
1027 enable_coremessaging
1028 enable_credui
1029 enable_crtdll
1030 enable_crypt32
1031 enable_cryptdlg
1032 enable_cryptdll
1033 enable_cryptext
1034 enable_cryptnet
1035 enable_cryptowinrt
1036 enable_cryptsp
1037 enable_cryptui
1038 enable_ctapi32
1039 enable_ctl3d32
1040 enable_d2d1
1041 enable_d3d10
1042 enable_d3d10_1
1043 enable_d3d10core
1044 enable_d3d11
1045 enable_d3d12
1046 enable_d3d12core
1047 enable_d3d8
1048 enable_d3d8thk
1049 enable_d3d9
1050 enable_d3dcompiler_33
1051 enable_d3dcompiler_34
1052 enable_d3dcompiler_35
1053 enable_d3dcompiler_36
1054 enable_d3dcompiler_37
1055 enable_d3dcompiler_38
1056 enable_d3dcompiler_39
1057 enable_d3dcompiler_40
1058 enable_d3dcompiler_41
1059 enable_d3dcompiler_42
1060 enable_d3dcompiler_43
1061 enable_d3dcompiler_46
1062 enable_d3dcompiler_47
1063 enable_d3dim
1064 enable_d3dim700
1065 enable_d3drm
1066 enable_d3dx10_33
1067 enable_d3dx10_34
1068 enable_d3dx10_35
1069 enable_d3dx10_36
1070 enable_d3dx10_37
1071 enable_d3dx10_38
1072 enable_d3dx10_39
1073 enable_d3dx10_40
1074 enable_d3dx10_41
1075 enable_d3dx10_42
1076 enable_d3dx10_43
1077 enable_d3dx11_42
1078 enable_d3dx11_43
1079 enable_d3dx9_24
1080 enable_d3dx9_25
1081 enable_d3dx9_26
1082 enable_d3dx9_27
1083 enable_d3dx9_28
1084 enable_d3dx9_29
1085 enable_d3dx9_30
1086 enable_d3dx9_31
1087 enable_d3dx9_32
1088 enable_d3dx9_33
1089 enable_d3dx9_34
1090 enable_d3dx9_35
1091 enable_d3dx9_36
1092 enable_d3dx9_37
1093 enable_d3dx9_38
1094 enable_d3dx9_39
1095 enable_d3dx9_40
1096 enable_d3dx9_41
1097 enable_d3dx9_42
1098 enable_d3dx9_43
1099 enable_d3dxof
1100 enable_davclnt
1101 enable_dbgeng
1102 enable_dbghelp
1103 enable_dciman32
1104 enable_dcomp
1105 enable_ddraw
1106 enable_ddrawex
1107 enable_devenum
1108 enable_dhcpcsvc
1109 enable_dhcpcsvc6
1110 enable_dhtmled_ocx
1111 enable_diasymreader
1112 enable_difxapi
1113 enable_dinput
1114 enable_dinput8
1115 enable_directmanipulation
1116 enable_dispex
1117 enable_dmband
1118 enable_dmcompos
1119 enable_dmime
1120 enable_dmloader
1121 enable_dmscript
1122 enable_dmstyle
1123 enable_dmsynth
1124 enable_dmusic
1125 enable_dmusic32
1126 enable_dnsapi
1127 enable_dplay
1128 enable_dplayx
1129 enable_dpnaddr
1130 enable_dpnet
1131 enable_dpnhpast
1132 enable_dpnhupnp
1133 enable_dpnlobby
1134 enable_dpvoice
1135 enable_dpwsockx
1136 enable_drmclien
1137 enable_dsdmo
1138 enable_dsound
1139 enable_dsquery
1140 enable_dssenh
1141 enable_dsuiext
1142 enable_dswave
1143 enable_dwmapi
1144 enable_dwrite
1145 enable_dx8vb
1146 enable_dxcore
1147 enable_dxdiagn
1148 enable_dxgi
1149 enable_dxtrans
1150 enable_dxva2
1151 enable_esent
1152 enable_evr
1153 enable_explorerframe
1154 enable_faultrep
1155 enable_feclient
1156 enable_fltlib
1157 enable_fltmgr_sys
1158 enable_fntcache
1159 enable_fontsub
1160 enable_fusion
1161 enable_fwpuclnt
1162 enable_gameux
1163 enable_gamingtcui
1164 enable_gdi32
1165 enable_gdiplus
1166 enable_geolocation
1167 enable_glu32
1168 enable_gphoto2_ds
1169 enable_gpkcsp
1170 enable_graphicscapture
1171 enable_hal
1172 enable_hhctrl_ocx
1173 enable_hid
1174 enable_hidclass_sys
1175 enable_hidparse_sys
1176 enable_hlink
1177 enable_hnetcfg
1178 enable_hrtfapo
1179 enable_http_sys
1180 enable_httpapi
1181 enable_hvsimanagementapi
1182 enable_ia2comproxy
1183 enable_iccvid
1184 enable_icmp
1185 enable_ieframe
1186 enable_ieproxy
1187 enable_imaadp32_acm
1188 enable_imagehlp
1189 enable_imm32
1190 enable_inetcomm
1191 enable_inetcpl_cpl
1192 enable_inetmib1
1193 enable_infosoft
1194 enable_initpki
1195 enable_inkobj
1196 enable_inseng
1197 enable_iphlpapi
1198 enable_iprop
1199 enable_ir50_32
1200 enable_irprops_cpl
1201 enable_itircl
1202 enable_itss
1203 enable_joy_cpl
1204 enable_jscript
1205 enable_jsproxy
1206 enable_kerberos
1207 enable_kernel32
1208 enable_kernelbase
1209 enable_ksecdd_sys
1210 enable_ksproxy_ax
1211 enable_ksuser
1212 enable_ktmw32
1213 enable_l3codeca_acm
1214 enable_light_msstyles
1215 enable_loadperf
1216 enable_localspl
1217 enable_localui
1218 enable_lz32
1219 enable_magnification
1220 enable_mapi32
1221 enable_mapistub
1222 enable_mciavi32
1223 enable_mcicda
1224 enable_mciqtz32
1225 enable_mciseq
1226 enable_mciwave
1227 enable_mf
1228 enable_mf3216
1229 enable_mferror
1230 enable_mfmediaengine
1231 enable_mfplat
1232 enable_mfplay
1233 enable_mfreadwrite
1234 enable_mfsrcsnk
1235 enable_mgmtapi
1236 enable_midimap
1237 enable_mlang
1238 enable_mmcndmgr
1239 enable_mmdevapi
1240 enable_mouhid_sys
1241 enable_mountmgr_sys
1242 enable_mp3dmod
1243 enable_mpr
1244 enable_mprapi
1245 enable_msacm32_drv
1246 enable_msacm32
1247 enable_msado15
1248 enable_msadp32_acm
1249 enable_msasn1
1250 enable_msauddecmft
1251 enable_mscat32
1252 enable_mscms
1253 enable_mscoree
1254 enable_mscorwks
1255 enable_msctf
1256 enable_msctfmonitor
1257 enable_msctfp
1258 enable_msdaps
1259 enable_msdasql
1260 enable_msdelta
1261 enable_msdmo
1262 enable_msdrm
1263 enable_msftedit
1264 enable_msg711_acm
1265 enable_msgsm32_acm
1266 enable_mshtml_tlb
1267 enable_mshtml
1268 enable_msi
1269 enable_msident
1270 enable_msimg32
1271 enable_msimsg
1272 enable_msimtf
1273 enable_msisip
1274 enable_msisys_ocx
1275 enable_msls31
1276 enable_msmpeg2vdec
1277 enable_msnet32
1278 enable_mspatcha
1279 enable_msports
1280 enable_msrle32
1281 enable_msscript_ocx
1282 enable_mssign32
1283 enable_mssip32
1284 enable_mstask
1285 enable_msttsengine
1286 enable_msv1_0
1287 enable_msvcirt
1288 enable_msvcm80
1289 enable_msvcm90
1290 enable_msvcp100
1291 enable_msvcp110
1292 enable_msvcp120
1293 enable_msvcp120_app
1294 enable_msvcp140
1295 enable_msvcp140_1
1296 enable_msvcp140_2
1297 enable_msvcp140_atomic_wait
1298 enable_msvcp140_codecvt_ids
1299 enable_msvcp60
1300 enable_msvcp70
1301 enable_msvcp71
1302 enable_msvcp80
1303 enable_msvcp90
1304 enable_msvcp_win
1305 enable_msvcr100
1306 enable_msvcr110
1307 enable_msvcr120
1308 enable_msvcr120_app
1309 enable_msvcr70
1310 enable_msvcr71
1311 enable_msvcr80
1312 enable_msvcr90
1313 enable_msvcrt
1314 enable_msvcrt20
1315 enable_msvcrt40
1316 enable_msvcrtd
1317 enable_msvfw32
1318 enable_msvidc32
1319 enable_mswsock
1320 enable_msxml
1321 enable_msxml2
1322 enable_msxml3
1323 enable_msxml4
1324 enable_msxml6
1325 enable_mtxdm
1326 enable_ncrypt
1327 enable_nddeapi
1328 enable_ndis_sys
1329 enable_netapi32
1330 enable_netcfgx
1331 enable_netio_sys
1332 enable_netprofm
1333 enable_netutils
1334 enable_newdev
1335 enable_ninput
1336 enable_normaliz
1337 enable_npmshtml
1338 enable_npptools
1339 enable_nsi
1340 enable_nsiproxy_sys
1341 enable_ntdll
1342 enable_ntdsapi
1343 enable_ntoskrnl_exe
1344 enable_ntprint
1345 enable_objsel
1346 enable_odbc32
1347 enable_odbcbcp
1348 enable_odbccp32
1349 enable_odbccu32
1350 enable_ole32
1351 enable_oleacc
1352 enable_oleaut32
1353 enable_olecli32
1354 enable_oledb32
1355 enable_oledlg
1356 enable_olepro32
1357 enable_olesvr32
1358 enable_olethk32
1359 enable_opcservices
1360 enable_opencl
1361 enable_opengl32
1362 enable_packager
1363 enable_pdh
1364 enable_photometadatahandler
1365 enable_pidgen
1366 enable_powrprof
1367 enable_printui
1368 enable_prntvpt
1369 enable_profapi
1370 enable_propsys
1371 enable_psapi
1372 enable_pstorec
1373 enable_pwrshplugin
1374 enable_qasf
1375 enable_qcap
1376 enable_qdvd
1377 enable_qedit
1378 enable_qmgr
1379 enable_qmgrprxy
1380 enable_quartz
1381 enable_query
1382 enable_qwave
1383 enable_rasapi32
1384 enable_rasdlg
1385 enable_regapi
1386 enable_resutils
1387 enable_riched20
1388 enable_riched32
1389 enable_rometadata
1390 enable_rpcrt4
1391 enable_rsabase
1392 enable_rsaenh
1393 enable_rstrtmgr
1394 enable_rtutils
1395 enable_rtworkq
1396 enable_samlib
1397 enable_sane_ds
1398 enable_sapi
1399 enable_sas
1400 enable_scarddlg
1401 enable_scardsvr
1402 enable_sccbase
1403 enable_schannel
1404 enable_schedsvc
1405 enable_scrobj
1406 enable_scrrun
1407 enable_scsiport_sys
1408 enable_sechost
1409 enable_secur32
1410 enable_security
1411 enable_sensapi
1412 enable_serialui
1413 enable_setupapi
1414 enable_sfc
1415 enable_sfc_os
1416 enable_shcore
1417 enable_shdoclc
1418 enable_shdocvw
1419 enable_shell32
1420 enable_shfolder
1421 enable_shlwapi
1422 enable_slbcsp
1423 enable_slc
1424 enable_snmpapi
1425 enable_softpub
1426 enable_spoolss
1427 enable_sppc
1428 enable_srclient
1429 enable_srvcli
1430 enable_srvsvc
1431 enable_sspicli
1432 enable_stdole2_tlb
1433 enable_stdole32_tlb
1434 enable_sti
1435 enable_strmdll
1436 enable_svrapi
1437 enable_sxs
1438 enable_t2embed
1439 enable_tapi32
1440 enable_taskschd
1441 enable_tbs
1442 enable_tdh
1443 enable_tdi_sys
1444 enable_threadpoolwinrt
1445 enable_traffic
1446 enable_twain_32
1447 enable_twinapi_appcore
1448 enable_tzres
1449 enable_ucrtbase
1450 enable_uianimation
1451 enable_uiautomationcore
1452 enable_uiribbon
1453 enable_unicows
1454 enable_updspapi
1455 enable_url
1456 enable_urlmon
1457 enable_usbd_sys
1458 enable_user32
1459 enable_userenv
1460 enable_usp10
1461 enable_utildll
1462 enable_uxtheme
1463 enable_vbscript
1464 enable_vcomp
1465 enable_vcomp100
1466 enable_vcomp110
1467 enable_vcomp120
1468 enable_vcomp140
1469 enable_vcomp90
1470 enable_vcruntime140
1471 enable_vcruntime140_1
1472 enable_vdmdbg
1473 enable_version
1474 enable_vga
1475 enable_virtdisk
1476 enable_vssapi
1477 enable_vulkan_1
1478 enable_wbemdisp
1479 enable_wbemprox
1480 enable_wdscore
1481 enable_webservices
1482 enable_websocket
1483 enable_wer
1484 enable_wevtapi
1485 enable_wevtsvc
1486 enable_wiaservc
1487 enable_wimgapi
1488 enable_win32u
1489 enable_windows_applicationmodel
1490 enable_windows_devices_bluetooth
1491 enable_windows_devices_enumeration
1492 enable_windows_devices_usb
1493 enable_windows_gaming_input
1494 enable_windows_gaming_ui_gamebar
1495 enable_windows_globalization
1496 enable_windows_media_devices
1497 enable_windows_media_mediacontrol
1498 enable_windows_media_speech
1499 enable_windows_media
1500 enable_windows_networking_hostname
1501 enable_windows_networking
1502 enable_windows_perception_stub
1503 enable_windows_security_authentication_onlineid
1504 enable_windows_security_credentials_ui_userconsentverifier
1505 enable_windows_storage_applicationdata
1506 enable_windows_system_profile_systemmanufacturers
1507 enable_windows_ui
1508 enable_windows_web
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_xtajit64
1613 enable_fonts
1614 enable_include
1615 enable_adsiid
1616 enable_dmoguids
1617 enable_dxerr8
1618 enable_dxerr9
1619 enable_dxguid
1620 enable_faudio
1621 enable_fluidsynth
1622 enable_gsm
1623 enable_jpeg
1624 enable_jxr
1625 enable_lcms2
1626 enable_ldap
1627 enable_mfuuid
1628 enable_mpg123
1629 enable_musl
1630 enable_png
1631 enable_strmbase
1632 enable_strmiids
1633 enable_tiff
1634 enable_uuid
1635 enable_vkd3d
1636 enable_wbemuuid
1637 enable_wmcodecdspuuid
1638 enable_xml2
1639 enable_xslt
1640 enable_zlib
1641 enable_zydis
1642 enable_loader
1643 enable_nls
1644 enable_po
1645 enable_arp
1646 enable_aspnet_regiis
1647 enable_attrib
1648 enable_cabarc
1649 enable_cacls
1650 enable_certutil
1651 enable_chcp_com
1652 enable_clock
1653 enable_cmd
1654 enable_conhost
1655 enable_control
1656 enable_cscript
1657 enable_dism
1658 enable_dllhost
1659 enable_dplaysvr
1660 enable_dpnsvr
1661 enable_dpvsetup
1662 enable_dxdiag
1663 enable_eject
1664 enable_expand
1665 enable_explorer
1666 enable_extrac32
1667 enable_fc
1668 enable_find
1669 enable_findstr
1670 enable_fsutil
1671 enable_hh
1672 enable_hostname
1673 enable_icacls
1674 enable_icinfo
1675 enable_iexplore
1676 enable_ipconfig
1677 enable_klist
1678 enable_lodctr
1679 enable_mofcomp
1680 enable_mshta
1681 enable_msidb
1682 enable_msiexec
1683 enable_msinfo32
1684 enable_net
1685 enable_netsh
1686 enable_netstat
1687 enable_ngen
1688 enable_notepad
1689 enable_oleview
1690 enable_ping
1691 enable_plugplay
1692 enable_pnputil
1693 enable_powershell
1694 enable_presentationfontcache
1695 enable_progman
1696 enable_reg
1697 enable_regasm
1698 enable_regedit
1699 enable_regini
1700 enable_regsvcs
1701 enable_regsvr32
1702 enable_robocopy
1703 enable_rpcss
1704 enable_rundll32
1705 enable_sc
1706 enable_schtasks
1707 enable_sdbinst
1708 enable_secedit
1709 enable_servicemodelreg
1710 enable_services
1711 enable_setx
1712 enable_shutdown
1713 enable_spoolsv
1714 enable_start
1715 enable_subst
1716 enable_svchost
1717 enable_systeminfo
1718 enable_taskkill
1719 enable_tasklist
1720 enable_taskmgr
1721 enable_termsv
1722 enable_uninstaller
1723 enable_unlodctr
1724 enable_view
1725 enable_wevtutil
1726 enable_where
1727 enable_whoami
1728 enable_wineboot
1729 enable_winebrowser
1730 enable_winecfg
1731 enable_wineconsole
1732 enable_winedbg
1733 enable_winedevice
1734 enable_winefile
1735 enable_winemenubuilder
1736 enable_winemine
1737 enable_winemsibuilder
1738 enable_winepath
1739 enable_winetest
1740 enable_winhlp32
1741 enable_winmgmt
1742 enable_winver
1743 enable_wmic
1744 enable_wmplayer
1745 enable_wordpad
1746 enable_write
1747 enable_wscript
1748 enable_wuauserv
1749 enable_wusa
1750 enable_xcopy
1751 enable_server
1752 enable_tools
1753 enable_sfnt2fon
1754 enable_widl
1755 enable_winebuild
1756 enable_winedump
1757 enable_winegcc
1758 enable_winemaker
1759 enable_wmc
1760 enable_wrc
1762 ac_precious_vars='build_alias
1763 host_alias
1764 target_alias
1766 CFLAGS
1767 LDFLAGS
1768 LIBS
1769 CPPFLAGS
1771 CXXFLAGS
1773 OBJC
1774 OBJCFLAGS
1775 FAUDIO_PE_CFLAGS
1776 FAUDIO_PE_LIBS
1777 FLUIDSYNTH_PE_CFLAGS
1778 FLUIDSYNTH_PE_LIBS
1779 GSM_PE_CFLAGS
1780 GSM_PE_LIBS
1781 JPEG_PE_CFLAGS
1782 JPEG_PE_LIBS
1783 JXR_PE_CFLAGS
1784 JXR_PE_LIBS
1785 LCMS2_PE_CFLAGS
1786 LCMS2_PE_LIBS
1787 LDAP_PE_CFLAGS
1788 LDAP_PE_LIBS
1789 MPG123_PE_CFLAGS
1790 MPG123_PE_LIBS
1791 MUSL_PE_CFLAGS
1792 MUSL_PE_LIBS
1793 PNG_PE_CFLAGS
1794 PNG_PE_LIBS
1795 TIFF_PE_CFLAGS
1796 TIFF_PE_LIBS
1797 VKD3D_PE_CFLAGS
1798 VKD3D_PE_LIBS
1799 XML2_PE_CFLAGS
1800 XML2_PE_LIBS
1801 XSLT_PE_CFLAGS
1802 XSLT_PE_LIBS
1803 ZLIB_PE_CFLAGS
1804 ZLIB_PE_LIBS
1805 ZYDIS_PE_CFLAGS
1806 ZYDIS_PE_LIBS
1807 XMKMF
1809 WAYLAND_CLIENT_CFLAGS
1810 WAYLAND_CLIENT_LIBS
1811 XKBCOMMON_CFLAGS
1812 XKBCOMMON_LIBS
1813 XKBREGISTRY_CFLAGS
1814 XKBREGISTRY_LIBS
1815 EGL_CFLAGS
1816 EGL_LIBS
1817 WAYLAND_EGL_CFLAGS
1818 WAYLAND_EGL_LIBS
1819 ODBC_CFLAGS
1820 ODBC_LIBS
1821 INOTIFY_CFLAGS
1822 INOTIFY_LIBS
1823 DBUS_CFLAGS
1824 DBUS_LIBS
1825 GNUTLS_CFLAGS
1826 GNUTLS_LIBS
1827 SANE_CFLAGS
1828 SANE_LIBS
1829 USB_CFLAGS
1830 USB_LIBS
1831 GPHOTO2_CFLAGS
1832 GPHOTO2_LIBS
1833 GPHOTO2_PORT_CFLAGS
1834 GPHOTO2_PORT_LIBS
1835 FREETYPE_CFLAGS
1836 FREETYPE_LIBS
1837 PULSE_CFLAGS
1838 PULSE_LIBS
1839 GSTREAMER_CFLAGS
1840 GSTREAMER_LIBS
1841 UDEV_CFLAGS
1842 UDEV_LIBS
1843 UNWIND_CFLAGS
1844 UNWIND_LIBS
1845 SDL2_CFLAGS
1846 SDL2_LIBS
1847 CAPI20_CFLAGS
1848 CAPI20_LIBS
1849 CUPS_CFLAGS
1850 CUPS_LIBS
1851 FONTCONFIG_CFLAGS
1852 FONTCONFIG_LIBS
1853 KRB5_CFLAGS
1854 KRB5_LIBS
1855 GSSAPI_CFLAGS
1856 GSSAPI_LIBS
1857 NETAPI_CFLAGS
1858 NETAPI_LIBS'
1861 # Initialize some variables set by options.
1862 ac_init_help=
1863 ac_init_version=false
1864 ac_unrecognized_opts=
1865 ac_unrecognized_sep=
1866 # The variables have the same names as the options, with
1867 # dashes changed to underlines.
1868 cache_file=/dev/null
1869 exec_prefix=NONE
1870 no_create=
1871 no_recursion=
1872 prefix=NONE
1873 program_prefix=NONE
1874 program_suffix=NONE
1875 program_transform_name=s,x,x,
1876 silent=
1877 site=
1878 srcdir=
1879 verbose=
1880 x_includes=NONE
1881 x_libraries=NONE
1883 # Installation directory options.
1884 # These are left unexpanded so users can "make install exec_prefix=/foo"
1885 # and all the variables that are supposed to be based on exec_prefix
1886 # by default will actually change.
1887 # Use braces instead of parens because sh, perl, etc. also accept them.
1888 # (The list follows the same order as the GNU Coding Standards.)
1889 bindir='${exec_prefix}/bin'
1890 sbindir='${exec_prefix}/sbin'
1891 libexecdir='${exec_prefix}/libexec'
1892 datarootdir='${prefix}/share'
1893 datadir='${datarootdir}'
1894 sysconfdir='${prefix}/etc'
1895 sharedstatedir='${prefix}/com'
1896 localstatedir='${prefix}/var'
1897 runstatedir='${localstatedir}/run'
1898 includedir='${prefix}/include'
1899 oldincludedir='/usr/include'
1900 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1901 infodir='${datarootdir}/info'
1902 htmldir='${docdir}'
1903 dvidir='${docdir}'
1904 pdfdir='${docdir}'
1905 psdir='${docdir}'
1906 libdir='${exec_prefix}/lib'
1907 localedir='${datarootdir}/locale'
1908 mandir='${datarootdir}/man'
1910 ac_prev=
1911 ac_dashdash=
1912 for ac_option
1914 # If the previous option needs an argument, assign it.
1915 if test -n "$ac_prev"; then
1916 eval $ac_prev=\$ac_option
1917 ac_prev=
1918 continue
1921 case $ac_option in
1922 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1923 *=) ac_optarg= ;;
1924 *) ac_optarg=yes ;;
1925 esac
1927 case $ac_dashdash$ac_option in
1929 ac_dashdash=yes ;;
1931 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1932 ac_prev=bindir ;;
1933 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1934 bindir=$ac_optarg ;;
1936 -build | --build | --buil | --bui | --bu)
1937 ac_prev=build_alias ;;
1938 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1939 build_alias=$ac_optarg ;;
1941 -cache-file | --cache-file | --cache-fil | --cache-fi \
1942 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1943 ac_prev=cache_file ;;
1944 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1945 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1946 cache_file=$ac_optarg ;;
1948 --config-cache | -C)
1949 cache_file=config.cache ;;
1951 -datadir | --datadir | --datadi | --datad)
1952 ac_prev=datadir ;;
1953 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1954 datadir=$ac_optarg ;;
1956 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1957 | --dataroo | --dataro | --datar)
1958 ac_prev=datarootdir ;;
1959 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1960 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1961 datarootdir=$ac_optarg ;;
1963 -disable-* | --disable-*)
1964 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1965 # Reject names that are not valid shell variable names.
1966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1967 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1968 ac_useropt_orig=$ac_useropt
1969 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1970 case $ac_user_opts in
1972 "enable_$ac_useropt"
1973 "*) ;;
1974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1975 ac_unrecognized_sep=', ';;
1976 esac
1977 eval enable_$ac_useropt=no ;;
1979 -docdir | --docdir | --docdi | --doc | --do)
1980 ac_prev=docdir ;;
1981 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1982 docdir=$ac_optarg ;;
1984 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1985 ac_prev=dvidir ;;
1986 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1987 dvidir=$ac_optarg ;;
1989 -enable-* | --enable-*)
1990 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1991 # Reject names that are not valid shell variable names.
1992 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1993 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1994 ac_useropt_orig=$ac_useropt
1995 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1996 case $ac_user_opts in
1998 "enable_$ac_useropt"
1999 "*) ;;
2000 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2001 ac_unrecognized_sep=', ';;
2002 esac
2003 eval enable_$ac_useropt=\$ac_optarg ;;
2005 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2006 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2007 | --exec | --exe | --ex)
2008 ac_prev=exec_prefix ;;
2009 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2010 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2011 | --exec=* | --exe=* | --ex=*)
2012 exec_prefix=$ac_optarg ;;
2014 -gas | --gas | --ga | --g)
2015 # Obsolete; use --with-gas.
2016 with_gas=yes ;;
2018 -help | --help | --hel | --he | -h)
2019 ac_init_help=long ;;
2020 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2021 ac_init_help=recursive ;;
2022 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2023 ac_init_help=short ;;
2025 -host | --host | --hos | --ho)
2026 ac_prev=host_alias ;;
2027 -host=* | --host=* | --hos=* | --ho=*)
2028 host_alias=$ac_optarg ;;
2030 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2031 ac_prev=htmldir ;;
2032 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2033 | --ht=*)
2034 htmldir=$ac_optarg ;;
2036 -includedir | --includedir | --includedi | --included | --include \
2037 | --includ | --inclu | --incl | --inc)
2038 ac_prev=includedir ;;
2039 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2040 | --includ=* | --inclu=* | --incl=* | --inc=*)
2041 includedir=$ac_optarg ;;
2043 -infodir | --infodir | --infodi | --infod | --info | --inf)
2044 ac_prev=infodir ;;
2045 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2046 infodir=$ac_optarg ;;
2048 -libdir | --libdir | --libdi | --libd)
2049 ac_prev=libdir ;;
2050 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2051 libdir=$ac_optarg ;;
2053 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2054 | --libexe | --libex | --libe)
2055 ac_prev=libexecdir ;;
2056 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2057 | --libexe=* | --libex=* | --libe=*)
2058 libexecdir=$ac_optarg ;;
2060 -localedir | --localedir | --localedi | --localed | --locale)
2061 ac_prev=localedir ;;
2062 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2063 localedir=$ac_optarg ;;
2065 -localstatedir | --localstatedir | --localstatedi | --localstated \
2066 | --localstate | --localstat | --localsta | --localst | --locals)
2067 ac_prev=localstatedir ;;
2068 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2069 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2070 localstatedir=$ac_optarg ;;
2072 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2073 ac_prev=mandir ;;
2074 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2075 mandir=$ac_optarg ;;
2077 -nfp | --nfp | --nf)
2078 # Obsolete; use --without-fp.
2079 with_fp=no ;;
2081 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2082 | --no-cr | --no-c | -n)
2083 no_create=yes ;;
2085 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2086 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2087 no_recursion=yes ;;
2089 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2090 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2091 | --oldin | --oldi | --old | --ol | --o)
2092 ac_prev=oldincludedir ;;
2093 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2094 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2095 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2096 oldincludedir=$ac_optarg ;;
2098 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2099 ac_prev=prefix ;;
2100 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2101 prefix=$ac_optarg ;;
2103 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2104 | --program-pre | --program-pr | --program-p)
2105 ac_prev=program_prefix ;;
2106 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2107 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2108 program_prefix=$ac_optarg ;;
2110 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2111 | --program-suf | --program-su | --program-s)
2112 ac_prev=program_suffix ;;
2113 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2114 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2115 program_suffix=$ac_optarg ;;
2117 -program-transform-name | --program-transform-name \
2118 | --program-transform-nam | --program-transform-na \
2119 | --program-transform-n | --program-transform- \
2120 | --program-transform | --program-transfor \
2121 | --program-transfo | --program-transf \
2122 | --program-trans | --program-tran \
2123 | --progr-tra | --program-tr | --program-t)
2124 ac_prev=program_transform_name ;;
2125 -program-transform-name=* | --program-transform-name=* \
2126 | --program-transform-nam=* | --program-transform-na=* \
2127 | --program-transform-n=* | --program-transform-=* \
2128 | --program-transform=* | --program-transfor=* \
2129 | --program-transfo=* | --program-transf=* \
2130 | --program-trans=* | --program-tran=* \
2131 | --progr-tra=* | --program-tr=* | --program-t=*)
2132 program_transform_name=$ac_optarg ;;
2134 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2135 ac_prev=pdfdir ;;
2136 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2137 pdfdir=$ac_optarg ;;
2139 -psdir | --psdir | --psdi | --psd | --ps)
2140 ac_prev=psdir ;;
2141 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2142 psdir=$ac_optarg ;;
2144 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2145 | -silent | --silent | --silen | --sile | --sil)
2146 silent=yes ;;
2148 -runstatedir | --runstatedir | --runstatedi | --runstated \
2149 | --runstate | --runstat | --runsta | --runst | --runs \
2150 | --run | --ru | --r)
2151 ac_prev=runstatedir ;;
2152 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2153 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2154 | --run=* | --ru=* | --r=*)
2155 runstatedir=$ac_optarg ;;
2157 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2158 ac_prev=sbindir ;;
2159 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2160 | --sbi=* | --sb=*)
2161 sbindir=$ac_optarg ;;
2163 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2164 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2165 | --sharedst | --shareds | --shared | --share | --shar \
2166 | --sha | --sh)
2167 ac_prev=sharedstatedir ;;
2168 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2169 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2170 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2171 | --sha=* | --sh=*)
2172 sharedstatedir=$ac_optarg ;;
2174 -site | --site | --sit)
2175 ac_prev=site ;;
2176 -site=* | --site=* | --sit=*)
2177 site=$ac_optarg ;;
2179 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2180 ac_prev=srcdir ;;
2181 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2182 srcdir=$ac_optarg ;;
2184 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2185 | --syscon | --sysco | --sysc | --sys | --sy)
2186 ac_prev=sysconfdir ;;
2187 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2188 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2189 sysconfdir=$ac_optarg ;;
2191 -target | --target | --targe | --targ | --tar | --ta | --t)
2192 ac_prev=target_alias ;;
2193 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2194 target_alias=$ac_optarg ;;
2196 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2197 verbose=yes ;;
2199 -version | --version | --versio | --versi | --vers | -V)
2200 ac_init_version=: ;;
2202 -with-* | --with-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2204 # Reject names that are not valid shell variable names.
2205 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2206 as_fn_error $? "invalid package name: \`$ac_useropt'"
2207 ac_useropt_orig=$ac_useropt
2208 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2209 case $ac_user_opts in
2211 "with_$ac_useropt"
2212 "*) ;;
2213 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=\$ac_optarg ;;
2218 -without-* | --without-*)
2219 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2220 # Reject names that are not valid shell variable names.
2221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2222 as_fn_error $? "invalid package name: \`$ac_useropt'"
2223 ac_useropt_orig=$ac_useropt
2224 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2225 case $ac_user_opts in
2227 "with_$ac_useropt"
2228 "*) ;;
2229 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2230 ac_unrecognized_sep=', ';;
2231 esac
2232 eval with_$ac_useropt=no ;;
2234 --x)
2235 # Obsolete; use --with-x.
2236 with_x=yes ;;
2238 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2239 | --x-incl | --x-inc | --x-in | --x-i)
2240 ac_prev=x_includes ;;
2241 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2242 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2243 x_includes=$ac_optarg ;;
2245 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2246 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2247 ac_prev=x_libraries ;;
2248 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2249 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2250 x_libraries=$ac_optarg ;;
2252 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2253 Try \`$0 --help' for more information"
2256 *=*)
2257 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2258 # Reject names that are not valid shell variable names.
2259 case $ac_envvar in #(
2260 '' | [0-9]* | *[!_$as_cr_alnum]* )
2261 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2262 esac
2263 eval $ac_envvar=\$ac_optarg
2264 export $ac_envvar ;;
2267 # FIXME: should be removed in autoconf 3.0.
2268 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2269 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2270 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2271 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2274 esac
2275 done
2277 if test -n "$ac_prev"; then
2278 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2279 as_fn_error $? "missing argument to $ac_option"
2282 if test -n "$ac_unrecognized_opts"; then
2283 case $enable_option_checking in
2284 no) ;;
2285 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2286 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2287 esac
2290 # Check all directory arguments for consistency.
2291 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2292 datadir sysconfdir sharedstatedir localstatedir includedir \
2293 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2294 libdir localedir mandir runstatedir
2296 eval ac_val=\$$ac_var
2297 # Remove trailing slashes.
2298 case $ac_val in
2299 */ )
2300 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2301 eval $ac_var=\$ac_val;;
2302 esac
2303 # Be sure to have absolute directory names.
2304 case $ac_val in
2305 [\\/$]* | ?:[\\/]* ) continue;;
2306 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2307 esac
2308 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2309 done
2311 # There might be people who depend on the old broken behavior: `$host'
2312 # used to hold the argument of --host etc.
2313 # FIXME: To remove some day.
2314 build=$build_alias
2315 host=$host_alias
2316 target=$target_alias
2318 # FIXME: To remove some day.
2319 if test "x$host_alias" != x; then
2320 if test "x$build_alias" = x; then
2321 cross_compiling=maybe
2322 elif test "x$build_alias" != "x$host_alias"; then
2323 cross_compiling=yes
2327 ac_tool_prefix=
2328 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2330 test "$silent" = yes && exec 6>/dev/null
2333 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2334 ac_ls_di=`ls -di .` &&
2335 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2336 as_fn_error $? "working directory cannot be determined"
2337 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2338 as_fn_error $? "pwd does not report name of working directory"
2341 # Find the source files, if location was not specified.
2342 if test -z "$srcdir"; then
2343 ac_srcdir_defaulted=yes
2344 # Try the directory containing this script, then the parent directory.
2345 ac_confdir=`$as_dirname -- "$as_myself" ||
2346 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2347 X"$as_myself" : 'X\(//\)[^/]' \| \
2348 X"$as_myself" : 'X\(//\)$' \| \
2349 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2350 printf "%s\n" X"$as_myself" |
2351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2352 s//\1/
2355 /^X\(\/\/\)[^/].*/{
2356 s//\1/
2359 /^X\(\/\/\)$/{
2360 s//\1/
2363 /^X\(\/\).*/{
2364 s//\1/
2367 s/.*/./; q'`
2368 srcdir=$ac_confdir
2369 if test ! -r "$srcdir/$ac_unique_file"; then
2370 srcdir=..
2372 else
2373 ac_srcdir_defaulted=no
2375 if test ! -r "$srcdir/$ac_unique_file"; then
2376 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2377 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2379 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2380 ac_abs_confdir=`(
2381 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2382 pwd)`
2383 # When building in place, set srcdir=.
2384 if test "$ac_abs_confdir" = "$ac_pwd"; then
2385 srcdir=.
2387 # Remove unnecessary trailing slashes from srcdir.
2388 # Double slashes in file names in object file debugging info
2389 # mess up M-x gdb in Emacs.
2390 case $srcdir in
2391 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2392 esac
2393 for ac_var in $ac_precious_vars; do
2394 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2395 eval ac_env_${ac_var}_value=\$${ac_var}
2396 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2397 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2398 done
2401 # Report the --help message.
2403 if test "$ac_init_help" = "long"; then
2404 # Omit some internal or obsolete options to make the list less imposing.
2405 # This message is too long to be a string in the A/UX 3.1 sh.
2406 cat <<_ACEOF
2407 \`configure' configures Wine 9.13 to adapt to many kinds of systems.
2409 Usage: $0 [OPTION]... [VAR=VALUE]...
2411 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2412 VAR=VALUE. See below for descriptions of some of the useful variables.
2414 Defaults for the options are specified in brackets.
2416 Configuration:
2417 -h, --help display this help and exit
2418 --help=short display options specific to this package
2419 --help=recursive display the short help of all the included packages
2420 -V, --version display version information and exit
2421 -q, --quiet, --silent do not print \`checking ...' messages
2422 --cache-file=FILE cache test results in FILE [disabled]
2423 -C, --config-cache alias for \`--cache-file=config.cache'
2424 -n, --no-create do not create output files
2425 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2427 Installation directories:
2428 --prefix=PREFIX install architecture-independent files in PREFIX
2429 [$ac_default_prefix]
2430 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2431 [PREFIX]
2433 By default, \`make install' will install all the files in
2434 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2435 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2436 for instance \`--prefix=\$HOME'.
2438 For better control, use the options below.
2440 Fine tuning of the installation directories:
2441 --bindir=DIR user executables [EPREFIX/bin]
2442 --sbindir=DIR system admin executables [EPREFIX/sbin]
2443 --libexecdir=DIR program executables [EPREFIX/libexec]
2444 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2445 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2446 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2447 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2448 --libdir=DIR object code libraries [EPREFIX/lib]
2449 --includedir=DIR C header files [PREFIX/include]
2450 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2451 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2452 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2453 --infodir=DIR info documentation [DATAROOTDIR/info]
2454 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2455 --mandir=DIR man documentation [DATAROOTDIR/man]
2456 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2457 --htmldir=DIR html documentation [DOCDIR]
2458 --dvidir=DIR dvi documentation [DOCDIR]
2459 --pdfdir=DIR pdf documentation [DOCDIR]
2460 --psdir=DIR ps documentation [DOCDIR]
2461 _ACEOF
2463 cat <<\_ACEOF
2465 X features:
2466 --x-includes=DIR X include files are in DIR
2467 --x-libraries=DIR X library files are in DIR
2469 System types:
2470 --build=BUILD configure for building on BUILD [guessed]
2471 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2472 _ACEOF
2475 if test -n "$ac_init_help"; then
2476 case $ac_init_help in
2477 short | recursive ) echo "Configuration of Wine 9.13:";;
2478 esac
2479 cat <<\_ACEOF
2481 Optional Features:
2482 --disable-option-checking ignore unrecognized --enable/--with options
2483 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2484 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2485 --enable-archs={i386,x86_64,arm,aarch64}
2486 enable multiple architectures for PE compilation
2487 --disable-win16 do not include Win16 support
2488 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2489 binaries)
2490 --disable-tests do not build the regression tests
2491 --enable-build-id include .buildid section in output objects
2492 --enable-maintainer-mode
2493 enable maintainer-specific build rules
2494 --enable-silent-rules use silent build rules (override: "make V=1")
2495 --enable-werror treat compilation warnings as errors
2496 --disable-largefile omit support for large files
2498 Optional Packages:
2499 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2500 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2501 --without-alsa do not use the Alsa sound support
2502 --without-capi do not use CAPI (ISDN support)
2503 --without-coreaudio do not use the CoreAudio sound support
2504 --without-cups do not use CUPS
2505 --without-dbus do not use DBus (dynamic device support)
2506 --without-fontconfig do not use fontconfig
2507 --without-freetype do not use the FreeType library
2508 --without-gettext do not use gettext
2509 --with-gettextpo use the GetTextPO library to rebuild po files
2510 --without-gphoto do not use gphoto (Digital Camera support)
2511 --without-gnutls do not use GnuTLS (schannel support)
2512 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2513 --without-gstreamer do not use GStreamer (codecs support)
2514 --without-inotify do not use inotify (filesystem change notifications)
2515 --without-krb5 do not use krb5 (Kerberos)
2516 --without-mingw do not use the MinGW cross-compiler
2517 --without-netapi do not use the Samba NetAPI library
2518 --without-odbc do not use the ODBC library
2519 --without-opencl do not use OpenCL
2520 --without-opengl do not use OpenGL
2521 --without-osmesa do not use the OSMesa library
2522 --without-oss do not use the OSS sound support
2523 --without-pcap do not use the Packet Capture library
2524 --without-pcsclite do not use PCSC lite
2525 --without-pthread do not use the pthread library
2526 --without-pulse do not use PulseAudio sound support
2527 --without-sane do not use SANE (scanner support)
2528 --without-sdl do not use SDL
2529 --without-udev do not use udev (plug and play support)
2530 --without-unwind do not use the libunwind library (exception
2531 handling)
2532 --without-usb do not use the libusb library
2533 --without-v4l2 do not use v4l2 (video capture)
2534 --without-vulkan do not use Vulkan
2535 --without-wayland do not build the Wayland driver
2536 --without-xcomposite do not use the Xcomposite extension
2537 --without-xcursor do not use the Xcursor extension
2538 --without-xfixes do not use Xfixes for clipboard change notifications
2539 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2540 --without-xinput do not use the Xinput extension
2541 --without-xinput2 do not use the Xinput 2 extension
2542 --without-xrandr do not use Xrandr (multi-monitor support)
2543 --without-xrender do not use the Xrender extension
2544 --without-xshape do not use the Xshape extension
2545 --without-xshm do not use XShm (shared memory extension)
2546 --without-xxf86vm do not use XFree video mode extension
2547 --with-system-dllpath=PATH
2548 load external PE dependencies from colon-separated
2549 path PATH
2550 --with-wine-tools=DIR use Wine tools from directory DIR
2551 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2552 --with-x use the X Window System
2554 Some influential environment variables:
2555 CC C compiler command
2556 CFLAGS C compiler flags
2557 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2558 nonstandard directory <lib dir>
2559 LIBS libraries to pass to the linker, e.g. -l<library>
2560 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2561 you have headers in a nonstandard directory <include dir>
2562 CXX C++ compiler command
2563 CXXFLAGS C++ compiler flags
2564 OBJC Objective C compiler command
2565 OBJCFLAGS Objective C compiler flags
2566 FAUDIO_PE_CFLAGS
2567 C compiler flags for the PE faudio, overriding the bundled
2568 version
2569 FAUDIO_PE_LIBS
2570 Linker flags for the PE faudio, overriding the bundled version
2571 FLUIDSYNTH_PE_CFLAGS
2572 C compiler flags for the PE fluidsynth, overriding the bundled
2573 version
2574 FLUIDSYNTH_PE_LIBS
2575 Linker flags for the PE fluidsynth, overriding the bundled
2576 version
2577 GSM_PE_CFLAGS
2578 C compiler flags for the PE gsm, overriding the bundled version
2579 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2580 JPEG_PE_CFLAGS
2581 C compiler flags for the PE jpeg, overriding the bundled version
2582 JPEG_PE_LIBS
2583 Linker flags for the PE jpeg, overriding the bundled version
2584 JXR_PE_CFLAGS
2585 C compiler flags for the PE jxr, overriding the bundled version
2586 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2587 LCMS2_PE_CFLAGS
2588 C compiler flags for the PE lcms2, overriding the bundled
2589 version
2590 LCMS2_PE_LIBS
2591 Linker flags for the PE lcms2, overriding the bundled version
2592 LDAP_PE_CFLAGS
2593 C compiler flags for the PE ldap, overriding the bundled version
2594 LDAP_PE_LIBS
2595 Linker flags for the PE ldap, overriding the bundled version
2596 MPG123_PE_CFLAGS
2597 C compiler flags for the PE mpg123, overriding the bundled
2598 version
2599 MPG123_PE_LIBS
2600 Linker flags for the PE mpg123, overriding the bundled version
2601 MUSL_PE_CFLAGS
2602 C compiler flags for the PE musl, overriding the bundled version
2603 MUSL_PE_LIBS
2604 Linker flags for the PE musl, overriding the bundled version
2605 PNG_PE_CFLAGS
2606 C compiler flags for the PE png, overriding the bundled version
2607 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2608 TIFF_PE_CFLAGS
2609 C compiler flags for the PE tiff, overriding the bundled version
2610 TIFF_PE_LIBS
2611 Linker flags for the PE tiff, overriding the bundled version
2612 VKD3D_PE_CFLAGS
2613 C compiler flags for the PE vkd3d, overriding the bundled
2614 version
2615 VKD3D_PE_LIBS
2616 Linker flags for the PE vkd3d, overriding the bundled version
2617 XML2_PE_CFLAGS
2618 C compiler flags for the PE xml2, overriding the bundled version
2619 XML2_PE_LIBS
2620 Linker flags for the PE xml2, overriding the bundled version
2621 XSLT_PE_CFLAGS
2622 C compiler flags for the PE xslt, overriding the bundled version
2623 XSLT_PE_LIBS
2624 Linker flags for the PE xslt, overriding the bundled version
2625 ZLIB_PE_CFLAGS
2626 C compiler flags for the PE zlib, overriding the bundled version
2627 ZLIB_PE_LIBS
2628 Linker flags for the PE zlib, overriding the bundled version
2629 ZYDIS_PE_CFLAGS
2630 C compiler flags for the PE zydis, overriding the bundled
2631 version
2632 ZYDIS_PE_LIBS
2633 Linker flags for the PE zydis, overriding the bundled version
2634 XMKMF Path to xmkmf, Makefile generator for X Window System
2635 CPP C preprocessor
2636 WAYLAND_CLIENT_CFLAGS
2637 C compiler flags for wayland-client, overriding pkg-config
2638 WAYLAND_CLIENT_LIBS
2639 Linker flags for wayland-client, overriding pkg-config
2640 XKBCOMMON_CFLAGS
2641 C compiler flags for xkbcommon, overriding pkg-config
2642 XKBCOMMON_LIBS
2643 Linker flags for xkbcommon, overriding pkg-config
2644 XKBREGISTRY_CFLAGS
2645 C compiler flags for xkbregistry, overriding pkg-config
2646 XKBREGISTRY_LIBS
2647 Linker flags for xkbregistry, overriding pkg-config
2648 EGL_CFLAGS C compiler flags for egl, overriding pkg-config
2649 EGL_LIBS Linker flags for egl, overriding pkg-config
2650 WAYLAND_EGL_CFLAGS
2651 C compiler flags for wayland-egl, overriding pkg-config
2652 WAYLAND_EGL_LIBS
2653 Linker flags for wayland-egl, overriding pkg-config
2654 ODBC_CFLAGS C compiler flags for odbc, overriding pkg-config
2655 ODBC_LIBS Linker flags for odbc, overriding pkg-config
2656 INOTIFY_CFLAGS
2657 C compiler flags for libinotify, overriding pkg-config
2658 INOTIFY_LIBS
2659 Linker flags for libinotify, overriding pkg-config
2660 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2661 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2662 GNUTLS_CFLAGS
2663 C compiler flags for gnutls, overriding pkg-config
2664 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2665 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2666 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2667 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2668 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2669 GPHOTO2_CFLAGS
2670 C compiler flags for libgphoto2, overriding pkg-config
2671 GPHOTO2_LIBS
2672 Linker flags for libgphoto2, overriding pkg-config
2673 GPHOTO2_PORT_CFLAGS
2674 C compiler flags for libgphoto2_port, overriding pkg-config
2675 GPHOTO2_PORT_LIBS
2676 Linker flags for libgphoto2_port, overriding pkg-config
2677 FREETYPE_CFLAGS
2678 C compiler flags for freetype2, overriding pkg-config
2679 FREETYPE_LIBS
2680 Linker flags for freetype2, overriding pkg-config
2681 PULSE_CFLAGS
2682 C compiler flags for libpulse, overriding pkg-config
2683 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2684 GSTREAMER_CFLAGS
2685 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2686 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2687 GSTREAMER_LIBS
2688 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2689 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2690 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2691 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2692 UNWIND_CFLAGS
2693 C compiler flags for libunwind, overriding pkg-config
2694 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2695 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2696 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2697 CAPI20_CFLAGS
2698 C compiler flags for capi20, overriding pkg-config
2699 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2700 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2701 CUPS_LIBS Linker flags for cups, overriding pkg-config
2702 FONTCONFIG_CFLAGS
2703 C compiler flags for fontconfig, overriding pkg-config
2704 FONTCONFIG_LIBS
2705 Linker flags for fontconfig, overriding pkg-config
2706 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2707 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2708 GSSAPI_CFLAGS
2709 C compiler flags for krb5-gssapi, overriding pkg-config
2710 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2711 NETAPI_CFLAGS
2712 C compiler flags for netapi, overriding pkg-config
2713 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2715 Use these variables to override the choices made by `configure' or to help
2716 it to find libraries and programs with nonstandard names/locations.
2718 Report bugs to <wine-devel@winehq.org>.
2719 Wine home page: <https://www.winehq.org>.
2720 _ACEOF
2721 ac_status=$?
2724 if test "$ac_init_help" = "recursive"; then
2725 # If there are subdirs, report their specific --help.
2726 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2727 test -d "$ac_dir" ||
2728 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2729 continue
2730 ac_builddir=.
2732 case "$ac_dir" in
2733 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2735 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2736 # A ".." for each directory in $ac_dir_suffix.
2737 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2738 case $ac_top_builddir_sub in
2739 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2740 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2741 esac ;;
2742 esac
2743 ac_abs_top_builddir=$ac_pwd
2744 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2745 # for backward compatibility:
2746 ac_top_builddir=$ac_top_build_prefix
2748 case $srcdir in
2749 .) # We are building in place.
2750 ac_srcdir=.
2751 ac_top_srcdir=$ac_top_builddir_sub
2752 ac_abs_top_srcdir=$ac_pwd ;;
2753 [\\/]* | ?:[\\/]* ) # Absolute name.
2754 ac_srcdir=$srcdir$ac_dir_suffix;
2755 ac_top_srcdir=$srcdir
2756 ac_abs_top_srcdir=$srcdir ;;
2757 *) # Relative name.
2758 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2759 ac_top_srcdir=$ac_top_build_prefix$srcdir
2760 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2761 esac
2762 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2764 cd "$ac_dir" || { ac_status=$?; continue; }
2765 # Check for configure.gnu first; this name is used for a wrapper for
2766 # Metaconfig's "Configure" on case-insensitive file systems.
2767 if test -f "$ac_srcdir/configure.gnu"; then
2768 echo &&
2769 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2770 elif test -f "$ac_srcdir/configure"; then
2771 echo &&
2772 $SHELL "$ac_srcdir/configure" --help=recursive
2773 else
2774 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2775 fi || ac_status=$?
2776 cd "$ac_pwd" || { ac_status=$?; break; }
2777 done
2780 test -n "$ac_init_help" && exit $ac_status
2781 if $ac_init_version; then
2782 cat <<\_ACEOF
2783 Wine configure 9.13
2784 generated by GNU Autoconf 2.71
2786 Copyright (C) 2021 Free Software Foundation, Inc.
2787 This configure script is free software; the Free Software Foundation
2788 gives unlimited permission to copy, distribute and modify it.
2789 _ACEOF
2790 exit
2793 ## ------------------------ ##
2794 ## Autoconf initialization. ##
2795 ## ------------------------ ##
2797 # ac_fn_c_try_compile LINENO
2798 # --------------------------
2799 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2800 ac_fn_c_try_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 rm -f conftest.$ac_objext conftest.beam
2804 if { { ac_try="$ac_compile"
2805 case "(($ac_try" in
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2808 esac
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 printf "%s\n" "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>conftest.err
2812 ac_status=$?
2813 if test -s conftest.err; then
2814 grep -v '^ *+' conftest.err >conftest.er1
2815 cat conftest.er1 >&5
2816 mv -f conftest.er1 conftest.err
2818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && {
2820 test -z "$ac_c_werror_flag" ||
2821 test ! -s conftest.err
2822 } && test -s conftest.$ac_objext
2823 then :
2824 ac_retval=0
2825 else $as_nop
2826 printf "%s\n" "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2829 ac_retval=1
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status $ac_retval
2834 } # ac_fn_c_try_compile
2836 # ac_fn_cxx_try_compile LINENO
2837 # ----------------------------
2838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2839 ac_fn_cxx_try_compile ()
2841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2842 rm -f conftest.$ac_objext conftest.beam
2843 if { { ac_try="$ac_compile"
2844 case "(($ac_try" in
2845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2846 *) ac_try_echo=$ac_try;;
2847 esac
2848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2849 printf "%s\n" "$ac_try_echo"; } >&5
2850 (eval "$ac_compile") 2>conftest.err
2851 ac_status=$?
2852 if test -s conftest.err; then
2853 grep -v '^ *+' conftest.err >conftest.er1
2854 cat conftest.er1 >&5
2855 mv -f conftest.er1 conftest.err
2857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2858 test $ac_status = 0; } && {
2859 test -z "$ac_cxx_werror_flag" ||
2860 test ! -s conftest.err
2861 } && test -s conftest.$ac_objext
2862 then :
2863 ac_retval=0
2864 else $as_nop
2865 printf "%s\n" "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2868 ac_retval=1
2870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2871 as_fn_set_status $ac_retval
2873 } # ac_fn_cxx_try_compile
2875 # ac_fn_c_try_link LINENO
2876 # -----------------------
2877 # Try to link conftest.$ac_ext, and return whether this succeeded.
2878 ac_fn_c_try_link ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2882 if { { ac_try="$ac_link"
2883 case "(($ac_try" in
2884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885 *) ac_try_echo=$ac_try;;
2886 esac
2887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2888 printf "%s\n" "$ac_try_echo"; } >&5
2889 (eval "$ac_link") 2>conftest.err
2890 ac_status=$?
2891 if test -s conftest.err; then
2892 grep -v '^ *+' conftest.err >conftest.er1
2893 cat conftest.er1 >&5
2894 mv -f conftest.er1 conftest.err
2896 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897 test $ac_status = 0; } && {
2898 test -z "$ac_c_werror_flag" ||
2899 test ! -s conftest.err
2900 } && test -s conftest$ac_exeext && {
2901 test "$cross_compiling" = yes ||
2902 test -x conftest$ac_exeext
2904 then :
2905 ac_retval=0
2906 else $as_nop
2907 printf "%s\n" "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.$ac_ext >&5
2910 ac_retval=1
2912 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2913 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2914 # interfere with the next link command; also delete a directory that is
2915 # left behind by Apple's compiler. We do this before executing the actions.
2916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 as_fn_set_status $ac_retval
2920 } # ac_fn_c_try_link
2922 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2923 # -------------------------------------------------------
2924 # Tests whether HEADER exists and can be compiled using the include files in
2925 # INCLUDES, setting the cache variable VAR accordingly.
2926 ac_fn_c_check_header_compile ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2930 printf %s "checking for $2... " >&6; }
2931 if eval test \${$3+y}
2932 then :
2933 printf %s "(cached) " >&6
2934 else $as_nop
2935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2936 /* end confdefs.h. */
2938 #include <$2>
2939 _ACEOF
2940 if ac_fn_c_try_compile "$LINENO"
2941 then :
2942 eval "$3=yes"
2943 else $as_nop
2944 eval "$3=no"
2946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2948 eval ac_res=\$$3
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2950 printf "%s\n" "$ac_res" >&6; }
2951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2953 } # ac_fn_c_check_header_compile
2955 # ac_fn_objc_try_compile LINENO
2956 # -----------------------------
2957 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2958 ac_fn_objc_try_compile ()
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 rm -f conftest.$ac_objext conftest.beam
2962 if { { ac_try="$ac_compile"
2963 case "(($ac_try" in
2964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965 *) ac_try_echo=$ac_try;;
2966 esac
2967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2968 printf "%s\n" "$ac_try_echo"; } >&5
2969 (eval "$ac_compile") 2>conftest.err
2970 ac_status=$?
2971 if test -s conftest.err; then
2972 grep -v '^ *+' conftest.err >conftest.er1
2973 cat conftest.er1 >&5
2974 mv -f conftest.er1 conftest.err
2976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2977 test $ac_status = 0; } && {
2978 test -z "$ac_objc_werror_flag" ||
2979 test ! -s conftest.err
2980 } && test -s conftest.$ac_objext
2981 then :
2982 ac_retval=0
2983 else $as_nop
2984 printf "%s\n" "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.$ac_ext >&5
2987 ac_retval=1
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2990 as_fn_set_status $ac_retval
2992 } # ac_fn_objc_try_compile
2994 # ac_fn_c_check_func LINENO FUNC VAR
2995 # ----------------------------------
2996 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2997 ac_fn_c_check_func ()
2999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3001 printf %s "checking for $2... " >&6; }
3002 if eval test \${$3+y}
3003 then :
3004 printf %s "(cached) " >&6
3005 else $as_nop
3006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3007 /* end confdefs.h. */
3008 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3010 #define $2 innocuous_$2
3012 /* System header to define __stub macros and hopefully few prototypes,
3013 which can conflict with char $2 (); below. */
3015 #include <limits.h>
3016 #undef $2
3018 /* Override any GCC internal prototype to avoid an error.
3019 Use char because int might match the return type of a GCC
3020 builtin and then its argument prototype would still apply. */
3021 #ifdef __cplusplus
3022 extern "C"
3023 #endif
3024 char $2 ();
3025 /* The GNU C library defines this for functions which it implements
3026 to always fail with ENOSYS. Some functions are actually named
3027 something starting with __ and the normal name is an alias. */
3028 #if defined __stub_$2 || defined __stub___$2
3029 choke me
3030 #endif
3033 main (void)
3035 return $2 ();
3037 return 0;
3039 _ACEOF
3040 if ac_fn_c_try_link "$LINENO"
3041 then :
3042 eval "$3=yes"
3043 else $as_nop
3044 eval "$3=no"
3046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3047 conftest$ac_exeext conftest.$ac_ext
3049 eval ac_res=\$$3
3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3051 printf "%s\n" "$ac_res" >&6; }
3052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3054 } # ac_fn_c_check_func
3056 # ac_fn_c_try_cpp LINENO
3057 # ----------------------
3058 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3059 ac_fn_c_try_cpp ()
3061 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3062 if { { ac_try="$ac_cpp conftest.$ac_ext"
3063 case "(($ac_try" in
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3066 esac
3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3068 printf "%s\n" "$ac_try_echo"; } >&5
3069 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3070 ac_status=$?
3071 if test -s conftest.err; then
3072 grep -v '^ *+' conftest.err >conftest.er1
3073 cat conftest.er1 >&5
3074 mv -f conftest.er1 conftest.err
3076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3077 test $ac_status = 0; } > conftest.i && {
3078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3079 test ! -s conftest.err
3081 then :
3082 ac_retval=0
3083 else $as_nop
3084 printf "%s\n" "$as_me: failed program was:" >&5
3085 sed 's/^/| /' conftest.$ac_ext >&5
3087 ac_retval=1
3089 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3090 as_fn_set_status $ac_retval
3092 } # ac_fn_c_try_cpp
3094 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3095 # ----------------------------------------------------
3096 # Tries to find if the field MEMBER exists in type AGGR, after including
3097 # INCLUDES, setting cache variable VAR accordingly.
3098 ac_fn_c_check_member ()
3100 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3102 printf %s "checking for $2.$3... " >&6; }
3103 if eval test \${$4+y}
3104 then :
3105 printf %s "(cached) " >&6
3106 else $as_nop
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3111 main (void)
3113 static $2 ac_aggr;
3114 if (ac_aggr.$3)
3115 return 0;
3117 return 0;
3119 _ACEOF
3120 if ac_fn_c_try_compile "$LINENO"
3121 then :
3122 eval "$4=yes"
3123 else $as_nop
3124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125 /* end confdefs.h. */
3128 main (void)
3130 static $2 ac_aggr;
3131 if (sizeof ac_aggr.$3)
3132 return 0;
3134 return 0;
3136 _ACEOF
3137 if ac_fn_c_try_compile "$LINENO"
3138 then :
3139 eval "$4=yes"
3140 else $as_nop
3141 eval "$4=no"
3143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3147 eval ac_res=\$$4
3148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3149 printf "%s\n" "$ac_res" >&6; }
3150 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3152 } # ac_fn_c_check_member
3154 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3155 # -------------------------------------------
3156 # Tests whether TYPE exists after having included INCLUDES, setting cache
3157 # variable VAR accordingly.
3158 ac_fn_c_check_type ()
3160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3162 printf %s "checking for $2... " >&6; }
3163 if eval test \${$3+y}
3164 then :
3165 printf %s "(cached) " >&6
3166 else $as_nop
3167 eval "$3=no"
3168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h. */
3172 main (void)
3174 if (sizeof ($2))
3175 return 0;
3177 return 0;
3179 _ACEOF
3180 if ac_fn_c_try_compile "$LINENO"
3181 then :
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3186 main (void)
3188 if (sizeof (($2)))
3189 return 0;
3191 return 0;
3193 _ACEOF
3194 if ac_fn_c_try_compile "$LINENO"
3195 then :
3197 else $as_nop
3198 eval "$3=yes"
3200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3202 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3204 eval ac_res=\$$3
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3206 printf "%s\n" "$ac_res" >&6; }
3207 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3209 } # ac_fn_c_check_type
3210 ac_configure_args_raw=
3211 for ac_arg
3213 case $ac_arg in
3214 *\'*)
3215 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3216 esac
3217 as_fn_append ac_configure_args_raw " '$ac_arg'"
3218 done
3220 case $ac_configure_args_raw in
3221 *$as_nl*)
3222 ac_safe_unquote= ;;
3224 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3225 ac_unsafe_a="$ac_unsafe_z#~"
3226 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3227 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3228 esac
3230 cat >config.log <<_ACEOF
3231 This file contains any messages produced by compilers while
3232 running configure, to aid debugging if configure makes a mistake.
3234 It was created by Wine $as_me 9.13, which was
3235 generated by GNU Autoconf 2.71. Invocation command line was
3237 $ $0$ac_configure_args_raw
3239 _ACEOF
3240 exec 5>>config.log
3242 cat <<_ASUNAME
3243 ## --------- ##
3244 ## Platform. ##
3245 ## --------- ##
3247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3259 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3264 _ASUNAME
3266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 for as_dir in $PATH
3269 IFS=$as_save_IFS
3270 case $as_dir in #(((
3271 '') as_dir=./ ;;
3272 */) ;;
3273 *) as_dir=$as_dir/ ;;
3274 esac
3275 printf "%s\n" "PATH: $as_dir"
3276 done
3277 IFS=$as_save_IFS
3279 } >&5
3281 cat >&5 <<_ACEOF
3284 ## ----------- ##
3285 ## Core tests. ##
3286 ## ----------- ##
3288 _ACEOF
3291 # Keep a trace of the command line.
3292 # Strip out --no-create and --no-recursion so they do not pile up.
3293 # Strip out --silent because we don't want to record it for future runs.
3294 # Also quote any args containing shell meta-characters.
3295 # Make two passes to allow for proper duplicate-argument suppression.
3296 ac_configure_args=
3297 ac_configure_args0=
3298 ac_configure_args1=
3299 ac_must_keep_next=false
3300 for ac_pass in 1 2
3302 for ac_arg
3304 case $ac_arg in
3305 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3307 | -silent | --silent | --silen | --sile | --sil)
3308 continue ;;
3309 *\'*)
3310 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3311 esac
3312 case $ac_pass in
3313 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3315 as_fn_append ac_configure_args1 " '$ac_arg'"
3316 if test $ac_must_keep_next = true; then
3317 ac_must_keep_next=false # Got value, back to normal.
3318 else
3319 case $ac_arg in
3320 *=* | --config-cache | -C | -disable-* | --disable-* \
3321 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3322 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3323 | -with-* | --with-* | -without-* | --without-* | --x)
3324 case "$ac_configure_args0 " in
3325 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3326 esac
3328 -* ) ac_must_keep_next=true ;;
3329 esac
3331 as_fn_append ac_configure_args " '$ac_arg'"
3333 esac
3334 done
3335 done
3336 { ac_configure_args0=; unset ac_configure_args0;}
3337 { ac_configure_args1=; unset ac_configure_args1;}
3339 # When interrupted or exit'd, cleanup temporary files, and complete
3340 # config.log. We remove comments because anyway the quotes in there
3341 # would cause problems or look ugly.
3342 # WARNING: Use '\'' to represent an apostrophe within the trap.
3343 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3344 trap 'exit_status=$?
3345 # Sanitize IFS.
3346 IFS=" "" $as_nl"
3347 # Save into config.log some information that might help in debugging.
3349 echo
3351 printf "%s\n" "## ---------------- ##
3352 ## Cache variables. ##
3353 ## ---------------- ##"
3354 echo
3355 # The following way of writing the cache mishandles newlines in values,
3357 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3358 eval ac_val=\$$ac_var
3359 case $ac_val in #(
3360 *${as_nl}*)
3361 case $ac_var in #(
3362 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3363 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3364 esac
3365 case $ac_var in #(
3366 _ | IFS | as_nl) ;; #(
3367 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3368 *) { eval $ac_var=; unset $ac_var;} ;;
3369 esac ;;
3370 esac
3371 done
3372 (set) 2>&1 |
3373 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3374 *${as_nl}ac_space=\ *)
3375 sed -n \
3376 "s/'\''/'\''\\\\'\'''\''/g;
3377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3378 ;; #(
3380 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3382 esac |
3383 sort
3385 echo
3387 printf "%s\n" "## ----------------- ##
3388 ## Output variables. ##
3389 ## ----------------- ##"
3390 echo
3391 for ac_var in $ac_subst_vars
3393 eval ac_val=\$$ac_var
3394 case $ac_val in
3395 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3396 esac
3397 printf "%s\n" "$ac_var='\''$ac_val'\''"
3398 done | sort
3399 echo
3401 if test -n "$ac_subst_files"; then
3402 printf "%s\n" "## ------------------- ##
3403 ## File substitutions. ##
3404 ## ------------------- ##"
3405 echo
3406 for ac_var in $ac_subst_files
3408 eval ac_val=\$$ac_var
3409 case $ac_val in
3410 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3411 esac
3412 printf "%s\n" "$ac_var='\''$ac_val'\''"
3413 done | sort
3414 echo
3417 if test -s confdefs.h; then
3418 printf "%s\n" "## ----------- ##
3419 ## confdefs.h. ##
3420 ## ----------- ##"
3421 echo
3422 cat confdefs.h
3423 echo
3425 test "$ac_signal" != 0 &&
3426 printf "%s\n" "$as_me: caught signal $ac_signal"
3427 printf "%s\n" "$as_me: exit $exit_status"
3428 } >&5
3429 rm -f core *.core core.conftest.* &&
3430 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3431 exit $exit_status
3433 for ac_signal in 1 2 13 15; do
3434 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3435 done
3436 ac_signal=0
3438 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3439 rm -f -r conftest* confdefs.h
3441 printf "%s\n" "/* confdefs.h */" > confdefs.h
3443 # Predefined preprocessor variables.
3445 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3447 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3449 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3451 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3453 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3455 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3458 # Let the site file select an alternate cache file if it wants to.
3459 # Prefer an explicitly selected file to automatically selected ones.
3460 if test -n "$CONFIG_SITE"; then
3461 ac_site_files="$CONFIG_SITE"
3462 elif test "x$prefix" != xNONE; then
3463 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3464 else
3465 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3468 for ac_site_file in $ac_site_files
3470 case $ac_site_file in #(
3471 */*) :
3472 ;; #(
3473 *) :
3474 ac_site_file=./$ac_site_file ;;
3475 esac
3476 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3478 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3479 sed 's/^/| /' "$ac_site_file" >&5
3480 . "$ac_site_file" \
3481 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $? "failed to load site script $ac_site_file
3484 See \`config.log' for more details" "$LINENO" 5; }
3486 done
3488 if test -r "$cache_file"; then
3489 # Some versions of bash will fail to source /dev/null (special files
3490 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3491 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3493 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3494 case $cache_file in
3495 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3496 *) . "./$cache_file";;
3497 esac
3499 else
3500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3501 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3502 >$cache_file
3505 # Test code for whether the C compiler supports C89 (global declarations)
3506 ac_c_conftest_c89_globals='
3507 /* Does the compiler advertise C89 conformance?
3508 Do not test the value of __STDC__, because some compilers set it to 0
3509 while being otherwise adequately conformant. */
3510 #if !defined __STDC__
3511 # error "Compiler does not advertise C89 conformance"
3512 #endif
3514 #include <stddef.h>
3515 #include <stdarg.h>
3516 struct stat;
3517 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3518 struct buf { int x; };
3519 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3520 static char *e (p, i)
3521 char **p;
3522 int i;
3524 return p[i];
3526 static char *f (char * (*g) (char **, int), char **p, ...)
3528 char *s;
3529 va_list v;
3530 va_start (v,p);
3531 s = g (p, va_arg (v,int));
3532 va_end (v);
3533 return s;
3536 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3537 function prototypes and stuff, but not \xHH hex character constants.
3538 These do not provoke an error unfortunately, instead are silently treated
3539 as an "x". The following induces an error, until -std is added to get
3540 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3541 array size at least. It is necessary to write \x00 == 0 to get something
3542 that is true only with -std. */
3543 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3545 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3546 inside strings and character constants. */
3547 #define FOO(x) '\''x'\''
3548 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3550 int test (int i, double x);
3551 struct s1 {int (*f) (int a);};
3552 struct s2 {int (*f) (double a);};
3553 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3554 int, int);'
3556 # Test code for whether the C compiler supports C89 (body of main).
3557 ac_c_conftest_c89_main='
3558 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3561 # Test code for whether the C compiler supports C99 (global declarations)
3562 ac_c_conftest_c99_globals='
3563 // Does the compiler advertise C99 conformance?
3564 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3565 # error "Compiler does not advertise C99 conformance"
3566 #endif
3568 #include <stdbool.h>
3569 extern int puts (const char *);
3570 extern int printf (const char *, ...);
3571 extern int dprintf (int, const char *, ...);
3572 extern void *malloc (size_t);
3574 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3575 // dprintf is used instead of fprintf to avoid needing to declare
3576 // FILE and stderr.
3577 #define debug(...) dprintf (2, __VA_ARGS__)
3578 #define showlist(...) puts (#__VA_ARGS__)
3579 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3580 static void
3581 test_varargs_macros (void)
3583 int x = 1234;
3584 int y = 5678;
3585 debug ("Flag");
3586 debug ("X = %d\n", x);
3587 showlist (The first, second, and third items.);
3588 report (x>y, "x is %d but y is %d", x, y);
3591 // Check long long types.
3592 #define BIG64 18446744073709551615ull
3593 #define BIG32 4294967295ul
3594 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3595 #if !BIG_OK
3596 #error "your preprocessor is broken"
3597 #endif
3598 #if BIG_OK
3599 #else
3600 #error "your preprocessor is broken"
3601 #endif
3602 static long long int bignum = -9223372036854775807LL;
3603 static unsigned long long int ubignum = BIG64;
3605 struct incomplete_array
3607 int datasize;
3608 double data[];
3611 struct named_init {
3612 int number;
3613 const wchar_t *name;
3614 double average;
3617 typedef const char *ccp;
3619 static inline int
3620 test_restrict (ccp restrict text)
3622 // See if C++-style comments work.
3623 // Iterate through items via the restricted pointer.
3624 // Also check for declarations in for loops.
3625 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3626 continue;
3627 return 0;
3630 // Check varargs and va_copy.
3631 static bool
3632 test_varargs (const char *format, ...)
3634 va_list args;
3635 va_start (args, format);
3636 va_list args_copy;
3637 va_copy (args_copy, args);
3639 const char *str = "";
3640 int number = 0;
3641 float fnumber = 0;
3643 while (*format)
3645 switch (*format++)
3647 case '\''s'\'': // string
3648 str = va_arg (args_copy, const char *);
3649 break;
3650 case '\''d'\'': // int
3651 number = va_arg (args_copy, int);
3652 break;
3653 case '\''f'\'': // float
3654 fnumber = va_arg (args_copy, double);
3655 break;
3656 default:
3657 break;
3660 va_end (args_copy);
3661 va_end (args);
3663 return *str && number && fnumber;
3667 # Test code for whether the C compiler supports C99 (body of main).
3668 ac_c_conftest_c99_main='
3669 // Check bool.
3670 _Bool success = false;
3671 success |= (argc != 0);
3673 // Check restrict.
3674 if (test_restrict ("String literal") == 0)
3675 success = true;
3676 char *restrict newvar = "Another string";
3678 // Check varargs.
3679 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3680 test_varargs_macros ();
3682 // Check flexible array members.
3683 struct incomplete_array *ia =
3684 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3685 ia->datasize = 10;
3686 for (int i = 0; i < ia->datasize; ++i)
3687 ia->data[i] = i * 1.234;
3689 // Check named initializers.
3690 struct named_init ni = {
3691 .number = 34,
3692 .name = L"Test wide string",
3693 .average = 543.34343,
3696 ni.number = 58;
3698 int dynamic_array[ni.number];
3699 dynamic_array[0] = argv[0][0];
3700 dynamic_array[ni.number - 1] = 543;
3702 // work around unused variable warnings
3703 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3704 || dynamic_array[ni.number - 1] != 543);
3707 # Test code for whether the C compiler supports C11 (global declarations)
3708 ac_c_conftest_c11_globals='
3709 // Does the compiler advertise C11 conformance?
3710 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3711 # error "Compiler does not advertise C11 conformance"
3712 #endif
3714 // Check _Alignas.
3715 char _Alignas (double) aligned_as_double;
3716 char _Alignas (0) no_special_alignment;
3717 extern char aligned_as_int;
3718 char _Alignas (0) _Alignas (int) aligned_as_int;
3720 // Check _Alignof.
3721 enum
3723 int_alignment = _Alignof (int),
3724 int_array_alignment = _Alignof (int[100]),
3725 char_alignment = _Alignof (char)
3727 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3729 // Check _Noreturn.
3730 int _Noreturn does_not_return (void) { for (;;) continue; }
3732 // Check _Static_assert.
3733 struct test_static_assert
3735 int x;
3736 _Static_assert (sizeof (int) <= sizeof (long int),
3737 "_Static_assert does not work in struct");
3738 long int y;
3741 // Check UTF-8 literals.
3742 #define u8 syntax error!
3743 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3745 // Check duplicate typedefs.
3746 typedef long *long_ptr;
3747 typedef long int *long_ptr;
3748 typedef long_ptr long_ptr;
3750 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3751 struct anonymous
3753 union {
3754 struct { int i; int j; };
3755 struct { int k; long int l; } w;
3757 int m;
3758 } v1;
3761 # Test code for whether the C compiler supports C11 (body of main).
3762 ac_c_conftest_c11_main='
3763 _Static_assert ((offsetof (struct anonymous, i)
3764 == offsetof (struct anonymous, w.k)),
3765 "Anonymous union alignment botch");
3766 v1.i = 2;
3767 v1.w.k = 5;
3768 ok |= v1.i != 5;
3771 # Test code for whether the C compiler supports C11 (complete).
3772 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3773 ${ac_c_conftest_c99_globals}
3774 ${ac_c_conftest_c11_globals}
3777 main (int argc, char **argv)
3779 int ok = 0;
3780 ${ac_c_conftest_c89_main}
3781 ${ac_c_conftest_c99_main}
3782 ${ac_c_conftest_c11_main}
3783 return ok;
3787 # Test code for whether the C compiler supports C99 (complete).
3788 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3789 ${ac_c_conftest_c99_globals}
3792 main (int argc, char **argv)
3794 int ok = 0;
3795 ${ac_c_conftest_c89_main}
3796 ${ac_c_conftest_c99_main}
3797 return ok;
3801 # Test code for whether the C compiler supports C89 (complete).
3802 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3805 main (int argc, char **argv)
3807 int ok = 0;
3808 ${ac_c_conftest_c89_main}
3809 return ok;
3813 # Test code for whether the C++ compiler supports C++98 (global declarations)
3814 ac_cxx_conftest_cxx98_globals='
3815 // Does the compiler advertise C++98 conformance?
3816 #if !defined __cplusplus || __cplusplus < 199711L
3817 # error "Compiler does not advertise C++98 conformance"
3818 #endif
3820 // These inclusions are to reject old compilers that
3821 // lack the unsuffixed header files.
3822 #include <cstdlib>
3823 #include <exception>
3825 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3826 extern void assert (int);
3827 namespace std {
3828 extern int strcmp (const char *, const char *);
3831 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3832 using std::exception;
3833 using std::strcmp;
3835 namespace {
3837 void test_exception_syntax()
3839 try {
3840 throw "test";
3841 } catch (const char *s) {
3842 // Extra parentheses suppress a warning when building autoconf itself,
3843 // due to lint rules shared with more typical C programs.
3844 assert (!(strcmp) (s, "test"));
3848 template <typename T> struct test_template
3850 T const val;
3851 explicit test_template(T t) : val(t) {}
3852 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3855 } // anonymous namespace
3858 # Test code for whether the C++ compiler supports C++98 (body of main)
3859 ac_cxx_conftest_cxx98_main='
3860 assert (argc);
3861 assert (! argv[0]);
3863 test_exception_syntax ();
3864 test_template<double> tt (2.0);
3865 assert (tt.add (4) == 6.0);
3866 assert (true && !false);
3870 # Test code for whether the C++ compiler supports C++11 (global declarations)
3871 ac_cxx_conftest_cxx11_globals='
3872 // Does the compiler advertise C++ 2011 conformance?
3873 #if !defined __cplusplus || __cplusplus < 201103L
3874 # error "Compiler does not advertise C++11 conformance"
3875 #endif
3877 namespace cxx11test
3879 constexpr int get_val() { return 20; }
3881 struct testinit
3883 int i;
3884 double d;
3887 class delegate
3889 public:
3890 delegate(int n) : n(n) {}
3891 delegate(): delegate(2354) {}
3893 virtual int getval() { return this->n; };
3894 protected:
3895 int n;
3898 class overridden : public delegate
3900 public:
3901 overridden(int n): delegate(n) {}
3902 virtual int getval() override final { return this->n * 2; }
3905 class nocopy
3907 public:
3908 nocopy(int i): i(i) {}
3909 nocopy() = default;
3910 nocopy(const nocopy&) = delete;
3911 nocopy & operator=(const nocopy&) = delete;
3912 private:
3913 int i;
3916 // for testing lambda expressions
3917 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3919 return f(v);
3922 // for testing variadic templates and trailing return types
3923 template <typename V> auto sum(V first) -> V
3925 return first;
3927 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3929 return first + sum(rest...);
3934 # Test code for whether the C++ compiler supports C++11 (body of main)
3935 ac_cxx_conftest_cxx11_main='
3937 // Test auto and decltype
3938 auto a1 = 6538;
3939 auto a2 = 48573953.4;
3940 auto a3 = "String literal";
3942 int total = 0;
3943 for (auto i = a3; *i; ++i) { total += *i; }
3945 decltype(a2) a4 = 34895.034;
3948 // Test constexpr
3949 short sa[cxx11test::get_val()] = { 0 };
3952 // Test initializer lists
3953 cxx11test::testinit il = { 4323, 435234.23544 };
3956 // Test range-based for
3957 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3958 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3959 for (auto &x : array) { x += 23; }
3962 // Test lambda expressions
3963 using cxx11test::eval;
3964 assert (eval ([](int x) { return x*2; }, 21) == 42);
3965 double d = 2.0;
3966 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3967 assert (d == 5.0);
3968 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3969 assert (d == 5.0);
3972 // Test use of variadic templates
3973 using cxx11test::sum;
3974 auto a = sum(1);
3975 auto b = sum(1, 2);
3976 auto c = sum(1.0, 2.0, 3.0);
3979 // Test constructor delegation
3980 cxx11test::delegate d1;
3981 cxx11test::delegate d2();
3982 cxx11test::delegate d3(45);
3985 // Test override and final
3986 cxx11test::overridden o1(55464);
3989 // Test nullptr
3990 char *c = nullptr;
3993 // Test template brackets
3994 test_template<::test_template<int>> v(test_template<int>(12));
3997 // Unicode literals
3998 char const *utf8 = u8"UTF-8 string \u2500";
3999 char16_t const *utf16 = u"UTF-8 string \u2500";
4000 char32_t const *utf32 = U"UTF-32 string \u2500";
4004 # Test code for whether the C compiler supports C++11 (complete).
4005 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
4006 ${ac_cxx_conftest_cxx11_globals}
4009 main (int argc, char **argv)
4011 int ok = 0;
4012 ${ac_cxx_conftest_cxx98_main}
4013 ${ac_cxx_conftest_cxx11_main}
4014 return ok;
4018 # Test code for whether the C compiler supports C++98 (complete).
4019 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
4021 main (int argc, char **argv)
4023 int ok = 0;
4024 ${ac_cxx_conftest_cxx98_main}
4025 return ok;
4029 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4030 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4031 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4032 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4033 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4034 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4035 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4036 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4037 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4039 # Auxiliary files required by this configure script.
4040 ac_aux_files="config.guess config.sub"
4042 # Locations in which to look for auxiliary files.
4043 ac_aux_dir_candidates="${srcdir}/tools"
4045 # Search for a directory containing all of the required auxiliary files,
4046 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4047 # If we don't find one directory that contains all the files we need,
4048 # we report the set of missing files from the *first* directory in
4049 # $ac_aux_dir_candidates and give up.
4050 ac_missing_aux_files=""
4051 ac_first_candidate=:
4052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4054 as_found=false
4055 for as_dir in $ac_aux_dir_candidates
4057 IFS=$as_save_IFS
4058 case $as_dir in #(((
4059 '') as_dir=./ ;;
4060 */) ;;
4061 *) as_dir=$as_dir/ ;;
4062 esac
4063 as_found=:
4065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4066 ac_aux_dir_found=yes
4067 ac_install_sh=
4068 for ac_aux in $ac_aux_files
4070 # As a special case, if "install-sh" is required, that requirement
4071 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4072 # and $ac_install_sh is set appropriately for whichever one is found.
4073 if test x"$ac_aux" = x"install-sh"
4074 then
4075 if test -f "${as_dir}install-sh"; then
4076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4077 ac_install_sh="${as_dir}install-sh -c"
4078 elif test -f "${as_dir}install.sh"; then
4079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4080 ac_install_sh="${as_dir}install.sh -c"
4081 elif test -f "${as_dir}shtool"; then
4082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4083 ac_install_sh="${as_dir}shtool install -c"
4084 else
4085 ac_aux_dir_found=no
4086 if $ac_first_candidate; then
4087 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4088 else
4089 break
4092 else
4093 if test -f "${as_dir}${ac_aux}"; then
4094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4095 else
4096 ac_aux_dir_found=no
4097 if $ac_first_candidate; then
4098 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4099 else
4100 break
4104 done
4105 if test "$ac_aux_dir_found" = yes; then
4106 ac_aux_dir="$as_dir"
4107 break
4109 ac_first_candidate=false
4111 as_found=false
4112 done
4113 IFS=$as_save_IFS
4114 if $as_found
4115 then :
4117 else $as_nop
4118 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4122 # These three variables are undocumented and unsupported,
4123 # and are intended to be withdrawn in a future Autoconf release.
4124 # They can cause serious problems if a builder's source tree is in a directory
4125 # whose full name contains unusual characters.
4126 if test -f "${ac_aux_dir}config.guess"; then
4127 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4129 if test -f "${ac_aux_dir}config.sub"; then
4130 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4132 if test -f "$ac_aux_dir/configure"; then
4133 ac_configure="$SHELL ${ac_aux_dir}configure"
4136 # Check that the precious variables saved in the cache have kept the same
4137 # value.
4138 ac_cache_corrupted=false
4139 for ac_var in $ac_precious_vars; do
4140 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4141 eval ac_new_set=\$ac_env_${ac_var}_set
4142 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4143 eval ac_new_val=\$ac_env_${ac_var}_value
4144 case $ac_old_set,$ac_new_set in
4145 set,)
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4147 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4148 ac_cache_corrupted=: ;;
4149 ,set)
4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4151 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4152 ac_cache_corrupted=: ;;
4153 ,);;
4155 if test "x$ac_old_val" != "x$ac_new_val"; then
4156 # differences in whitespace do not lead to failure.
4157 ac_old_val_w=`echo x $ac_old_val`
4158 ac_new_val_w=`echo x $ac_new_val`
4159 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4161 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4162 ac_cache_corrupted=:
4163 else
4164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4165 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4166 eval $ac_var=\$ac_old_val
4168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4169 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4171 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4172 fi;;
4173 esac
4174 # Pass precious variables to config.status.
4175 if test "$ac_new_set" = set; then
4176 case $ac_new_val in
4177 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4178 *) ac_arg=$ac_var=$ac_new_val ;;
4179 esac
4180 case " $ac_configure_args " in
4181 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4182 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4183 esac
4185 done
4186 if $ac_cache_corrupted; then
4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4190 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4191 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4192 and start over" "$LINENO" 5
4194 ## -------------------- ##
4195 ## Main body of script. ##
4196 ## -------------------- ##
4198 ac_ext=c
4199 ac_cpp='$CPP $CPPFLAGS'
4200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4206 ac_config_headers="$ac_config_headers include/config.h"
4210 libwine_version="1.0"
4213 # Check whether --enable-archs was given.
4214 if test ${enable_archs+y}
4215 then :
4216 enableval=$enable_archs;
4219 # Check whether --enable-win16 was given.
4220 if test ${enable_win16+y}
4221 then :
4222 enableval=$enable_win16;
4225 # Check whether --enable-win64 was given.
4226 if test ${enable_win64+y}
4227 then :
4228 enableval=$enable_win64;
4231 # Check whether --enable-tests was given.
4232 if test ${enable_tests+y}
4233 then :
4234 enableval=$enable_tests;
4237 # Check whether --enable-build-id was given.
4238 if test ${enable_build_id+y}
4239 then :
4240 enableval=$enable_build_id;
4243 # Check whether --enable-maintainer-mode was given.
4244 if test ${enable_maintainer_mode+y}
4245 then :
4246 enableval=$enable_maintainer_mode;
4249 # Check whether --enable-silent-rules was given.
4250 if test ${enable_silent_rules+y}
4251 then :
4252 enableval=$enable_silent_rules;
4255 # Check whether --enable-werror was given.
4256 if test ${enable_werror+y}
4257 then :
4258 enableval=$enable_werror;
4263 # Check whether --with-alsa was given.
4264 if test ${with_alsa+y}
4265 then :
4266 withval=$with_alsa;
4270 # Check whether --with-capi was given.
4271 if test ${with_capi+y}
4272 then :
4273 withval=$with_capi;
4277 # Check whether --with-coreaudio was given.
4278 if test ${with_coreaudio+y}
4279 then :
4280 withval=$with_coreaudio;
4284 # Check whether --with-cups was given.
4285 if test ${with_cups+y}
4286 then :
4287 withval=$with_cups;
4291 # Check whether --with-dbus was given.
4292 if test ${with_dbus+y}
4293 then :
4294 withval=$with_dbus;
4298 # Check whether --with-fontconfig was given.
4299 if test ${with_fontconfig+y}
4300 then :
4301 withval=$with_fontconfig;
4305 # Check whether --with-freetype was given.
4306 if test ${with_freetype+y}
4307 then :
4308 withval=$with_freetype;
4312 # Check whether --with-gettext was given.
4313 if test ${with_gettext+y}
4314 then :
4315 withval=$with_gettext;
4319 # Check whether --with-gettextpo was given.
4320 if test ${with_gettextpo+y}
4321 then :
4322 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4326 # Check whether --with-gphoto was given.
4327 if test ${with_gphoto+y}
4328 then :
4329 withval=$with_gphoto;
4333 # Check whether --with-gnutls was given.
4334 if test ${with_gnutls+y}
4335 then :
4336 withval=$with_gnutls;
4340 # Check whether --with-gssapi was given.
4341 if test ${with_gssapi+y}
4342 then :
4343 withval=$with_gssapi;
4347 # Check whether --with-gstreamer was given.
4348 if test ${with_gstreamer+y}
4349 then :
4350 withval=$with_gstreamer;
4354 # Check whether --with-inotify was given.
4355 if test ${with_inotify+y}
4356 then :
4357 withval=$with_inotify;
4361 # Check whether --with-krb5 was given.
4362 if test ${with_krb5+y}
4363 then :
4364 withval=$with_krb5;
4368 # Check whether --with-mingw was given.
4369 if test ${with_mingw+y}
4370 then :
4371 withval=$with_mingw;
4375 # Check whether --with-netapi was given.
4376 if test ${with_netapi+y}
4377 then :
4378 withval=$with_netapi;
4382 # Check whether --with-odbc was given.
4383 if test ${with_odbc+y}
4384 then :
4385 withval=$with_odbc;
4389 # Check whether --with-opencl was given.
4390 if test ${with_opencl+y}
4391 then :
4392 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4396 # Check whether --with-opengl was given.
4397 if test ${with_opengl+y}
4398 then :
4399 withval=$with_opengl;
4403 # Check whether --with-osmesa was given.
4404 if test ${with_osmesa+y}
4405 then :
4406 withval=$with_osmesa;
4410 # Check whether --with-oss was given.
4411 if test ${with_oss+y}
4412 then :
4413 withval=$with_oss;
4417 # Check whether --with-pcap was given.
4418 if test ${with_pcap+y}
4419 then :
4420 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4424 # Check whether --with-pcsclite was given.
4425 if test ${with_pcsclite+y}
4426 then :
4427 withval=$with_pcsclite;
4431 # Check whether --with-pthread was given.
4432 if test ${with_pthread+y}
4433 then :
4434 withval=$with_pthread;
4438 # Check whether --with-pulse was given.
4439 if test ${with_pulse+y}
4440 then :
4441 withval=$with_pulse;
4445 # Check whether --with-sane was given.
4446 if test ${with_sane+y}
4447 then :
4448 withval=$with_sane;
4452 # Check whether --with-sdl was given.
4453 if test ${with_sdl+y}
4454 then :
4455 withval=$with_sdl;
4459 # Check whether --with-udev was given.
4460 if test ${with_udev+y}
4461 then :
4462 withval=$with_udev;
4466 # Check whether --with-unwind was given.
4467 if test ${with_unwind+y}
4468 then :
4469 withval=$with_unwind;
4473 # Check whether --with-usb was given.
4474 if test ${with_usb+y}
4475 then :
4476 withval=$with_usb;
4480 # Check whether --with-v4l2 was given.
4481 if test ${with_v4l2+y}
4482 then :
4483 withval=$with_v4l2;
4487 # Check whether --with-vulkan was given.
4488 if test ${with_vulkan+y}
4489 then :
4490 withval=$with_vulkan;
4494 # Check whether --with-wayland was given.
4495 if test ${with_wayland+y}
4496 then :
4497 withval=$with_wayland;
4501 # Check whether --with-xcomposite was given.
4502 if test ${with_xcomposite+y}
4503 then :
4504 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4508 # Check whether --with-xcursor was given.
4509 if test ${with_xcursor+y}
4510 then :
4511 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4515 # Check whether --with-xfixes was given.
4516 if test ${with_xfixes+y}
4517 then :
4518 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4522 # Check whether --with-xinerama was given.
4523 if test ${with_xinerama+y}
4524 then :
4525 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4529 # Check whether --with-xinput was given.
4530 if test ${with_xinput+y}
4531 then :
4532 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4536 # Check whether --with-xinput2 was given.
4537 if test ${with_xinput2+y}
4538 then :
4539 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4543 # Check whether --with-xrandr was given.
4544 if test ${with_xrandr+y}
4545 then :
4546 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4550 # Check whether --with-xrender was given.
4551 if test ${with_xrender+y}
4552 then :
4553 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4557 # Check whether --with-xshape was given.
4558 if test ${with_xshape+y}
4559 then :
4560 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4564 # Check whether --with-xshm was given.
4565 if test ${with_xshm+y}
4566 then :
4567 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4571 # Check whether --with-xxf86vm was given.
4572 if test ${with_xxf86vm+y}
4573 then :
4574 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
4579 # Check whether --with-system-dllpath was given.
4580 if test ${with_system_dllpath+y}
4581 then :
4582 withval=$with_system_dllpath; system_dllpath=$withval
4587 # Check whether --with-wine-tools was given.
4588 if test ${with_wine_tools+y}
4589 then :
4590 withval=$with_wine_tools;
4594 # Check whether --with-wine64 was given.
4595 if test ${with_wine64+y}
4596 then :
4597 withval=$with_wine64;
4604 # Make sure we can run config.sub.
4605 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4606 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4609 printf %s "checking build system type... " >&6; }
4610 if test ${ac_cv_build+y}
4611 then :
4612 printf %s "(cached) " >&6
4613 else $as_nop
4614 ac_build_alias=$build_alias
4615 test "x$ac_build_alias" = x &&
4616 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4617 test "x$ac_build_alias" = x &&
4618 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4619 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4620 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4624 printf "%s\n" "$ac_cv_build" >&6; }
4625 case $ac_cv_build in
4626 *-*-*) ;;
4627 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4628 esac
4629 build=$ac_cv_build
4630 ac_save_IFS=$IFS; IFS='-'
4631 set x $ac_cv_build
4632 shift
4633 build_cpu=$1
4634 build_vendor=$2
4635 shift; shift
4636 # Remember, the first character of IFS is used to create $*,
4637 # except with old shells:
4638 build_os=$*
4639 IFS=$ac_save_IFS
4640 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4644 printf %s "checking host system type... " >&6; }
4645 if test ${ac_cv_host+y}
4646 then :
4647 printf %s "(cached) " >&6
4648 else $as_nop
4649 if test "x$host_alias" = x; then
4650 ac_cv_host=$ac_cv_build
4651 else
4652 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4653 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4658 printf "%s\n" "$ac_cv_host" >&6; }
4659 case $ac_cv_host in
4660 *-*-*) ;;
4661 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4662 esac
4663 host=$ac_cv_host
4664 ac_save_IFS=$IFS; IFS='-'
4665 set x $ac_cv_host
4666 shift
4667 host_cpu=$1
4668 host_vendor=$2
4669 shift; shift
4670 # Remember, the first character of IFS is used to create $*,
4671 # except with old shells:
4672 host_os=$*
4673 IFS=$ac_save_IFS
4674 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4682 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4683 set x ${MAKE-make}
4684 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4685 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4686 then :
4687 printf %s "(cached) " >&6
4688 else $as_nop
4689 cat >conftest.make <<\_ACEOF
4690 SHELL = /bin/sh
4691 all:
4692 @echo '@@@%%%=$(MAKE)=@@@%%%'
4693 _ACEOF
4694 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4695 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4696 *@@@%%%=?*=@@@%%%*)
4697 eval ac_cv_prog_make_${ac_make}_set=yes;;
4699 eval ac_cv_prog_make_${ac_make}_set=no;;
4700 esac
4701 rm -f conftest.make
4703 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4705 printf "%s\n" "yes" >&6; }
4706 SET_MAKE=
4707 else
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4709 printf "%s\n" "no" >&6; }
4710 SET_MAKE="MAKE=${MAKE-make}"
4722 ac_ext=c
4723 ac_cpp='$CPP $CPPFLAGS'
4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727 if test -n "$ac_tool_prefix"; then
4728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 printf %s "checking for $ac_word... " >&6; }
4732 if test ${ac_cv_prog_CC+y}
4733 then :
4734 printf %s "(cached) " >&6
4735 else $as_nop
4736 if test -n "$CC"; then
4737 ac_cv_prog_CC="$CC" # Let the user override the test.
4738 else
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in $PATH
4742 IFS=$as_save_IFS
4743 case $as_dir in #(((
4744 '') as_dir=./ ;;
4745 */) ;;
4746 *) as_dir=$as_dir/ ;;
4747 esac
4748 for ac_exec_ext in '' $ac_executable_extensions; do
4749 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4750 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4752 break 2
4754 done
4755 done
4756 IFS=$as_save_IFS
4760 CC=$ac_cv_prog_CC
4761 if test -n "$CC"; then
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4763 printf "%s\n" "$CC" >&6; }
4764 else
4765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 printf "%s\n" "no" >&6; }
4771 if test -z "$ac_cv_prog_CC"; then
4772 ac_ct_CC=$CC
4773 # Extract the first word of "gcc", so it can be a program name with args.
4774 set dummy gcc; ac_word=$2
4775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 printf %s "checking for $ac_word... " >&6; }
4777 if test ${ac_cv_prog_ac_ct_CC+y}
4778 then :
4779 printf %s "(cached) " >&6
4780 else $as_nop
4781 if test -n "$ac_ct_CC"; then
4782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4783 else
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4785 for as_dir in $PATH
4787 IFS=$as_save_IFS
4788 case $as_dir in #(((
4789 '') as_dir=./ ;;
4790 */) ;;
4791 *) as_dir=$as_dir/ ;;
4792 esac
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_ac_ct_CC="gcc"
4796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4797 break 2
4799 done
4800 done
4801 IFS=$as_save_IFS
4805 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4806 if test -n "$ac_ct_CC"; then
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4808 printf "%s\n" "$ac_ct_CC" >&6; }
4809 else
4810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 printf "%s\n" "no" >&6; }
4814 if test "x$ac_ct_CC" = x; then
4815 CC=""
4816 else
4817 case $cross_compiling:$ac_tool_warned in
4818 yes:)
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4820 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4821 ac_tool_warned=yes ;;
4822 esac
4823 CC=$ac_ct_CC
4825 else
4826 CC="$ac_cv_prog_CC"
4829 if test -z "$CC"; then
4830 if test -n "$ac_tool_prefix"; then
4831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4832 set dummy ${ac_tool_prefix}cc; ac_word=$2
4833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 printf %s "checking for $ac_word... " >&6; }
4835 if test ${ac_cv_prog_CC+y}
4836 then :
4837 printf %s "(cached) " >&6
4838 else $as_nop
4839 if test -n "$CC"; then
4840 ac_cv_prog_CC="$CC" # Let the user override the test.
4841 else
4842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH
4845 IFS=$as_save_IFS
4846 case $as_dir in #(((
4847 '') as_dir=./ ;;
4848 */) ;;
4849 *) as_dir=$as_dir/ ;;
4850 esac
4851 for ac_exec_ext in '' $ac_executable_extensions; do
4852 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4853 ac_cv_prog_CC="${ac_tool_prefix}cc"
4854 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4855 break 2
4857 done
4858 done
4859 IFS=$as_save_IFS
4863 CC=$ac_cv_prog_CC
4864 if test -n "$CC"; then
4865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4866 printf "%s\n" "$CC" >&6; }
4867 else
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 printf "%s\n" "no" >&6; }
4875 if test -z "$CC"; then
4876 # Extract the first word of "cc", so it can be a program name with args.
4877 set dummy cc; ac_word=$2
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 printf %s "checking for $ac_word... " >&6; }
4880 if test ${ac_cv_prog_CC+y}
4881 then :
4882 printf %s "(cached) " >&6
4883 else $as_nop
4884 if test -n "$CC"; then
4885 ac_cv_prog_CC="$CC" # Let the user override the test.
4886 else
4887 ac_prog_rejected=no
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 for as_dir in $PATH
4891 IFS=$as_save_IFS
4892 case $as_dir in #(((
4893 '') as_dir=./ ;;
4894 */) ;;
4895 *) as_dir=$as_dir/ ;;
4896 esac
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4899 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4900 ac_prog_rejected=yes
4901 continue
4903 ac_cv_prog_CC="cc"
4904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4905 break 2
4907 done
4908 done
4909 IFS=$as_save_IFS
4911 if test $ac_prog_rejected = yes; then
4912 # We found a bogon in the path, so make sure we never use it.
4913 set dummy $ac_cv_prog_CC
4914 shift
4915 if test $# != 0; then
4916 # We chose a different compiler from the bogus one.
4917 # However, it has the same basename, so the bogon will be chosen
4918 # first if we set CC to just the basename; use the full file name.
4919 shift
4920 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4925 CC=$ac_cv_prog_CC
4926 if test -n "$CC"; then
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4928 printf "%s\n" "$CC" >&6; }
4929 else
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4931 printf "%s\n" "no" >&6; }
4936 if test -z "$CC"; then
4937 if test -n "$ac_tool_prefix"; then
4938 for ac_prog in cl.exe
4940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 printf %s "checking for $ac_word... " >&6; }
4944 if test ${ac_cv_prog_CC+y}
4945 then :
4946 printf %s "(cached) " >&6
4947 else $as_nop
4948 if test -n "$CC"; then
4949 ac_cv_prog_CC="$CC" # Let the user override the test.
4950 else
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4952 for as_dir in $PATH
4954 IFS=$as_save_IFS
4955 case $as_dir in #(((
4956 '') as_dir=./ ;;
4957 */) ;;
4958 *) as_dir=$as_dir/ ;;
4959 esac
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4962 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4963 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4964 break 2
4966 done
4967 done
4968 IFS=$as_save_IFS
4972 CC=$ac_cv_prog_CC
4973 if test -n "$CC"; then
4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4975 printf "%s\n" "$CC" >&6; }
4976 else
4977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 printf "%s\n" "no" >&6; }
4982 test -n "$CC" && break
4983 done
4985 if test -z "$CC"; then
4986 ac_ct_CC=$CC
4987 for ac_prog in cl.exe
4989 # Extract the first word of "$ac_prog", so it can be a program name with args.
4990 set dummy $ac_prog; ac_word=$2
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 printf %s "checking for $ac_word... " >&6; }
4993 if test ${ac_cv_prog_ac_ct_CC+y}
4994 then :
4995 printf %s "(cached) " >&6
4996 else $as_nop
4997 if test -n "$ac_ct_CC"; then
4998 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 case $as_dir in #(((
5005 '') as_dir=./ ;;
5006 */) ;;
5007 *) as_dir=$as_dir/ ;;
5008 esac
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_CC="$ac_prog"
5012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5013 break 2
5015 done
5016 done
5017 IFS=$as_save_IFS
5021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5022 if test -n "$ac_ct_CC"; then
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5024 printf "%s\n" "$ac_ct_CC" >&6; }
5025 else
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 printf "%s\n" "no" >&6; }
5031 test -n "$ac_ct_CC" && break
5032 done
5034 if test "x$ac_ct_CC" = x; then
5035 CC=""
5036 else
5037 case $cross_compiling:$ac_tool_warned in
5038 yes:)
5039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5040 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5041 ac_tool_warned=yes ;;
5042 esac
5043 CC=$ac_ct_CC
5048 if test -z "$CC"; then
5049 if test -n "$ac_tool_prefix"; then
5050 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5051 set dummy ${ac_tool_prefix}clang; ac_word=$2
5052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 printf %s "checking for $ac_word... " >&6; }
5054 if test ${ac_cv_prog_CC+y}
5055 then :
5056 printf %s "(cached) " >&6
5057 else $as_nop
5058 if test -n "$CC"; then
5059 ac_cv_prog_CC="$CC" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 case $as_dir in #(((
5066 '') as_dir=./ ;;
5067 */) ;;
5068 *) as_dir=$as_dir/ ;;
5069 esac
5070 for ac_exec_ext in '' $ac_executable_extensions; do
5071 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5072 ac_cv_prog_CC="${ac_tool_prefix}clang"
5073 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5074 break 2
5076 done
5077 done
5078 IFS=$as_save_IFS
5082 CC=$ac_cv_prog_CC
5083 if test -n "$CC"; then
5084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5085 printf "%s\n" "$CC" >&6; }
5086 else
5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088 printf "%s\n" "no" >&6; }
5093 if test -z "$ac_cv_prog_CC"; then
5094 ac_ct_CC=$CC
5095 # Extract the first word of "clang", so it can be a program name with args.
5096 set dummy clang; ac_word=$2
5097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5098 printf %s "checking for $ac_word... " >&6; }
5099 if test ${ac_cv_prog_ac_ct_CC+y}
5100 then :
5101 printf %s "(cached) " >&6
5102 else $as_nop
5103 if test -n "$ac_ct_CC"; then
5104 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5105 else
5106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5107 for as_dir in $PATH
5109 IFS=$as_save_IFS
5110 case $as_dir in #(((
5111 '') as_dir=./ ;;
5112 */) ;;
5113 *) as_dir=$as_dir/ ;;
5114 esac
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5117 ac_cv_prog_ac_ct_CC="clang"
5118 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5128 if test -n "$ac_ct_CC"; then
5129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5130 printf "%s\n" "$ac_ct_CC" >&6; }
5131 else
5132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133 printf "%s\n" "no" >&6; }
5136 if test "x$ac_ct_CC" = x; then
5137 CC=""
5138 else
5139 case $cross_compiling:$ac_tool_warned in
5140 yes:)
5141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5142 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5143 ac_tool_warned=yes ;;
5144 esac
5145 CC=$ac_ct_CC
5147 else
5148 CC="$ac_cv_prog_CC"
5154 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5155 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5156 as_fn_error $? "no acceptable C compiler found in \$PATH
5157 See \`config.log' for more details" "$LINENO" 5; }
5159 # Provide some information about the compiler.
5160 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5161 set X $ac_compile
5162 ac_compiler=$2
5163 for ac_option in --version -v -V -qversion -version; do
5164 { { ac_try="$ac_compiler $ac_option >&5"
5165 case "(($ac_try" in
5166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5167 *) ac_try_echo=$ac_try;;
5168 esac
5169 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5170 printf "%s\n" "$ac_try_echo"; } >&5
5171 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5172 ac_status=$?
5173 if test -s conftest.err; then
5174 sed '10a\
5175 ... rest of stderr output deleted ...
5176 10q' conftest.err >conftest.er1
5177 cat conftest.er1 >&5
5179 rm -f conftest.er1 conftest.err
5180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5181 test $ac_status = 0; }
5182 done
5184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5188 main (void)
5192 return 0;
5194 _ACEOF
5195 ac_clean_files_save=$ac_clean_files
5196 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5197 # Try to create an executable without -o first, disregard a.out.
5198 # It will help us diagnose broken compilers, and finding out an intuition
5199 # of exeext.
5200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5201 printf %s "checking whether the C compiler works... " >&6; }
5202 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5204 # The possible output files:
5205 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5207 ac_rmfiles=
5208 for ac_file in $ac_files
5210 case $ac_file in
5211 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5212 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5213 esac
5214 done
5215 rm -f $ac_rmfiles
5217 if { { ac_try="$ac_link_default"
5218 case "(($ac_try" in
5219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5221 esac
5222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 printf "%s\n" "$ac_try_echo"; } >&5
5224 (eval "$ac_link_default") 2>&5
5225 ac_status=$?
5226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5227 test $ac_status = 0; }
5228 then :
5229 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5230 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5231 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5232 # so that the user can short-circuit this test for compilers unknown to
5233 # Autoconf.
5234 for ac_file in $ac_files ''
5236 test -f "$ac_file" || continue
5237 case $ac_file in
5238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5240 [ab].out )
5241 # We found the default executable, but exeext='' is most
5242 # certainly right.
5243 break;;
5244 *.* )
5245 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5246 then :; else
5247 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5249 # We set ac_cv_exeext here because the later test for it is not
5250 # safe: cross compilers may not add the suffix if given an `-o'
5251 # argument, so we may need to know it at that point already.
5252 # Even if this section looks crufty: it has the advantage of
5253 # actually working.
5254 break;;
5256 break;;
5257 esac
5258 done
5259 test "$ac_cv_exeext" = no && ac_cv_exeext=
5261 else $as_nop
5262 ac_file=''
5264 if test -z "$ac_file"
5265 then :
5266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5267 printf "%s\n" "no" >&6; }
5268 printf "%s\n" "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5271 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5273 as_fn_error 77 "C compiler cannot create executables
5274 See \`config.log' for more details" "$LINENO" 5; }
5275 else $as_nop
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5277 printf "%s\n" "yes" >&6; }
5279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5280 printf %s "checking for C compiler default output file name... " >&6; }
5281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5282 printf "%s\n" "$ac_file" >&6; }
5283 ac_exeext=$ac_cv_exeext
5285 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5286 ac_clean_files=$ac_clean_files_save
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5288 printf %s "checking for suffix of executables... " >&6; }
5289 if { { ac_try="$ac_link"
5290 case "(($ac_try" in
5291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5293 esac
5294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5295 printf "%s\n" "$ac_try_echo"; } >&5
5296 (eval "$ac_link") 2>&5
5297 ac_status=$?
5298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5299 test $ac_status = 0; }
5300 then :
5301 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5302 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5303 # work properly (i.e., refer to `conftest.exe'), while it won't with
5304 # `rm'.
5305 for ac_file in conftest.exe conftest conftest.*; do
5306 test -f "$ac_file" || continue
5307 case $ac_file in
5308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5309 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5310 break;;
5311 * ) break;;
5312 esac
5313 done
5314 else $as_nop
5315 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5316 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5317 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5318 See \`config.log' for more details" "$LINENO" 5; }
5320 rm -f conftest conftest$ac_cv_exeext
5321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5322 printf "%s\n" "$ac_cv_exeext" >&6; }
5324 rm -f conftest.$ac_ext
5325 EXEEXT=$ac_cv_exeext
5326 ac_exeext=$EXEEXT
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <stdio.h>
5331 main (void)
5333 FILE *f = fopen ("conftest.out", "w");
5334 return ferror (f) || fclose (f) != 0;
5337 return 0;
5339 _ACEOF
5340 ac_clean_files="$ac_clean_files conftest.out"
5341 # Check that the compiler produces executables we can run. If not, either
5342 # the compiler is broken, or we cross compile.
5343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5344 printf %s "checking whether we are cross compiling... " >&6; }
5345 if test "$cross_compiling" != yes; then
5346 { { ac_try="$ac_link"
5347 case "(($ac_try" in
5348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5349 *) ac_try_echo=$ac_try;;
5350 esac
5351 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5352 printf "%s\n" "$ac_try_echo"; } >&5
5353 (eval "$ac_link") 2>&5
5354 ac_status=$?
5355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5356 test $ac_status = 0; }
5357 if { ac_try='./conftest$ac_cv_exeext'
5358 { { case "(($ac_try" in
5359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5360 *) ac_try_echo=$ac_try;;
5361 esac
5362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5363 printf "%s\n" "$ac_try_echo"; } >&5
5364 (eval "$ac_try") 2>&5
5365 ac_status=$?
5366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5367 test $ac_status = 0; }; }; then
5368 cross_compiling=no
5369 else
5370 if test "$cross_compiling" = maybe; then
5371 cross_compiling=yes
5372 else
5373 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5374 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5375 as_fn_error 77 "cannot run C compiled programs.
5376 If you meant to cross compile, use \`--host'.
5377 See \`config.log' for more details" "$LINENO" 5; }
5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5382 printf "%s\n" "$cross_compiling" >&6; }
5384 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5385 ac_clean_files=$ac_clean_files_save
5386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5387 printf %s "checking for suffix of object files... " >&6; }
5388 if test ${ac_cv_objext+y}
5389 then :
5390 printf %s "(cached) " >&6
5391 else $as_nop
5392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5396 main (void)
5400 return 0;
5402 _ACEOF
5403 rm -f conftest.o conftest.obj
5404 if { { ac_try="$ac_compile"
5405 case "(($ac_try" in
5406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5407 *) ac_try_echo=$ac_try;;
5408 esac
5409 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5410 printf "%s\n" "$ac_try_echo"; } >&5
5411 (eval "$ac_compile") 2>&5
5412 ac_status=$?
5413 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5414 test $ac_status = 0; }
5415 then :
5416 for ac_file in conftest.o conftest.obj conftest.*; do
5417 test -f "$ac_file" || continue;
5418 case $ac_file in
5419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5420 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5421 break;;
5422 esac
5423 done
5424 else $as_nop
5425 printf "%s\n" "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.$ac_ext >&5
5428 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5429 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5430 as_fn_error $? "cannot compute suffix of object files: cannot compile
5431 See \`config.log' for more details" "$LINENO" 5; }
5433 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5436 printf "%s\n" "$ac_cv_objext" >&6; }
5437 OBJEXT=$ac_cv_objext
5438 ac_objext=$OBJEXT
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5440 printf %s "checking whether the compiler supports GNU C... " >&6; }
5441 if test ${ac_cv_c_compiler_gnu+y}
5442 then :
5443 printf %s "(cached) " >&6
5444 else $as_nop
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5449 main (void)
5451 #ifndef __GNUC__
5452 choke me
5453 #endif
5456 return 0;
5458 _ACEOF
5459 if ac_fn_c_try_compile "$LINENO"
5460 then :
5461 ac_compiler_gnu=yes
5462 else $as_nop
5463 ac_compiler_gnu=no
5465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5470 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5473 if test $ac_compiler_gnu = yes; then
5474 GCC=yes
5475 else
5476 GCC=
5478 ac_test_CFLAGS=${CFLAGS+y}
5479 ac_save_CFLAGS=$CFLAGS
5480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5481 printf %s "checking whether $CC accepts -g... " >&6; }
5482 if test ${ac_cv_prog_cc_g+y}
5483 then :
5484 printf %s "(cached) " >&6
5485 else $as_nop
5486 ac_save_c_werror_flag=$ac_c_werror_flag
5487 ac_c_werror_flag=yes
5488 ac_cv_prog_cc_g=no
5489 CFLAGS="-g"
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5494 main (void)
5498 return 0;
5500 _ACEOF
5501 if ac_fn_c_try_compile "$LINENO"
5502 then :
5503 ac_cv_prog_cc_g=yes
5504 else $as_nop
5505 CFLAGS=""
5506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5510 main (void)
5514 return 0;
5516 _ACEOF
5517 if ac_fn_c_try_compile "$LINENO"
5518 then :
5520 else $as_nop
5521 ac_c_werror_flag=$ac_save_c_werror_flag
5522 CFLAGS="-g"
5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5527 main (void)
5531 return 0;
5533 _ACEOF
5534 if ac_fn_c_try_compile "$LINENO"
5535 then :
5536 ac_cv_prog_cc_g=yes
5538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5543 ac_c_werror_flag=$ac_save_c_werror_flag
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5546 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5547 if test $ac_test_CFLAGS; then
5548 CFLAGS=$ac_save_CFLAGS
5549 elif test $ac_cv_prog_cc_g = yes; then
5550 if test "$GCC" = yes; then
5551 CFLAGS="-g -O2"
5552 else
5553 CFLAGS="-g"
5555 else
5556 if test "$GCC" = yes; then
5557 CFLAGS="-O2"
5558 else
5559 CFLAGS=
5562 ac_prog_cc_stdc=no
5563 if test x$ac_prog_cc_stdc = xno
5564 then :
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5566 printf %s "checking for $CC option to enable C11 features... " >&6; }
5567 if test ${ac_cv_prog_cc_c11+y}
5568 then :
5569 printf %s "(cached) " >&6
5570 else $as_nop
5571 ac_cv_prog_cc_c11=no
5572 ac_save_CC=$CC
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5575 $ac_c_conftest_c11_program
5576 _ACEOF
5577 for ac_arg in '' -std=gnu11
5579 CC="$ac_save_CC $ac_arg"
5580 if ac_fn_c_try_compile "$LINENO"
5581 then :
5582 ac_cv_prog_cc_c11=$ac_arg
5584 rm -f core conftest.err conftest.$ac_objext conftest.beam
5585 test "x$ac_cv_prog_cc_c11" != "xno" && break
5586 done
5587 rm -f conftest.$ac_ext
5588 CC=$ac_save_CC
5591 if test "x$ac_cv_prog_cc_c11" = xno
5592 then :
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5594 printf "%s\n" "unsupported" >&6; }
5595 else $as_nop
5596 if test "x$ac_cv_prog_cc_c11" = x
5597 then :
5598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5599 printf "%s\n" "none needed" >&6; }
5600 else $as_nop
5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5602 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5603 CC="$CC $ac_cv_prog_cc_c11"
5605 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5606 ac_prog_cc_stdc=c11
5609 if test x$ac_prog_cc_stdc = xno
5610 then :
5611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5612 printf %s "checking for $CC option to enable C99 features... " >&6; }
5613 if test ${ac_cv_prog_cc_c99+y}
5614 then :
5615 printf %s "(cached) " >&6
5616 else $as_nop
5617 ac_cv_prog_cc_c99=no
5618 ac_save_CC=$CC
5619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5621 $ac_c_conftest_c99_program
5622 _ACEOF
5623 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5625 CC="$ac_save_CC $ac_arg"
5626 if ac_fn_c_try_compile "$LINENO"
5627 then :
5628 ac_cv_prog_cc_c99=$ac_arg
5630 rm -f core conftest.err conftest.$ac_objext conftest.beam
5631 test "x$ac_cv_prog_cc_c99" != "xno" && break
5632 done
5633 rm -f conftest.$ac_ext
5634 CC=$ac_save_CC
5637 if test "x$ac_cv_prog_cc_c99" = xno
5638 then :
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5640 printf "%s\n" "unsupported" >&6; }
5641 else $as_nop
5642 if test "x$ac_cv_prog_cc_c99" = x
5643 then :
5644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5645 printf "%s\n" "none needed" >&6; }
5646 else $as_nop
5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5648 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5649 CC="$CC $ac_cv_prog_cc_c99"
5651 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5652 ac_prog_cc_stdc=c99
5655 if test x$ac_prog_cc_stdc = xno
5656 then :
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5658 printf %s "checking for $CC option to enable C89 features... " >&6; }
5659 if test ${ac_cv_prog_cc_c89+y}
5660 then :
5661 printf %s "(cached) " >&6
5662 else $as_nop
5663 ac_cv_prog_cc_c89=no
5664 ac_save_CC=$CC
5665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5667 $ac_c_conftest_c89_program
5668 _ACEOF
5669 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5671 CC="$ac_save_CC $ac_arg"
5672 if ac_fn_c_try_compile "$LINENO"
5673 then :
5674 ac_cv_prog_cc_c89=$ac_arg
5676 rm -f core conftest.err conftest.$ac_objext conftest.beam
5677 test "x$ac_cv_prog_cc_c89" != "xno" && break
5678 done
5679 rm -f conftest.$ac_ext
5680 CC=$ac_save_CC
5683 if test "x$ac_cv_prog_cc_c89" = xno
5684 then :
5685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5686 printf "%s\n" "unsupported" >&6; }
5687 else $as_nop
5688 if test "x$ac_cv_prog_cc_c89" = x
5689 then :
5690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5691 printf "%s\n" "none needed" >&6; }
5692 else $as_nop
5693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5694 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5695 CC="$CC $ac_cv_prog_cc_c89"
5697 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5698 ac_prog_cc_stdc=c89
5702 ac_ext=c
5703 ac_cpp='$CPP $CPPFLAGS'
5704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5714 ac_ext=cpp
5715 ac_cpp='$CXXCPP $CPPFLAGS'
5716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5719 if test -z "$CXX"; then
5720 if test -n "$CCC"; then
5721 CXX=$CCC
5722 else
5723 if test -n "$ac_tool_prefix"; then
5724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 printf %s "checking for $ac_word... " >&6; }
5730 if test ${ac_cv_prog_CXX+y}
5731 then :
5732 printf %s "(cached) " >&6
5733 else $as_nop
5734 if test -n "$CXX"; then
5735 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 case $as_dir in #(((
5742 '') as_dir=./ ;;
5743 */) ;;
5744 *) as_dir=$as_dir/ ;;
5745 esac
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5750 break 2
5752 done
5753 done
5754 IFS=$as_save_IFS
5758 CXX=$ac_cv_prog_CXX
5759 if test -n "$CXX"; then
5760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5761 printf "%s\n" "$CXX" >&6; }
5762 else
5763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5764 printf "%s\n" "no" >&6; }
5768 test -n "$CXX" && break
5769 done
5771 if test -z "$CXX"; then
5772 ac_ct_CXX=$CXX
5773 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5775 # Extract the first word of "$ac_prog", so it can be a program name with args.
5776 set dummy $ac_prog; ac_word=$2
5777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 printf %s "checking for $ac_word... " >&6; }
5779 if test ${ac_cv_prog_ac_ct_CXX+y}
5780 then :
5781 printf %s "(cached) " >&6
5782 else $as_nop
5783 if test -n "$ac_ct_CXX"; then
5784 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 case $as_dir in #(((
5791 '') as_dir=./ ;;
5792 */) ;;
5793 *) as_dir=$as_dir/ ;;
5794 esac
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5797 ac_cv_prog_ac_ct_CXX="$ac_prog"
5798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5799 break 2
5801 done
5802 done
5803 IFS=$as_save_IFS
5807 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5808 if test -n "$ac_ct_CXX"; then
5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5810 printf "%s\n" "$ac_ct_CXX" >&6; }
5811 else
5812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5813 printf "%s\n" "no" >&6; }
5817 test -n "$ac_ct_CXX" && break
5818 done
5820 if test "x$ac_ct_CXX" = x; then
5821 CXX="g++"
5822 else
5823 case $cross_compiling:$ac_tool_warned in
5824 yes:)
5825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5826 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5827 ac_tool_warned=yes ;;
5828 esac
5829 CXX=$ac_ct_CXX
5835 # Provide some information about the compiler.
5836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5837 set X $ac_compile
5838 ac_compiler=$2
5839 for ac_option in --version -v -V -qversion; do
5840 { { ac_try="$ac_compiler $ac_option >&5"
5841 case "(($ac_try" in
5842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5843 *) ac_try_echo=$ac_try;;
5844 esac
5845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5846 printf "%s\n" "$ac_try_echo"; } >&5
5847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5848 ac_status=$?
5849 if test -s conftest.err; then
5850 sed '10a\
5851 ... rest of stderr output deleted ...
5852 10q' conftest.err >conftest.er1
5853 cat conftest.er1 >&5
5855 rm -f conftest.er1 conftest.err
5856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5857 test $ac_status = 0; }
5858 done
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5861 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5862 if test ${ac_cv_cxx_compiler_gnu+y}
5863 then :
5864 printf %s "(cached) " >&6
5865 else $as_nop
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5870 main (void)
5872 #ifndef __GNUC__
5873 choke me
5874 #endif
5877 return 0;
5879 _ACEOF
5880 if ac_fn_cxx_try_compile "$LINENO"
5881 then :
5882 ac_compiler_gnu=yes
5883 else $as_nop
5884 ac_compiler_gnu=no
5886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5887 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5891 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5894 if test $ac_compiler_gnu = yes; then
5895 GXX=yes
5896 else
5897 GXX=
5899 ac_test_CXXFLAGS=${CXXFLAGS+y}
5900 ac_save_CXXFLAGS=$CXXFLAGS
5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5902 printf %s "checking whether $CXX accepts -g... " >&6; }
5903 if test ${ac_cv_prog_cxx_g+y}
5904 then :
5905 printf %s "(cached) " >&6
5906 else $as_nop
5907 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5908 ac_cxx_werror_flag=yes
5909 ac_cv_prog_cxx_g=no
5910 CXXFLAGS="-g"
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5915 main (void)
5919 return 0;
5921 _ACEOF
5922 if ac_fn_cxx_try_compile "$LINENO"
5923 then :
5924 ac_cv_prog_cxx_g=yes
5925 else $as_nop
5926 CXXFLAGS=""
5927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5928 /* end confdefs.h. */
5931 main (void)
5935 return 0;
5937 _ACEOF
5938 if ac_fn_cxx_try_compile "$LINENO"
5939 then :
5941 else $as_nop
5942 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5943 CXXFLAGS="-g"
5944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5948 main (void)
5952 return 0;
5954 _ACEOF
5955 if ac_fn_cxx_try_compile "$LINENO"
5956 then :
5957 ac_cv_prog_cxx_g=yes
5959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5961 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5964 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5967 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5968 if test $ac_test_CXXFLAGS; then
5969 CXXFLAGS=$ac_save_CXXFLAGS
5970 elif test $ac_cv_prog_cxx_g = yes; then
5971 if test "$GXX" = yes; then
5972 CXXFLAGS="-g -O2"
5973 else
5974 CXXFLAGS="-g"
5976 else
5977 if test "$GXX" = yes; then
5978 CXXFLAGS="-O2"
5979 else
5980 CXXFLAGS=
5983 ac_prog_cxx_stdcxx=no
5984 if test x$ac_prog_cxx_stdcxx = xno
5985 then :
5986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5987 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5988 if test ${ac_cv_prog_cxx_cxx11+y}
5989 then :
5990 printf %s "(cached) " >&6
5991 else $as_nop
5992 ac_cv_prog_cxx_cxx11=no
5993 ac_save_CXX=$CXX
5994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5995 /* end confdefs.h. */
5996 $ac_cxx_conftest_cxx11_program
5997 _ACEOF
5998 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
6000 CXX="$ac_save_CXX $ac_arg"
6001 if ac_fn_cxx_try_compile "$LINENO"
6002 then :
6003 ac_cv_prog_cxx_cxx11=$ac_arg
6005 rm -f core conftest.err conftest.$ac_objext conftest.beam
6006 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
6007 done
6008 rm -f conftest.$ac_ext
6009 CXX=$ac_save_CXX
6012 if test "x$ac_cv_prog_cxx_cxx11" = xno
6013 then :
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6015 printf "%s\n" "unsupported" >&6; }
6016 else $as_nop
6017 if test "x$ac_cv_prog_cxx_cxx11" = x
6018 then :
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6020 printf "%s\n" "none needed" >&6; }
6021 else $as_nop
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6023 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6024 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6026 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6027 ac_prog_cxx_stdcxx=cxx11
6030 if test x$ac_prog_cxx_stdcxx = xno
6031 then :
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6033 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6034 if test ${ac_cv_prog_cxx_cxx98+y}
6035 then :
6036 printf %s "(cached) " >&6
6037 else $as_nop
6038 ac_cv_prog_cxx_cxx98=no
6039 ac_save_CXX=$CXX
6040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6042 $ac_cxx_conftest_cxx98_program
6043 _ACEOF
6044 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6046 CXX="$ac_save_CXX $ac_arg"
6047 if ac_fn_cxx_try_compile "$LINENO"
6048 then :
6049 ac_cv_prog_cxx_cxx98=$ac_arg
6051 rm -f core conftest.err conftest.$ac_objext conftest.beam
6052 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6053 done
6054 rm -f conftest.$ac_ext
6055 CXX=$ac_save_CXX
6058 if test "x$ac_cv_prog_cxx_cxx98" = xno
6059 then :
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6061 printf "%s\n" "unsupported" >&6; }
6062 else $as_nop
6063 if test "x$ac_cv_prog_cxx_cxx98" = x
6064 then :
6065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6066 printf "%s\n" "none needed" >&6; }
6067 else $as_nop
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6069 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6070 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6072 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6073 ac_prog_cxx_stdcxx=cxx98
6077 ac_ext=c
6078 ac_cpp='$CPP $CPPFLAGS'
6079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6083 if test -n "$ac_tool_prefix"; then
6084 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6085 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 printf %s "checking for $ac_word... " >&6; }
6088 if test ${ac_cv_prog_CPPBIN+y}
6089 then :
6090 printf %s "(cached) " >&6
6091 else $as_nop
6092 if test -n "$CPPBIN"; then
6093 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 case $as_dir in #(((
6100 '') as_dir=./ ;;
6101 */) ;;
6102 *) as_dir=$as_dir/ ;;
6103 esac
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 CPPBIN=$ac_cv_prog_CPPBIN
6117 if test -n "$CPPBIN"; then
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6119 printf "%s\n" "$CPPBIN" >&6; }
6120 else
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 printf "%s\n" "no" >&6; }
6127 if test -z "$ac_cv_prog_CPPBIN"; then
6128 ac_ct_CPPBIN=$CPPBIN
6129 # Extract the first word of "cpp", so it can be a program name with args.
6130 set dummy cpp; ac_word=$2
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 printf %s "checking for $ac_word... " >&6; }
6133 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6134 then :
6135 printf %s "(cached) " >&6
6136 else $as_nop
6137 if test -n "$ac_ct_CPPBIN"; then
6138 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 case $as_dir in #(((
6145 '') as_dir=./ ;;
6146 */) ;;
6147 *) as_dir=$as_dir/ ;;
6148 esac
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_ac_ct_CPPBIN="cpp"
6152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6161 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6162 if test -n "$ac_ct_CPPBIN"; then
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6164 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6165 else
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 printf "%s\n" "no" >&6; }
6170 if test "x$ac_ct_CPPBIN" = x; then
6171 CPPBIN="cpp"
6172 else
6173 case $cross_compiling:$ac_tool_warned in
6174 yes:)
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6176 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6177 ac_tool_warned=yes ;;
6178 esac
6179 CPPBIN=$ac_ct_CPPBIN
6181 else
6182 CPPBIN="$ac_cv_prog_CPPBIN"
6186 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6188 if test -n "$ac_tool_prefix"; then
6189 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6190 set dummy ${ac_tool_prefix}ld; ac_word=$2
6191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 printf %s "checking for $ac_word... " >&6; }
6193 if test ${ac_cv_prog_LD+y}
6194 then :
6195 printf %s "(cached) " >&6
6196 else $as_nop
6197 if test -n "$LD"; then
6198 ac_cv_prog_LD="$LD" # Let the user override the test.
6199 else
6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6201 for as_dir in $PATH
6203 IFS=$as_save_IFS
6204 case $as_dir in #(((
6205 '') as_dir=./ ;;
6206 */) ;;
6207 *) as_dir=$as_dir/ ;;
6208 esac
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6211 ac_cv_prog_LD="${ac_tool_prefix}ld"
6212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 LD=$ac_cv_prog_LD
6222 if test -n "$LD"; then
6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6224 printf "%s\n" "$LD" >&6; }
6225 else
6226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 printf "%s\n" "no" >&6; }
6232 if test -z "$ac_cv_prog_LD"; then
6233 ac_ct_LD=$LD
6234 # Extract the first word of "ld", so it can be a program name with args.
6235 set dummy ld; ac_word=$2
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6237 printf %s "checking for $ac_word... " >&6; }
6238 if test ${ac_cv_prog_ac_ct_LD+y}
6239 then :
6240 printf %s "(cached) " >&6
6241 else $as_nop
6242 if test -n "$ac_ct_LD"; then
6243 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6244 else
6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6246 for as_dir in $PATH
6248 IFS=$as_save_IFS
6249 case $as_dir in #(((
6250 '') as_dir=./ ;;
6251 */) ;;
6252 *) as_dir=$as_dir/ ;;
6253 esac
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6256 ac_cv_prog_ac_ct_LD="ld"
6257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6258 break 2
6260 done
6261 done
6262 IFS=$as_save_IFS
6266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6267 if test -n "$ac_ct_LD"; then
6268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6269 printf "%s\n" "$ac_ct_LD" >&6; }
6270 else
6271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272 printf "%s\n" "no" >&6; }
6275 if test "x$ac_ct_LD" = x; then
6276 LD=""
6277 else
6278 case $cross_compiling:$ac_tool_warned in
6279 yes:)
6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6281 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6282 ac_tool_warned=yes ;;
6283 esac
6284 LD=$ac_ct_LD
6286 else
6287 LD="$ac_cv_prog_LD"
6291 case $host in
6292 *-darwin*)
6293 with_fontconfig=${with_fontconfig:-no}
6295 *-mingw32*|*-cygwin*)
6296 enable_win16=${enable_win16:-no}
6297 with_mingw=${with_mingw:-no}
6299 esac
6302 case $host in
6303 x86_64*|amd64*)
6304 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6305 then
6306 CC="$CC -m32"
6307 CXX="$CXX -m32"
6309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6310 printf %s "checking whether $CC works... " >&6; }
6311 if test ${wine_cv_cc_m32+y}
6312 then :
6313 printf %s "(cached) " >&6
6314 else $as_nop
6315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6319 main (void)
6323 return 0;
6325 _ACEOF
6326 if ac_fn_c_try_link "$LINENO"
6327 then :
6328 wine_cv_cc_m32=yes
6329 else $as_nop
6330 wine_cv_cc_m32=no
6332 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6333 conftest$ac_exeext conftest.$ac_ext
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6336 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6337 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
6338 host_cpu="i386"
6339 notice_platform="32-bit "
6340 TARGETFLAGS="$TARGETFLAGS -m32"
6341 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6342 export PKG_CONFIG_LIBDIR
6343 else
6344 CC="$CC -m64"
6345 CXX="$CXX -m64"
6346 host_cpu="x86_64"
6347 notice_platform="64-bit "
6348 TARGETFLAGS="$TARGETFLAGS -m64"
6351 arm*)
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6353 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6354 if test ${wine_cv_thumb2+y}
6355 then :
6356 printf %s "(cached) " >&6
6357 else $as_nop
6358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6359 /* end confdefs.h. */
6362 main (void)
6364 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6366 return 0;
6368 _ACEOF
6369 if ac_fn_c_try_link "$LINENO"
6370 then :
6371 wine_cv_thumb2=yes
6372 else $as_nop
6373 wine_cv_thumb2=no
6375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6376 conftest$ac_exeext conftest.$ac_ext
6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6379 printf "%s\n" "$wine_cv_thumb2" >&6; }
6380 if test x"$wine_cv_thumb2" = xyes
6381 then
6382 CFLAGS="$CFLAGS -mthumb"
6383 else
6384 CFLAGS="$CFLAGS -marm"
6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point instructions" >&5
6387 printf %s "checking whether $CC supports floating point instructions... " >&6; }
6388 if test ${wine_cv_float_abi+y}
6389 then :
6390 printf %s "(cached) " >&6
6391 else $as_nop
6392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6393 /* end confdefs.h. */
6396 main (void)
6398 asm("vmrs r2,fpscr");
6400 return 0;
6402 _ACEOF
6403 if ac_fn_c_try_link "$LINENO"
6404 then :
6405 wine_cv_float_abi=yes
6406 else $as_nop
6407 wine_cv_float_abi=no
6409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6410 conftest$ac_exeext conftest.$ac_ext
6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6413 printf "%s\n" "$wine_cv_float_abi" >&6; }
6414 test $wine_cv_float_abi != no || as_fn_error $? "The ARM target needs to support floating point instructions." "$LINENO" 5
6416 esac
6418 if test "x$enable_win64" = "xyes"
6419 then
6420 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6421 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6424 case $build_os in
6425 cygwin*|mingw32*) toolsext=".exe"
6427 *) toolsext=""
6429 esac
6431 HOST_ARCH=unknown
6432 case "$host_cpu" in
6433 aarch64*) HOST_ARCH=aarch64 ;;
6434 arm*) HOST_ARCH=arm ;;
6435 i[3456789]86*) HOST_ARCH=i386 ;;
6436 x86_64) HOST_ARCH=x86_64 ;;
6437 esac
6440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6441 printf %s "checking for the directory containing the Wine tools... " >&6; }
6442 if test ${wine_cv_toolsdir+y}
6443 then :
6444 printf %s "(cached) " >&6
6445 else $as_nop
6446 wine_cv_toolsdir="$with_wine_tools"
6447 if test -z "$with_wine_tools"; then
6448 if test "$cross_compiling" = "yes"; then
6449 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6450 elif test -n "$with_wine64"; then
6451 wine_cv_toolsdir="$with_wine64"
6455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6456 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6457 if test -z "$wine_cv_toolsdir"; then
6458 wine_makedep=tools/makedep$toolsext
6459 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6460 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6461 enable_tools=${enable_tools:-no}
6462 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6463 else
6464 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6466 toolsdir=$wine_cv_toolsdir
6468 RUNTESTFLAGS="-q -P wine"
6470 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6473 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6474 then
6475 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6478 for ac_prog in flex
6480 # Extract the first word of "$ac_prog", so it can be a program name with args.
6481 set dummy $ac_prog; ac_word=$2
6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6483 printf %s "checking for $ac_word... " >&6; }
6484 if test ${ac_cv_prog_FLEX+y}
6485 then :
6486 printf %s "(cached) " >&6
6487 else $as_nop
6488 if test -n "$FLEX"; then
6489 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6490 else
6491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6492 for as_dir in $PATH
6494 IFS=$as_save_IFS
6495 case $as_dir in #(((
6496 '') as_dir=./ ;;
6497 */) ;;
6498 *) as_dir=$as_dir/ ;;
6499 esac
6500 for ac_exec_ext in '' $ac_executable_extensions; do
6501 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6502 ac_cv_prog_FLEX="$ac_prog"
6503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6504 break 2
6506 done
6507 done
6508 IFS=$as_save_IFS
6512 FLEX=$ac_cv_prog_FLEX
6513 if test -n "$FLEX"; then
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6515 printf "%s\n" "$FLEX" >&6; }
6516 else
6517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 printf "%s\n" "no" >&6; }
6522 test -n "$FLEX" && break
6523 done
6524 test -n "$FLEX" || FLEX="none"
6526 if test "$FLEX" = "none"
6527 then
6528 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6531 printf %s "checking whether flex is recent enough... " >&6; }
6532 if test ${wine_cv_recent_flex+y}
6533 then :
6534 printf %s "(cached) " >&6
6535 else $as_nop
6536 cat >conftest.l <<EOF
6537 %top{
6538 #include "prediluvian.h"
6542 if $FLEX -t conftest.l >/dev/null 2>&5
6543 then
6544 wine_cv_recent_flex=yes
6545 else
6546 wine_cv_recent_flex=no
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6550 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6551 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
6553 for ac_prog in bison
6555 # Extract the first word of "$ac_prog", so it can be a program name with args.
6556 set dummy $ac_prog; ac_word=$2
6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558 printf %s "checking for $ac_word... " >&6; }
6559 if test ${ac_cv_prog_BISON+y}
6560 then :
6561 printf %s "(cached) " >&6
6562 else $as_nop
6563 if test -n "$BISON"; then
6564 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6565 else
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH
6569 IFS=$as_save_IFS
6570 case $as_dir in #(((
6571 '') as_dir=./ ;;
6572 */) ;;
6573 *) as_dir=$as_dir/ ;;
6574 esac
6575 for ac_exec_ext in '' $ac_executable_extensions; do
6576 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6577 ac_cv_prog_BISON="$ac_prog"
6578 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6579 break 2
6581 done
6582 done
6583 IFS=$as_save_IFS
6587 BISON=$ac_cv_prog_BISON
6588 if test -n "$BISON"; then
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6590 printf "%s\n" "$BISON" >&6; }
6591 else
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593 printf "%s\n" "no" >&6; }
6597 test -n "$BISON" && break
6598 done
6599 test -n "$BISON" || BISON="none"
6601 if test "$BISON" = "none"
6602 then
6603 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6606 printf %s "checking whether bison is recent enough... " >&6; }
6607 if test ${wine_cv_recent_bison+y}
6608 then :
6609 printf %s "(cached) " >&6
6610 else $as_nop
6611 cat >conftest.y <<EOF
6612 %define parse.error verbose
6614 empty: ;
6616 if $BISON conftest.y >/dev/null 2>&5
6617 then
6618 wine_cv_recent_bison=yes
6619 else
6620 wine_cv_recent_bison=no
6623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6624 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6625 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
6627 if test -n "$ac_tool_prefix"; then
6628 for ac_prog in ar gar
6630 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 printf %s "checking for $ac_word... " >&6; }
6634 if test ${ac_cv_prog_AR+y}
6635 then :
6636 printf %s "(cached) " >&6
6637 else $as_nop
6638 if test -n "$AR"; then
6639 ac_cv_prog_AR="$AR" # Let the user override the test.
6640 else
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6642 for as_dir in $PATH
6644 IFS=$as_save_IFS
6645 case $as_dir in #(((
6646 '') as_dir=./ ;;
6647 */) ;;
6648 *) as_dir=$as_dir/ ;;
6649 esac
6650 for ac_exec_ext in '' $ac_executable_extensions; do
6651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6652 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6654 break 2
6656 done
6657 done
6658 IFS=$as_save_IFS
6662 AR=$ac_cv_prog_AR
6663 if test -n "$AR"; then
6664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6665 printf "%s\n" "$AR" >&6; }
6666 else
6667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6668 printf "%s\n" "no" >&6; }
6672 test -n "$AR" && break
6673 done
6675 if test -z "$AR"; then
6676 ac_ct_AR=$AR
6677 for ac_prog in ar gar
6679 # Extract the first word of "$ac_prog", so it can be a program name with args.
6680 set dummy $ac_prog; ac_word=$2
6681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6682 printf %s "checking for $ac_word... " >&6; }
6683 if test ${ac_cv_prog_ac_ct_AR+y}
6684 then :
6685 printf %s "(cached) " >&6
6686 else $as_nop
6687 if test -n "$ac_ct_AR"; then
6688 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6689 else
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 for as_dir in $PATH
6693 IFS=$as_save_IFS
6694 case $as_dir in #(((
6695 '') as_dir=./ ;;
6696 */) ;;
6697 *) as_dir=$as_dir/ ;;
6698 esac
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6701 ac_cv_prog_ac_ct_AR="$ac_prog"
6702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6703 break 2
6705 done
6706 done
6707 IFS=$as_save_IFS
6711 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6712 if test -n "$ac_ct_AR"; then
6713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6714 printf "%s\n" "$ac_ct_AR" >&6; }
6715 else
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 printf "%s\n" "no" >&6; }
6721 test -n "$ac_ct_AR" && break
6722 done
6724 if test "x$ac_ct_AR" = x; then
6725 AR="ar"
6726 else
6727 case $cross_compiling:$ac_tool_warned in
6728 yes:)
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6730 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6731 ac_tool_warned=yes ;;
6732 esac
6733 AR=$ac_ct_AR
6737 if test -n "$ac_tool_prefix"; then
6738 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6739 set dummy ${ac_tool_prefix}strip; ac_word=$2
6740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741 printf %s "checking for $ac_word... " >&6; }
6742 if test ${ac_cv_prog_STRIP+y}
6743 then :
6744 printf %s "(cached) " >&6
6745 else $as_nop
6746 if test -n "$STRIP"; then
6747 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6748 else
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6750 for as_dir in $PATH
6752 IFS=$as_save_IFS
6753 case $as_dir in #(((
6754 '') as_dir=./ ;;
6755 */) ;;
6756 *) as_dir=$as_dir/ ;;
6757 esac
6758 for ac_exec_ext in '' $ac_executable_extensions; do
6759 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6760 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6762 break 2
6764 done
6765 done
6766 IFS=$as_save_IFS
6770 STRIP=$ac_cv_prog_STRIP
6771 if test -n "$STRIP"; then
6772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6773 printf "%s\n" "$STRIP" >&6; }
6774 else
6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6776 printf "%s\n" "no" >&6; }
6781 if test -z "$ac_cv_prog_STRIP"; then
6782 ac_ct_STRIP=$STRIP
6783 # Extract the first word of "strip", so it can be a program name with args.
6784 set dummy strip; ac_word=$2
6785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 printf %s "checking for $ac_word... " >&6; }
6787 if test ${ac_cv_prog_ac_ct_STRIP+y}
6788 then :
6789 printf %s "(cached) " >&6
6790 else $as_nop
6791 if test -n "$ac_ct_STRIP"; then
6792 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6793 else
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6795 for as_dir in $PATH
6797 IFS=$as_save_IFS
6798 case $as_dir in #(((
6799 '') as_dir=./ ;;
6800 */) ;;
6801 *) as_dir=$as_dir/ ;;
6802 esac
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_ac_ct_STRIP="strip"
6806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6807 break 2
6809 done
6810 done
6811 IFS=$as_save_IFS
6815 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6816 if test -n "$ac_ct_STRIP"; then
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6818 printf "%s\n" "$ac_ct_STRIP" >&6; }
6819 else
6820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 printf "%s\n" "no" >&6; }
6824 if test "x$ac_ct_STRIP" = x; then
6825 STRIP="strip"
6826 else
6827 case $cross_compiling:$ac_tool_warned in
6828 yes:)
6829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned=yes ;;
6832 esac
6833 STRIP=$ac_ct_STRIP
6835 else
6836 STRIP="$ac_cv_prog_STRIP"
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 printf %s "checking for $ac_word... " >&6; }
6844 if test ${ac_cv_prog_RANLIB+y}
6845 then :
6846 printf %s "(cached) " >&6
6847 else $as_nop
6848 if test -n "$RANLIB"; then
6849 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850 else
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852 for as_dir in $PATH
6854 IFS=$as_save_IFS
6855 case $as_dir in #(((
6856 '') as_dir=./ ;;
6857 */) ;;
6858 *) as_dir=$as_dir/ ;;
6859 esac
6860 for ac_exec_ext in '' $ac_executable_extensions; do
6861 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6862 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6864 break 2
6866 done
6867 done
6868 IFS=$as_save_IFS
6872 RANLIB=$ac_cv_prog_RANLIB
6873 if test -n "$RANLIB"; then
6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6875 printf "%s\n" "$RANLIB" >&6; }
6876 else
6877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878 printf "%s\n" "no" >&6; }
6883 if test -z "$ac_cv_prog_RANLIB"; then
6884 ac_ct_RANLIB=$RANLIB
6885 # Extract the first word of "ranlib", so it can be a program name with args.
6886 set dummy ranlib; ac_word=$2
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888 printf %s "checking for $ac_word... " >&6; }
6889 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6890 then :
6891 printf %s "(cached) " >&6
6892 else $as_nop
6893 if test -n "$ac_ct_RANLIB"; then
6894 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6895 else
6896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 for as_dir in $PATH
6899 IFS=$as_save_IFS
6900 case $as_dir in #(((
6901 '') as_dir=./ ;;
6902 */) ;;
6903 *) as_dir=$as_dir/ ;;
6904 esac
6905 for ac_exec_ext in '' $ac_executable_extensions; do
6906 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6907 ac_cv_prog_ac_ct_RANLIB="ranlib"
6908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6909 break 2
6911 done
6912 done
6913 IFS=$as_save_IFS
6917 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6918 if test -n "$ac_ct_RANLIB"; then
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6920 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6921 else
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6923 printf "%s\n" "no" >&6; }
6926 if test "x$ac_ct_RANLIB" = x; then
6927 RANLIB=":"
6928 else
6929 case $cross_compiling:$ac_tool_warned in
6930 yes:)
6931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6932 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6933 ac_tool_warned=yes ;;
6934 esac
6935 RANLIB=$ac_ct_RANLIB
6937 else
6938 RANLIB="$ac_cv_prog_RANLIB"
6941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6942 printf %s "checking whether ln -s works... " >&6; }
6943 LN_S=$as_ln_s
6944 if test "$LN_S" = "ln -s"; then
6945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6946 printf "%s\n" "yes" >&6; }
6947 else
6948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6949 printf "%s\n" "no, using $LN_S" >&6; }
6952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6953 printf %s "checking for grep that handles long lines and -e... " >&6; }
6954 if test ${ac_cv_path_GREP+y}
6955 then :
6956 printf %s "(cached) " >&6
6957 else $as_nop
6958 if test -z "$GREP"; then
6959 ac_path_GREP_found=false
6960 # Loop through the user's path and test for each of PROGNAME-LIST
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6964 IFS=$as_save_IFS
6965 case $as_dir in #(((
6966 '') as_dir=./ ;;
6967 */) ;;
6968 *) as_dir=$as_dir/ ;;
6969 esac
6970 for ac_prog in grep ggrep
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6974 as_fn_executable_p "$ac_path_GREP" || continue
6975 # Check for GNU ac_path_GREP and select it if it is found.
6976 # Check for GNU $ac_path_GREP
6977 case `"$ac_path_GREP" --version 2>&1` in
6978 *GNU*)
6979 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6981 ac_count=0
6982 printf %s 0123456789 >"conftest.in"
6983 while :
6985 cat "conftest.in" "conftest.in" >"conftest.tmp"
6986 mv "conftest.tmp" "conftest.in"
6987 cp "conftest.in" "conftest.nl"
6988 printf "%s\n" 'GREP' >> "conftest.nl"
6989 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6991 as_fn_arith $ac_count + 1 && ac_count=$as_val
6992 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6993 # Best one so far, save it but keep looking for a better one
6994 ac_cv_path_GREP="$ac_path_GREP"
6995 ac_path_GREP_max=$ac_count
6997 # 10*(2^10) chars as input seems more than enough
6998 test $ac_count -gt 10 && break
6999 done
7000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7001 esac
7003 $ac_path_GREP_found && break 3
7004 done
7005 done
7006 done
7007 IFS=$as_save_IFS
7008 if test -z "$ac_cv_path_GREP"; then
7009 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7011 else
7012 ac_cv_path_GREP=$GREP
7016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7017 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7018 GREP="$ac_cv_path_GREP"
7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7022 printf %s "checking for egrep... " >&6; }
7023 if test ${ac_cv_path_EGREP+y}
7024 then :
7025 printf %s "(cached) " >&6
7026 else $as_nop
7027 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7028 then ac_cv_path_EGREP="$GREP -E"
7029 else
7030 if test -z "$EGREP"; then
7031 ac_path_EGREP_found=false
7032 # Loop through the user's path and test for each of PROGNAME-LIST
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7036 IFS=$as_save_IFS
7037 case $as_dir in #(((
7038 '') as_dir=./ ;;
7039 */) ;;
7040 *) as_dir=$as_dir/ ;;
7041 esac
7042 for ac_prog in egrep
7044 for ac_exec_ext in '' $ac_executable_extensions; do
7045 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7046 as_fn_executable_p "$ac_path_EGREP" || continue
7047 # Check for GNU ac_path_EGREP and select it if it is found.
7048 # Check for GNU $ac_path_EGREP
7049 case `"$ac_path_EGREP" --version 2>&1` in
7050 *GNU*)
7051 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7053 ac_count=0
7054 printf %s 0123456789 >"conftest.in"
7055 while :
7057 cat "conftest.in" "conftest.in" >"conftest.tmp"
7058 mv "conftest.tmp" "conftest.in"
7059 cp "conftest.in" "conftest.nl"
7060 printf "%s\n" 'EGREP' >> "conftest.nl"
7061 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7062 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7063 as_fn_arith $ac_count + 1 && ac_count=$as_val
7064 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7065 # Best one so far, save it but keep looking for a better one
7066 ac_cv_path_EGREP="$ac_path_EGREP"
7067 ac_path_EGREP_max=$ac_count
7069 # 10*(2^10) chars as input seems more than enough
7070 test $ac_count -gt 10 && break
7071 done
7072 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7073 esac
7075 $ac_path_EGREP_found && break 3
7076 done
7077 done
7078 done
7079 IFS=$as_save_IFS
7080 if test -z "$ac_cv_path_EGREP"; then
7081 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7083 else
7084 ac_cv_path_EGREP=$EGREP
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7090 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7091 EGREP="$ac_cv_path_EGREP"
7094 # Extract the first word of "ldconfig", so it can be a program name with args.
7095 set dummy ldconfig; ac_word=$2
7096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 printf %s "checking for $ac_word... " >&6; }
7098 if test ${ac_cv_path_LDCONFIG+y}
7099 then :
7100 printf %s "(cached) " >&6
7101 else $as_nop
7102 case $LDCONFIG in
7103 [\\/]* | ?:[\\/]*)
7104 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 for as_dir in /sbin /usr/sbin $PATH
7110 IFS=$as_save_IFS
7111 case $as_dir in #(((
7112 '') as_dir=./ ;;
7113 */) ;;
7114 *) as_dir=$as_dir/ ;;
7115 esac
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7118 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7120 break 2
7122 done
7123 done
7124 IFS=$as_save_IFS
7126 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7128 esac
7130 LDCONFIG=$ac_cv_path_LDCONFIG
7131 if test -n "$LDCONFIG"; then
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7133 printf "%s\n" "$LDCONFIG" >&6; }
7134 else
7135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 printf "%s\n" "no" >&6; }
7140 for ac_prog in msgfmt
7142 # Extract the first word of "$ac_prog", so it can be a program name with args.
7143 set dummy $ac_prog; ac_word=$2
7144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 printf %s "checking for $ac_word... " >&6; }
7146 if test ${ac_cv_prog_MSGFMT+y}
7147 then :
7148 printf %s "(cached) " >&6
7149 else $as_nop
7150 if test -n "$MSGFMT"; then
7151 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7152 else
7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154 for as_dir in $PATH
7156 IFS=$as_save_IFS
7157 case $as_dir in #(((
7158 '') as_dir=./ ;;
7159 */) ;;
7160 *) as_dir=$as_dir/ ;;
7161 esac
7162 for ac_exec_ext in '' $ac_executable_extensions; do
7163 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7164 ac_cv_prog_MSGFMT="$ac_prog"
7165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7166 break 2
7168 done
7169 done
7170 IFS=$as_save_IFS
7174 MSGFMT=$ac_cv_prog_MSGFMT
7175 if test -n "$MSGFMT"; then
7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7177 printf "%s\n" "$MSGFMT" >&6; }
7178 else
7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7180 printf "%s\n" "no" >&6; }
7184 test -n "$MSGFMT" && break
7185 done
7186 test -n "$MSGFMT" || MSGFMT="false"
7188 if test ${ac_tool_prefix+y}
7189 then :
7190 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7191 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7193 printf %s "checking for $ac_word... " >&6; }
7194 if test ${ac_cv_prog_PKG_CONFIG+y}
7195 then :
7196 printf %s "(cached) " >&6
7197 else $as_nop
7198 if test -n "$PKG_CONFIG"; then
7199 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7200 else
7201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 for as_dir in $PATH
7204 IFS=$as_save_IFS
7205 case $as_dir in #(((
7206 '') as_dir=./ ;;
7207 */) ;;
7208 *) as_dir=$as_dir/ ;;
7209 esac
7210 for ac_exec_ext in '' $ac_executable_extensions; do
7211 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7212 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7214 break 2
7216 done
7217 done
7218 IFS=$as_save_IFS
7222 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7223 if test -n "$PKG_CONFIG"; then
7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7225 printf "%s\n" "$PKG_CONFIG" >&6; }
7226 else
7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 printf "%s\n" "no" >&6; }
7233 if ${ac_cv_prog_PKG_CONFIG:+false} :
7234 then :
7235 if test "x$cross_compiling" = xyes
7236 then :
7238 else $as_nop
7239 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7240 # Extract the first word of "pkg-config", so it can be a program name with args.
7241 set dummy pkg-config; ac_word=$2
7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 printf %s "checking for $ac_word... " >&6; }
7244 if test ${ac_cv_prog_PKG_CONFIG+y}
7245 then :
7246 printf %s "(cached) " >&6
7247 else $as_nop
7248 if test -n "$PKG_CONFIG"; then
7249 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7250 else
7251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7252 for as_dir in $PATH
7254 IFS=$as_save_IFS
7255 case $as_dir in #(((
7256 '') as_dir=./ ;;
7257 */) ;;
7258 *) as_dir=$as_dir/ ;;
7259 esac
7260 for ac_exec_ext in '' $ac_executable_extensions; do
7261 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7262 ac_cv_prog_PKG_CONFIG="pkg-config"
7263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7264 break 2
7266 done
7267 done
7268 IFS=$as_save_IFS
7272 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7273 if test -n "$PKG_CONFIG"; then
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7275 printf "%s\n" "$PKG_CONFIG" >&6; }
7276 else
7277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278 printf "%s\n" "no" >&6; }
7283 else $as_nop
7284 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7287 if test "x$enable_maintainer_mode" != "xyes"
7288 then
7289 FONTFORGE=""
7290 RSVG=""
7291 CONVERT=""
7292 ICOTOOL=""
7293 else
7294 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7295 for ac_prog in fontforge
7297 # Extract the first word of "$ac_prog", so it can be a program name with args.
7298 set dummy $ac_prog; ac_word=$2
7299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300 printf %s "checking for $ac_word... " >&6; }
7301 if test ${ac_cv_prog_FONTFORGE+y}
7302 then :
7303 printf %s "(cached) " >&6
7304 else $as_nop
7305 if test -n "$FONTFORGE"; then
7306 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7307 else
7308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7309 for as_dir in $PATH
7311 IFS=$as_save_IFS
7312 case $as_dir in #(((
7313 '') as_dir=./ ;;
7314 */) ;;
7315 *) as_dir=$as_dir/ ;;
7316 esac
7317 for ac_exec_ext in '' $ac_executable_extensions; do
7318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7319 ac_cv_prog_FONTFORGE="$ac_prog"
7320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7321 break 2
7323 done
7324 done
7325 IFS=$as_save_IFS
7329 FONTFORGE=$ac_cv_prog_FONTFORGE
7330 if test -n "$FONTFORGE"; then
7331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7332 printf "%s\n" "$FONTFORGE" >&6; }
7333 else
7334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335 printf "%s\n" "no" >&6; }
7339 test -n "$FONTFORGE" && break
7340 done
7341 test -n "$FONTFORGE" || FONTFORGE="false"
7343 for ac_prog in rsvg-convert rsvg
7345 # Extract the first word of "$ac_prog", so it can be a program name with args.
7346 set dummy $ac_prog; ac_word=$2
7347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 printf %s "checking for $ac_word... " >&6; }
7349 if test ${ac_cv_prog_RSVG+y}
7350 then :
7351 printf %s "(cached) " >&6
7352 else $as_nop
7353 if test -n "$RSVG"; then
7354 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7355 else
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7357 for as_dir in $PATH
7359 IFS=$as_save_IFS
7360 case $as_dir in #(((
7361 '') as_dir=./ ;;
7362 */) ;;
7363 *) as_dir=$as_dir/ ;;
7364 esac
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7367 ac_cv_prog_RSVG="$ac_prog"
7368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7369 break 2
7371 done
7372 done
7373 IFS=$as_save_IFS
7377 RSVG=$ac_cv_prog_RSVG
7378 if test -n "$RSVG"; then
7379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7380 printf "%s\n" "$RSVG" >&6; }
7381 else
7382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7383 printf "%s\n" "no" >&6; }
7387 test -n "$RSVG" && break
7388 done
7389 test -n "$RSVG" || RSVG="false"
7391 for ac_prog in convert
7393 # Extract the first word of "$ac_prog", so it can be a program name with args.
7394 set dummy $ac_prog; ac_word=$2
7395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7396 printf %s "checking for $ac_word... " >&6; }
7397 if test ${ac_cv_prog_CONVERT+y}
7398 then :
7399 printf %s "(cached) " >&6
7400 else $as_nop
7401 if test -n "$CONVERT"; then
7402 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7403 else
7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7405 for as_dir in $PATH
7407 IFS=$as_save_IFS
7408 case $as_dir in #(((
7409 '') as_dir=./ ;;
7410 */) ;;
7411 *) as_dir=$as_dir/ ;;
7412 esac
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7415 ac_cv_prog_CONVERT="$ac_prog"
7416 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7417 break 2
7419 done
7420 done
7421 IFS=$as_save_IFS
7425 CONVERT=$ac_cv_prog_CONVERT
7426 if test -n "$CONVERT"; then
7427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7428 printf "%s\n" "$CONVERT" >&6; }
7429 else
7430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 printf "%s\n" "no" >&6; }
7435 test -n "$CONVERT" && break
7436 done
7437 test -n "$CONVERT" || CONVERT="false"
7439 for ac_prog in icotool
7441 # Extract the first word of "$ac_prog", so it can be a program name with args.
7442 set dummy $ac_prog; ac_word=$2
7443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7444 printf %s "checking for $ac_word... " >&6; }
7445 if test ${ac_cv_prog_ICOTOOL+y}
7446 then :
7447 printf %s "(cached) " >&6
7448 else $as_nop
7449 if test -n "$ICOTOOL"; then
7450 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7451 else
7452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 for as_dir in $PATH
7455 IFS=$as_save_IFS
7456 case $as_dir in #(((
7457 '') as_dir=./ ;;
7458 */) ;;
7459 *) as_dir=$as_dir/ ;;
7460 esac
7461 for ac_exec_ext in '' $ac_executable_extensions; do
7462 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7463 ac_cv_prog_ICOTOOL="$ac_prog"
7464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7465 break 2
7467 done
7468 done
7469 IFS=$as_save_IFS
7473 ICOTOOL=$ac_cv_prog_ICOTOOL
7474 if test -n "$ICOTOOL"; then
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7476 printf "%s\n" "$ICOTOOL" >&6; }
7477 else
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 printf "%s\n" "no" >&6; }
7483 test -n "$ICOTOOL" && break
7484 done
7485 test -n "$ICOTOOL" || ICOTOOL="false"
7487 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7488 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7490 if test "$CONVERT" = false
7491 then
7492 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7493 else
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7495 printf %s "checking for recent enough imagemagick... " >&6; }
7496 convert_version=`convert --version | head -n1`
7497 if test "x$convert_version" != "x"
7498 then
7499 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7500 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7501 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7502 then
7503 CONVERT=false
7506 if test "$CONVERT" = false
7507 then
7508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7509 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7510 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7511 else
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7513 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7517 if test "$ICOTOOL" = false
7518 then
7519 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7520 else
7521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7522 printf %s "checking for recent enough icotool... " >&6; }
7523 icotool_version=`icotool --version | head -n1`
7524 if test "x$icotool_version" != "x"
7525 then
7526 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7527 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7528 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7529 then
7530 ICOTOOL=false
7531 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7534 if test "$ICOTOOL" = false
7535 then
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7537 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7538 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7539 else
7540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7541 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7545 with_gettext=yes
7546 with_gettextpo=yes
7548 enable_werror=yes
7551 test "x$with_gettext" != xno || MSGFMT=false
7552 if test "$MSGFMT" != "false"
7553 then
7554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7555 printf %s "checking whether msgfmt supports contexts... " >&6; }
7556 if test ${wine_cv_msgfmt_contexts+y}
7557 then :
7558 printf %s "(cached) " >&6
7559 else $as_nop
7560 cat >conftest.po <<EOF
7561 # comment
7562 msgctxt "ctxt"
7563 msgid "id"
7564 msgstr "str"
7566 if $MSGFMT -o /dev/null conftest.po 2>&5
7567 then
7568 wine_cv_msgfmt_contexts=yes
7569 else
7570 wine_cv_msgfmt_contexts=no
7573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7574 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7575 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7577 if test "$MSGFMT" = false
7578 then :
7579 case "x$with_gettext" in
7580 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7581 xno) ;;
7582 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7583 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7584 esac
7585 enable_po=${enable_po:-no}
7589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7590 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7591 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7592 then :
7593 printf %s "(cached) " >&6
7594 else $as_nop
7595 ac_check_lib_save_LIBS=$LIBS
7596 LIBS="-li386 $LIBS"
7597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7598 /* end confdefs.h. */
7600 /* Override any GCC internal prototype to avoid an error.
7601 Use char because int might match the return type of a GCC
7602 builtin and then its argument prototype would still apply. */
7603 char i386_set_ldt ();
7605 main (void)
7607 return i386_set_ldt ();
7609 return 0;
7611 _ACEOF
7612 if ac_fn_c_try_link "$LINENO"
7613 then :
7614 ac_cv_lib_i386_i386_set_ldt=yes
7615 else $as_nop
7616 ac_cv_lib_i386_i386_set_ldt=no
7618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7619 conftest$ac_exeext conftest.$ac_ext
7620 LIBS=$ac_check_lib_save_LIBS
7622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7623 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7624 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7625 then :
7626 I386_LIBS="-li386"
7631 OPENGL_LIBS=""
7635 # Check whether --enable-largefile was given.
7636 if test ${enable_largefile+y}
7637 then :
7638 enableval=$enable_largefile;
7641 if test "$enable_largefile" != no; then
7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7644 printf %s "checking for special C compiler options needed for large files... " >&6; }
7645 if test ${ac_cv_sys_largefile_CC+y}
7646 then :
7647 printf %s "(cached) " >&6
7648 else $as_nop
7649 ac_cv_sys_largefile_CC=no
7650 if test "$GCC" != yes; then
7651 ac_save_CC=$CC
7652 while :; do
7653 # IRIX 6.2 and later do not support large files by default,
7654 # so use the C compiler's -n32 option if that helps.
7655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7656 /* end confdefs.h. */
7657 #include <sys/types.h>
7658 /* Check that off_t can represent 2**63 - 1 correctly.
7659 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7660 since some C++ compilers masquerading as C compilers
7661 incorrectly reject 9223372036854775807. */
7662 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7663 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7664 && LARGE_OFF_T % 2147483647 == 1)
7665 ? 1 : -1];
7667 main (void)
7671 return 0;
7673 _ACEOF
7674 if ac_fn_c_try_compile "$LINENO"
7675 then :
7676 break
7678 rm -f core conftest.err conftest.$ac_objext conftest.beam
7679 CC="$CC -n32"
7680 if ac_fn_c_try_compile "$LINENO"
7681 then :
7682 ac_cv_sys_largefile_CC=' -n32'; break
7684 rm -f core conftest.err conftest.$ac_objext conftest.beam
7685 break
7686 done
7687 CC=$ac_save_CC
7688 rm -f conftest.$ac_ext
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7692 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7693 if test "$ac_cv_sys_largefile_CC" != no; then
7694 CC=$CC$ac_cv_sys_largefile_CC
7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7698 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7699 if test ${ac_cv_sys_file_offset_bits+y}
7700 then :
7701 printf %s "(cached) " >&6
7702 else $as_nop
7703 while :; do
7704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7705 /* end confdefs.h. */
7706 #include <sys/types.h>
7707 /* Check that off_t can represent 2**63 - 1 correctly.
7708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7709 since some C++ compilers masquerading as C compilers
7710 incorrectly reject 9223372036854775807. */
7711 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7713 && LARGE_OFF_T % 2147483647 == 1)
7714 ? 1 : -1];
7716 main (void)
7720 return 0;
7722 _ACEOF
7723 if ac_fn_c_try_compile "$LINENO"
7724 then :
7725 ac_cv_sys_file_offset_bits=no; break
7727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h. */
7730 #define _FILE_OFFSET_BITS 64
7731 #include <sys/types.h>
7732 /* Check that off_t can represent 2**63 - 1 correctly.
7733 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7734 since some C++ compilers masquerading as C compilers
7735 incorrectly reject 9223372036854775807. */
7736 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7737 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7738 && LARGE_OFF_T % 2147483647 == 1)
7739 ? 1 : -1];
7741 main (void)
7745 return 0;
7747 _ACEOF
7748 if ac_fn_c_try_compile "$LINENO"
7749 then :
7750 ac_cv_sys_file_offset_bits=64; break
7752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7753 ac_cv_sys_file_offset_bits=unknown
7754 break
7755 done
7757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7758 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7759 case $ac_cv_sys_file_offset_bits in #(
7760 no | unknown) ;;
7762 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7764 esac
7765 rm -rf conftest*
7766 if test $ac_cv_sys_file_offset_bits = unknown; then
7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7768 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7769 if test ${ac_cv_sys_large_files+y}
7770 then :
7771 printf %s "(cached) " >&6
7772 else $as_nop
7773 while :; do
7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7776 #include <sys/types.h>
7777 /* Check that off_t can represent 2**63 - 1 correctly.
7778 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7779 since some C++ compilers masquerading as C compilers
7780 incorrectly reject 9223372036854775807. */
7781 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7782 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7783 && LARGE_OFF_T % 2147483647 == 1)
7784 ? 1 : -1];
7786 main (void)
7790 return 0;
7792 _ACEOF
7793 if ac_fn_c_try_compile "$LINENO"
7794 then :
7795 ac_cv_sys_large_files=no; break
7797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7799 /* end confdefs.h. */
7800 #define _LARGE_FILES 1
7801 #include <sys/types.h>
7802 /* Check that off_t can represent 2**63 - 1 correctly.
7803 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7804 since some C++ compilers masquerading as C compilers
7805 incorrectly reject 9223372036854775807. */
7806 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7807 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7808 && LARGE_OFF_T % 2147483647 == 1)
7809 ? 1 : -1];
7811 main (void)
7815 return 0;
7817 _ACEOF
7818 if ac_fn_c_try_compile "$LINENO"
7819 then :
7820 ac_cv_sys_large_files=1; break
7822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7823 ac_cv_sys_large_files=unknown
7824 break
7825 done
7827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7828 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7829 case $ac_cv_sys_large_files in #(
7830 no | unknown) ;;
7832 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7834 esac
7835 rm -rf conftest*
7839 test "$ac_cv_sys_file_offset_bits" = 64 &&
7840 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
7843 ac_header= ac_cache=
7844 for ac_item in $ac_header_c_list
7846 if test $ac_cache; then
7847 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7848 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7849 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7851 ac_header= ac_cache=
7852 elif test $ac_header; then
7853 ac_cache=$ac_item
7854 else
7855 ac_header=$ac_item
7857 done
7866 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7867 then :
7869 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7872 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7873 if test "x$ac_cv_header_CL_cl_h" = xyes
7874 then :
7875 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7878 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7879 if test "x$ac_cv_header_EGL_egl_h" = xyes
7880 then :
7881 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7884 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7885 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7886 then :
7887 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7890 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7891 if test "x$ac_cv_header_arpa_inet_h" = xyes
7892 then :
7893 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7896 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7897 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7898 then :
7899 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7902 ac_fn_c_check_header_compile "$LINENO" "asm/termbits.h" "ac_cv_header_asm_termbits_h" "$ac_includes_default"
7903 if test "x$ac_cv_header_asm_termbits_h" = xyes
7904 then :
7905 printf "%s\n" "#define HAVE_ASM_TERMBITS_H 1" >>confdefs.h
7908 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7909 if test "x$ac_cv_header_asm_types_h" = xyes
7910 then :
7911 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7914 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7915 if test "x$ac_cv_header_asm_user_h" = xyes
7916 then :
7917 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7920 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7921 if test "x$ac_cv_header_elf_h" = xyes
7922 then :
7923 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7926 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7927 if test "x$ac_cv_header_float_h" = xyes
7928 then :
7929 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7932 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7933 if test "x$ac_cv_header_gettext_po_h" = xyes
7934 then :
7935 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7938 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7939 if test "x$ac_cv_header_libproc_h" = xyes
7940 then :
7941 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7944 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7945 if test "x$ac_cv_header_link_h" = xyes
7946 then :
7947 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7950 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7951 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7952 then :
7953 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7956 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7957 if test "x$ac_cv_header_linux_filter_h" = xyes
7958 then :
7959 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7962 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7963 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7964 then :
7965 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7968 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7970 then :
7971 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7974 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7975 if test "x$ac_cv_header_linux_input_h" = xyes
7976 then :
7977 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7980 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7981 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7982 then :
7983 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7986 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7987 if test "x$ac_cv_header_linux_major_h" = xyes
7988 then :
7989 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7992 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7993 if test "x$ac_cv_header_linux_param_h" = xyes
7994 then :
7995 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7998 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7999 if test "x$ac_cv_header_linux_serial_h" = xyes
8000 then :
8001 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8004 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8005 if test "x$ac_cv_header_linux_types_h" = xyes
8006 then :
8007 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8010 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8011 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8012 then :
8013 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8016 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8017 if test "x$ac_cv_header_linux_wireless_h" = xyes
8018 then :
8019 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8022 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8023 if test "x$ac_cv_header_lwp_h" = xyes
8024 then :
8025 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8028 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8029 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8030 then :
8031 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8034 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8035 if test "x$ac_cv_header_mach_mach_h" = xyes
8036 then :
8037 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8040 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8041 if test "x$ac_cv_header_machine_cpu_h" = xyes
8042 then :
8043 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8046 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8047 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8048 then :
8049 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8052 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8053 if test "x$ac_cv_header_mntent_h" = xyes
8054 then :
8055 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8058 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8059 if test "x$ac_cv_header_netdb_h" = xyes
8060 then :
8061 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8064 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8065 if test "x$ac_cv_header_netinet_in_h" = xyes
8066 then :
8067 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8070 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8071 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8072 then :
8073 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8076 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8077 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8078 then :
8079 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8082 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8083 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8084 then :
8085 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8088 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8089 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8090 then :
8091 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8094 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8095 if test "x$ac_cv_header_port_h" = xyes
8096 then :
8097 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8100 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8101 if test "x$ac_cv_header_pwd_h" = xyes
8102 then :
8103 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8106 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8107 if test "x$ac_cv_header_sched_h" = xyes
8108 then :
8109 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8112 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8113 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8114 then :
8115 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8118 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8119 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8120 then :
8121 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8124 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8125 if test "x$ac_cv_header_scsi_sg_h" = xyes
8126 then :
8127 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8130 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8131 if test "x$ac_cv_header_stdint_h" = xyes
8132 then :
8133 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8136 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8137 if test "x$ac_cv_header_sys_attr_h" = xyes
8138 then :
8139 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8142 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8143 if test "x$ac_cv_header_sys_auxv_h" = xyes
8144 then :
8145 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8148 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8149 if test "x$ac_cv_header_sys_cdio_h" = xyes
8150 then :
8151 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8154 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8155 if test "x$ac_cv_header_sys_epoll_h" = xyes
8156 then :
8157 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8160 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8161 if test "x$ac_cv_header_sys_event_h" = xyes
8162 then :
8163 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8166 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8167 if test "x$ac_cv_header_sys_extattr_h" = xyes
8168 then :
8169 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8172 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8173 if test "x$ac_cv_header_sys_filio_h" = xyes
8174 then :
8175 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8178 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8179 if test "x$ac_cv_header_sys_ipc_h" = xyes
8180 then :
8181 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8184 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8185 if test "x$ac_cv_header_sys_link_h" = xyes
8186 then :
8187 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8190 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8191 if test "x$ac_cv_header_sys_modem_h" = xyes
8192 then :
8193 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8196 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8197 if test "x$ac_cv_header_sys_mtio_h" = xyes
8198 then :
8199 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8202 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8203 if test "x$ac_cv_header_sys_param_h" = xyes
8204 then :
8205 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8208 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8209 if test "x$ac_cv_header_sys_prctl_h" = xyes
8210 then :
8211 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8214 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8215 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8216 then :
8217 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8220 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8221 if test "x$ac_cv_header_sys_queue_h" = xyes
8222 then :
8223 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8226 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8227 if test "x$ac_cv_header_sys_random_h" = xyes
8228 then :
8229 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8232 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8233 if test "x$ac_cv_header_sys_resource_h" = xyes
8234 then :
8235 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8238 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8239 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8240 then :
8241 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8244 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8245 if test "x$ac_cv_header_sys_shm_h" = xyes
8246 then :
8247 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8250 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8251 if test "x$ac_cv_header_sys_signal_h" = xyes
8252 then :
8253 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8256 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8257 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8258 then :
8259 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8262 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8263 if test "x$ac_cv_header_sys_sockio_h" = xyes
8264 then :
8265 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8268 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8269 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8270 then :
8271 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8274 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8275 if test "x$ac_cv_header_sys_strtio_h" = xyes
8276 then :
8277 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8280 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8281 if test "x$ac_cv_header_sys_syscall_h" = xyes
8282 then :
8283 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8286 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8287 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8288 then :
8289 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8292 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_times_h" = xyes
8294 then :
8295 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8298 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8299 if test "x$ac_cv_header_sys_uio_h" = xyes
8300 then :
8301 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8304 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8305 if test "x$ac_cv_header_sys_user_h" = xyes
8306 then :
8307 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8310 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_utsname_h" = xyes
8312 then :
8313 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8316 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_vnode_h" = xyes
8318 then :
8319 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8322 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8323 if test "x$ac_cv_header_sys_xattr_h" = xyes
8324 then :
8325 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8328 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8329 if test "x$ac_cv_header_syscall_h" = xyes
8330 then :
8331 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8334 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8335 if test "x$ac_cv_header_utime_h" = xyes
8336 then :
8337 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8340 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8341 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8342 then :
8343 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8346 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8347 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8348 then :
8349 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8353 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8354 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8355 then :
8357 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8361 if test $ac_cv_header_sys_mkdev_h = no; then
8362 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8363 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8364 then :
8366 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8372 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8373 if test ${ac_cv_header_stat_broken+y}
8374 then :
8375 printf %s "(cached) " >&6
8376 else $as_nop
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8379 #include <sys/types.h>
8380 #include <sys/stat.h>
8382 #if defined S_ISBLK && defined S_IFDIR
8383 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8384 #endif
8386 #if defined S_ISBLK && defined S_IFCHR
8387 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8388 #endif
8390 #if defined S_ISLNK && defined S_IFREG
8391 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8392 #endif
8394 #if defined S_ISSOCK && defined S_IFREG
8395 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8396 #endif
8398 _ACEOF
8399 if ac_fn_c_try_compile "$LINENO"
8400 then :
8401 ac_cv_header_stat_broken=no
8402 else $as_nop
8403 ac_cv_header_stat_broken=yes
8405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8408 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8409 if test $ac_cv_header_stat_broken = yes; then
8411 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8417 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8418 #ifdef HAVE_SYS_PARAM_H
8419 # include <sys/param.h>
8420 #endif
8422 if test "x$ac_cv_header_sys_conf_h" = xyes
8423 then :
8424 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8427 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8428 #ifdef HAVE_SYS_PARAM_H
8429 # include <sys/param.h>
8430 #endif
8432 if test "x$ac_cv_header_sys_mount_h" = xyes
8433 then :
8434 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8437 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8440 #endif
8442 if test "x$ac_cv_header_sys_statfs_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8450 #endif
8452 if test "x$ac_cv_header_sys_user_h" = xyes
8453 then :
8454 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_vfs_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8469 saved_sysctl_h_CFLAGS=$CFLAGS
8470 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8471 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8472 #ifdef HAVE_SYS_PARAM_H
8473 # include <sys/param.h>
8474 #endif
8476 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8477 then :
8478 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8482 CFLAGS=$saved_sysctl_h_CFLAGS
8484 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8488 #endif
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8497 #endif
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8503 #endif
8505 if test "x$ac_cv_header_netinet_ip_h" = xyes
8506 then :
8507 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8514 #endif
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8523 #endif
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8529 #endif
8531 if test "x$ac_cv_header_net_if_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8540 #endif
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8549 #endif
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8555 #endif
8557 if test "x$ac_cv_header_net_if_arp_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8566 #endif
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8575 #endif
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8581 #endif
8583 if test "x$ac_cv_header_net_if_dl_h" = xyes
8584 then :
8585 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8592 #endif
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8601 #endif
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8607 #endif
8609 if test "x$ac_cv_header_net_if_types_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8618 #endif
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8627 #endif
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8633 #endif
8635 if test "x$ac_cv_header_net_route_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8644 #endif
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8653 #endif
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8659 #endif
8661 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8662 then :
8663 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8670 #endif
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8679 #endif
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8685 #endif
8687 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8696 #endif
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8705 #endif
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8711 #endif
8713 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8714 then :
8715 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8722 #endif
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8731 #endif
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8737 #endif
8739 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8740 then :
8741 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8748 #endif
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8757 #endif
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8763 #endif
8765 if test "x$ac_cv_header_netinet_udp_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8774 #endif
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8783 #endif
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8789 #endif
8791 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8792 then :
8793 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8796 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8797 #include <sys/socket.h>
8798 #ifdef HAVE_SYS_SOCKETVAR_H
8799 # include <sys/socketvar.h>
8800 #endif
8801 #ifdef HAVE_NET_ROUTE_H
8802 # include <net/route.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_H
8805 # include <netinet/in.h>
8806 #endif
8807 #ifdef HAVE_NETINET_IN_SYSTM_H
8808 # include <netinet/in_systm.h>
8809 #endif
8810 #ifdef HAVE_NET_IF_H
8811 # include <net/if.h>
8812 #endif
8813 #ifdef HAVE_NETINET_IP_H
8814 # include <netinet/ip.h>
8815 #endif
8817 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8818 then :
8819 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8822 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8823 #include <sys/socket.h>
8824 #ifdef HAVE_SYS_SOCKETVAR_H
8825 # include <sys/socketvar.h>
8826 #endif
8827 #ifdef HAVE_NET_ROUTE_H
8828 # include <net/route.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IN_H
8831 # include <netinet/in.h>
8832 #endif
8833 #ifdef HAVE_NETINET_IN_SYSTM_H
8834 # include <netinet/in_systm.h>
8835 #endif
8836 #ifdef HAVE_NET_IF_H
8837 # include <net/if.h>
8838 #endif
8839 #ifdef HAVE_NETINET_IP_H
8840 # include <netinet/ip.h>
8841 #endif
8843 if test "x$ac_cv_header_sys_un_h" = xyes
8844 then :
8845 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8850 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8851 #include <sys/socket.h>
8852 #ifdef HAVE_SYS_SOCKETVAR_H
8853 # include <sys/socketvar.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IN_H
8856 # include <netinet/in.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IN_SYSTM_H
8859 # include <netinet/in_systm.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_H
8862 # include <netinet/ip.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_VAR_H
8865 # include <netinet/ip_var.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_ICMP_H
8868 # include <netinet/ip_icmp.h>
8869 #endif
8870 #ifdef HAVE_NETINET_UDP_H
8871 # include <netinet/udp.h>
8872 #endif
8873 #ifdef HAVE_NETINET_TCP_H
8874 # include <netinet/tcp.h>
8875 #endif
8877 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8878 then :
8879 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8882 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8883 #include <sys/socket.h>
8884 #ifdef HAVE_SYS_SOCKETVAR_H
8885 # include <sys/socketvar.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IN_H
8888 # include <netinet/in.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IN_SYSTM_H
8891 # include <netinet/in_systm.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_H
8894 # include <netinet/ip.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_VAR_H
8897 # include <netinet/ip_var.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_ICMP_H
8900 # include <netinet/ip_icmp.h>
8901 #endif
8902 #ifdef HAVE_NETINET_UDP_H
8903 # include <netinet/udp.h>
8904 #endif
8905 #ifdef HAVE_NETINET_TCP_H
8906 # include <netinet/tcp.h>
8907 #endif
8909 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8910 then :
8911 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8914 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8915 #include <sys/socket.h>
8916 #ifdef HAVE_SYS_SOCKETVAR_H
8917 # include <sys/socketvar.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IN_H
8920 # include <netinet/in.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IN_SYSTM_H
8923 # include <netinet/in_systm.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IP_H
8926 # include <netinet/ip.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IP_VAR_H
8929 # include <netinet/ip_var.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_ICMP_H
8932 # include <netinet/ip_icmp.h>
8933 #endif
8934 #ifdef HAVE_NETINET_UDP_H
8935 # include <netinet/udp.h>
8936 #endif
8937 #ifdef HAVE_NETINET_TCP_H
8938 # include <netinet/tcp.h>
8939 #endif
8941 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8942 then :
8943 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8946 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8947 #include <sys/socket.h>
8948 #ifdef HAVE_SYS_SOCKETVAR_H
8949 # include <sys/socketvar.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IN_H
8952 # include <netinet/in.h>
8953 #endif
8954 #ifdef HAVE_NETINET_IN_SYSTM_H
8955 # include <netinet/in_systm.h>
8956 #endif
8957 #ifdef HAVE_NETINET_IP_H
8958 # include <netinet/ip.h>
8959 #endif
8960 #ifdef HAVE_NETINET_IP_VAR_H
8961 # include <netinet/ip_var.h>
8962 #endif
8963 #ifdef HAVE_NETINET_IP_ICMP_H
8964 # include <netinet/ip_icmp.h>
8965 #endif
8966 #ifdef HAVE_NETINET_UDP_H
8967 # include <netinet/udp.h>
8968 #endif
8969 #ifdef HAVE_NETINET_TCP_H
8970 # include <netinet/tcp.h>
8971 #endif
8973 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8974 then :
8975 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8981 #include <sys/socket.h>
8982 #ifdef HAVE_ASM_TYPES_H
8983 # include <asm/types.h>
8984 #endif
8985 #ifdef HAVE_LINUX_TYPES_H
8986 # include <linux/types.h>
8987 #endif
8989 if test "x$ac_cv_header_linux_ipx_h" = xyes
8990 then :
8991 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8995 #include <sys/socket.h>
8996 #ifdef HAVE_ASM_TYPES_H
8997 # include <asm/types.h>
8998 #endif
8999 #ifdef HAVE_LINUX_TYPES_H
9000 # include <linux/types.h>
9001 #endif
9003 if test "x$ac_cv_header_linux_irda_h" = xyes
9004 then :
9005 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9008 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9009 #include <sys/socket.h>
9010 #ifdef HAVE_ASM_TYPES_H
9011 # include <asm/types.h>
9012 #endif
9013 #ifdef HAVE_LINUX_TYPES_H
9014 # include <linux/types.h>
9015 #endif
9017 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9018 then :
9019 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9025 #include <sys/socket.h>
9026 #ifdef HAVE_NETINET_IN_H
9027 # include <netinet/in.h>
9028 #endif
9029 #ifdef HAVE_ARPA_NAMESER_H
9030 # include <arpa/nameser.h>
9031 #endif
9033 if test "x$ac_cv_header_resolv_h" = xyes
9034 then :
9035 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9040 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9042 if test "x$ac_cv_header_ifaddrs_h" = xyes
9043 then :
9044 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9049 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9051 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9052 then :
9053 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9058 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9059 #ifdef HAVE_SYS_UCONTEXT_H
9060 #include <sys/ucontext.h>
9061 #endif
9063 if test "x$ac_cv_header_sys_thr_h" = xyes
9064 then :
9065 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9070 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9072 if test "x$ac_cv_header_pthread_np_h" = xyes
9073 then :
9074 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9079 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9080 #include <sys/types.h>
9081 #ifdef HAVE_ASM_TYPES_H
9082 #include <asm/types.h>
9083 #endif
9085 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9086 then :
9087 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9092 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9093 #include <sys/param.h>
9094 #endif
9095 #include <sys/socket.h>
9096 #ifdef HAVE_SYS_QUEUE_H
9097 #include <sys/queue.h>
9098 #endif
9100 if test "x$ac_cv_header_libprocstat_h" = xyes
9101 then :
9102 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9107 if test "x$ac_cv_header_sys_xattr_h" = xyes
9108 then
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9110 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9111 if test ${wine_cv_xattr_extra_args+y}
9112 then :
9113 printf %s "(cached) " >&6
9114 else $as_nop
9115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9116 /* end confdefs.h. */
9117 #include <sys/xattr.h>
9119 main (void)
9121 getxattr("", "", "", 0, 0, 0);
9123 return 0;
9125 _ACEOF
9126 if ac_fn_c_try_compile "$LINENO"
9127 then :
9128 wine_cv_xattr_extra_args=yes
9129 else $as_nop
9130 wine_cv_xattr_extra_args=no
9132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9135 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9136 test $wine_cv_xattr_extra_args != yes ||
9137 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9142 DLLFLAGS=""
9144 LDDLLFLAGS=""
9146 LDEXECFLAGS=""
9148 EXTRACFLAGS=""
9150 UNIXDLLFLAGS="-fPIC"
9152 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9154 TOP_INSTALL_LIB=""
9156 TOP_INSTALL_DEV=""
9158 WINELOADER_LDFLAGS=""
9160 WINEPRELOADER_LDFLAGS=""
9162 DLLEXT=".so"
9164 LIBEXT="so"
9165 # Extract the first word of "ldd", so it can be a program name with args.
9166 set dummy ldd; ac_word=$2
9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9168 printf %s "checking for $ac_word... " >&6; }
9169 if test ${ac_cv_path_LDD+y}
9170 then :
9171 printf %s "(cached) " >&6
9172 else $as_nop
9173 case $LDD in
9174 [\\/]* | ?:[\\/]*)
9175 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9179 as_dummy="/sbin:/usr/sbin:$PATH"
9180 for as_dir in $as_dummy
9182 IFS=$as_save_IFS
9183 case $as_dir in #(((
9184 '') as_dir=./ ;;
9185 */) ;;
9186 *) as_dir=$as_dir/ ;;
9187 esac
9188 for ac_exec_ext in '' $ac_executable_extensions; do
9189 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9190 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9191 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9192 break 2
9194 done
9195 done
9196 IFS=$as_save_IFS
9198 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9200 esac
9202 LDD=$ac_cv_path_LDD
9203 if test -n "$LDD"; then
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9205 printf "%s\n" "$LDD" >&6; }
9206 else
9207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9208 printf "%s\n" "no" >&6; }
9212 if test -n "$ac_tool_prefix"; then
9213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9214 set dummy ${ac_tool_prefix}otool; ac_word=$2
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9216 printf %s "checking for $ac_word... " >&6; }
9217 if test ${ac_cv_prog_OTOOL+y}
9218 then :
9219 printf %s "(cached) " >&6
9220 else $as_nop
9221 if test -n "$OTOOL"; then
9222 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9223 else
9224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9225 for as_dir in $PATH
9227 IFS=$as_save_IFS
9228 case $as_dir in #(((
9229 '') as_dir=./ ;;
9230 */) ;;
9231 *) as_dir=$as_dir/ ;;
9232 esac
9233 for ac_exec_ext in '' $ac_executable_extensions; do
9234 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9235 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9236 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9237 break 2
9239 done
9240 done
9241 IFS=$as_save_IFS
9245 OTOOL=$ac_cv_prog_OTOOL
9246 if test -n "$OTOOL"; then
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9248 printf "%s\n" "$OTOOL" >&6; }
9249 else
9250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9251 printf "%s\n" "no" >&6; }
9256 if test -z "$ac_cv_prog_OTOOL"; then
9257 ac_ct_OTOOL=$OTOOL
9258 # Extract the first word of "otool", so it can be a program name with args.
9259 set dummy otool; ac_word=$2
9260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9261 printf %s "checking for $ac_word... " >&6; }
9262 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9263 then :
9264 printf %s "(cached) " >&6
9265 else $as_nop
9266 if test -n "$ac_ct_OTOOL"; then
9267 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9268 else
9269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9270 for as_dir in $PATH
9272 IFS=$as_save_IFS
9273 case $as_dir in #(((
9274 '') as_dir=./ ;;
9275 */) ;;
9276 *) as_dir=$as_dir/ ;;
9277 esac
9278 for ac_exec_ext in '' $ac_executable_extensions; do
9279 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9280 ac_cv_prog_ac_ct_OTOOL="otool"
9281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9282 break 2
9284 done
9285 done
9286 IFS=$as_save_IFS
9290 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9291 if test -n "$ac_ct_OTOOL"; then
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9293 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9294 else
9295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296 printf "%s\n" "no" >&6; }
9299 if test "x$ac_ct_OTOOL" = x; then
9300 OTOOL="otool"
9301 else
9302 case $cross_compiling:$ac_tool_warned in
9303 yes:)
9304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9305 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9306 ac_tool_warned=yes ;;
9307 esac
9308 OTOOL=$ac_ct_OTOOL
9310 else
9311 OTOOL="$ac_cv_prog_OTOOL"
9314 if test -n "$ac_tool_prefix"; then
9315 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9316 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9318 printf %s "checking for $ac_word... " >&6; }
9319 if test ${ac_cv_prog_READELF+y}
9320 then :
9321 printf %s "(cached) " >&6
9322 else $as_nop
9323 if test -n "$READELF"; then
9324 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9325 else
9326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9327 for as_dir in $PATH
9329 IFS=$as_save_IFS
9330 case $as_dir in #(((
9331 '') as_dir=./ ;;
9332 */) ;;
9333 *) as_dir=$as_dir/ ;;
9334 esac
9335 for ac_exec_ext in '' $ac_executable_extensions; do
9336 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9337 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9339 break 2
9341 done
9342 done
9343 IFS=$as_save_IFS
9347 READELF=$ac_cv_prog_READELF
9348 if test -n "$READELF"; then
9349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9350 printf "%s\n" "$READELF" >&6; }
9351 else
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9353 printf "%s\n" "no" >&6; }
9358 if test -z "$ac_cv_prog_READELF"; then
9359 ac_ct_READELF=$READELF
9360 # Extract the first word of "readelf", so it can be a program name with args.
9361 set dummy readelf; ac_word=$2
9362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9363 printf %s "checking for $ac_word... " >&6; }
9364 if test ${ac_cv_prog_ac_ct_READELF+y}
9365 then :
9366 printf %s "(cached) " >&6
9367 else $as_nop
9368 if test -n "$ac_ct_READELF"; then
9369 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9370 else
9371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9372 for as_dir in $PATH
9374 IFS=$as_save_IFS
9375 case $as_dir in #(((
9376 '') as_dir=./ ;;
9377 */) ;;
9378 *) as_dir=$as_dir/ ;;
9379 esac
9380 for ac_exec_ext in '' $ac_executable_extensions; do
9381 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9382 ac_cv_prog_ac_ct_READELF="readelf"
9383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9384 break 2
9386 done
9387 done
9388 IFS=$as_save_IFS
9392 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9393 if test -n "$ac_ct_READELF"; then
9394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9395 printf "%s\n" "$ac_ct_READELF" >&6; }
9396 else
9397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9398 printf "%s\n" "no" >&6; }
9401 if test "x$ac_ct_READELF" = x; then
9402 READELF="true"
9403 else
9404 case $cross_compiling:$ac_tool_warned in
9405 yes:)
9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9407 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9408 ac_tool_warned=yes ;;
9409 esac
9410 READELF=$ac_ct_READELF
9412 else
9413 READELF="$ac_cv_prog_READELF"
9416 wine_rules="all:"
9417 SUBDIRS=""
9419 DISABLED_SUBDIRS=""
9421 CONFIGURE_TARGETS=""
9424 wine_fn_config_makefile ()
9426 as_fn_append SUBDIRS " \\$as_nl $1"
9427 eval enable=\$$2
9428 case "$enable" in
9429 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9430 yes) ;;
9431 *aarch64*|*arm*|*i386*|*x86_64*)
9432 if test -n "$PE_ARCHS"
9433 then
9434 for i in $PE_ARCHS
9436 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9437 done
9438 else
9439 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9440 fi ;;
9442 case "$1, $PE_ARCHS " in
9443 programs/*,*\ arm64ec\ *) as_fn_append arm64ec_DISABLED_SUBDIRS " $1" ;;
9444 esac ;;
9445 esac
9448 wine_fn_config_symlink ()
9450 ac_links=$@
9451 as_fn_append wine_rules "
9452 $ac_links:
9453 @./config.status \$@"
9454 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9457 case $host_os in
9458 cygwin*|mingw32*)
9459 LIBEXT="dll"
9460 DLLEXT=""
9461 EXTRACFLAGS="-D__WINE_PE_BUILD"
9462 if test "x$HOST_ARCH" = xi386
9463 then :
9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9465 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9466 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9467 then :
9468 printf %s "(cached) " >&6
9469 else $as_nop
9470 ac_wine_try_cflags_saved=$CFLAGS
9471 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9474 int main(int argc, char **argv) { return 0; }
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"
9477 then :
9478 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9479 else $as_nop
9480 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9483 conftest$ac_exeext conftest.$ac_ext
9484 CFLAGS=$ac_wine_try_cflags_saved
9486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9487 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9488 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9489 then :
9490 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9493 enable_loader=${enable_loader:-no}
9494 enable_server=${enable_server:-no}
9495 with_x=${with_x:-no}
9496 with_pthread=${with_pthread:-no}
9499 darwin*|macosx*)
9500 LIBEXT="dylib"
9501 DLLFLAGS="$DLLFLAGS -fPIC"
9502 LDDLLFLAGS="-fPIC"
9503 enable_winemac_drv=${enable_winemac_drv:-yes}
9504 CARBON_LIBS="-framework Carbon"
9506 COREFOUNDATION_LIBS="-framework CoreFoundation"
9508 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9510 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9512 METAL_LIBS="-framework Metal"
9514 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9516 CORESERVICES_LIBS="-framework CoreServices"
9518 APPKIT_LIBS="-framework AppKit"
9520 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9522 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9525 WINELOADER_LDFLAGS="-Wl,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9527 case $HOST_ARCH in
9528 i386) wine_use_preloader=yes ;;
9529 x86_64)
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_huge" >&5
9531 printf %s "checking whether the compiler supports -Wl,-no_huge... " >&6; }
9532 if test ${ac_cv_cflags__Wl__no_huge+y}
9533 then :
9534 printf %s "(cached) " >&6
9535 else $as_nop
9536 ac_wine_try_cflags_saved=$CFLAGS
9537 CFLAGS="$CFLAGS -Wl,-no_huge"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"
9543 then :
9544 ac_cv_cflags__Wl__no_huge=yes
9545 else $as_nop
9546 ac_cv_cflags__Wl__no_huge=no
9548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_huge" >&5
9553 printf "%s\n" "$ac_cv_cflags__Wl__no_huge" >&6; }
9554 if test "x$ac_cv_cflags__Wl__no_huge" = xyes
9555 then :
9556 wine_use_preloader=no
9557 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-no_pie,-image_base,0x200000000,-no_huge,-no_fixup_chains,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000,-segaddr,WINE_TOP_DOWN,0x7ff000000000"
9558 else $as_nop
9559 wine_use_preloader=yes
9562 *) wine_use_preloader=no ;;
9563 esac
9565 if test "$wine_use_preloader" = "yes"
9566 then
9567 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"
9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9569 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9570 if test ${ac_cv_cflags__Wl__no_pie+y}
9571 then :
9572 printf %s "(cached) " >&6
9573 else $as_nop
9574 ac_wine_try_cflags_saved=$CFLAGS
9575 CFLAGS="$CFLAGS -Wl,-no_pie"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9578 int main(int argc, char **argv) { return 0; }
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"
9581 then :
9582 ac_cv_cflags__Wl__no_pie=yes
9583 else $as_nop
9584 ac_cv_cflags__Wl__no_pie=no
9586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9587 conftest$ac_exeext conftest.$ac_ext
9588 CFLAGS=$ac_wine_try_cflags_saved
9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9591 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9592 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9593 then :
9594 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9596 case $HOST_ARCH in
9597 i386)
9598 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9600 x86_64)
9601 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9603 esac
9604 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9607 if test "x$with_coreaudio" != "xno";
9608 then
9609 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9611 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9613 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9614 then
9615 OPENCL_LIBS="-framework OpenCL"
9617 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9621 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9622 ac_ext=m
9623 ac_cpp='$OBJCPP $CPPFLAGS'
9624 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9625 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9626 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9628 ac_ext=m
9629 ac_cpp='$OBJCPP $CPPFLAGS'
9630 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9631 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9632 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9633 if test -n "$ac_tool_prefix"; then
9634 for ac_prog in gcc objcc objc cc CC clang
9636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9637 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9639 printf %s "checking for $ac_word... " >&6; }
9640 if test ${ac_cv_prog_OBJC+y}
9641 then :
9642 printf %s "(cached) " >&6
9643 else $as_nop
9644 if test -n "$OBJC"; then
9645 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9646 else
9647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9648 for as_dir in $PATH
9650 IFS=$as_save_IFS
9651 case $as_dir in #(((
9652 '') as_dir=./ ;;
9653 */) ;;
9654 *) as_dir=$as_dir/ ;;
9655 esac
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9658 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9660 break 2
9662 done
9663 done
9664 IFS=$as_save_IFS
9668 OBJC=$ac_cv_prog_OBJC
9669 if test -n "$OBJC"; then
9670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9671 printf "%s\n" "$OBJC" >&6; }
9672 else
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9674 printf "%s\n" "no" >&6; }
9678 test -n "$OBJC" && break
9679 done
9681 if test -z "$OBJC"; then
9682 ac_ct_OBJC=$OBJC
9683 for ac_prog in gcc objcc objc cc CC clang
9685 # Extract the first word of "$ac_prog", so it can be a program name with args.
9686 set dummy $ac_prog; ac_word=$2
9687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9688 printf %s "checking for $ac_word... " >&6; }
9689 if test ${ac_cv_prog_ac_ct_OBJC+y}
9690 then :
9691 printf %s "(cached) " >&6
9692 else $as_nop
9693 if test -n "$ac_ct_OBJC"; then
9694 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9695 else
9696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9697 for as_dir in $PATH
9699 IFS=$as_save_IFS
9700 case $as_dir in #(((
9701 '') as_dir=./ ;;
9702 */) ;;
9703 *) as_dir=$as_dir/ ;;
9704 esac
9705 for ac_exec_ext in '' $ac_executable_extensions; do
9706 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9707 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9709 break 2
9711 done
9712 done
9713 IFS=$as_save_IFS
9717 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9718 if test -n "$ac_ct_OBJC"; then
9719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9720 printf "%s\n" "$ac_ct_OBJC" >&6; }
9721 else
9722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9723 printf "%s\n" "no" >&6; }
9727 test -n "$ac_ct_OBJC" && break
9728 done
9730 if test "x$ac_ct_OBJC" = x; then
9731 OBJC="gcc"
9732 else
9733 case $cross_compiling:$ac_tool_warned in
9734 yes:)
9735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9736 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9737 ac_tool_warned=yes ;;
9738 esac
9739 OBJC=$ac_ct_OBJC
9743 # Provide some information about the compiler.
9744 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9745 set X $ac_compile
9746 ac_compiler=$2
9747 for ac_option in --version -v -V -qversion; do
9748 { { ac_try="$ac_compiler $ac_option >&5"
9749 case "(($ac_try" in
9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9752 esac
9753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9754 printf "%s\n" "$ac_try_echo"; } >&5
9755 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9756 ac_status=$?
9757 if test -s conftest.err; then
9758 sed '10a\
9759 ... rest of stderr output deleted ...
9760 10q' conftest.err >conftest.er1
9761 cat conftest.er1 >&5
9763 rm -f conftest.er1 conftest.err
9764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9765 test $ac_status = 0; }
9766 done
9768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9769 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9770 if test ${ac_cv_objc_compiler_gnu+y}
9771 then :
9772 printf %s "(cached) " >&6
9773 else $as_nop
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9778 main (void)
9780 #ifndef __GNUC__
9781 choke me
9782 #endif
9785 return 0;
9787 _ACEOF
9788 if ac_fn_objc_try_compile "$LINENO"
9789 then :
9790 ac_compiler_gnu=yes
9791 else $as_nop
9792 ac_compiler_gnu=no
9794 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9795 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9799 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9800 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9802 if test $ac_compiler_gnu = yes; then
9803 GOBJC=yes
9804 else
9805 GOBJC=
9807 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9808 ac_save_OBJCFLAGS=$OBJCFLAGS
9809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9810 printf %s "checking whether $OBJC accepts -g... " >&6; }
9811 if test ${ac_cv_prog_objc_g+y}
9812 then :
9813 printf %s "(cached) " >&6
9814 else $as_nop
9815 ac_save_objc_werror_flag=$ac_objc_werror_flag
9816 ac_objc_werror_flag=yes
9817 ac_cv_prog_objc_g=no
9818 OBJCFLAGS="-g"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9823 main (void)
9827 return 0;
9829 _ACEOF
9830 if ac_fn_objc_try_compile "$LINENO"
9831 then :
9832 ac_cv_prog_objc_g=yes
9833 else $as_nop
9834 OBJCFLAGS=""
9835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9836 /* end confdefs.h. */
9839 main (void)
9843 return 0;
9845 _ACEOF
9846 if ac_fn_objc_try_compile "$LINENO"
9847 then :
9849 else $as_nop
9850 ac_objc_werror_flag=$ac_save_objc_werror_flag
9851 OBJCFLAGS="-g"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9856 main (void)
9860 return 0;
9862 _ACEOF
9863 if ac_fn_objc_try_compile "$LINENO"
9864 then :
9865 ac_cv_prog_objc_g=yes
9867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9869 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9872 ac_objc_werror_flag=$ac_save_objc_werror_flag
9874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9875 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9876 if test $ac_test_OBJCFLAGS; then
9877 OBJCFLAGS=$ac_save_OBJCFLAGS
9878 elif test $ac_cv_prog_objc_g = yes; then
9879 if test "$GOBJC" = yes; then
9880 OBJCFLAGS="-g -O2"
9881 else
9882 OBJCFLAGS="-g"
9884 else
9885 if test "$GOBJC" = yes; then
9886 OBJCFLAGS="-O2"
9887 else
9888 OBJCFLAGS=
9891 ac_ext=m
9892 ac_cpp='$OBJCPP $CPPFLAGS'
9893 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9894 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9895 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9899 /* end confdefs.h. */
9900 #include <Metal/Metal.h>
9902 main (void)
9904 id<MTLDevice> device; device.registryID;
9906 return 0;
9908 _ACEOF
9909 if ac_fn_objc_try_compile "$LINENO"
9910 then :
9911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9912 printf "%s\n" "yes" >&6; }
9914 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9916 else $as_nop
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9918 printf "%s\n" "no" >&6; }
9920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9921 ac_ext=c
9922 ac_cpp='$CPP $CPPFLAGS'
9923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9928 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9929 WINELOADER_DEPENDS="wine_info.plist"
9933 linux-android*)
9935 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9937 DLLFLAGS="$DLLFLAGS -fPIC"
9938 LDDLLFLAGS="-fPIC"
9939 LDEXECFLAGS="-Wl,-pie"
9940 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9942 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9943 if test ${ac_cv_cflags__Wl__z_defs+y}
9944 then :
9945 printf %s "(cached) " >&6
9946 else $as_nop
9947 ac_wine_try_cflags_saved=$CFLAGS
9948 CFLAGS="$CFLAGS -Wl,-z,defs"
9949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9950 /* end confdefs.h. */
9951 int main(int argc, char **argv) { return 0; }
9952 _ACEOF
9953 if ac_fn_c_try_link "$LINENO"
9954 then :
9955 ac_cv_cflags__Wl__z_defs=yes
9956 else $as_nop
9957 ac_cv_cflags__Wl__z_defs=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9960 conftest$ac_exeext conftest.$ac_ext
9961 CFLAGS=$ac_wine_try_cflags_saved
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9964 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9965 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9966 then :
9967 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9970 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9971 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9972 then :
9973 printf %s "(cached) " >&6
9974 else $as_nop
9975 ac_wine_try_cflags_saved=$CFLAGS
9976 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9979 int main(int argc, char **argv) { return 0; }
9980 _ACEOF
9981 if ac_fn_c_try_link "$LINENO"
9982 then :
9983 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9984 else $as_nop
9985 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9992 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9993 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9994 then :
9995 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9997 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10000 printf %s "checking for -lEGL... " >&6; }
10001 if test ${ac_cv_lib_soname_EGL+y}
10002 then :
10003 printf %s "(cached) " >&6
10004 else $as_nop
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lEGL $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10013 char eglGetProcAddress ();
10015 main (void)
10017 return eglGetProcAddress ();
10019 return 0;
10021 _ACEOF
10022 if ac_fn_c_try_link "$LINENO"
10023 then :
10024 case "$LIBEXT" in
10025 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10026 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'` ;;
10027 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10028 if ${ac_cv_lib_soname_EGL:+false} :
10029 then :
10030 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10031 fi ;;
10032 esac
10033 else $as_nop
10034 ac_cv_lib_soname_EGL=
10036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10037 conftest$ac_exeext conftest.$ac_ext
10038 LIBS=$ac_check_soname_save_LIBS
10040 if ${ac_cv_lib_soname_EGL:+false} :
10041 then :
10042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10043 printf "%s\n" "not found" >&6; }
10045 else $as_nop
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10047 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10049 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10054 printf %s "checking for -lGLESv2... " >&6; }
10055 if test ${ac_cv_lib_soname_GLESv2+y}
10056 then :
10057 printf %s "(cached) " >&6
10058 else $as_nop
10059 ac_check_soname_save_LIBS=$LIBS
10060 LIBS="-lGLESv2 $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10067 char glFlush ();
10069 main (void)
10071 return glFlush ();
10073 return 0;
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"
10077 then :
10078 case "$LIBEXT" in
10079 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10080 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'` ;;
10081 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10082 if ${ac_cv_lib_soname_GLESv2:+false} :
10083 then :
10084 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10085 fi ;;
10086 esac
10087 else $as_nop
10088 ac_cv_lib_soname_GLESv2=
10090 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_soname_save_LIBS
10094 if ${ac_cv_lib_soname_GLESv2:+false} :
10095 then :
10096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10097 printf "%s\n" "not found" >&6; }
10099 else $as_nop
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10101 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10103 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10108 if test "x$exec_prefix" = xNONE
10109 then
10110 case $HOST_ARCH in
10111 i386) exec_prefix='${prefix}/x86' ;;
10112 x86_64) exec_prefix='${prefix}/x86_64' ;;
10113 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10114 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10115 esac
10121 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10123 if test $HOST_ARCH = i386
10124 then
10125 DLLFLAGS="$DLLFLAGS -fno-PIC"
10126 LDDLLFLAGS="-fno-PIC"
10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10128 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10129 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10130 then :
10131 printf %s "(cached) " >&6
10132 else $as_nop
10133 ac_wine_try_cflags_saved=$CFLAGS
10134 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 int main(int argc, char **argv) { return 0; }
10138 _ACEOF
10139 if ac_fn_c_try_link "$LINENO"
10140 then :
10141 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10142 else $as_nop
10143 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10145 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10146 conftest$ac_exeext conftest.$ac_ext
10147 CFLAGS=$ac_wine_try_cflags_saved
10149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10150 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10151 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10152 then :
10153 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10155 else
10156 DLLFLAGS="$DLLFLAGS -fPIC"
10157 LDDLLFLAGS="-fPIC"
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10161 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10162 if test ${ac_cv_wl_z_defs+y}
10163 then :
10164 printf %s "(cached) " >&6
10165 else $as_nop
10166 ac_save_CFLAGS="$CFLAGS"
10167 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"
10173 then :
10174 ac_cv_wl_z_defs=yes
10175 else $as_nop
10176 ac_cv_wl_z_defs=no
10178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_save_CFLAGS
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10183 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10184 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10187 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10188 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10189 then :
10190 printf %s "(cached) " >&6
10191 else $as_nop
10192 ac_wine_try_cflags_saved=$CFLAGS
10193 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10196 int main(int argc, char **argv) { return 0; }
10197 _ACEOF
10198 if ac_fn_c_try_link "$LINENO"
10199 then :
10200 ac_cv_cflags__Wl___export_dynamic=yes
10201 else $as_nop
10202 ac_cv_cflags__Wl___export_dynamic=no
10204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10205 conftest$ac_exeext conftest.$ac_ext
10206 CFLAGS=$ac_wine_try_cflags_saved
10208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10209 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10210 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10211 then :
10212 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10214 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10216 case $host_os in
10217 linux*)
10218 as_fn_append WINELOADER_LDFLAGS " -pie"
10219 case $HOST_ARCH in
10220 i386|arm)
10221 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10224 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10225 if test ${ac_cv_cflags__static_pie+y}
10226 then :
10227 printf %s "(cached) " >&6
10228 else $as_nop
10229 ac_wine_try_cflags_saved=$CFLAGS
10230 CFLAGS="$CFLAGS -static-pie"
10231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10232 /* end confdefs.h. */
10233 int main(int argc, char **argv) { return 0; }
10234 _ACEOF
10235 if ac_fn_c_try_link "$LINENO"
10236 then :
10237 ac_cv_cflags__static_pie=yes
10238 else $as_nop
10239 ac_cv_cflags__static_pie=no
10241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10242 conftest$ac_exeext conftest.$ac_ext
10243 CFLAGS=$ac_wine_try_cflags_saved
10245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10246 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10247 if test "x$ac_cv_cflags__static_pie" = xyes
10248 then :
10249 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10250 else $as_nop
10251 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10254 esac
10257 case $HOST_ARCH in
10258 i386|arm)
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10260 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10261 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10262 then :
10263 printf %s "(cached) " >&6
10264 else $as_nop
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10268 /* end confdefs.h. */
10269 int main(int argc, char **argv) { return 0; }
10270 _ACEOF
10271 if ac_fn_c_try_link "$LINENO"
10272 then :
10273 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10274 else $as_nop
10275 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10278 conftest$ac_exeext conftest.$ac_ext
10279 CFLAGS=$ac_wine_try_cflags_saved
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10282 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10283 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10284 then :
10285 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10286 else $as_nop
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10288 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10289 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10290 then :
10291 printf %s "(cached) " >&6
10292 else $as_nop
10293 ac_wine_try_cflags_saved=$CFLAGS
10294 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 int main(int argc, char **argv) { return 0; }
10298 _ACEOF
10299 if ac_fn_c_try_link "$LINENO"
10300 then :
10301 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10302 else $as_nop
10303 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10310 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10311 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10312 then :
10313 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10318 as_fn_append WINELOADER_LDFLAGS " -pie"
10320 esac
10322 esac
10324 esac
10326 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10327 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10328 enable_winemac_drv=${enable_winemac_drv:-no}
10330 PE_ARCHS=""
10332 cross_archs=
10333 if test ${enable_archs+y}
10334 then :
10335 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10336 ac_save_IFS=$IFS
10337 IFS=' ,'
10338 set x $enable_archs
10339 IFS=$ac_save_IFS
10340 shift
10341 for arch
10343 case $arch in
10344 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10345 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10346 esac
10347 done
10348 else $as_nop
10349 if test "x$with_mingw" != xno
10350 then
10351 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10355 saved_CC=$CC
10356 saved_CFLAGS=$CFLAGS
10357 saved_LDFLAGS=$LDFLAGS
10359 { extra_arch=; unset extra_arch;}
10360 for arch in $cross_archs
10362 case $arch in
10363 arm64ec) test ${extra_arch+y} || extra_arch=x86_64 ;;
10364 x86_64) extra_arch="" ;;
10365 esac
10366 done
10368 for wine_arch in $cross_archs $extra_arch
10370 case "x$with_mingw" in
10371 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10372 esac
10373 if eval \${${wine_arch}_CC:+false} :
10374 then :
10375 case $wine_arch in
10376 aarch64)
10377 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10379 # Extract the first word of "$ac_prog", so it can be a program name with args.
10380 set dummy $ac_prog; ac_word=$2
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10382 printf %s "checking for $ac_word... " >&6; }
10383 if test ${ac_cv_prog_aarch64_CC+y}
10384 then :
10385 printf %s "(cached) " >&6
10386 else $as_nop
10387 if test -n "$aarch64_CC"; then
10388 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10389 else
10390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10391 for as_dir in $PATH
10393 IFS=$as_save_IFS
10394 case $as_dir in #(((
10395 '') as_dir=./ ;;
10396 */) ;;
10397 *) as_dir=$as_dir/ ;;
10398 esac
10399 for ac_exec_ext in '' $ac_executable_extensions; do
10400 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10401 ac_cv_prog_aarch64_CC="$ac_prog"
10402 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10403 break 2
10405 done
10406 done
10407 IFS=$as_save_IFS
10411 aarch64_CC=$ac_cv_prog_aarch64_CC
10412 if test -n "$aarch64_CC"; then
10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10414 printf "%s\n" "$aarch64_CC" >&6; }
10415 else
10416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10417 printf "%s\n" "no" >&6; }
10421 test -n "$aarch64_CC" && break
10422 done
10423 test -n "$aarch64_CC" || aarch64_CC="false"
10426 arm64ec)
10427 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10429 # Extract the first word of "$ac_prog", so it can be a program name with args.
10430 set dummy $ac_prog; ac_word=$2
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10432 printf %s "checking for $ac_word... " >&6; }
10433 if test ${ac_cv_prog_arm64ec_CC+y}
10434 then :
10435 printf %s "(cached) " >&6
10436 else $as_nop
10437 if test -n "$arm64ec_CC"; then
10438 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10439 else
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10443 IFS=$as_save_IFS
10444 case $as_dir in #(((
10445 '') as_dir=./ ;;
10446 */) ;;
10447 *) as_dir=$as_dir/ ;;
10448 esac
10449 for ac_exec_ext in '' $ac_executable_extensions; do
10450 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10451 ac_cv_prog_arm64ec_CC="$ac_prog"
10452 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10453 break 2
10455 done
10456 done
10457 IFS=$as_save_IFS
10461 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10462 if test -n "$arm64ec_CC"; then
10463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10464 printf "%s\n" "$arm64ec_CC" >&6; }
10465 else
10466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 printf "%s\n" "no" >&6; }
10471 test -n "$arm64ec_CC" && break
10472 done
10473 test -n "$arm64ec_CC" || arm64ec_CC="false"
10476 arm)
10477 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10479 # Extract the first word of "$ac_prog", so it can be a program name with args.
10480 set dummy $ac_prog; ac_word=$2
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 printf %s "checking for $ac_word... " >&6; }
10483 if test ${ac_cv_prog_arm_CC+y}
10484 then :
10485 printf %s "(cached) " >&6
10486 else $as_nop
10487 if test -n "$arm_CC"; then
10488 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10489 else
10490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10491 for as_dir in $PATH
10493 IFS=$as_save_IFS
10494 case $as_dir in #(((
10495 '') as_dir=./ ;;
10496 */) ;;
10497 *) as_dir=$as_dir/ ;;
10498 esac
10499 for ac_exec_ext in '' $ac_executable_extensions; do
10500 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10501 ac_cv_prog_arm_CC="$ac_prog"
10502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10503 break 2
10505 done
10506 done
10507 IFS=$as_save_IFS
10511 arm_CC=$ac_cv_prog_arm_CC
10512 if test -n "$arm_CC"; then
10513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10514 printf "%s\n" "$arm_CC" >&6; }
10515 else
10516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517 printf "%s\n" "no" >&6; }
10521 test -n "$arm_CC" && break
10522 done
10523 test -n "$arm_CC" || arm_CC="false"
10526 i386)
10527 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 "
10528 for ac_prog in $ac_prefix_list clang
10530 # Extract the first word of "$ac_prog", so it can be a program name with args.
10531 set dummy $ac_prog; ac_word=$2
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10533 printf %s "checking for $ac_word... " >&6; }
10534 if test ${ac_cv_prog_i386_CC+y}
10535 then :
10536 printf %s "(cached) " >&6
10537 else $as_nop
10538 if test -n "$i386_CC"; then
10539 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10540 else
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10544 IFS=$as_save_IFS
10545 case $as_dir in #(((
10546 '') as_dir=./ ;;
10547 */) ;;
10548 *) as_dir=$as_dir/ ;;
10549 esac
10550 for ac_exec_ext in '' $ac_executable_extensions; do
10551 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10552 ac_cv_prog_i386_CC="$ac_prog"
10553 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10554 break 2
10556 done
10557 done
10558 IFS=$as_save_IFS
10562 i386_CC=$ac_cv_prog_i386_CC
10563 if test -n "$i386_CC"; then
10564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10565 printf "%s\n" "$i386_CC" >&6; }
10566 else
10567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10568 printf "%s\n" "no" >&6; }
10572 test -n "$i386_CC" && break
10573 done
10574 test -n "$i386_CC" || i386_CC="false"
10577 x86_64)
10578 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10579 for ac_prog in $ac_prefix_list clang
10581 # Extract the first word of "$ac_prog", so it can be a program name with args.
10582 set dummy $ac_prog; ac_word=$2
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10584 printf %s "checking for $ac_word... " >&6; }
10585 if test ${ac_cv_prog_x86_64_CC+y}
10586 then :
10587 printf %s "(cached) " >&6
10588 else $as_nop
10589 if test -n "$x86_64_CC"; then
10590 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10591 else
10592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $PATH
10595 IFS=$as_save_IFS
10596 case $as_dir in #(((
10597 '') as_dir=./ ;;
10598 */) ;;
10599 *) as_dir=$as_dir/ ;;
10600 esac
10601 for ac_exec_ext in '' $ac_executable_extensions; do
10602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10603 ac_cv_prog_x86_64_CC="$ac_prog"
10604 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10605 break 2
10607 done
10608 done
10609 IFS=$as_save_IFS
10613 x86_64_CC=$ac_cv_prog_x86_64_CC
10614 if test -n "$x86_64_CC"; then
10615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10616 printf "%s\n" "$x86_64_CC" >&6; }
10617 else
10618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10619 printf "%s\n" "no" >&6; }
10623 test -n "$x86_64_CC" && break
10624 done
10625 test -n "$x86_64_CC" || x86_64_CC="false"
10628 esac
10631 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10632 LDFLAGS=$CROSSLDFLAGS
10633 eval CC=\$${wine_arch}_CC
10634 eval ${wine_arch}_CFLAGS=\$CFLAGS
10635 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10636 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10638 target=""
10639 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10641 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10642 then :
10644 else $as_nop
10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10646 printf %s "checking whether $CC works... " >&6; }
10647 if eval test \${$as_wine_cv_crosscc+y}
10648 then :
10649 printf %s "(cached) " >&6
10650 else $as_nop
10651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10652 /* end confdefs.h. */
10655 main (void)
10659 return 0;
10661 _ACEOF
10662 if ac_fn_c_try_compile "$LINENO"
10663 then :
10664 eval "$as_wine_cv_crosscc=yes"
10665 else $as_nop
10666 eval "$as_wine_cv_crosscc=no"
10668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10670 eval ac_res=\$$as_wine_cv_crosscc
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10672 printf "%s\n" "$ac_res" >&6; }
10674 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10675 then :
10676 set x $CC
10677 shift
10678 while test $# -ge 1
10680 case "$1" in
10681 */*-gcc) target=`expr "$1" : '.*/\(.*\)-gcc'` ;;
10682 */*-clang) target=`expr "$1" : '.*/\(.*\)-clang'` ;;
10683 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10684 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10685 esac
10686 shift
10687 done
10689 llvm_target=$target
10690 if test -z "$llvm_target"
10691 then
10692 case $wine_arch in
10693 i386) llvm_target=i686-windows ;;
10694 arm) llvm_target=armv7-windows ;;
10695 *) llvm_target=$wine_arch-windows ;;
10696 esac
10698 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10699 llvm_extra_ldflags=""
10700 case $llvm_target in
10701 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10702 esac
10703 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10705 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10706 if eval test \${$as_ac_var+y}
10707 then :
10708 printf %s "(cached) " >&6
10709 else $as_nop
10710 ac_wine_try_cflags_saved=$CFLAGS
10711 ac_wine_try_cflags_saved_exeext=$ac_exeext
10712 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10713 ac_exeext=".exe"
10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10716 void *__os_arm64x_dispatch_ret = 0;
10717 int __cdecl mainCRTStartup(void) { return 0; }
10718 _ACEOF
10719 if ac_fn_c_try_link "$LINENO"
10720 then :
10721 eval "$as_ac_var=yes"
10722 else $as_nop
10723 eval "$as_ac_var=no"
10725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10726 conftest$ac_exeext conftest.$ac_ext
10727 CFLAGS=$ac_wine_try_cflags_saved
10728 ac_exeext=$ac_wine_try_cflags_saved_exeext
10730 eval ac_res=\$$as_ac_var
10731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10732 printf "%s\n" "$ac_res" >&6; }
10733 if eval test \"x\$"$as_ac_var"\" = x"yes"
10734 then :
10735 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10736 llvm_extra_ldflags="--no-default-config"
10737 else $as_nop
10738 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10740 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10741 if eval test \${$as_ac_var+y}
10742 then :
10743 printf %s "(cached) " >&6
10744 else $as_nop
10745 ac_wine_try_cflags_saved=$CFLAGS
10746 ac_wine_try_cflags_saved_exeext=$ac_exeext
10747 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10748 ac_exeext=".exe"
10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10750 /* end confdefs.h. */
10751 void *__os_arm64x_dispatch_ret = 0;
10752 int __cdecl mainCRTStartup(void) { return 0; }
10753 _ACEOF
10754 if ac_fn_c_try_link "$LINENO"
10755 then :
10756 eval "$as_ac_var=yes"
10757 else $as_nop
10758 eval "$as_ac_var=no"
10760 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10761 conftest$ac_exeext conftest.$ac_ext
10762 CFLAGS=$ac_wine_try_cflags_saved
10763 ac_exeext=$ac_wine_try_cflags_saved_exeext
10765 eval ac_res=\$$as_ac_var
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10767 printf "%s\n" "$ac_res" >&6; }
10768 if eval test \"x\$"$as_ac_var"\" = x"yes"
10769 then :
10771 else $as_nop
10772 llvm_extra_cflags=""
10773 fi }
10774 fi }
10775 if test -n "$llvm_extra_cflags"
10776 then
10777 target=$llvm_target
10778 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10779 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10780 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10781 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10783 eval "${wine_arch}_TARGET=\$target"
10787 if test -z "$target"
10788 then
10789 if test ${enable_archs+y}
10790 then :
10791 as_fn_error $? "$wine_arch PE cross-compiler not found.
10792 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10794 continue
10797 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10800 printf %s "checking for $CC option to enable C99 features... " >&6; }
10801 if eval test \${$as_wine_cv_crosscc_c99+y}
10802 then :
10803 printf %s "(cached) " >&6
10804 else $as_nop
10805 eval "$as_wine_cv_crosscc_c99=no"
10806 for arg in '' '-std=gnu99' '-D__STDC__'
10808 test -z "$arg" || CC="$CC $arg"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10811 $ac_c_conftest_c99_program
10812 _ACEOF
10813 if ac_fn_c_try_compile "$LINENO"
10814 then :
10815 eval "$as_wine_cv_crosscc_c99=\$arg"
10816 else $as_nop
10817 eval "$as_wine_cv_crosscc_c99=no"
10819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10820 eval CC=\$${wine_arch}_CC
10821 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10822 then :
10824 else $as_nop
10825 break
10827 done
10830 eval res=\$$as_wine_cv_crosscc_c99
10832 case "x$res" in
10833 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10834 printf "%s\n" "none needed" >&6; } ;;
10835 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10836 printf "%s\n" "unsupported" >&6; }
10837 if test ${enable_archs+y}
10838 then :
10839 as_fn_error $? "$wine_arch PE cross-compiler supporting C99 not found.
10840 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10842 continue
10844 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10845 printf "%s\n" "$res" >&6; }
10846 as_fn_append ${wine_arch}_CC " $res" ;;
10847 esac
10849 if test "x$wine_arch" = xi386
10850 then :
10852 else $as_nop
10853 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10856 printf %s "checking whether $CC supports SEH directives... " >&6; }
10857 if eval test \${$as_wine_cv_seh_support+y}
10858 then :
10859 printf %s "(cached) " >&6
10860 else $as_nop
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10863 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10865 main (void)
10869 return 0;
10871 _ACEOF
10872 if ac_fn_c_try_compile "$LINENO"
10873 then :
10874 eval "$as_wine_cv_seh_support=yes"
10875 else $as_nop
10876 eval "$as_wine_cv_seh_support=no"
10878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10880 eval ac_res=\$$as_wine_cv_seh_support
10881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10882 printf "%s\n" "$ac_res" >&6; }
10883 eval res=\$$as_wine_cv_seh_support
10885 if test "x$res" = xyes
10886 then :
10888 else $as_nop
10889 if test ${enable_archs+y}
10890 then :
10891 as_fn_error $? "The $wine_arch PE cross-compiler doesn't support SEH directives.
10892 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10894 continue
10898 if test "x$wine_arch" = x$extra_arch
10899 then :
10901 else $as_nop
10902 as_fn_append PE_ARCHS " $wine_arch"
10905 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10907 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10908 if eval test \${$as_ac_var+y}
10909 then :
10910 printf %s "(cached) " >&6
10911 else $as_nop
10912 ac_wine_try_cflags_saved=$CFLAGS
10913 ac_wine_try_cflags_saved_exeext=$ac_exeext
10914 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10915 ac_exeext=".exe"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10918 void *__os_arm64x_dispatch_ret = 0;
10919 int __cdecl mainCRTStartup(void) { return 0; }
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"
10922 then :
10923 eval "$as_ac_var=yes"
10924 else $as_nop
10925 eval "$as_ac_var=no"
10927 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10928 conftest$ac_exeext conftest.$ac_ext
10929 CFLAGS=$ac_wine_try_cflags_saved
10930 ac_exeext=$ac_wine_try_cflags_saved_exeext
10932 eval ac_res=\$$as_ac_var
10933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10934 printf "%s\n" "$ac_res" >&6; }
10935 if eval test \"x\$"$as_ac_var"\" = x"yes"
10936 then :
10937 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10938 fi }
10939 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10941 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10942 if eval test \${$as_ac_var+y}
10943 then :
10944 printf %s "(cached) " >&6
10945 else $as_nop
10946 ac_wine_try_cflags_saved=$CFLAGS
10947 ac_wine_try_cflags_saved_exeext=$ac_exeext
10948 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10949 ac_exeext=".exe"
10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10952 void *__os_arm64x_dispatch_ret = 0;
10953 int __cdecl mainCRTStartup(void) { return 0; }
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"
10956 then :
10957 eval "$as_ac_var=yes"
10958 else $as_nop
10959 eval "$as_ac_var=no"
10961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10962 conftest$ac_exeext conftest.$ac_ext
10963 CFLAGS=$ac_wine_try_cflags_saved
10964 ac_exeext=$ac_wine_try_cflags_saved_exeext
10966 eval ac_res=\$$as_ac_var
10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10968 printf "%s\n" "$ac_res" >&6; }
10969 if eval test \"x\$"$as_ac_var"\" = x"yes"
10970 then :
10971 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10972 fi }
10973 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10975 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10976 if eval test \${$as_ac_var+y}
10977 then :
10978 printf %s "(cached) " >&6
10979 else $as_nop
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 ac_wine_try_cflags_saved_exeext=$ac_exeext
10982 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10983 ac_exeext=".exe"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10986 void *__os_arm64x_dispatch_ret = 0;
10987 int __cdecl mainCRTStartup(void) { return 0; }
10988 _ACEOF
10989 if ac_fn_c_try_link "$LINENO"
10990 then :
10991 eval "$as_ac_var=yes"
10992 else $as_nop
10993 eval "$as_ac_var=no"
10995 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10996 conftest$ac_exeext conftest.$ac_ext
10997 CFLAGS=$ac_wine_try_cflags_saved
10998 ac_exeext=$ac_wine_try_cflags_saved_exeext
11000 eval ac_res=\$$as_ac_var
11001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11002 printf "%s\n" "$ac_res" >&6; }
11003 if eval test \"x\$"$as_ac_var"\" = x"yes"
11004 then :
11005 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11006 fi }
11007 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11009 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11010 if eval test \${$as_ac_var+y}
11011 then :
11012 printf %s "(cached) " >&6
11013 else $as_nop
11014 ac_wine_try_cflags_saved=$CFLAGS
11015 ac_wine_try_cflags_saved_exeext=$ac_exeext
11016 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
11017 ac_exeext=".exe"
11018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11019 /* end confdefs.h. */
11020 void *__os_arm64x_dispatch_ret = 0;
11021 int __cdecl mainCRTStartup(void) { return 0; }
11022 _ACEOF
11023 if ac_fn_c_try_link "$LINENO"
11024 then :
11025 eval "$as_ac_var=yes"
11026 else $as_nop
11027 eval "$as_ac_var=no"
11029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11030 conftest$ac_exeext conftest.$ac_ext
11031 CFLAGS=$ac_wine_try_cflags_saved
11032 ac_exeext=$ac_wine_try_cflags_saved_exeext
11034 eval ac_res=\$$as_ac_var
11035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11036 printf "%s\n" "$ac_res" >&6; }
11037 if eval test \"x\$"$as_ac_var"\" = x"yes"
11038 then :
11039 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11040 fi }
11041 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11043 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11044 if eval test \${$as_ac_var+y}
11045 then :
11046 printf %s "(cached) " >&6
11047 else $as_nop
11048 ac_wine_try_cflags_saved=$CFLAGS
11049 ac_wine_try_cflags_saved_exeext=$ac_exeext
11050 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11051 ac_exeext=".exe"
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11054 void *__os_arm64x_dispatch_ret = 0;
11055 int __cdecl mainCRTStartup(void) { return 0; }
11056 _ACEOF
11057 if ac_fn_c_try_link "$LINENO"
11058 then :
11059 eval "$as_ac_var=yes"
11060 else $as_nop
11061 eval "$as_ac_var=no"
11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11064 conftest$ac_exeext conftest.$ac_ext
11065 CFLAGS=$ac_wine_try_cflags_saved
11066 ac_exeext=$ac_wine_try_cflags_saved_exeext
11068 eval ac_res=\$$as_ac_var
11069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11070 printf "%s\n" "$ac_res" >&6; }
11071 if eval test \"x\$"$as_ac_var"\" = x"yes"
11072 then :
11073 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11074 fi }
11075 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11077 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11078 if eval test \${$as_ac_var+y}
11079 then :
11080 printf %s "(cached) " >&6
11081 else $as_nop
11082 ac_wine_try_cflags_saved=$CFLAGS
11083 ac_wine_try_cflags_saved_exeext=$ac_exeext
11084 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11085 ac_exeext=".exe"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11088 void *__os_arm64x_dispatch_ret = 0;
11089 int __cdecl mainCRTStartup(void) { return 0; }
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"
11092 then :
11093 eval "$as_ac_var=yes"
11094 else $as_nop
11095 eval "$as_ac_var=no"
11097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11098 conftest$ac_exeext conftest.$ac_ext
11099 CFLAGS=$ac_wine_try_cflags_saved
11100 ac_exeext=$ac_wine_try_cflags_saved_exeext
11102 eval ac_res=\$$as_ac_var
11103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11104 printf "%s\n" "$ac_res" >&6; }
11105 if eval test \"x\$"$as_ac_var"\" = x"yes"
11106 then :
11107 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11108 fi }
11109 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11111 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11112 if eval test \${$as_ac_var+y}
11113 then :
11114 printf %s "(cached) " >&6
11115 else $as_nop
11116 ac_wine_try_cflags_saved=$CFLAGS
11117 ac_wine_try_cflags_saved_exeext=$ac_exeext
11118 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11119 ac_exeext=".exe"
11120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11121 /* end confdefs.h. */
11122 void *__os_arm64x_dispatch_ret = 0;
11123 int __cdecl mainCRTStartup(void) { return 0; }
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"
11126 then :
11127 eval "$as_ac_var=yes"
11128 else $as_nop
11129 eval "$as_ac_var=no"
11131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11132 conftest$ac_exeext conftest.$ac_ext
11133 CFLAGS=$ac_wine_try_cflags_saved
11134 ac_exeext=$ac_wine_try_cflags_saved_exeext
11136 eval ac_res=\$$as_ac_var
11137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11138 printf "%s\n" "$ac_res" >&6; }
11139 if eval test \"x\$"$as_ac_var"\" = x"yes"
11140 then :
11141 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11142 fi }
11143 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11145 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11146 if eval test \${$as_ac_var+y}
11147 then :
11148 printf %s "(cached) " >&6
11149 else $as_nop
11150 ac_wine_try_cflags_saved=$CFLAGS
11151 ac_wine_try_cflags_saved_exeext=$ac_exeext
11152 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11153 ac_exeext=".exe"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11156 void *__os_arm64x_dispatch_ret = 0;
11157 int __cdecl mainCRTStartup(void) { return 0; }
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"
11160 then :
11161 eval "$as_ac_var=yes"
11162 else $as_nop
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11174 then :
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11176 fi }
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11179 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11180 if eval test \${$as_ac_var+y}
11181 then :
11182 printf %s "(cached) " >&6
11183 else $as_nop
11184 ac_wine_try_cflags_saved=$CFLAGS
11185 ac_wine_try_cflags_saved_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11187 ac_exeext=".exe"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 void *__os_arm64x_dispatch_ret = 0;
11191 int __cdecl mainCRTStartup(void) { return 0; }
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"
11194 then :
11195 eval "$as_ac_var=yes"
11196 else $as_nop
11197 eval "$as_ac_var=no"
11199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11200 conftest$ac_exeext conftest.$ac_ext
11201 CFLAGS=$ac_wine_try_cflags_saved
11202 ac_exeext=$ac_wine_try_cflags_saved_exeext
11204 eval ac_res=\$$as_ac_var
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11206 printf "%s\n" "$ac_res" >&6; }
11207 if eval test \"x\$"$as_ac_var"\" = x"yes"
11208 then :
11209 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11210 fi }
11211 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11213 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11214 if eval test \${$as_ac_var+y}
11215 then :
11216 printf %s "(cached) " >&6
11217 else $as_nop
11218 ac_wine_try_cflags_saved=$CFLAGS
11219 ac_wine_try_cflags_saved_exeext=$ac_exeext
11220 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11221 ac_exeext=".exe"
11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11223 /* end confdefs.h. */
11224 void *__os_arm64x_dispatch_ret = 0;
11225 int __cdecl mainCRTStartup(void) { return 0; }
11226 _ACEOF
11227 if ac_fn_c_try_link "$LINENO"
11228 then :
11229 eval "$as_ac_var=yes"
11230 else $as_nop
11231 eval "$as_ac_var=no"
11233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11234 conftest$ac_exeext conftest.$ac_ext
11235 CFLAGS=$ac_wine_try_cflags_saved
11236 ac_exeext=$ac_wine_try_cflags_saved_exeext
11238 eval ac_res=\$$as_ac_var
11239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11240 printf "%s\n" "$ac_res" >&6; }
11241 if eval test \"x\$"$as_ac_var"\" = x"yes"
11242 then :
11243 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11244 fi }
11245 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11247 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11248 if eval test \${$as_ac_var+y}
11249 then :
11250 printf %s "(cached) " >&6
11251 else $as_nop
11252 ac_wine_try_cflags_saved=$CFLAGS
11253 ac_wine_try_cflags_saved_exeext=$ac_exeext
11254 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11255 ac_exeext=".exe"
11256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11257 /* end confdefs.h. */
11258 void *__os_arm64x_dispatch_ret = 0;
11259 int __cdecl mainCRTStartup(void) { return 0; }
11260 _ACEOF
11261 if ac_fn_c_try_link "$LINENO"
11262 then :
11263 eval "$as_ac_var=yes"
11264 else $as_nop
11265 eval "$as_ac_var=no"
11267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11268 conftest$ac_exeext conftest.$ac_ext
11269 CFLAGS=$ac_wine_try_cflags_saved
11270 ac_exeext=$ac_wine_try_cflags_saved_exeext
11272 eval ac_res=\$$as_ac_var
11273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11274 printf "%s\n" "$ac_res" >&6; }
11275 if eval test \"x\$"$as_ac_var"\" = x"yes"
11276 then :
11277 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11278 fi }
11279 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11281 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11282 if eval test \${$as_ac_var+y}
11283 then :
11284 printf %s "(cached) " >&6
11285 else $as_nop
11286 ac_wine_try_cflags_saved=$CFLAGS
11287 ac_wine_try_cflags_saved_exeext=$ac_exeext
11288 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11289 ac_exeext=".exe"
11290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291 /* end confdefs.h. */
11292 void *__os_arm64x_dispatch_ret = 0;
11293 int __cdecl mainCRTStartup(void) { return 0; }
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"
11296 then :
11297 eval "$as_ac_var=yes"
11298 else $as_nop
11299 eval "$as_ac_var=no"
11301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11302 conftest$ac_exeext conftest.$ac_ext
11303 CFLAGS=$ac_wine_try_cflags_saved
11304 ac_exeext=$ac_wine_try_cflags_saved_exeext
11306 eval ac_res=\$$as_ac_var
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11308 printf "%s\n" "$ac_res" >&6; }
11309 if eval test \"x\$"$as_ac_var"\" = x"yes"
11310 then :
11311 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11312 fi }
11313 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11315 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11316 if eval test \${$as_ac_var+y}
11317 then :
11318 printf %s "(cached) " >&6
11319 else $as_nop
11320 ac_wine_try_cflags_saved=$CFLAGS
11321 ac_wine_try_cflags_saved_exeext=$ac_exeext
11322 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11323 ac_exeext=".exe"
11324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11325 /* end confdefs.h. */
11326 void *__os_arm64x_dispatch_ret = 0;
11327 int __cdecl mainCRTStartup(void) { return 0; }
11328 _ACEOF
11329 if ac_fn_c_try_link "$LINENO"
11330 then :
11331 eval "$as_ac_var=yes"
11332 else $as_nop
11333 eval "$as_ac_var=no"
11335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11336 conftest$ac_exeext conftest.$ac_ext
11337 CFLAGS=$ac_wine_try_cflags_saved
11338 ac_exeext=$ac_wine_try_cflags_saved_exeext
11340 eval ac_res=\$$as_ac_var
11341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11342 printf "%s\n" "$ac_res" >&6; }
11343 if eval test \"x\$"$as_ac_var"\" = x"yes"
11344 then :
11345 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11346 fi }
11347 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11349 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11350 if eval test \${$as_ac_var+y}
11351 then :
11352 printf %s "(cached) " >&6
11353 else $as_nop
11354 ac_wine_try_cflags_saved=$CFLAGS
11355 ac_wine_try_cflags_saved_exeext=$ac_exeext
11356 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11357 ac_exeext=".exe"
11358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11359 /* end confdefs.h. */
11360 void *__os_arm64x_dispatch_ret = 0;
11361 int __cdecl mainCRTStartup(void) { return 0; }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"
11364 then :
11365 eval "$as_ac_var=yes"
11366 else $as_nop
11367 eval "$as_ac_var=no"
11369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11370 conftest$ac_exeext conftest.$ac_ext
11371 CFLAGS=$ac_wine_try_cflags_saved
11372 ac_exeext=$ac_wine_try_cflags_saved_exeext
11374 eval ac_res=\$$as_ac_var
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11376 printf "%s\n" "$ac_res" >&6; }
11377 if eval test \"x\$"$as_ac_var"\" = x"yes"
11378 then :
11379 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11380 fi }
11381 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11383 printf %s "checking whether $CC supports -Wvla... " >&6; }
11384 if eval test \${$as_ac_var+y}
11385 then :
11386 printf %s "(cached) " >&6
11387 else $as_nop
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_exeext=$ac_exeext
11390 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11391 ac_exeext=".exe"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 void *__os_arm64x_dispatch_ret = 0;
11395 int __cdecl mainCRTStartup(void) { return 0; }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"
11398 then :
11399 eval "$as_ac_var=yes"
11400 else $as_nop
11401 eval "$as_ac_var=no"
11403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11404 conftest$ac_exeext conftest.$ac_ext
11405 CFLAGS=$ac_wine_try_cflags_saved
11406 ac_exeext=$ac_wine_try_cflags_saved_exeext
11408 eval ac_res=\$$as_ac_var
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11410 printf "%s\n" "$ac_res" >&6; }
11411 if eval test \"x\$"$as_ac_var"\" = x"yes"
11412 then :
11413 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11414 fi }
11415 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11417 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11418 if eval test \${$as_ac_var+y}
11419 then :
11420 printf %s "(cached) " >&6
11421 else $as_nop
11422 ac_wine_try_cflags_saved=$CFLAGS
11423 ac_wine_try_cflags_saved_exeext=$ac_exeext
11424 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11425 ac_exeext=".exe"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 void *__os_arm64x_dispatch_ret = 0;
11429 int __cdecl mainCRTStartup(void) { return 0; }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"
11432 then :
11433 eval "$as_ac_var=yes"
11434 else $as_nop
11435 eval "$as_ac_var=no"
11437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11438 conftest$ac_exeext conftest.$ac_ext
11439 CFLAGS=$ac_wine_try_cflags_saved
11440 ac_exeext=$ac_wine_try_cflags_saved_exeext
11442 eval ac_res=\$$as_ac_var
11443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11444 printf "%s\n" "$ac_res" >&6; }
11445 if eval test \"x\$"$as_ac_var"\" = x"yes"
11446 then :
11447 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11448 fi }
11449 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11451 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11452 if eval test \${$as_ac_var+y}
11453 then :
11454 printf %s "(cached) " >&6
11455 else $as_nop
11456 ac_wine_try_cflags_saved=$CFLAGS
11457 ac_wine_try_cflags_saved_exeext=$ac_exeext
11458 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11459 ac_exeext=".exe"
11460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11462 void *__os_arm64x_dispatch_ret = 0;
11463 int __cdecl mainCRTStartup(void) { return 0; }
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"
11466 then :
11467 eval "$as_ac_var=yes"
11468 else $as_nop
11469 eval "$as_ac_var=no"
11471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11472 conftest$ac_exeext conftest.$ac_ext
11473 CFLAGS=$ac_wine_try_cflags_saved
11474 ac_exeext=$ac_wine_try_cflags_saved_exeext
11476 eval ac_res=\$$as_ac_var
11477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11478 printf "%s\n" "$ac_res" >&6; }
11479 if eval test \"x\$"$as_ac_var"\" = x"yes"
11480 then :
11481 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11482 fi }
11483 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11485 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11486 if eval test \${$as_ac_var+y}
11487 then :
11488 printf %s "(cached) " >&6
11489 else $as_nop
11490 ac_wine_try_cflags_saved=$CFLAGS
11491 ac_wine_try_cflags_saved_exeext=$ac_exeext
11492 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11493 ac_exeext=".exe"
11494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11496 void *__os_arm64x_dispatch_ret = 0;
11497 int __cdecl mainCRTStartup(void) { return 0; }
11498 _ACEOF
11499 if ac_fn_c_try_link "$LINENO"
11500 then :
11501 eval "$as_ac_var=yes"
11502 else $as_nop
11503 eval "$as_ac_var=no"
11505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11506 conftest$ac_exeext conftest.$ac_ext
11507 CFLAGS=$ac_wine_try_cflags_saved
11508 ac_exeext=$ac_wine_try_cflags_saved_exeext
11510 eval ac_res=\$$as_ac_var
11511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11512 printf "%s\n" "$ac_res" >&6; }
11513 if eval test \"x\$"$as_ac_var"\" = x"yes"
11514 then :
11515 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11516 fi }
11517 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11519 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11520 if eval test \${$as_ac_var+y}
11521 then :
11522 printf %s "(cached) " >&6
11523 else $as_nop
11524 ac_wine_try_cflags_saved=$CFLAGS
11525 ac_wine_try_cflags_saved_exeext=$ac_exeext
11526 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11527 ac_exeext=".exe"
11528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11529 /* end confdefs.h. */
11530 void *__os_arm64x_dispatch_ret = 0;
11531 int __cdecl mainCRTStartup(void) { return 0; }
11532 _ACEOF
11533 if ac_fn_c_try_link "$LINENO"
11534 then :
11535 eval "$as_ac_var=yes"
11536 else $as_nop
11537 eval "$as_ac_var=no"
11539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11540 conftest$ac_exeext conftest.$ac_ext
11541 CFLAGS=$ac_wine_try_cflags_saved
11542 ac_exeext=$ac_wine_try_cflags_saved_exeext
11544 eval ac_res=\$$as_ac_var
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11546 printf "%s\n" "$ac_res" >&6; }
11547 if eval test \"x\$"$as_ac_var"\" = x"yes"
11548 then :
11549 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11550 fi }
11551 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-enum-conversion" | $as_tr_sh`
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-enum-conversion" >&5
11553 printf %s "checking whether $CC supports -Wenum-enum-conversion... " >&6; }
11554 if eval test \${$as_ac_var+y}
11555 then :
11556 printf %s "(cached) " >&6
11557 else $as_nop
11558 ac_wine_try_cflags_saved=$CFLAGS
11559 ac_wine_try_cflags_saved_exeext=$ac_exeext
11560 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-enum-conversion"
11561 ac_exeext=".exe"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 void *__os_arm64x_dispatch_ret = 0;
11565 int __cdecl mainCRTStartup(void) { return 0; }
11566 _ACEOF
11567 if ac_fn_c_try_link "$LINENO"
11568 then :
11569 eval "$as_ac_var=yes"
11570 else $as_nop
11571 eval "$as_ac_var=no"
11573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11574 conftest$ac_exeext conftest.$ac_ext
11575 CFLAGS=$ac_wine_try_cflags_saved
11576 ac_exeext=$ac_wine_try_cflags_saved_exeext
11578 eval ac_res=\$$as_ac_var
11579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11580 printf "%s\n" "$ac_res" >&6; }
11581 if eval test \"x\$"$as_ac_var"\" = x"yes"
11582 then :
11584 else $as_nop
11585 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wenum-conversion" | $as_tr_sh`
11586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wenum-conversion" >&5
11587 printf %s "checking whether $CC supports -Wenum-conversion... " >&6; }
11588 if eval test \${$as_ac_var+y}
11589 then :
11590 printf %s "(cached) " >&6
11591 else $as_nop
11592 ac_wine_try_cflags_saved=$CFLAGS
11593 ac_wine_try_cflags_saved_exeext=$ac_exeext
11594 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wenum-conversion"
11595 ac_exeext=".exe"
11596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11598 void *__os_arm64x_dispatch_ret = 0;
11599 int __cdecl mainCRTStartup(void) { return 0; }
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"
11602 then :
11603 eval "$as_ac_var=yes"
11604 else $as_nop
11605 eval "$as_ac_var=no"
11607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11608 conftest$ac_exeext conftest.$ac_ext
11609 CFLAGS=$ac_wine_try_cflags_saved
11610 ac_exeext=$ac_wine_try_cflags_saved_exeext
11612 eval ac_res=\$$as_ac_var
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11614 printf "%s\n" "$ac_res" >&6; }
11615 if eval test \"x\$"$as_ac_var"\" = x"yes"
11616 then :
11617 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wenum-conversion"
11618 fi }
11619 fi }
11621 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-flarge-source-files -Wmisleading-indentation" | $as_tr_sh`
11622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -flarge-source-files -Wmisleading-indentation" >&5
11623 printf %s "checking whether $CC supports -flarge-source-files -Wmisleading-indentation... " >&6; }
11624 if eval test \${$as_ac_var+y}
11625 then :
11626 printf %s "(cached) " >&6
11627 else $as_nop
11628 ac_wine_try_cflags_saved=$CFLAGS
11629 ac_wine_try_cflags_saved_exeext=$ac_exeext
11630 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -flarge-source-files -Wmisleading-indentation"
11631 ac_exeext=".exe"
11632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11633 /* end confdefs.h. */
11634 void *__os_arm64x_dispatch_ret = 0;
11635 int __cdecl mainCRTStartup(void) { return 0; }
11636 _ACEOF
11637 if ac_fn_c_try_link "$LINENO"
11638 then :
11639 eval "$as_ac_var=yes"
11640 else $as_nop
11641 eval "$as_ac_var=no"
11643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11644 conftest$ac_exeext conftest.$ac_ext
11645 CFLAGS=$ac_wine_try_cflags_saved
11646 ac_exeext=$ac_wine_try_cflags_saved_exeext
11648 eval ac_res=\$$as_ac_var
11649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11650 printf "%s\n" "$ac_res" >&6; }
11651 if eval test \"x\$"$as_ac_var"\" = x"yes"
11652 then :
11653 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-misleading-indentation"
11654 fi }
11656 case $wine_arch in
11657 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11659 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11660 if eval test \${$as_ac_var+y}
11661 then :
11662 printf %s "(cached) " >&6
11663 else $as_nop
11664 ac_wine_try_cflags_saved=$CFLAGS
11665 ac_wine_try_cflags_saved_exeext=$ac_exeext
11666 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11667 ac_exeext=".exe"
11668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11670 void *__os_arm64x_dispatch_ret = 0;
11671 int __cdecl mainCRTStartup(void) { return 0; }
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"
11674 then :
11675 eval "$as_ac_var=yes"
11676 else $as_nop
11677 eval "$as_ac_var=no"
11679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11680 conftest$ac_exeext conftest.$ac_ext
11681 CFLAGS=$ac_wine_try_cflags_saved
11682 ac_exeext=$ac_wine_try_cflags_saved_exeext
11684 eval ac_res=\$$as_ac_var
11685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11686 printf "%s\n" "$ac_res" >&6; }
11687 if eval test \"x\$"$as_ac_var"\" = x"yes"
11688 then :
11689 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11690 fi }
11691 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11693 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11694 if eval test \${$as_ac_var+y}
11695 then :
11696 printf %s "(cached) " >&6
11697 else $as_nop
11698 ac_wine_try_cflags_saved=$CFLAGS
11699 ac_wine_try_cflags_saved_exeext=$ac_exeext
11700 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11701 ac_exeext=".exe"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11704 void *__os_arm64x_dispatch_ret = 0;
11705 int __cdecl mainCRTStartup(void) { return 0; }
11706 _ACEOF
11707 if ac_fn_c_try_link "$LINENO"
11708 then :
11709 eval "$as_ac_var=yes"
11710 else $as_nop
11711 eval "$as_ac_var=no"
11713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11714 conftest$ac_exeext conftest.$ac_ext
11715 CFLAGS=$ac_wine_try_cflags_saved
11716 ac_exeext=$ac_wine_try_cflags_saved_exeext
11718 eval ac_res=\$$as_ac_var
11719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11720 printf "%s\n" "$ac_res" >&6; }
11721 if eval test \"x\$"$as_ac_var"\" = x"yes"
11722 then :
11723 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11724 fi }
11725 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11727 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11728 if eval test \${$as_ac_var+y}
11729 then :
11730 printf %s "(cached) " >&6
11731 else $as_nop
11732 ac_wine_try_cflags_saved=$CFLAGS
11733 ac_wine_try_cflags_saved_exeext=$ac_exeext
11734 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11735 ac_exeext=".exe"
11736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11737 /* end confdefs.h. */
11738 void *__os_arm64x_dispatch_ret = 0;
11739 int __cdecl mainCRTStartup(void) { return 0; }
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"
11742 then :
11743 eval "$as_ac_var=yes"
11744 else $as_nop
11745 eval "$as_ac_var=no"
11747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11748 conftest$ac_exeext conftest.$ac_ext
11749 CFLAGS=$ac_wine_try_cflags_saved
11750 ac_exeext=$ac_wine_try_cflags_saved_exeext
11752 eval ac_res=\$$as_ac_var
11753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11754 printf "%s\n" "$ac_res" >&6; }
11755 if eval test \"x\$"$as_ac_var"\" = x"yes"
11756 then :
11757 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11758 fi } ;;
11759 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11761 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11762 if eval test \${$as_ac_var+y}
11763 then :
11764 printf %s "(cached) " >&6
11765 else $as_nop
11766 ac_wine_try_cflags_saved=$CFLAGS
11767 ac_wine_try_cflags_saved_exeext=$ac_exeext
11768 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11769 ac_exeext=".exe"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11772 void *__os_arm64x_dispatch_ret = 0;
11773 int __cdecl mainCRTStartup(void) { return 0; }
11774 _ACEOF
11775 if ac_fn_c_try_link "$LINENO"
11776 then :
11777 eval "$as_ac_var=yes"
11778 else $as_nop
11779 eval "$as_ac_var=no"
11781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11782 conftest$ac_exeext conftest.$ac_ext
11783 CFLAGS=$ac_wine_try_cflags_saved
11784 ac_exeext=$ac_wine_try_cflags_saved_exeext
11786 eval ac_res=\$$as_ac_var
11787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11788 printf "%s\n" "$ac_res" >&6; }
11789 if eval test \"x\$"$as_ac_var"\" = x"yes"
11790 then :
11791 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11792 fi }
11793 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11795 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11796 if eval test \${$as_ac_var+y}
11797 then :
11798 printf %s "(cached) " >&6
11799 else $as_nop
11800 ac_wine_try_cflags_saved=$CFLAGS
11801 ac_wine_try_cflags_saved_exeext=$ac_exeext
11802 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11803 ac_exeext=".exe"
11804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805 /* end confdefs.h. */
11806 void *__os_arm64x_dispatch_ret = 0;
11807 int __cdecl mainCRTStartup(void) { return 0; }
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"
11810 then :
11811 eval "$as_ac_var=yes"
11812 else $as_nop
11813 eval "$as_ac_var=no"
11815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11816 conftest$ac_exeext conftest.$ac_ext
11817 CFLAGS=$ac_wine_try_cflags_saved
11818 ac_exeext=$ac_wine_try_cflags_saved_exeext
11820 eval ac_res=\$$as_ac_var
11821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11822 printf "%s\n" "$ac_res" >&6; }
11823 if eval test \"x\$"$as_ac_var"\" = x"yes"
11824 then :
11825 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11826 fi }
11827 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11829 printf %s "checking whether $CC supports -mcx16... " >&6; }
11830 if eval test \${$as_ac_var+y}
11831 then :
11832 printf %s "(cached) " >&6
11833 else $as_nop
11834 ac_wine_try_cflags_saved=$CFLAGS
11835 ac_wine_try_cflags_saved_exeext=$ac_exeext
11836 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11837 ac_exeext=".exe"
11838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11839 /* end confdefs.h. */
11840 void *__os_arm64x_dispatch_ret = 0;
11841 int __cdecl mainCRTStartup(void) { return 0; }
11842 _ACEOF
11843 if ac_fn_c_try_link "$LINENO"
11844 then :
11845 eval "$as_ac_var=yes"
11846 else $as_nop
11847 eval "$as_ac_var=no"
11849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11850 conftest$ac_exeext conftest.$ac_ext
11851 CFLAGS=$ac_wine_try_cflags_saved
11852 ac_exeext=$ac_wine_try_cflags_saved_exeext
11854 eval ac_res=\$$as_ac_var
11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11856 printf "%s\n" "$ac_res" >&6; }
11857 if eval test \"x\$"$as_ac_var"\" = x"yes"
11858 then :
11859 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11860 fi }
11861 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11863 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11864 if eval test \${$as_ac_var+y}
11865 then :
11866 printf %s "(cached) " >&6
11867 else $as_nop
11868 ac_wine_try_cflags_saved=$CFLAGS
11869 ac_wine_try_cflags_saved_exeext=$ac_exeext
11870 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11871 ac_exeext=".exe"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11874 void *__os_arm64x_dispatch_ret = 0;
11875 int __cdecl mainCRTStartup(void) { return 0; }
11876 _ACEOF
11877 if ac_fn_c_try_link "$LINENO"
11878 then :
11879 eval "$as_ac_var=yes"
11880 else $as_nop
11881 eval "$as_ac_var=no"
11883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11884 conftest$ac_exeext conftest.$ac_ext
11885 CFLAGS=$ac_wine_try_cflags_saved
11886 ac_exeext=$ac_wine_try_cflags_saved_exeext
11888 eval ac_res=\$$as_ac_var
11889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11890 printf "%s\n" "$ac_res" >&6; }
11891 if eval test \"x\$"$as_ac_var"\" = x"yes"
11892 then :
11893 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11894 fi } ;;
11895 esac
11897 wine_crossdebug=$CROSSDEBUG
11898 if test -z "$wine_crossdebug"
11899 then
11900 for ac_flag in $CFLAGS; do
11901 case $ac_flag in
11902 -gdwarf*) wine_crossdebug=dwarf ;;
11903 -gcodeview) wine_crossdebug=pdb ;;
11904 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11905 esac
11906 done
11909 ac_debug_format_seen=""
11910 for ac_flag in $CFLAGS; do
11911 case $ac_flag in
11912 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11913 esac
11914 done
11915 if test "x$ac_debug_format_seen" = x
11916 then
11917 case $wine_crossdebug in
11918 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11920 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11921 if eval test \${$as_ac_var+y}
11922 then :
11923 printf %s "(cached) " >&6
11924 else $as_nop
11925 ac_wine_try_cflags_saved=$CFLAGS
11926 ac_wine_try_cflags_saved_exeext=$ac_exeext
11927 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11928 ac_exeext=".exe"
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931 void *__os_arm64x_dispatch_ret = 0;
11932 int __cdecl mainCRTStartup(void) { return 0; }
11933 _ACEOF
11934 if ac_fn_c_try_link "$LINENO"
11935 then :
11936 eval "$as_ac_var=yes"
11937 else $as_nop
11938 eval "$as_ac_var=no"
11940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11941 conftest$ac_exeext conftest.$ac_ext
11942 CFLAGS=$ac_wine_try_cflags_saved
11943 ac_exeext=$ac_wine_try_cflags_saved_exeext
11945 eval ac_res=\$$as_ac_var
11946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11947 printf "%s\n" "$ac_res" >&6; }
11948 if eval test \"x\$"$as_ac_var"\" = x"yes"
11949 then :
11950 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11951 fi } ;;
11952 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11954 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11955 if eval test \${$as_ac_var+y}
11956 then :
11957 printf %s "(cached) " >&6
11958 else $as_nop
11959 ac_wine_try_cflags_saved=$CFLAGS
11960 ac_wine_try_cflags_saved_exeext=$ac_exeext
11961 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11962 ac_exeext=".exe"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965 void *__os_arm64x_dispatch_ret = 0;
11966 int __cdecl mainCRTStartup(void) { return 0; }
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"
11969 then :
11970 eval "$as_ac_var=yes"
11971 else $as_nop
11972 eval "$as_ac_var=no"
11974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11975 conftest$ac_exeext conftest.$ac_ext
11976 CFLAGS=$ac_wine_try_cflags_saved
11977 ac_exeext=$ac_wine_try_cflags_saved_exeext
11979 eval ac_res=\$$as_ac_var
11980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11981 printf "%s\n" "$ac_res" >&6; }
11982 if eval test \"x\$"$as_ac_var"\" = x"yes"
11983 then :
11984 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11985 fi } ;;
11986 esac
11988 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11990 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11992 printf %s "checking whether $CC supports -Werror... " >&6; }
11993 if eval test \${$as_ac_var+y}
11994 then :
11995 printf %s "(cached) " >&6
11996 else $as_nop
11997 ac_wine_try_cflags_saved=$CFLAGS
11998 ac_wine_try_cflags_saved_exeext=$ac_exeext
11999 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
12000 ac_exeext=".exe"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12003 void *__os_arm64x_dispatch_ret = 0;
12004 int __cdecl mainCRTStartup(void) { return 0; }
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"
12007 then :
12008 eval "$as_ac_var=yes"
12009 else $as_nop
12010 eval "$as_ac_var=no"
12012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12013 conftest$ac_exeext conftest.$ac_ext
12014 CFLAGS=$ac_wine_try_cflags_saved
12015 ac_exeext=$ac_wine_try_cflags_saved_exeext
12017 eval ac_res=\$$as_ac_var
12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12019 printf "%s\n" "$ac_res" >&6; }
12020 if eval test \"x\$"$as_ac_var"\" = x"yes"
12021 then :
12022 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
12023 fi }
12024 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
12025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
12026 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
12027 if eval test \${$as_ac_var+y}
12028 then :
12029 printf %s "(cached) " >&6
12030 else $as_nop
12031 ac_wine_try_cflags_saved=$CFLAGS
12032 ac_wine_try_cflags_saved_exeext=$ac_exeext
12033 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
12034 ac_exeext=".exe"
12035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h. */
12037 void *__os_arm64x_dispatch_ret = 0;
12038 int __cdecl mainCRTStartup(void) { return 0; }
12039 _ACEOF
12040 if ac_fn_c_try_link "$LINENO"
12041 then :
12042 eval "$as_ac_var=yes"
12043 else $as_nop
12044 eval "$as_ac_var=no"
12046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12047 conftest$ac_exeext conftest.$ac_ext
12048 CFLAGS=$ac_wine_try_cflags_saved
12049 ac_exeext=$ac_wine_try_cflags_saved_exeext
12051 eval ac_res=\$$as_ac_var
12052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12053 printf "%s\n" "$ac_res" >&6; }
12054 if eval test \"x\$"$as_ac_var"\" = x"yes"
12055 then :
12056 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
12057 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
12058 fi }
12060 done
12062 CC=$saved_CC
12063 CFLAGS=$saved_CFLAGS
12064 LDFLAGS=$saved_LDFLAGS
12066 case $HOST_ARCH in
12067 arm|aarch64)
12068 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
12069 DLLEXT="" ;;
12071 if test "x$PE_ARCHS" = "x"
12072 then :
12073 case "x$with_mingw" in
12074 x) as_fn_append wine_notices "|Suitable PE cross-compiler not found, PE files won't be built." ;;
12075 xno) ;;
12076 *) as_fn_error $? "Suitable PE cross-compiler not found, PE files won't be built.
12077 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
12078 esac
12080 fi ;;
12081 esac
12084 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
12085 then
12086 if test "x$HOST_ARCH" = xi386
12087 then :
12088 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
12089 else $as_nop
12090 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
12092 for ac_prog in $ac_prefix_list
12094 # Extract the first word of "$ac_prog", so it can be a program name with args.
12095 set dummy $ac_prog; ac_word=$2
12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12097 printf %s "checking for $ac_word... " >&6; }
12098 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
12099 then :
12100 printf %s "(cached) " >&6
12101 else $as_nop
12102 if test -n "$MINGW_PKG_CONFIG"; then
12103 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
12104 else
12105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106 for as_dir in $PATH
12108 IFS=$as_save_IFS
12109 case $as_dir in #(((
12110 '') as_dir=./ ;;
12111 */) ;;
12112 *) as_dir=$as_dir/ ;;
12113 esac
12114 for ac_exec_ext in '' $ac_executable_extensions; do
12115 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
12116 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
12117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12118 break 2
12120 done
12121 done
12122 IFS=$as_save_IFS
12126 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
12127 if test -n "$MINGW_PKG_CONFIG"; then
12128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12129 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12130 else
12131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132 printf "%s\n" "no" >&6; }
12136 test -n "$MINGW_PKG_CONFIG" && break
12137 done
12138 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12140 if ${FAUDIO_PE_CFLAGS:+false} :
12141 then :
12142 if test ${MINGW_PKG_CONFIG+y}
12143 then :
12144 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12147 if ${FAUDIO_PE_LIBS:+false} :
12148 then :
12149 if test ${MINGW_PKG_CONFIG+y}
12150 then :
12151 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12154 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12158 printf %s "checking for MinGW FAudio.h... " >&6; }
12159 if test ${ac_cv_mingw_header_FAudio_h+y}
12160 then :
12161 printf %s "(cached) " >&6
12162 else $as_nop
12163 ac_wine_check_headers_saved_cc=$CC
12164 ac_wine_check_headers_saved_exeext=$ac_exeext
12165 eval CC=\$${wine_arch}_CC
12166 ac_exeext=".exe"
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12170 #include <FAudio.h>
12172 main (void)
12176 return 0;
12178 _ACEOF
12179 if ac_fn_c_try_compile "$LINENO"
12180 then :
12181 ac_cv_mingw_header_FAudio_h=yes
12182 else $as_nop
12183 ac_cv_mingw_header_FAudio_h=no
12185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12186 CC=$ac_wine_check_headers_saved_cc
12187 ac_exeext=$ac_wine_check_headers_saved_exeext
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12190 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12191 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12192 then :
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12194 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12195 if test ${ac_cv_mingw_lib_FAudio+y}
12196 then :
12197 printf %s "(cached) " >&6
12198 else $as_nop
12199 ac_wine_check_headers_saved_cc=$CC
12200 ac_wine_check_headers_saved_exeext=$ac_exeext
12201 ac_wine_check_headers_saved_libs=$LIBS
12202 eval CC=\$${wine_arch}_CC
12203 ac_exeext=".exe"
12204 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h. */
12208 /* Override any GCC internal prototype to avoid an error.
12209 Use char because int might match the return type of a GCC
12210 builtin and then its argument prototype would still apply. */
12211 char FAudio_CommitOperationSet ();
12213 main (void)
12215 return FAudio_CommitOperationSet ();
12217 return 0;
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"
12221 then :
12222 ac_cv_mingw_lib_FAudio=yes
12223 else $as_nop
12224 ac_cv_mingw_lib_FAudio=no
12226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12227 conftest$ac_exeext conftest.$ac_ext
12228 CC=$ac_wine_check_headers_saved_cc
12229 ac_exeext=$ac_wine_check_headers_saved_exeext
12230 LIBS=$ac_wine_check_headers_saved_libs
12232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12233 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12234 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12235 then :
12237 else $as_nop
12238 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12240 else $as_nop
12241 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12243 CPPFLAGS=$ac_save_CPPFLAGS
12245 if test "x$FAUDIO_PE_LIBS" = "x"
12246 then
12247 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12250 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12251 then :
12252 if test ${MINGW_PKG_CONFIG+y}
12253 then :
12254 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12257 if ${FLUIDSYNTH_PE_LIBS:+false} :
12258 then :
12259 if test ${MINGW_PKG_CONFIG+y}
12260 then :
12261 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12264 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12265 ac_save_CPPFLAGS=$CPPFLAGS
12266 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12268 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12269 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12270 then :
12271 printf %s "(cached) " >&6
12272 else $as_nop
12273 ac_wine_check_headers_saved_cc=$CC
12274 ac_wine_check_headers_saved_exeext=$ac_exeext
12275 eval CC=\$${wine_arch}_CC
12276 ac_exeext=".exe"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 #include <fluidsynth.h>
12282 main (void)
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_compile "$LINENO"
12290 then :
12291 ac_cv_mingw_header_fluidsynth_h=yes
12292 else $as_nop
12293 ac_cv_mingw_header_fluidsynth_h=no
12295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12296 CC=$ac_wine_check_headers_saved_cc
12297 ac_exeext=$ac_wine_check_headers_saved_exeext
12299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12300 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12301 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12302 then :
12303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12304 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12305 if test ${ac_cv_mingw_lib_fluidsynth+y}
12306 then :
12307 printf %s "(cached) " >&6
12308 else $as_nop
12309 ac_wine_check_headers_saved_cc=$CC
12310 ac_wine_check_headers_saved_exeext=$ac_exeext
12311 ac_wine_check_headers_saved_libs=$LIBS
12312 eval CC=\$${wine_arch}_CC
12313 ac_exeext=".exe"
12314 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12316 /* end confdefs.h. */
12318 /* Override any GCC internal prototype to avoid an error.
12319 Use char because int might match the return type of a GCC
12320 builtin and then its argument prototype would still apply. */
12321 char new_fluid_synth ();
12323 main (void)
12325 return new_fluid_synth ();
12327 return 0;
12329 _ACEOF
12330 if ac_fn_c_try_link "$LINENO"
12331 then :
12332 ac_cv_mingw_lib_fluidsynth=yes
12333 else $as_nop
12334 ac_cv_mingw_lib_fluidsynth=no
12336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12337 conftest$ac_exeext conftest.$ac_ext
12338 CC=$ac_wine_check_headers_saved_cc
12339 ac_exeext=$ac_wine_check_headers_saved_exeext
12340 LIBS=$ac_wine_check_headers_saved_libs
12342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12343 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12344 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12345 then :
12347 else $as_nop
12348 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12350 else $as_nop
12351 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12353 CPPFLAGS=$ac_save_CPPFLAGS
12355 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12356 then
12357 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12360 if ${JPEG_PE_CFLAGS:+false} :
12361 then :
12362 if test ${MINGW_PKG_CONFIG+y}
12363 then :
12364 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12367 if ${JPEG_PE_LIBS:+false} :
12368 then :
12369 if test ${MINGW_PKG_CONFIG+y}
12370 then :
12371 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12375 ac_save_CPPFLAGS=$CPPFLAGS
12376 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12378 printf %s "checking for MinGW jpeglib.h... " >&6; }
12379 if test ${ac_cv_mingw_header_jpeglib_h+y}
12380 then :
12381 printf %s "(cached) " >&6
12382 else $as_nop
12383 ac_wine_check_headers_saved_cc=$CC
12384 ac_wine_check_headers_saved_exeext=$ac_exeext
12385 eval CC=\$${wine_arch}_CC
12386 ac_exeext=".exe"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 #include <stddef.h>
12390 #include <stdio.h>
12391 #include <jpeglib.h>
12393 main (void)
12397 return 0;
12399 _ACEOF
12400 if ac_fn_c_try_compile "$LINENO"
12401 then :
12402 ac_cv_mingw_header_jpeglib_h=yes
12403 else $as_nop
12404 ac_cv_mingw_header_jpeglib_h=no
12406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12407 CC=$ac_wine_check_headers_saved_cc
12408 ac_exeext=$ac_wine_check_headers_saved_exeext
12410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12411 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12412 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12413 then :
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12415 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12416 if test ${ac_cv_mingw_lib_jpeg+y}
12417 then :
12418 printf %s "(cached) " >&6
12419 else $as_nop
12420 ac_wine_check_headers_saved_cc=$CC
12421 ac_wine_check_headers_saved_exeext=$ac_exeext
12422 ac_wine_check_headers_saved_libs=$LIBS
12423 eval CC=\$${wine_arch}_CC
12424 ac_exeext=".exe"
12425 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 char jpeg_start_decompress ();
12434 main (void)
12436 return jpeg_start_decompress ();
12438 return 0;
12440 _ACEOF
12441 if ac_fn_c_try_link "$LINENO"
12442 then :
12443 ac_cv_mingw_lib_jpeg=yes
12444 else $as_nop
12445 ac_cv_mingw_lib_jpeg=no
12447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12448 conftest$ac_exeext conftest.$ac_ext
12449 CC=$ac_wine_check_headers_saved_cc
12450 ac_exeext=$ac_wine_check_headers_saved_exeext
12451 LIBS=$ac_wine_check_headers_saved_libs
12453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12454 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12455 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12456 then :
12458 else $as_nop
12459 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12461 else $as_nop
12462 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12464 CPPFLAGS=$ac_save_CPPFLAGS
12466 if test "x$JPEG_PE_LIBS" = "x"
12467 then
12468 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12471 if ${LCMS2_PE_CFLAGS:+false} :
12472 then :
12473 if test ${MINGW_PKG_CONFIG+y}
12474 then :
12475 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12478 if ${LCMS2_PE_LIBS:+false} :
12479 then :
12480 if test ${MINGW_PKG_CONFIG+y}
12481 then :
12482 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12485 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12486 ac_save_CPPFLAGS=$CPPFLAGS
12487 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12489 printf %s "checking for MinGW lcms2.h... " >&6; }
12490 if test ${ac_cv_mingw_header_lcms2_h+y}
12491 then :
12492 printf %s "(cached) " >&6
12493 else $as_nop
12494 ac_wine_check_headers_saved_cc=$CC
12495 ac_wine_check_headers_saved_exeext=$ac_exeext
12496 eval CC=\$${wine_arch}_CC
12497 ac_exeext=".exe"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 #include <lcms2.h>
12503 main (void)
12507 return 0;
12509 _ACEOF
12510 if ac_fn_c_try_compile "$LINENO"
12511 then :
12512 ac_cv_mingw_header_lcms2_h=yes
12513 else $as_nop
12514 ac_cv_mingw_header_lcms2_h=no
12516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12517 CC=$ac_wine_check_headers_saved_cc
12518 ac_exeext=$ac_wine_check_headers_saved_exeext
12520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12521 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12522 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12523 then :
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12525 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12526 if test ${ac_cv_mingw_lib_lcms2+y}
12527 then :
12528 printf %s "(cached) " >&6
12529 else $as_nop
12530 ac_wine_check_headers_saved_cc=$CC
12531 ac_wine_check_headers_saved_exeext=$ac_exeext
12532 ac_wine_check_headers_saved_libs=$LIBS
12533 eval CC=\$${wine_arch}_CC
12534 ac_exeext=".exe"
12535 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12539 /* Override any GCC internal prototype to avoid an error.
12540 Use char because int might match the return type of a GCC
12541 builtin and then its argument prototype would still apply. */
12542 char cmsOpenProfileFromFile ();
12544 main (void)
12546 return cmsOpenProfileFromFile ();
12548 return 0;
12550 _ACEOF
12551 if ac_fn_c_try_link "$LINENO"
12552 then :
12553 ac_cv_mingw_lib_lcms2=yes
12554 else $as_nop
12555 ac_cv_mingw_lib_lcms2=no
12557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12558 conftest$ac_exeext conftest.$ac_ext
12559 CC=$ac_wine_check_headers_saved_cc
12560 ac_exeext=$ac_wine_check_headers_saved_exeext
12561 LIBS=$ac_wine_check_headers_saved_libs
12563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12564 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12565 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12566 then :
12568 else $as_nop
12569 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12571 else $as_nop
12572 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12574 CPPFLAGS=$ac_save_CPPFLAGS
12576 if test "x$LCMS2_PE_LIBS" = "x"
12577 then
12578 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12581 if ${MPG123_PE_CFLAGS:+false} :
12582 then :
12583 if test ${MINGW_PKG_CONFIG+y}
12584 then :
12585 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12588 if ${MPG123_PE_LIBS:+false} :
12589 then :
12590 if test ${MINGW_PKG_CONFIG+y}
12591 then :
12592 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12595 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12596 ac_save_CPPFLAGS=$CPPFLAGS
12597 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12599 printf %s "checking for MinGW mpg123.h... " >&6; }
12600 if test ${ac_cv_mingw_header_mpg123_h+y}
12601 then :
12602 printf %s "(cached) " >&6
12603 else $as_nop
12604 ac_wine_check_headers_saved_cc=$CC
12605 ac_wine_check_headers_saved_exeext=$ac_exeext
12606 eval CC=\$${wine_arch}_CC
12607 ac_exeext=".exe"
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 #include <mpg123.h>
12613 main (void)
12617 return 0;
12619 _ACEOF
12620 if ac_fn_c_try_compile "$LINENO"
12621 then :
12622 ac_cv_mingw_header_mpg123_h=yes
12623 else $as_nop
12624 ac_cv_mingw_header_mpg123_h=no
12626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12627 CC=$ac_wine_check_headers_saved_cc
12628 ac_exeext=$ac_wine_check_headers_saved_exeext
12630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12631 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12632 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12633 then :
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12635 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12636 if test ${ac_cv_mingw_lib_mpg123+y}
12637 then :
12638 printf %s "(cached) " >&6
12639 else $as_nop
12640 ac_wine_check_headers_saved_cc=$CC
12641 ac_wine_check_headers_saved_exeext=$ac_exeext
12642 ac_wine_check_headers_saved_libs=$LIBS
12643 eval CC=\$${wine_arch}_CC
12644 ac_exeext=".exe"
12645 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12647 /* end confdefs.h. */
12649 /* Override any GCC internal prototype to avoid an error.
12650 Use char because int might match the return type of a GCC
12651 builtin and then its argument prototype would still apply. */
12652 char mpg123_feed ();
12654 main (void)
12656 return mpg123_feed ();
12658 return 0;
12660 _ACEOF
12661 if ac_fn_c_try_link "$LINENO"
12662 then :
12663 ac_cv_mingw_lib_mpg123=yes
12664 else $as_nop
12665 ac_cv_mingw_lib_mpg123=no
12667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12668 conftest$ac_exeext conftest.$ac_ext
12669 CC=$ac_wine_check_headers_saved_cc
12670 ac_exeext=$ac_wine_check_headers_saved_exeext
12671 LIBS=$ac_wine_check_headers_saved_libs
12673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12674 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12675 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12676 then :
12678 else $as_nop
12679 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12681 else $as_nop
12682 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12684 CPPFLAGS=$ac_save_CPPFLAGS
12686 if test "x$MPG123_PE_LIBS" = "x"
12687 then
12688 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12691 if ${PNG_PE_CFLAGS:+false} :
12692 then :
12693 if test ${MINGW_PKG_CONFIG+y}
12694 then :
12695 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12698 if ${PNG_PE_LIBS:+false} :
12699 then :
12700 if test ${MINGW_PKG_CONFIG+y}
12701 then :
12702 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12706 ac_save_CPPFLAGS=$CPPFLAGS
12707 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12709 printf %s "checking for MinGW png.h... " >&6; }
12710 if test ${ac_cv_mingw_header_png_h+y}
12711 then :
12712 printf %s "(cached) " >&6
12713 else $as_nop
12714 ac_wine_check_headers_saved_cc=$CC
12715 ac_wine_check_headers_saved_exeext=$ac_exeext
12716 eval CC=\$${wine_arch}_CC
12717 ac_exeext=".exe"
12718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12719 /* end confdefs.h. */
12721 #include <png.h>
12723 main (void)
12727 return 0;
12729 _ACEOF
12730 if ac_fn_c_try_compile "$LINENO"
12731 then :
12732 ac_cv_mingw_header_png_h=yes
12733 else $as_nop
12734 ac_cv_mingw_header_png_h=no
12736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12737 CC=$ac_wine_check_headers_saved_cc
12738 ac_exeext=$ac_wine_check_headers_saved_exeext
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12741 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12742 if test "x$ac_cv_mingw_header_png_h" = xyes
12743 then :
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12745 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12746 if test ${ac_cv_mingw_lib_png+y}
12747 then :
12748 printf %s "(cached) " >&6
12749 else $as_nop
12750 ac_wine_check_headers_saved_cc=$CC
12751 ac_wine_check_headers_saved_exeext=$ac_exeext
12752 ac_wine_check_headers_saved_libs=$LIBS
12753 eval CC=\$${wine_arch}_CC
12754 ac_exeext=".exe"
12755 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 char png_create_read_struct ();
12764 main (void)
12766 return png_create_read_struct ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"
12772 then :
12773 ac_cv_mingw_lib_png=yes
12774 else $as_nop
12775 ac_cv_mingw_lib_png=no
12777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12778 conftest$ac_exeext conftest.$ac_ext
12779 CC=$ac_wine_check_headers_saved_cc
12780 ac_exeext=$ac_wine_check_headers_saved_exeext
12781 LIBS=$ac_wine_check_headers_saved_libs
12783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12784 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12785 if test "x$ac_cv_mingw_lib_png" = xyes
12786 then :
12788 else $as_nop
12789 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12791 else $as_nop
12792 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12794 CPPFLAGS=$ac_save_CPPFLAGS
12796 if test "x$PNG_PE_LIBS" = "x"
12797 then
12798 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12801 if ${TIFF_PE_CFLAGS:+false} :
12802 then :
12803 if test ${MINGW_PKG_CONFIG+y}
12804 then :
12805 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12808 if ${TIFF_PE_LIBS:+false} :
12809 then :
12810 if test ${MINGW_PKG_CONFIG+y}
12811 then :
12812 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12816 ac_save_CPPFLAGS=$CPPFLAGS
12817 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12819 printf %s "checking for MinGW tiffio.h... " >&6; }
12820 if test ${ac_cv_mingw_header_tiffio_h+y}
12821 then :
12822 printf %s "(cached) " >&6
12823 else $as_nop
12824 ac_wine_check_headers_saved_cc=$CC
12825 ac_wine_check_headers_saved_exeext=$ac_exeext
12826 eval CC=\$${wine_arch}_CC
12827 ac_exeext=".exe"
12828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829 /* end confdefs.h. */
12831 #include <tiffio.h>
12833 main (void)
12837 return 0;
12839 _ACEOF
12840 if ac_fn_c_try_compile "$LINENO"
12841 then :
12842 ac_cv_mingw_header_tiffio_h=yes
12843 else $as_nop
12844 ac_cv_mingw_header_tiffio_h=no
12846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12847 CC=$ac_wine_check_headers_saved_cc
12848 ac_exeext=$ac_wine_check_headers_saved_exeext
12850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12851 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12852 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12853 then :
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12855 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12856 if test ${ac_cv_mingw_lib_tiff+y}
12857 then :
12858 printf %s "(cached) " >&6
12859 else $as_nop
12860 ac_wine_check_headers_saved_cc=$CC
12861 ac_wine_check_headers_saved_exeext=$ac_exeext
12862 ac_wine_check_headers_saved_libs=$LIBS
12863 eval CC=\$${wine_arch}_CC
12864 ac_exeext=".exe"
12865 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12867 /* end confdefs.h. */
12869 /* Override any GCC internal prototype to avoid an error.
12870 Use char because int might match the return type of a GCC
12871 builtin and then its argument prototype would still apply. */
12872 char TIFFClientOpen ();
12874 main (void)
12876 return TIFFClientOpen ();
12878 return 0;
12880 _ACEOF
12881 if ac_fn_c_try_link "$LINENO"
12882 then :
12883 ac_cv_mingw_lib_tiff=yes
12884 else $as_nop
12885 ac_cv_mingw_lib_tiff=no
12887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12888 conftest$ac_exeext conftest.$ac_ext
12889 CC=$ac_wine_check_headers_saved_cc
12890 ac_exeext=$ac_wine_check_headers_saved_exeext
12891 LIBS=$ac_wine_check_headers_saved_libs
12893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12894 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12895 if test "x$ac_cv_mingw_lib_tiff" = xyes
12896 then :
12898 else $as_nop
12899 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12901 else $as_nop
12902 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12904 CPPFLAGS=$ac_save_CPPFLAGS
12906 if test "x$TIFF_PE_LIBS" = "x"
12907 then
12908 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12911 if ${XML2_PE_CFLAGS:+false} :
12912 then :
12913 if test ${MINGW_PKG_CONFIG+y}
12914 then :
12915 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12918 if ${XML2_PE_LIBS:+false} :
12919 then :
12920 if test ${MINGW_PKG_CONFIG+y}
12921 then :
12922 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12925 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12926 ac_save_CPPFLAGS=$CPPFLAGS
12927 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12929 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12930 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12931 then :
12932 printf %s "(cached) " >&6
12933 else $as_nop
12934 ac_wine_check_headers_saved_cc=$CC
12935 ac_wine_check_headers_saved_exeext=$ac_exeext
12936 eval CC=\$${wine_arch}_CC
12937 ac_exeext=".exe"
12938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 #include <libxml/parser.h>
12943 main (void)
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_compile "$LINENO"
12951 then :
12952 ac_cv_mingw_header_libxml_parser_h=yes
12953 else $as_nop
12954 ac_cv_mingw_header_libxml_parser_h=no
12956 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12957 CC=$ac_wine_check_headers_saved_cc
12958 ac_exeext=$ac_wine_check_headers_saved_exeext
12960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12961 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12962 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12963 then :
12966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12967 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12968 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12969 then :
12970 printf %s "(cached) " >&6
12971 else $as_nop
12972 ac_wine_check_headers_saved_cc=$CC
12973 ac_wine_check_headers_saved_exeext=$ac_exeext
12974 eval CC=\$${wine_arch}_CC
12975 ac_exeext=".exe"
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 #include <libxml/xmlsave.h>
12981 main (void)
12985 return 0;
12987 _ACEOF
12988 if ac_fn_c_try_compile "$LINENO"
12989 then :
12990 ac_cv_mingw_header_libxml_xmlsave_h=yes
12991 else $as_nop
12992 ac_cv_mingw_header_libxml_xmlsave_h=no
12994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12995 CC=$ac_wine_check_headers_saved_cc
12996 ac_exeext=$ac_wine_check_headers_saved_exeext
12998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12999 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
13000 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
13001 then :
13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
13005 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
13006 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
13007 then :
13008 printf %s "(cached) " >&6
13009 else $as_nop
13010 ac_wine_check_headers_saved_cc=$CC
13011 ac_wine_check_headers_saved_exeext=$ac_exeext
13012 eval CC=\$${wine_arch}_CC
13013 ac_exeext=".exe"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 #include <libxml/SAX2.h>
13019 main (void)
13023 return 0;
13025 _ACEOF
13026 if ac_fn_c_try_compile "$LINENO"
13027 then :
13028 ac_cv_mingw_header_libxml_SAX2_h=yes
13029 else $as_nop
13030 ac_cv_mingw_header_libxml_SAX2_h=no
13032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13033 CC=$ac_wine_check_headers_saved_cc
13034 ac_exeext=$ac_wine_check_headers_saved_exeext
13036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
13037 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
13038 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
13039 then :
13042 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"
13043 then
13044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
13045 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
13046 if test ${ac_cv_mingw_lib_xml2+y}
13047 then :
13048 printf %s "(cached) " >&6
13049 else $as_nop
13050 ac_wine_check_headers_saved_cc=$CC
13051 ac_wine_check_headers_saved_exeext=$ac_exeext
13052 ac_wine_check_headers_saved_libs=$LIBS
13053 eval CC=\$${wine_arch}_CC
13054 ac_exeext=".exe"
13055 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 char xmlFirstElementChild ();
13064 main (void)
13066 return xmlFirstElementChild ();
13068 return 0;
13070 _ACEOF
13071 if ac_fn_c_try_link "$LINENO"
13072 then :
13073 ac_cv_mingw_lib_xml2=yes
13074 else $as_nop
13075 ac_cv_mingw_lib_xml2=no
13077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13078 conftest$ac_exeext conftest.$ac_ext
13079 CC=$ac_wine_check_headers_saved_cc
13080 ac_exeext=$ac_wine_check_headers_saved_exeext
13081 LIBS=$ac_wine_check_headers_saved_libs
13083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
13084 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
13085 if test "x$ac_cv_mingw_lib_xml2" = xyes
13086 then :
13088 else $as_nop
13089 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
13091 else
13092 XML2_PE_CFLAGS=""
13093 XML2_PE_LIBS=""
13095 CPPFLAGS=$ac_save_CPPFLAGS
13097 if test "x$XML2_PE_LIBS" = "x"
13098 then
13099 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
13102 if ${XSLT_PE_CFLAGS:+false} :
13103 then :
13104 if test ${MINGW_PKG_CONFIG+y}
13105 then :
13106 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
13109 if ${XSLT_PE_LIBS:+false} :
13110 then :
13111 if test ${MINGW_PKG_CONFIG+y}
13112 then :
13113 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
13116 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
13117 ac_save_CPPFLAGS=$CPPFLAGS
13118 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
13119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
13120 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
13121 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
13122 then :
13123 printf %s "(cached) " >&6
13124 else $as_nop
13125 ac_wine_check_headers_saved_cc=$CC
13126 ac_wine_check_headers_saved_exeext=$ac_exeext
13127 eval CC=\$${wine_arch}_CC
13128 ac_exeext=".exe"
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13132 #include <libxslt/pattern.h>
13134 main (void)
13138 return 0;
13140 _ACEOF
13141 if ac_fn_c_try_compile "$LINENO"
13142 then :
13143 ac_cv_mingw_header_libxslt_pattern_h=yes
13144 else $as_nop
13145 ac_cv_mingw_header_libxslt_pattern_h=no
13147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13148 CC=$ac_wine_check_headers_saved_cc
13149 ac_exeext=$ac_wine_check_headers_saved_exeext
13151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13152 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13153 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13154 then :
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13158 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13159 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13160 then :
13161 printf %s "(cached) " >&6
13162 else $as_nop
13163 ac_wine_check_headers_saved_cc=$CC
13164 ac_wine_check_headers_saved_exeext=$ac_exeext
13165 eval CC=\$${wine_arch}_CC
13166 ac_exeext=".exe"
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 #include <libxslt/transform.h>
13172 main (void)
13176 return 0;
13178 _ACEOF
13179 if ac_fn_c_try_compile "$LINENO"
13180 then :
13181 ac_cv_mingw_header_libxslt_transform_h=yes
13182 else $as_nop
13183 ac_cv_mingw_header_libxslt_transform_h=no
13185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13186 CC=$ac_wine_check_headers_saved_cc
13187 ac_exeext=$ac_wine_check_headers_saved_exeext
13189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13190 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13191 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13192 then :
13195 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13196 then
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13198 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13199 if test ${ac_cv_mingw_lib_xslt+y}
13200 then :
13201 printf %s "(cached) " >&6
13202 else $as_nop
13203 ac_wine_check_headers_saved_cc=$CC
13204 ac_wine_check_headers_saved_exeext=$ac_exeext
13205 ac_wine_check_headers_saved_libs=$LIBS
13206 eval CC=\$${wine_arch}_CC
13207 ac_exeext=".exe"
13208 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 char xsltCompilePattern ();
13217 main (void)
13219 return xsltCompilePattern ();
13221 return 0;
13223 _ACEOF
13224 if ac_fn_c_try_link "$LINENO"
13225 then :
13226 ac_cv_mingw_lib_xslt=yes
13227 else $as_nop
13228 ac_cv_mingw_lib_xslt=no
13230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13231 conftest$ac_exeext conftest.$ac_ext
13232 CC=$ac_wine_check_headers_saved_cc
13233 ac_exeext=$ac_wine_check_headers_saved_exeext
13234 LIBS=$ac_wine_check_headers_saved_libs
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13237 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13238 if test "x$ac_cv_mingw_lib_xslt" = xyes
13239 then :
13241 else $as_nop
13242 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13244 else
13245 XSLT_PE_CFLAGS=""
13246 XSLT_PE_LIBS=""
13248 CPPFLAGS=$ac_save_CPPFLAGS
13250 if test "x$XSLT_PE_LIBS" = "x"
13251 then
13252 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13255 if ${VKD3D_PE_CFLAGS:+false} :
13256 then :
13257 if test ${MINGW_PKG_CONFIG+y}
13258 then :
13259 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13262 if ${VKD3D_PE_LIBS:+false} :
13263 then :
13264 if test ${MINGW_PKG_CONFIG+y}
13265 then :
13266 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13269 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13270 ac_save_CPPFLAGS=$CPPFLAGS
13271 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13273 printf %s "checking for MinGW vkd3d.h... " >&6; }
13274 if test ${ac_cv_mingw_header_vkd3d_h+y}
13275 then :
13276 printf %s "(cached) " >&6
13277 else $as_nop
13278 ac_wine_check_headers_saved_cc=$CC
13279 ac_wine_check_headers_saved_exeext=$ac_exeext
13280 eval CC=\$${wine_arch}_CC
13281 ac_exeext=".exe"
13282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283 /* end confdefs.h. */
13285 #include <vkd3d.h>
13287 main (void)
13291 return 0;
13293 _ACEOF
13294 if ac_fn_c_try_compile "$LINENO"
13295 then :
13296 ac_cv_mingw_header_vkd3d_h=yes
13297 else $as_nop
13298 ac_cv_mingw_header_vkd3d_h=no
13300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13301 CC=$ac_wine_check_headers_saved_cc
13302 ac_exeext=$ac_wine_check_headers_saved_exeext
13304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13305 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13306 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13307 then :
13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13311 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13312 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13313 then :
13314 printf %s "(cached) " >&6
13315 else $as_nop
13316 ac_wine_check_headers_saved_cc=$CC
13317 ac_wine_check_headers_saved_exeext=$ac_exeext
13318 eval CC=\$${wine_arch}_CC
13319 ac_exeext=".exe"
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 #include <vkd3d_shader.h>
13325 main (void)
13329 return 0;
13331 _ACEOF
13332 if ac_fn_c_try_compile "$LINENO"
13333 then :
13334 ac_cv_mingw_header_vkd3d_shader_h=yes
13335 else $as_nop
13336 ac_cv_mingw_header_vkd3d_shader_h=no
13338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13339 CC=$ac_wine_check_headers_saved_cc
13340 ac_exeext=$ac_wine_check_headers_saved_exeext
13342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13343 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13344 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13345 then :
13348 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13349 then
13350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13351 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13352 if test ${ac_cv_mingw_lib_vkd3d+y}
13353 then :
13354 printf %s "(cached) " >&6
13355 else $as_nop
13356 ac_wine_check_headers_saved_cc=$CC
13357 ac_wine_check_headers_saved_exeext=$ac_exeext
13358 ac_wine_check_headers_saved_libs=$LIBS
13359 eval CC=\$${wine_arch}_CC
13360 ac_exeext=".exe"
13361 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13363 /* end confdefs.h. */
13365 /* Override any GCC internal prototype to avoid an error.
13366 Use char because int might match the return type of a GCC
13367 builtin and then its argument prototype would still apply. */
13368 char vkd3d_set_log_callback ();
13370 main (void)
13372 return vkd3d_set_log_callback ();
13374 return 0;
13376 _ACEOF
13377 if ac_fn_c_try_link "$LINENO"
13378 then :
13379 ac_cv_mingw_lib_vkd3d=yes
13380 else $as_nop
13381 ac_cv_mingw_lib_vkd3d=no
13383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13384 conftest$ac_exeext conftest.$ac_ext
13385 CC=$ac_wine_check_headers_saved_cc
13386 ac_exeext=$ac_wine_check_headers_saved_exeext
13387 LIBS=$ac_wine_check_headers_saved_libs
13389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13390 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13391 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13392 then :
13394 else $as_nop
13397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader" >&5
13398 printf %s "checking for vkd3d_shader_build_varying_map in MinGW -lvkd3d-shader... " >&6; }
13399 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13400 then :
13401 printf %s "(cached) " >&6
13402 else $as_nop
13403 ac_wine_check_headers_saved_cc=$CC
13404 ac_wine_check_headers_saved_exeext=$ac_exeext
13405 ac_wine_check_headers_saved_libs=$LIBS
13406 eval CC=\$${wine_arch}_CC
13407 ac_exeext=".exe"
13408 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13412 /* Override any GCC internal prototype to avoid an error.
13413 Use char because int might match the return type of a GCC
13414 builtin and then its argument prototype would still apply. */
13415 char vkd3d_shader_build_varying_map ();
13417 main (void)
13419 return vkd3d_shader_build_varying_map ();
13421 return 0;
13423 _ACEOF
13424 if ac_fn_c_try_link "$LINENO"
13425 then :
13426 ac_cv_mingw_lib_vkd3d_shader=yes
13427 else $as_nop
13428 ac_cv_mingw_lib_vkd3d_shader=no
13430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13431 conftest$ac_exeext conftest.$ac_ext
13432 CC=$ac_wine_check_headers_saved_cc
13433 ac_exeext=$ac_wine_check_headers_saved_exeext
13434 LIBS=$ac_wine_check_headers_saved_libs
13436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13437 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13438 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13439 then :
13441 else $as_nop
13444 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13445 then
13446 VKD3D_PE_CFLAGS=""
13447 VKD3D_PE_LIBS=""
13449 else
13450 VKD3D_PE_CFLAGS=""
13451 VKD3D_PE_LIBS=""
13453 CPPFLAGS=$ac_save_CPPFLAGS
13455 if test "x$VKD3D_PE_LIBS" = "x"
13456 then
13457 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13460 if ${ZLIB_PE_CFLAGS:+false} :
13461 then :
13462 if test ${MINGW_PKG_CONFIG+y}
13463 then :
13464 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13467 if ${ZLIB_PE_LIBS:+false} :
13468 then :
13469 if test ${MINGW_PKG_CONFIG+y}
13470 then :
13471 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13474 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13475 ac_save_CPPFLAGS=$CPPFLAGS
13476 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13478 printf %s "checking for MinGW zlib.h... " >&6; }
13479 if test ${ac_cv_mingw_header_zlib_h+y}
13480 then :
13481 printf %s "(cached) " >&6
13482 else $as_nop
13483 ac_wine_check_headers_saved_cc=$CC
13484 ac_wine_check_headers_saved_exeext=$ac_exeext
13485 eval CC=\$${wine_arch}_CC
13486 ac_exeext=".exe"
13487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13490 #include <zlib.h>
13492 main (void)
13496 return 0;
13498 _ACEOF
13499 if ac_fn_c_try_compile "$LINENO"
13500 then :
13501 ac_cv_mingw_header_zlib_h=yes
13502 else $as_nop
13503 ac_cv_mingw_header_zlib_h=no
13505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13506 CC=$ac_wine_check_headers_saved_cc
13507 ac_exeext=$ac_wine_check_headers_saved_exeext
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13510 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13511 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13512 then :
13513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13514 printf %s "checking for inflate in MinGW -lz... " >&6; }
13515 if test ${ac_cv_mingw_lib_z+y}
13516 then :
13517 printf %s "(cached) " >&6
13518 else $as_nop
13519 ac_wine_check_headers_saved_cc=$CC
13520 ac_wine_check_headers_saved_exeext=$ac_exeext
13521 ac_wine_check_headers_saved_libs=$LIBS
13522 eval CC=\$${wine_arch}_CC
13523 ac_exeext=".exe"
13524 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13531 char inflate ();
13533 main (void)
13535 return inflate ();
13537 return 0;
13539 _ACEOF
13540 if ac_fn_c_try_link "$LINENO"
13541 then :
13542 ac_cv_mingw_lib_z=yes
13543 else $as_nop
13544 ac_cv_mingw_lib_z=no
13546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13547 conftest$ac_exeext conftest.$ac_ext
13548 CC=$ac_wine_check_headers_saved_cc
13549 ac_exeext=$ac_wine_check_headers_saved_exeext
13550 LIBS=$ac_wine_check_headers_saved_libs
13552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13553 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13554 if test "x$ac_cv_mingw_lib_z" = xyes
13555 then :
13557 else $as_nop
13558 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13560 else $as_nop
13561 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13563 CPPFLAGS=$ac_save_CPPFLAGS
13565 if test "x$ZLIB_PE_LIBS" = "x"
13566 then
13567 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13571 if ${FAUDIO_PE_LIBS:+false} :
13572 then :
13573 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13574 if ${FAUDIO_PE_CFLAGS:+false} :
13575 then :
13576 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13577 else $as_nop
13578 enable_faudio=no
13580 else $as_nop
13581 enable_faudio=no
13583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13586 if ${FLUIDSYNTH_PE_LIBS:+false} :
13587 then :
13588 FLUIDSYNTH_PE_LIBS="fluidsynth"
13589 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13590 then :
13591 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13592 else $as_nop
13593 enable_fluidsynth=no
13595 else $as_nop
13596 enable_fluidsynth=no
13598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13601 if ${GSM_PE_LIBS:+false} :
13602 then :
13603 GSM_PE_LIBS=gsm
13604 if ${GSM_PE_CFLAGS:+false} :
13605 then :
13606 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13607 else $as_nop
13608 enable_gsm=no
13610 else $as_nop
13611 enable_gsm=no
13613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13616 if ${JPEG_PE_LIBS:+false} :
13617 then :
13618 JPEG_PE_LIBS=jpeg
13619 if ${JPEG_PE_CFLAGS:+false} :
13620 then :
13621 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13622 else $as_nop
13623 enable_jpeg=no
13625 else $as_nop
13626 enable_jpeg=no
13628 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13631 if ${JXR_PE_LIBS:+false} :
13632 then :
13633 JXR_PE_LIBS=jxr
13634 if ${JXR_PE_CFLAGS:+false} :
13635 then :
13636 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13637 else $as_nop
13638 enable_jxr=no
13640 else $as_nop
13641 enable_jxr=no
13643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13646 if ${LCMS2_PE_LIBS:+false} :
13647 then :
13648 LCMS2_PE_LIBS=lcms2
13649 if ${LCMS2_PE_CFLAGS:+false} :
13650 then :
13651 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13652 else $as_nop
13653 enable_lcms2=no
13655 else $as_nop
13656 enable_lcms2=no
13658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13661 if ${LDAP_PE_LIBS:+false} :
13662 then :
13663 LDAP_PE_LIBS=ldap
13664 if ${LDAP_PE_CFLAGS:+false} :
13665 then :
13666 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13667 else $as_nop
13668 enable_ldap=no
13670 else $as_nop
13671 enable_ldap=no
13673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13676 if ${MPG123_PE_LIBS:+false} :
13677 then :
13678 MPG123_PE_LIBS=mpg123
13679 if ${MPG123_PE_CFLAGS:+false} :
13680 then :
13681 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/include"
13682 else $as_nop
13683 enable_mpg123=no
13685 else $as_nop
13686 enable_mpg123=no
13688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13689 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13691 if ${MUSL_PE_LIBS:+false} :
13692 then :
13693 MUSL_PE_LIBS=musl
13694 if ${MUSL_PE_CFLAGS:+false} :
13695 then :
13696 MUSL_PE_CFLAGS=
13697 else $as_nop
13698 enable_musl=no
13700 else $as_nop
13701 enable_musl=no
13703 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13706 if ${PNG_PE_LIBS:+false} :
13707 then :
13708 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13709 if ${PNG_PE_CFLAGS:+false} :
13710 then :
13711 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13712 else $as_nop
13713 enable_png=no
13715 else $as_nop
13716 enable_png=no
13718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13721 if ${TIFF_PE_LIBS:+false} :
13722 then :
13723 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13724 if ${TIFF_PE_CFLAGS:+false} :
13725 then :
13726 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13727 else $as_nop
13728 enable_tiff=no
13730 else $as_nop
13731 enable_tiff=no
13733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13736 if ${VKD3D_PE_LIBS:+false} :
13737 then :
13738 VKD3D_PE_LIBS=vkd3d
13739 if ${VKD3D_PE_CFLAGS:+false} :
13740 then :
13741 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13742 else $as_nop
13743 enable_vkd3d=no
13745 else $as_nop
13746 enable_vkd3d=no
13748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13751 if ${XML2_PE_LIBS:+false} :
13752 then :
13753 XML2_PE_LIBS=xml2
13754 if ${XML2_PE_CFLAGS:+false} :
13755 then :
13756 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13757 else $as_nop
13758 enable_xml2=no
13760 else $as_nop
13761 enable_xml2=no
13763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13764 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13766 if ${XSLT_PE_LIBS:+false} :
13767 then :
13768 XSLT_PE_LIBS=xslt
13769 if ${XSLT_PE_CFLAGS:+false} :
13770 then :
13771 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13772 else $as_nop
13773 enable_xslt=no
13775 else $as_nop
13776 enable_xslt=no
13778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13781 if ${ZLIB_PE_LIBS:+false} :
13782 then :
13783 ZLIB_PE_LIBS=z
13784 if ${ZLIB_PE_CFLAGS:+false} :
13785 then :
13786 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13787 else $as_nop
13788 enable_zlib=no
13790 else $as_nop
13791 enable_zlib=no
13793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13796 if ${ZYDIS_PE_LIBS:+false} :
13797 then :
13798 ZYDIS_PE_LIBS=zydis
13799 if ${ZYDIS_PE_CFLAGS:+false} :
13800 then :
13801 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13802 else $as_nop
13803 enable_zydis=no
13805 else $as_nop
13806 enable_zydis=no
13808 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13813 if test "x$with_pthread" = xno
13814 then :
13816 else $as_nop
13817 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13818 if test "x$ac_cv_func_pthread_create" = xyes
13819 then :
13821 else $as_nop
13822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13823 printf %s "checking for pthread_create in -lpthread... " >&6; }
13824 if test ${ac_cv_lib_pthread_pthread_create+y}
13825 then :
13826 printf %s "(cached) " >&6
13827 else $as_nop
13828 ac_check_lib_save_LIBS=$LIBS
13829 LIBS="-lpthread $LIBS"
13830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13831 /* end confdefs.h. */
13833 /* Override any GCC internal prototype to avoid an error.
13834 Use char because int might match the return type of a GCC
13835 builtin and then its argument prototype would still apply. */
13836 char pthread_create ();
13838 main (void)
13840 return pthread_create ();
13842 return 0;
13844 _ACEOF
13845 if ac_fn_c_try_link "$LINENO"
13846 then :
13847 ac_cv_lib_pthread_pthread_create=yes
13848 else $as_nop
13849 ac_cv_lib_pthread_pthread_create=no
13851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13852 conftest$ac_exeext conftest.$ac_ext
13853 LIBS=$ac_check_lib_save_LIBS
13855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13856 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13857 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13858 then :
13859 PTHREAD_LIBS="-lpthread"
13866 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13867 then :
13868 case "x$with_pthread" in
13869 xno) ;;
13870 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13871 Wine cannot support threads without libpthread.
13872 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13873 esac
13878 ac_ext=c
13879 ac_cpp='$CPP $CPPFLAGS'
13880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13884 printf %s "checking how to run the C preprocessor... " >&6; }
13885 # On Suns, sometimes $CPP names a directory.
13886 if test -n "$CPP" && test -d "$CPP"; then
13887 CPP=
13889 if test -z "$CPP"; then
13890 if test ${ac_cv_prog_CPP+y}
13891 then :
13892 printf %s "(cached) " >&6
13893 else $as_nop
13894 # Double quotes because $CC needs to be expanded
13895 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13897 ac_preproc_ok=false
13898 for ac_c_preproc_warn_flag in '' yes
13900 # Use a header file that comes with gcc, so configuring glibc
13901 # with a fresh cross-compiler works.
13902 # On the NeXT, cc -E runs the code through the compiler's parser,
13903 # not just through cpp. "Syntax error" is here to catch this case.
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13906 #include <limits.h>
13907 Syntax error
13908 _ACEOF
13909 if ac_fn_c_try_cpp "$LINENO"
13910 then :
13912 else $as_nop
13913 # Broken: fails on valid input.
13914 continue
13916 rm -f conftest.err conftest.i conftest.$ac_ext
13918 # OK, works on sane cases. Now check whether nonexistent headers
13919 # can be detected and how.
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13922 #include <ac_nonexistent.h>
13923 _ACEOF
13924 if ac_fn_c_try_cpp "$LINENO"
13925 then :
13926 # Broken: success on invalid input.
13927 continue
13928 else $as_nop
13929 # Passes both tests.
13930 ac_preproc_ok=:
13931 break
13933 rm -f conftest.err conftest.i conftest.$ac_ext
13935 done
13936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13937 rm -f conftest.i conftest.err conftest.$ac_ext
13938 if $ac_preproc_ok
13939 then :
13940 break
13943 done
13944 ac_cv_prog_CPP=$CPP
13947 CPP=$ac_cv_prog_CPP
13948 else
13949 ac_cv_prog_CPP=$CPP
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13952 printf "%s\n" "$CPP" >&6; }
13953 ac_preproc_ok=false
13954 for ac_c_preproc_warn_flag in '' yes
13956 # Use a header file that comes with gcc, so configuring glibc
13957 # with a fresh cross-compiler works.
13958 # On the NeXT, cc -E runs the code through the compiler's parser,
13959 # not just through cpp. "Syntax error" is here to catch this case.
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 #include <limits.h>
13963 Syntax error
13964 _ACEOF
13965 if ac_fn_c_try_cpp "$LINENO"
13966 then :
13968 else $as_nop
13969 # Broken: fails on valid input.
13970 continue
13972 rm -f conftest.err conftest.i conftest.$ac_ext
13974 # OK, works on sane cases. Now check whether nonexistent headers
13975 # can be detected and how.
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13978 #include <ac_nonexistent.h>
13979 _ACEOF
13980 if ac_fn_c_try_cpp "$LINENO"
13981 then :
13982 # Broken: success on invalid input.
13983 continue
13984 else $as_nop
13985 # Passes both tests.
13986 ac_preproc_ok=:
13987 break
13989 rm -f conftest.err conftest.i conftest.$ac_ext
13991 done
13992 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13993 rm -f conftest.i conftest.err conftest.$ac_ext
13994 if $ac_preproc_ok
13995 then :
13997 else $as_nop
13998 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13999 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
14000 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
14001 See \`config.log' for more details" "$LINENO" 5; }
14004 ac_ext=c
14005 ac_cpp='$CPP $CPPFLAGS'
14006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
14012 printf %s "checking for X... " >&6; }
14015 # Check whether --with-x was given.
14016 if test ${with_x+y}
14017 then :
14018 withval=$with_x;
14021 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
14022 if test "x$with_x" = xno; then
14023 # The user explicitly disabled X.
14024 have_x=disabled
14025 else
14026 case $x_includes,$x_libraries in #(
14027 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
14028 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
14029 then :
14030 printf %s "(cached) " >&6
14031 else $as_nop
14032 # One or both of the vars are not set, and there is no cached value.
14033 ac_x_includes=no
14034 ac_x_libraries=no
14035 # Do we need to do anything special at all?
14036 ac_save_LIBS=$LIBS
14037 LIBS="-lX11 $LIBS"
14038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 #include <X11/Xlib.h>
14042 main (void)
14044 XrmInitialize ()
14046 return 0;
14048 _ACEOF
14049 if ac_fn_c_try_link "$LINENO"
14050 then :
14051 # We can compile and link X programs with no special options.
14052 ac_x_includes=
14053 ac_x_libraries=
14055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14056 conftest$ac_exeext conftest.$ac_ext
14057 LIBS="$ac_save_LIBS"
14058 # If that didn't work, only try xmkmf and file system searches
14059 # for native compilation.
14060 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
14061 then :
14062 rm -f -r conftest.dir
14063 if mkdir conftest.dir; then
14064 cd conftest.dir
14065 cat >Imakefile <<'_ACEOF'
14066 incroot:
14067 @echo incroot='${INCROOT}'
14068 usrlibdir:
14069 @echo usrlibdir='${USRLIBDIR}'
14070 libdir:
14071 @echo libdir='${LIBDIR}'
14072 _ACEOF
14073 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
14074 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14075 for ac_var in incroot usrlibdir libdir; do
14076 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
14077 done
14078 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
14079 for ac_extension in a so sl dylib la dll; do
14080 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
14081 test -f "$ac_im_libdir/libX11.$ac_extension"; then
14082 ac_im_usrlibdir=$ac_im_libdir; break
14084 done
14085 # Screen out bogus values from the imake configuration. They are
14086 # bogus both because they are the default anyway, and because
14087 # using them would break gcc on systems where it needs fixed includes.
14088 case $ac_im_incroot in
14089 /usr/include) ac_x_includes= ;;
14090 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
14091 esac
14092 case $ac_im_usrlibdir in
14093 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
14094 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
14095 esac
14097 cd ..
14098 rm -f -r conftest.dir
14101 # Standard set of common directories for X headers.
14102 # Check X11 before X11Rn because it is often a symlink to the current release.
14103 ac_x_header_dirs='
14104 /usr/X11/include
14105 /usr/X11R7/include
14106 /usr/X11R6/include
14107 /usr/X11R5/include
14108 /usr/X11R4/include
14110 /usr/include/X11
14111 /usr/include/X11R7
14112 /usr/include/X11R6
14113 /usr/include/X11R5
14114 /usr/include/X11R4
14116 /usr/local/X11/include
14117 /usr/local/X11R7/include
14118 /usr/local/X11R6/include
14119 /usr/local/X11R5/include
14120 /usr/local/X11R4/include
14122 /usr/local/include/X11
14123 /usr/local/include/X11R7
14124 /usr/local/include/X11R6
14125 /usr/local/include/X11R5
14126 /usr/local/include/X11R4
14128 /opt/X11/include
14130 /usr/X386/include
14131 /usr/x386/include
14132 /usr/XFree86/include/X11
14134 /usr/include
14135 /usr/local/include
14136 /usr/unsupported/include
14137 /usr/athena/include
14138 /usr/local/x11r5/include
14139 /usr/lpp/Xamples/include
14141 /usr/openwin/include
14142 /usr/openwin/share/include'
14144 if test "$ac_x_includes" = no; then
14145 # Guess where to find include files, by looking for Xlib.h.
14146 # First, try using that file with no special directory specified.
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14149 #include <X11/Xlib.h>
14150 _ACEOF
14151 if ac_fn_c_try_cpp "$LINENO"
14152 then :
14153 # We can compile using X headers with no special include directory.
14154 ac_x_includes=
14155 else $as_nop
14156 for ac_dir in $ac_x_header_dirs; do
14157 if test -r "$ac_dir/X11/Xlib.h"; then
14158 ac_x_includes=$ac_dir
14159 break
14161 done
14163 rm -f conftest.err conftest.i conftest.$ac_ext
14164 fi # $ac_x_includes = no
14166 if test "$ac_x_libraries" = no; then
14167 # Check for the libraries.
14168 # See if we find them without any special options.
14169 # Don't add to $LIBS permanently.
14170 ac_save_LIBS=$LIBS
14171 LIBS="-lX11 $LIBS"
14172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14174 #include <X11/Xlib.h>
14176 main (void)
14178 XrmInitialize ()
14180 return 0;
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"
14184 then :
14185 LIBS=$ac_save_LIBS
14186 # We can link X programs with no special library path.
14187 ac_x_libraries=
14188 else $as_nop
14189 LIBS=$ac_save_LIBS
14190 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14192 # Don't even attempt the hair of trying to link an X program!
14193 for ac_extension in a so sl dylib la dll; do
14194 if test -r "$ac_dir/libX11.$ac_extension"; then
14195 ac_x_libraries=$ac_dir
14196 break 2
14198 done
14199 done
14201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14202 conftest$ac_exeext conftest.$ac_ext
14203 fi # $ac_x_libraries = no
14206 # Record the results.
14207 case $ac_x_includes,$ac_x_libraries in #(
14208 no,* | *,no | *\'*) :
14209 # Didn't find X, or a directory has "'" in its name.
14210 ac_cv_have_x="have_x=no" ;; #(
14211 *) :
14212 # Record where we found X for the cache.
14213 ac_cv_have_x="have_x=yes\
14214 ac_x_includes='$ac_x_includes'\
14215 ac_x_libraries='$ac_x_libraries'" ;;
14216 esac
14218 ;; #(
14219 *) have_x=yes;;
14220 esac
14221 eval "$ac_cv_have_x"
14222 fi # $with_x != no
14224 if test "$have_x" != yes; then
14225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14226 printf "%s\n" "$have_x" >&6; }
14227 no_x=yes
14228 else
14229 # If each of the values was on the command line, it overrides each guess.
14230 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14231 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14232 # Update the cache value to reflect the command line values.
14233 ac_cv_have_x="have_x=yes\
14234 ac_x_includes='$x_includes'\
14235 ac_x_libraries='$x_libraries'"
14236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14237 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14240 if test "$no_x" = yes; then
14241 # Not all programs may use this symbol, but it does not hurt to define it.
14243 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14245 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14246 else
14247 if test -n "$x_includes"; then
14248 X_CFLAGS="$X_CFLAGS -I$x_includes"
14251 # It would also be nice to do this for all -L options, not just this one.
14252 if test -n "$x_libraries"; then
14253 X_LIBS="$X_LIBS -L$x_libraries"
14254 # For Solaris; some versions of Sun CC require a space after -R and
14255 # others require no space. Words are not sufficient . . . .
14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14257 printf %s "checking whether -R must be followed by a space... " >&6; }
14258 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14259 ac_xsave_c_werror_flag=$ac_c_werror_flag
14260 ac_c_werror_flag=yes
14261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h. */
14265 main (void)
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"
14273 then :
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14275 printf "%s\n" "no" >&6; }
14276 X_LIBS="$X_LIBS -R$x_libraries"
14277 else $as_nop
14278 LIBS="$ac_xsave_LIBS -R $x_libraries"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14283 main (void)
14287 return 0;
14289 _ACEOF
14290 if ac_fn_c_try_link "$LINENO"
14291 then :
14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14293 printf "%s\n" "yes" >&6; }
14294 X_LIBS="$X_LIBS -R $x_libraries"
14295 else $as_nop
14296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14297 printf "%s\n" "neither works" >&6; }
14299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14300 conftest$ac_exeext conftest.$ac_ext
14302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14303 conftest$ac_exeext conftest.$ac_ext
14304 ac_c_werror_flag=$ac_xsave_c_werror_flag
14305 LIBS=$ac_xsave_LIBS
14308 # Check for system-dependent libraries X programs must link with.
14309 # Do this before checking for the system-independent R6 libraries
14310 # (-lICE), since we may need -lsocket or whatever for X linking.
14312 if test "$ISC" = yes; then
14313 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14314 else
14315 # Martyn Johnson says this is needed for Ultrix, if the X
14316 # libraries were built with DECnet support. And Karl Berry says
14317 # the Alpha needs dnet_stub (dnet does not exist).
14318 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14320 /* end confdefs.h. */
14322 /* Override any GCC internal prototype to avoid an error.
14323 Use char because int might match the return type of a GCC
14324 builtin and then its argument prototype would still apply. */
14325 char XOpenDisplay ();
14327 main (void)
14329 return XOpenDisplay ();
14331 return 0;
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"
14335 then :
14337 else $as_nop
14338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14339 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14340 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14341 then :
14342 printf %s "(cached) " >&6
14343 else $as_nop
14344 ac_check_lib_save_LIBS=$LIBS
14345 LIBS="-ldnet $LIBS"
14346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14347 /* end confdefs.h. */
14349 /* Override any GCC internal prototype to avoid an error.
14350 Use char because int might match the return type of a GCC
14351 builtin and then its argument prototype would still apply. */
14352 char dnet_ntoa ();
14354 main (void)
14356 return dnet_ntoa ();
14358 return 0;
14360 _ACEOF
14361 if ac_fn_c_try_link "$LINENO"
14362 then :
14363 ac_cv_lib_dnet_dnet_ntoa=yes
14364 else $as_nop
14365 ac_cv_lib_dnet_dnet_ntoa=no
14367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14368 conftest$ac_exeext conftest.$ac_ext
14369 LIBS=$ac_check_lib_save_LIBS
14371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14372 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14373 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14374 then :
14375 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14378 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14380 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14381 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14382 then :
14383 printf %s "(cached) " >&6
14384 else $as_nop
14385 ac_check_lib_save_LIBS=$LIBS
14386 LIBS="-ldnet_stub $LIBS"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14390 /* Override any GCC internal prototype to avoid an error.
14391 Use char because int might match the return type of a GCC
14392 builtin and then its argument prototype would still apply. */
14393 char dnet_ntoa ();
14395 main (void)
14397 return dnet_ntoa ();
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"
14403 then :
14404 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14405 else $as_nop
14406 ac_cv_lib_dnet_stub_dnet_ntoa=no
14408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14409 conftest$ac_exeext conftest.$ac_ext
14410 LIBS=$ac_check_lib_save_LIBS
14412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14413 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14414 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14415 then :
14416 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14422 conftest$ac_exeext conftest.$ac_ext
14423 LIBS="$ac_xsave_LIBS"
14425 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14426 # to get the SysV transport functions.
14427 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14428 # needs -lnsl.
14429 # The nsl library prevents programs from opening the X display
14430 # on Irix 5.2, according to T.E. Dickey.
14431 # The functions gethostbyname, getservbyname, and inet_addr are
14432 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14433 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14434 if test "x$ac_cv_func_gethostbyname" = xyes
14435 then :
14439 if test $ac_cv_func_gethostbyname = no; then
14440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14441 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14442 if test ${ac_cv_lib_nsl_gethostbyname+y}
14443 then :
14444 printf %s "(cached) " >&6
14445 else $as_nop
14446 ac_check_lib_save_LIBS=$LIBS
14447 LIBS="-lnsl $LIBS"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14454 char gethostbyname ();
14456 main (void)
14458 return gethostbyname ();
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"
14464 then :
14465 ac_cv_lib_nsl_gethostbyname=yes
14466 else $as_nop
14467 ac_cv_lib_nsl_gethostbyname=no
14469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14470 conftest$ac_exeext conftest.$ac_ext
14471 LIBS=$ac_check_lib_save_LIBS
14473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14474 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14475 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14476 then :
14477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14480 if test $ac_cv_lib_nsl_gethostbyname = no; then
14481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14482 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14483 if test ${ac_cv_lib_bsd_gethostbyname+y}
14484 then :
14485 printf %s "(cached) " >&6
14486 else $as_nop
14487 ac_check_lib_save_LIBS=$LIBS
14488 LIBS="-lbsd $LIBS"
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14492 /* Override any GCC internal prototype to avoid an error.
14493 Use char because int might match the return type of a GCC
14494 builtin and then its argument prototype would still apply. */
14495 char gethostbyname ();
14497 main (void)
14499 return gethostbyname ();
14501 return 0;
14503 _ACEOF
14504 if ac_fn_c_try_link "$LINENO"
14505 then :
14506 ac_cv_lib_bsd_gethostbyname=yes
14507 else $as_nop
14508 ac_cv_lib_bsd_gethostbyname=no
14510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14511 conftest$ac_exeext conftest.$ac_ext
14512 LIBS=$ac_check_lib_save_LIBS
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14515 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14516 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14517 then :
14518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14524 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14525 # socket/setsockopt and other routines are undefined under SCO ODT
14526 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14527 # on later versions), says Simon Leinen: it contains gethostby*
14528 # variants that don't use the name server (or something). -lsocket
14529 # must be given before -lnsl if both are needed. We assume that
14530 # if connect needs -lnsl, so does gethostbyname.
14531 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14532 if test "x$ac_cv_func_connect" = xyes
14533 then :
14537 if test $ac_cv_func_connect = no; then
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14539 printf %s "checking for connect in -lsocket... " >&6; }
14540 if test ${ac_cv_lib_socket_connect+y}
14541 then :
14542 printf %s "(cached) " >&6
14543 else $as_nop
14544 ac_check_lib_save_LIBS=$LIBS
14545 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 char connect ();
14554 main (void)
14556 return connect ();
14558 return 0;
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"
14562 then :
14563 ac_cv_lib_socket_connect=yes
14564 else $as_nop
14565 ac_cv_lib_socket_connect=no
14567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_lib_save_LIBS
14571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14572 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14573 if test "x$ac_cv_lib_socket_connect" = xyes
14574 then :
14575 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14580 # Guillermo Gomez says -lposix is necessary on A/UX.
14581 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14582 if test "x$ac_cv_func_remove" = xyes
14583 then :
14587 if test $ac_cv_func_remove = no; then
14588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14589 printf %s "checking for remove in -lposix... " >&6; }
14590 if test ${ac_cv_lib_posix_remove+y}
14591 then :
14592 printf %s "(cached) " >&6
14593 else $as_nop
14594 ac_check_lib_save_LIBS=$LIBS
14595 LIBS="-lposix $LIBS"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14599 /* Override any GCC internal prototype to avoid an error.
14600 Use char because int might match the return type of a GCC
14601 builtin and then its argument prototype would still apply. */
14602 char remove ();
14604 main (void)
14606 return remove ();
14608 return 0;
14610 _ACEOF
14611 if ac_fn_c_try_link "$LINENO"
14612 then :
14613 ac_cv_lib_posix_remove=yes
14614 else $as_nop
14615 ac_cv_lib_posix_remove=no
14617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14618 conftest$ac_exeext conftest.$ac_ext
14619 LIBS=$ac_check_lib_save_LIBS
14621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14622 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14623 if test "x$ac_cv_lib_posix_remove" = xyes
14624 then :
14625 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14630 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14631 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14632 if test "x$ac_cv_func_shmat" = xyes
14633 then :
14637 if test $ac_cv_func_shmat = no; then
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14639 printf %s "checking for shmat in -lipc... " >&6; }
14640 if test ${ac_cv_lib_ipc_shmat+y}
14641 then :
14642 printf %s "(cached) " >&6
14643 else $as_nop
14644 ac_check_lib_save_LIBS=$LIBS
14645 LIBS="-lipc $LIBS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 char shmat ();
14654 main (void)
14656 return shmat ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"
14662 then :
14663 ac_cv_lib_ipc_shmat=yes
14664 else $as_nop
14665 ac_cv_lib_ipc_shmat=no
14667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14668 conftest$ac_exeext conftest.$ac_ext
14669 LIBS=$ac_check_lib_save_LIBS
14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14672 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14673 if test "x$ac_cv_lib_ipc_shmat" = xyes
14674 then :
14675 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14681 # Check for libraries that X11R6 Xt/Xaw programs need.
14682 ac_save_LDFLAGS=$LDFLAGS
14683 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14685 # check for ICE first), but we must link in the order -lSM -lICE or
14686 # we get undefined symbols. So assume we have SM if we have ICE.
14687 # These have to be linked with before -lX11, unlike the other
14688 # libraries we check for below, so use a different variable.
14689 # John Interrante, Karl Berry
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14691 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14692 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14693 then :
14694 printf %s "(cached) " >&6
14695 else $as_nop
14696 ac_check_lib_save_LIBS=$LIBS
14697 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 char IceConnectionNumber ();
14706 main (void)
14708 return IceConnectionNumber ();
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"
14714 then :
14715 ac_cv_lib_ICE_IceConnectionNumber=yes
14716 else $as_nop
14717 ac_cv_lib_ICE_IceConnectionNumber=no
14719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14720 conftest$ac_exeext conftest.$ac_ext
14721 LIBS=$ac_check_lib_save_LIBS
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14724 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14725 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14726 then :
14727 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14730 LDFLAGS=$ac_save_LDFLAGS
14735 if test "$have_x" = "yes"
14736 then
14737 ac_save_CPPFLAGS="$CPPFLAGS"
14738 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14741 printf %s "checking for -lX11... " >&6; }
14742 if test ${ac_cv_lib_soname_X11+y}
14743 then :
14744 printf %s "(cached) " >&6
14745 else $as_nop
14746 ac_check_soname_save_LIBS=$LIBS
14747 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 char XCreateWindow ();
14756 main (void)
14758 return XCreateWindow ();
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"
14764 then :
14765 case "$LIBEXT" in
14766 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14767 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'` ;;
14768 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14769 if ${ac_cv_lib_soname_X11:+false} :
14770 then :
14771 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14772 fi ;;
14773 esac
14774 else $as_nop
14775 ac_cv_lib_soname_X11=
14777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14778 conftest$ac_exeext conftest.$ac_ext
14779 LIBS=$ac_check_soname_save_LIBS
14781 if ${ac_cv_lib_soname_X11:+false} :
14782 then :
14783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14784 printf "%s\n" "not found" >&6; }
14786 else $as_nop
14787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14788 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14790 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14795 printf %s "checking for -lXext... " >&6; }
14796 if test ${ac_cv_lib_soname_Xext+y}
14797 then :
14798 printf %s "(cached) " >&6
14799 else $as_nop
14800 ac_check_soname_save_LIBS=$LIBS
14801 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 char XextCreateExtension ();
14810 main (void)
14812 return XextCreateExtension ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"
14818 then :
14819 case "$LIBEXT" in
14820 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14821 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'` ;;
14822 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14823 if ${ac_cv_lib_soname_Xext:+false} :
14824 then :
14825 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14826 fi ;;
14827 esac
14828 else $as_nop
14829 ac_cv_lib_soname_Xext=
14831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_check_soname_save_LIBS
14835 if ${ac_cv_lib_soname_Xext:+false} :
14836 then :
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14838 printf "%s\n" "not found" >&6; }
14840 else $as_nop
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14842 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14844 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14846 X_LIBS="$X_LIBS -lXext"
14848 X_LIBS="$X_LIBS -lX11"
14850 xlib_includes="#include <X11/Xlib.h>
14851 #include <X11/Xutil.h>"
14853 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14855 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14856 then :
14857 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14860 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14862 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14863 then :
14864 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14867 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14869 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14870 then :
14871 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14874 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14876 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14877 then :
14878 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14881 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14883 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14884 then :
14885 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14888 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14890 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14891 then :
14892 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14895 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14897 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14898 then :
14899 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14902 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14904 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14905 then :
14906 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14909 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14911 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14912 then :
14913 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14918 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14920 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14921 then :
14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14923 printf %s "checking for -lXcursor... " >&6; }
14924 if test ${ac_cv_lib_soname_Xcursor+y}
14925 then :
14926 printf %s "(cached) " >&6
14927 else $as_nop
14928 ac_check_soname_save_LIBS=$LIBS
14929 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14933 /* Override any GCC internal prototype to avoid an error.
14934 Use char because int might match the return type of a GCC
14935 builtin and then its argument prototype would still apply. */
14936 char XcursorImageLoadCursor ();
14938 main (void)
14940 return XcursorImageLoadCursor ();
14942 return 0;
14944 _ACEOF
14945 if ac_fn_c_try_link "$LINENO"
14946 then :
14947 case "$LIBEXT" in
14948 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14949 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'` ;;
14950 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14951 if ${ac_cv_lib_soname_Xcursor:+false} :
14952 then :
14953 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14954 fi ;;
14955 esac
14956 else $as_nop
14957 ac_cv_lib_soname_Xcursor=
14959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14960 conftest$ac_exeext conftest.$ac_ext
14961 LIBS=$ac_check_soname_save_LIBS
14963 if ${ac_cv_lib_soname_Xcursor:+false} :
14964 then :
14965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14966 printf "%s\n" "not found" >&6; }
14968 else $as_nop
14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14970 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14972 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14978 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14979 then :
14980 case "x$with_xcursor" in
14981 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14982 xno) ;;
14983 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14984 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14985 esac
14989 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14991 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14992 then :
14993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14994 printf %s "checking for -lXi... " >&6; }
14995 if test ${ac_cv_lib_soname_Xi+y}
14996 then :
14997 printf %s "(cached) " >&6
14998 else $as_nop
14999 ac_check_soname_save_LIBS=$LIBS
15000 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
15001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15002 /* end confdefs.h. */
15004 /* Override any GCC internal prototype to avoid an error.
15005 Use char because int might match the return type of a GCC
15006 builtin and then its argument prototype would still apply. */
15007 char XOpenDevice ();
15009 main (void)
15011 return XOpenDevice ();
15013 return 0;
15015 _ACEOF
15016 if ac_fn_c_try_link "$LINENO"
15017 then :
15018 case "$LIBEXT" in
15019 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15020 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'` ;;
15021 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15022 if ${ac_cv_lib_soname_Xi:+false} :
15023 then :
15024 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15025 fi ;;
15026 esac
15027 else $as_nop
15028 ac_cv_lib_soname_Xi=
15030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15031 conftest$ac_exeext conftest.$ac_ext
15032 LIBS=$ac_check_soname_save_LIBS
15034 if ${ac_cv_lib_soname_Xi:+false} :
15035 then :
15036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15037 printf "%s\n" "not found" >&6; }
15039 else $as_nop
15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
15041 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
15043 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
15049 if test "x$ac_cv_lib_soname_Xi" = "x"
15050 then :
15051 case "x$with_xinput" in
15052 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
15053 xno) ;;
15054 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
15055 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
15056 esac
15060 if test "x$ac_cv_lib_soname_Xi" != x
15061 then
15062 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
15063 then :
15064 case "x$with_xinput2" in
15065 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
15066 xno) ;;
15067 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
15068 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
15069 esac
15074 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
15075 then
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
15077 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
15078 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
15079 then :
15080 printf %s "(cached) " >&6
15081 else $as_nop
15082 ac_check_lib_save_LIBS=$LIBS
15083 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15087 /* Override any GCC internal prototype to avoid an error.
15088 Use char because int might match the return type of a GCC
15089 builtin and then its argument prototype would still apply. */
15090 char XShmQueryExtension ();
15092 main (void)
15094 return XShmQueryExtension ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"
15100 then :
15101 ac_cv_lib_Xext_XShmQueryExtension=yes
15102 else $as_nop
15103 ac_cv_lib_Xext_XShmQueryExtension=no
15105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_lib_save_LIBS
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
15110 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
15111 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
15112 then :
15114 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
15119 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
15120 then :
15121 case "x$with_xshm" in
15122 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
15123 xno) ;;
15124 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
15125 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
15126 esac
15130 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
15131 then
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15133 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15134 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15135 then :
15136 printf %s "(cached) " >&6
15137 else $as_nop
15138 ac_check_lib_save_LIBS=$LIBS
15139 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15143 /* Override any GCC internal prototype to avoid an error.
15144 Use char because int might match the return type of a GCC
15145 builtin and then its argument prototype would still apply. */
15146 char XShapeQueryExtension ();
15148 main (void)
15150 return XShapeQueryExtension ();
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"
15156 then :
15157 ac_cv_lib_Xext_XShapeQueryExtension=yes
15158 else $as_nop
15159 ac_cv_lib_Xext_XShapeQueryExtension=no
15161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15162 conftest$ac_exeext conftest.$ac_ext
15163 LIBS=$ac_check_lib_save_LIBS
15165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15166 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15167 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15168 then :
15170 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15175 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15176 then :
15177 case "x$with_xshape" in
15178 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15179 xno) ;;
15180 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15181 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15182 esac
15186 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15187 then
15188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15189 printf %s "checking for -lXxf86vm... " >&6; }
15190 if test ${ac_cv_lib_soname_Xxf86vm+y}
15191 then :
15192 printf %s "(cached) " >&6
15193 else $as_nop
15194 ac_check_soname_save_LIBS=$LIBS
15195 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15197 /* end confdefs.h. */
15199 /* Override any GCC internal prototype to avoid an error.
15200 Use char because int might match the return type of a GCC
15201 builtin and then its argument prototype would still apply. */
15202 char XF86VidModeQueryExtension ();
15204 main (void)
15206 return XF86VidModeQueryExtension ();
15208 return 0;
15210 _ACEOF
15211 if ac_fn_c_try_link "$LINENO"
15212 then :
15213 case "$LIBEXT" in
15214 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15215 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'` ;;
15216 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15217 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15218 then :
15219 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15220 fi ;;
15221 esac
15222 else $as_nop
15223 ac_cv_lib_soname_Xxf86vm=
15225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15226 conftest$ac_exeext conftest.$ac_ext
15227 LIBS=$ac_check_soname_save_LIBS
15229 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15230 then :
15231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15232 printf "%s\n" "not found" >&6; }
15234 else $as_nop
15235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15236 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15238 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15243 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15244 then :
15245 case "x$with_xxf86vm" in
15246 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15247 xno) ;;
15248 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15249 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15250 esac
15254 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15255 then
15256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15257 printf %s "checking for -lXrender... " >&6; }
15258 if test ${ac_cv_lib_soname_Xrender+y}
15259 then :
15260 printf %s "(cached) " >&6
15261 else $as_nop
15262 ac_check_soname_save_LIBS=$LIBS
15263 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15267 /* Override any GCC internal prototype to avoid an error.
15268 Use char because int might match the return type of a GCC
15269 builtin and then its argument prototype would still apply. */
15270 char XRenderQueryExtension ();
15272 main (void)
15274 return XRenderQueryExtension ();
15276 return 0;
15278 _ACEOF
15279 if ac_fn_c_try_link "$LINENO"
15280 then :
15281 case "$LIBEXT" in
15282 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15283 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'` ;;
15284 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15285 if ${ac_cv_lib_soname_Xrender:+false} :
15286 then :
15287 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15288 fi ;;
15289 esac
15290 else $as_nop
15291 ac_cv_lib_soname_Xrender=
15293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15294 conftest$ac_exeext conftest.$ac_ext
15295 LIBS=$ac_check_soname_save_LIBS
15297 if ${ac_cv_lib_soname_Xrender:+false} :
15298 then :
15299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15300 printf "%s\n" "not found" >&6; }
15302 else $as_nop
15303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15304 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15306 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15309 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15310 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15311 then :
15312 printf %s "(cached) " >&6
15313 else $as_nop
15314 ac_check_lib_save_LIBS=$LIBS
15315 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15317 /* end confdefs.h. */
15319 /* Override any GCC internal prototype to avoid an error.
15320 Use char because int might match the return type of a GCC
15321 builtin and then its argument prototype would still apply. */
15322 char XRenderSetPictureTransform ();
15324 main (void)
15326 return XRenderSetPictureTransform ();
15328 return 0;
15330 _ACEOF
15331 if ac_fn_c_try_link "$LINENO"
15332 then :
15333 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15334 else $as_nop
15335 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15338 conftest$ac_exeext conftest.$ac_ext
15339 LIBS=$ac_check_lib_save_LIBS
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15342 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15343 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15344 then :
15346 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15351 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15352 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15353 then :
15354 printf %s "(cached) " >&6
15355 else $as_nop
15356 ac_check_lib_save_LIBS=$LIBS
15357 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15361 /* Override any GCC internal prototype to avoid an error.
15362 Use char because int might match the return type of a GCC
15363 builtin and then its argument prototype would still apply. */
15364 char XRenderCreateLinearGradient ();
15366 main (void)
15368 return XRenderCreateLinearGradient ();
15370 return 0;
15372 _ACEOF
15373 if ac_fn_c_try_link "$LINENO"
15374 then :
15375 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15376 else $as_nop
15377 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15380 conftest$ac_exeext conftest.$ac_ext
15381 LIBS=$ac_check_lib_save_LIBS
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15384 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15385 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15386 then :
15388 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15395 if test "x$ac_cv_lib_soname_Xrender" = "x"
15396 then :
15397 case "x$with_xrender" in
15398 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15399 xno) ;;
15400 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15401 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15402 esac
15406 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15407 then
15408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15409 /* end confdefs.h. */
15410 #include <X11/Xlib.h>
15411 #include <X11/extensions/Xrandr.h>
15413 main (void)
15415 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_compile "$LINENO"
15421 then :
15422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15423 printf %s "checking for -lXrandr... " >&6; }
15424 if test ${ac_cv_lib_soname_Xrandr+y}
15425 then :
15426 printf %s "(cached) " >&6
15427 else $as_nop
15428 ac_check_soname_save_LIBS=$LIBS
15429 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15436 char XRRQueryExtension ();
15438 main (void)
15440 return XRRQueryExtension ();
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_link "$LINENO"
15446 then :
15447 case "$LIBEXT" in
15448 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15449 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'` ;;
15450 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15451 if ${ac_cv_lib_soname_Xrandr:+false} :
15452 then :
15453 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15454 fi ;;
15455 esac
15456 else $as_nop
15457 ac_cv_lib_soname_Xrandr=
15459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15460 conftest$ac_exeext conftest.$ac_ext
15461 LIBS=$ac_check_soname_save_LIBS
15463 if ${ac_cv_lib_soname_Xrandr:+false} :
15464 then :
15465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15466 printf "%s\n" "not found" >&6; }
15468 else $as_nop
15469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15470 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15472 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15476 #include <X11/Xlib.h>
15477 #include <X11/extensions/Xrandr.h>
15479 main (void)
15481 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15483 return 0;
15485 _ACEOF
15486 if ac_fn_c_try_compile "$LINENO"
15487 then :
15489 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15491 else $as_nop
15492 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15499 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15500 then :
15501 case "x$with_xrandr" in
15502 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15503 xno) ;;
15504 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15505 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15506 esac
15510 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15511 then
15512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513 /* end confdefs.h. */
15514 #include <X11/Xlib.h>
15515 #include <X11/extensions/Xfixes.h>
15517 main (void)
15519 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_compile "$LINENO"
15525 then :
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15527 printf %s "checking for -lXfixes... " >&6; }
15528 if test ${ac_cv_lib_soname_Xfixes+y}
15529 then :
15530 printf %s "(cached) " >&6
15531 else $as_nop
15532 ac_check_soname_save_LIBS=$LIBS
15533 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15535 /* end confdefs.h. */
15537 /* Override any GCC internal prototype to avoid an error.
15538 Use char because int might match the return type of a GCC
15539 builtin and then its argument prototype would still apply. */
15540 char XFixesQueryVersion ();
15542 main (void)
15544 return XFixesQueryVersion ();
15546 return 0;
15548 _ACEOF
15549 if ac_fn_c_try_link "$LINENO"
15550 then :
15551 case "$LIBEXT" in
15552 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15553 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'` ;;
15554 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15555 if ${ac_cv_lib_soname_Xfixes:+false} :
15556 then :
15557 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15558 fi ;;
15559 esac
15560 else $as_nop
15561 ac_cv_lib_soname_Xfixes=
15563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15564 conftest$ac_exeext conftest.$ac_ext
15565 LIBS=$ac_check_soname_save_LIBS
15567 if ${ac_cv_lib_soname_Xfixes:+false} :
15568 then :
15569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15570 printf "%s\n" "not found" >&6; }
15572 else $as_nop
15573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15574 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15576 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15583 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15584 then :
15585 case "x$with_xfixes" in
15586 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15587 xno) ;;
15588 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15589 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15590 esac
15594 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15595 then
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15598 #include <X11/Xlib.h>
15599 #include <X11/extensions/Xinerama.h>
15601 main (void)
15603 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_compile "$LINENO"
15609 then :
15610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15611 printf %s "checking for -lXinerama... " >&6; }
15612 if test ${ac_cv_lib_soname_Xinerama+y}
15613 then :
15614 printf %s "(cached) " >&6
15615 else $as_nop
15616 ac_check_soname_save_LIBS=$LIBS
15617 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15619 /* end confdefs.h. */
15621 /* Override any GCC internal prototype to avoid an error.
15622 Use char because int might match the return type of a GCC
15623 builtin and then its argument prototype would still apply. */
15624 char XineramaQueryScreens ();
15626 main (void)
15628 return XineramaQueryScreens ();
15630 return 0;
15632 _ACEOF
15633 if ac_fn_c_try_link "$LINENO"
15634 then :
15635 case "$LIBEXT" in
15636 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15637 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'` ;;
15638 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15639 if ${ac_cv_lib_soname_Xinerama:+false} :
15640 then :
15641 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15642 fi ;;
15643 esac
15644 else $as_nop
15645 ac_cv_lib_soname_Xinerama=
15647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15648 conftest$ac_exeext conftest.$ac_ext
15649 LIBS=$ac_check_soname_save_LIBS
15651 if ${ac_cv_lib_soname_Xinerama:+false} :
15652 then :
15653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15654 printf "%s\n" "not found" >&6; }
15656 else $as_nop
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15658 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15660 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15667 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15668 then :
15669 case "x$with_xinerama" in
15670 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15671 xno) ;;
15672 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15673 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15674 esac
15678 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15680 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15681 then :
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15683 printf %s "checking for -lXcomposite... " >&6; }
15684 if test ${ac_cv_lib_soname_Xcomposite+y}
15685 then :
15686 printf %s "(cached) " >&6
15687 else $as_nop
15688 ac_check_soname_save_LIBS=$LIBS
15689 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 char XCompositeRedirectWindow ();
15698 main (void)
15700 return XCompositeRedirectWindow ();
15702 return 0;
15704 _ACEOF
15705 if ac_fn_c_try_link "$LINENO"
15706 then :
15707 case "$LIBEXT" in
15708 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15709 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'` ;;
15710 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15711 if ${ac_cv_lib_soname_Xcomposite:+false} :
15712 then :
15713 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15714 fi ;;
15715 esac
15716 else $as_nop
15717 ac_cv_lib_soname_Xcomposite=
15719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_soname_save_LIBS
15723 if ${ac_cv_lib_soname_Xcomposite:+false} :
15724 then :
15725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15726 printf "%s\n" "not found" >&6; }
15728 else $as_nop
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15730 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15732 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15738 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15739 then :
15740 case "x$with_xcomposite" in
15741 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15742 xno) ;;
15743 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15744 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15745 esac
15749 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15751 if test "x$ac_cv_member_XICCallback_callback" = xyes
15752 then :
15754 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15758 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15760 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15761 then :
15763 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15770 opengl_msg=""
15771 if test "x$with_opengl" != "xno"
15772 then
15773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15774 printf %s "checking for -lGL... " >&6; }
15775 if test ${ac_cv_lib_soname_GL+y}
15776 then :
15777 printf %s "(cached) " >&6
15778 else $as_nop
15779 ac_check_soname_save_LIBS=$LIBS
15780 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 char glXCreateContext ();
15789 main (void)
15791 return glXCreateContext ();
15793 return 0;
15795 _ACEOF
15796 if ac_fn_c_try_link "$LINENO"
15797 then :
15798 case "$LIBEXT" in
15799 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15800 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'` ;;
15801 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15802 if ${ac_cv_lib_soname_GL:+false} :
15803 then :
15804 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15805 fi ;;
15806 esac
15807 else $as_nop
15808 ac_cv_lib_soname_GL=
15810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15811 conftest$ac_exeext conftest.$ac_ext
15812 LIBS=$ac_check_soname_save_LIBS
15814 if ${ac_cv_lib_soname_GL:+false} :
15815 then :
15816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15817 printf "%s\n" "not found" >&6; }
15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15819 printf %s "checking for -lGL... " >&6; }
15820 if test ${ac_cv_lib_soname_GL+y}
15821 then :
15822 printf %s "(cached) " >&6
15823 else $as_nop
15824 ac_check_soname_save_LIBS=$LIBS
15825 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"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15829 /* Override any GCC internal prototype to avoid an error.
15830 Use char because int might match the return type of a GCC
15831 builtin and then its argument prototype would still apply. */
15832 char glXCreateContext ();
15834 main (void)
15836 return glXCreateContext ();
15838 return 0;
15840 _ACEOF
15841 if ac_fn_c_try_link "$LINENO"
15842 then :
15843 case "$LIBEXT" in
15844 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15845 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'` ;;
15846 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15847 if ${ac_cv_lib_soname_GL:+false} :
15848 then :
15849 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15850 fi ;;
15851 esac
15852 else $as_nop
15853 ac_cv_lib_soname_GL=
15855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15856 conftest$ac_exeext conftest.$ac_ext
15857 LIBS=$ac_check_soname_save_LIBS
15859 if ${ac_cv_lib_soname_GL:+false} :
15860 then :
15861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15862 printf "%s\n" "not found" >&6; }
15863 if test -f /usr/X11R6/lib/libGL.a
15864 then
15865 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15866 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15867 else
15868 opengl_msg="No OpenGL library found on this system."
15870 else $as_nop
15871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15872 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15874 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15876 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"
15878 else $as_nop
15879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15880 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15882 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15884 OPENGL_LIBS="-lGL"
15886 if test "x$with_osmesa" != "xno"
15887 then
15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15889 printf %s "checking for -lOSMesa... " >&6; }
15890 if test ${ac_cv_lib_soname_OSMesa+y}
15891 then :
15892 printf %s "(cached) " >&6
15893 else $as_nop
15894 ac_check_soname_save_LIBS=$LIBS
15895 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15899 /* Override any GCC internal prototype to avoid an error.
15900 Use char because int might match the return type of a GCC
15901 builtin and then its argument prototype would still apply. */
15902 char OSMesaGetProcAddress ();
15904 main (void)
15906 return OSMesaGetProcAddress ();
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_link "$LINENO"
15912 then :
15913 case "$LIBEXT" in
15914 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15915 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'` ;;
15916 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15917 if ${ac_cv_lib_soname_OSMesa:+false} :
15918 then :
15919 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15920 fi ;;
15921 esac
15922 else $as_nop
15923 ac_cv_lib_soname_OSMesa=
15925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15926 conftest$ac_exeext conftest.$ac_ext
15927 LIBS=$ac_check_soname_save_LIBS
15929 if ${ac_cv_lib_soname_OSMesa:+false} :
15930 then :
15931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15932 printf "%s\n" "not found" >&6; }
15934 else $as_nop
15935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15936 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15938 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15942 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15943 then :
15944 case "x$with_osmesa" in
15945 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15946 xno) ;;
15947 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15948 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15949 esac
15954 if test -n "$opengl_msg"
15955 then :
15956 case "x$with_opengl" in
15957 x) as_fn_append wine_warnings "|$opengl_msg
15958 OpenGL and Direct3D won't be supported." ;;
15959 xno) ;;
15960 *) as_fn_error $? "$opengl_msg
15961 OpenGL and Direct3D won't be supported.
15962 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15963 esac
15967 CPPFLAGS="$ac_save_CPPFLAGS"
15968 else
15969 X_CFLAGS=""
15970 X_LIBS=""
15973 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15974 then
15975 if test "x$X_LIBS" = "x"
15976 then :
15977 case "x$with_x" in
15978 xno) ;;
15979 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15980 without X support, which probably isn't what you want. You will need
15981 to install ${notice_platform}development packages of Xlib at the very least.
15982 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15983 esac
15984 enable_winex11_drv=${enable_winex11_drv:-no}
15986 else
15987 if test "x$X_LIBS" = "x"
15988 then :
15989 case "x$with_x" in
15990 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15991 xno) ;;
15992 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15993 This is an error since --with-x was requested." "$LINENO" 5 ;;
15994 esac
15995 enable_winex11_drv=${enable_winex11_drv:-no}
15999 if test "x$with_wayland" != "xno"
16000 then
16001 rm -f conftest.err
16002 if ${WAYLAND_CLIENT_CFLAGS:+false} :
16003 then :
16004 if test ${PKG_CONFIG+y}
16005 then :
16006 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
16010 if ${WAYLAND_CLIENT_LIBS:+false} :
16011 then :
16012 if test ${PKG_CONFIG+y}
16013 then :
16014 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
16019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
16020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
16021 if test -s conftest.err; then
16022 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
16023 cat conftest.err >&5
16025 rm -f conftest.err
16026 ac_save_CPPFLAGS=$CPPFLAGS
16027 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
16028 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
16029 if test "x$ac_cv_header_wayland_client_h" = xyes
16030 then :
16031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
16032 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
16033 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
16034 then :
16035 printf %s "(cached) " >&6
16036 else $as_nop
16037 ac_check_lib_save_LIBS=$LIBS
16038 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
16039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16040 /* end confdefs.h. */
16042 /* Override any GCC internal prototype to avoid an error.
16043 Use char because int might match the return type of a GCC
16044 builtin and then its argument prototype would still apply. */
16045 char wl_display_connect ();
16047 main (void)
16049 return wl_display_connect ();
16051 return 0;
16053 _ACEOF
16054 if ac_fn_c_try_link "$LINENO"
16055 then :
16056 ac_cv_lib_wayland_client_wl_display_connect=yes
16057 else $as_nop
16058 ac_cv_lib_wayland_client_wl_display_connect=no
16060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16061 conftest$ac_exeext conftest.$ac_ext
16062 LIBS=$ac_check_lib_save_LIBS
16064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
16065 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
16066 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
16067 then :
16068 # Extract the first word of "wayland-scanner", so it can be a program name with args.
16069 set dummy wayland-scanner; ac_word=$2
16070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16071 printf %s "checking for $ac_word... " >&6; }
16072 if test ${ac_cv_path_WAYLAND_SCANNER+y}
16073 then :
16074 printf %s "(cached) " >&6
16075 else $as_nop
16076 case $WAYLAND_SCANNER in
16077 [\\/]* | ?:[\\/]*)
16078 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
16081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16082 for as_dir in $PATH
16084 IFS=$as_save_IFS
16085 case $as_dir in #(((
16086 '') as_dir=./ ;;
16087 */) ;;
16088 *) as_dir=$as_dir/ ;;
16089 esac
16090 for ac_exec_ext in '' $ac_executable_extensions; do
16091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
16092 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
16093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
16094 break 2
16096 done
16097 done
16098 IFS=$as_save_IFS
16100 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`"
16102 esac
16104 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
16105 if test -n "$WAYLAND_SCANNER"; then
16106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
16107 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
16108 else
16109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16110 printf "%s\n" "no" >&6; }
16114 else $as_nop
16115 WAYLAND_CLIENT_LIBS=""
16120 CPPFLAGS=$ac_save_CPPFLAGS
16122 rm -f conftest.err
16123 if ${XKBCOMMON_CFLAGS:+false} :
16124 then :
16125 if test ${PKG_CONFIG+y}
16126 then :
16127 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
16131 if ${XKBCOMMON_LIBS:+false} :
16132 then :
16133 if test ${PKG_CONFIG+y}
16134 then :
16135 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
16140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
16141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
16142 if test -s conftest.err; then
16143 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
16144 cat conftest.err >&5
16146 rm -f conftest.err
16147 ac_save_CPPFLAGS=$CPPFLAGS
16148 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16149 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16150 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16151 then :
16152 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16157 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16158 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16159 then :
16160 printf %s "(cached) " >&6
16161 else $as_nop
16162 ac_check_lib_save_LIBS=$LIBS
16163 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 char xkb_context_new ();
16172 main (void)
16174 return xkb_context_new ();
16176 return 0;
16178 _ACEOF
16179 if ac_fn_c_try_link "$LINENO"
16180 then :
16181 ac_cv_lib_xkbcommon_xkb_context_new=yes
16182 else $as_nop
16183 ac_cv_lib_xkbcommon_xkb_context_new=no
16185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16186 conftest$ac_exeext conftest.$ac_ext
16187 LIBS=$ac_check_lib_save_LIBS
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16190 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16191 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16192 then :
16194 else $as_nop
16195 XKBCOMMON_LIBS=""
16198 CPPFLAGS=$ac_save_CPPFLAGS
16200 rm -f conftest.err
16201 if ${XKBREGISTRY_CFLAGS:+false} :
16202 then :
16203 if test ${PKG_CONFIG+y}
16204 then :
16205 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16209 if ${XKBREGISTRY_LIBS:+false} :
16210 then :
16211 if test ${PKG_CONFIG+y}
16212 then :
16213 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16220 if test -s conftest.err; then
16221 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16222 cat conftest.err >&5
16224 rm -f conftest.err
16225 ac_save_CPPFLAGS=$CPPFLAGS
16226 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16227 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16228 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16229 then :
16230 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16235 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16236 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16237 then :
16238 printf %s "(cached) " >&6
16239 else $as_nop
16240 ac_check_lib_save_LIBS=$LIBS
16241 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16243 /* end confdefs.h. */
16245 /* Override any GCC internal prototype to avoid an error.
16246 Use char because int might match the return type of a GCC
16247 builtin and then its argument prototype would still apply. */
16248 char rxkb_context_new ();
16250 main (void)
16252 return rxkb_context_new ();
16254 return 0;
16256 _ACEOF
16257 if ac_fn_c_try_link "$LINENO"
16258 then :
16259 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16260 else $as_nop
16261 ac_cv_lib_xkbregistry_rxkb_context_new=no
16263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16264 conftest$ac_exeext conftest.$ac_ext
16265 LIBS=$ac_check_lib_save_LIBS
16267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16268 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16269 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16270 then :
16272 else $as_nop
16273 XKBREGISTRY_LIBS=""
16276 CPPFLAGS=$ac_save_CPPFLAGS
16278 if test "x$with_opengl" != "xno"
16279 then
16280 rm -f conftest.err
16281 if ${EGL_CFLAGS:+false} :
16282 then :
16283 if test ${PKG_CONFIG+y}
16284 then :
16285 EGL_CFLAGS=`$PKG_CONFIG --cflags egl 2>conftest.err`
16289 if ${EGL_LIBS:+false} :
16290 then :
16291 if test ${PKG_CONFIG+y}
16292 then :
16293 EGL_LIBS=`$PKG_CONFIG --libs egl 2>/dev/null`
16297 EGL_LIBS=${EGL_LIBS:-"-lEGL"}
16298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl cflags: $EGL_CFLAGS" >&5
16299 printf "%s\n" "$as_me:${as_lineno-$LINENO}: egl libs: $EGL_LIBS" >&5
16300 if test -s conftest.err; then
16301 printf %s "$as_me:${as_lineno-$LINENO}: egl errors: " >&5
16302 cat conftest.err >&5
16304 rm -f conftest.err
16305 ac_save_CPPFLAGS=$CPPFLAGS
16306 CPPFLAGS="$CPPFLAGS $EGL_CFLAGS"
16307 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
16308 if test "x$ac_cv_header_EGL_egl_h" = xyes
16309 then :
16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
16311 printf %s "checking for -lEGL... " >&6; }
16312 if test ${ac_cv_lib_soname_EGL+y}
16313 then :
16314 printf %s "(cached) " >&6
16315 else $as_nop
16316 ac_check_soname_save_LIBS=$LIBS
16317 LIBS="-lEGL $EGL_LIBS $LIBS"
16318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16319 /* end confdefs.h. */
16321 /* Override any GCC internal prototype to avoid an error.
16322 Use char because int might match the return type of a GCC
16323 builtin and then its argument prototype would still apply. */
16324 char eglGetProcAddress ();
16326 main (void)
16328 return eglGetProcAddress ();
16330 return 0;
16332 _ACEOF
16333 if ac_fn_c_try_link "$LINENO"
16334 then :
16335 case "$LIBEXT" in
16336 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16337 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'` ;;
16338 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16339 if ${ac_cv_lib_soname_EGL:+false} :
16340 then :
16341 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16342 fi ;;
16343 esac
16344 else $as_nop
16345 ac_cv_lib_soname_EGL=
16347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16348 conftest$ac_exeext conftest.$ac_ext
16349 LIBS=$ac_check_soname_save_LIBS
16351 if ${ac_cv_lib_soname_EGL:+false} :
16352 then :
16353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16354 printf "%s\n" "not found" >&6; }
16356 else $as_nop
16357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
16358 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
16360 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
16366 CPPFLAGS=$ac_save_CPPFLAGS
16368 rm -f conftest.err
16369 if ${WAYLAND_EGL_CFLAGS:+false} :
16370 then :
16371 if test ${PKG_CONFIG+y}
16372 then :
16373 WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags wayland-egl 2>conftest.err`
16377 if ${WAYLAND_EGL_LIBS:+false} :
16378 then :
16379 if test ${PKG_CONFIG+y}
16380 then :
16381 WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs wayland-egl 2>/dev/null`
16386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl cflags: $WAYLAND_EGL_CFLAGS" >&5
16387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-egl libs: $WAYLAND_EGL_LIBS" >&5
16388 if test -s conftest.err; then
16389 printf %s "$as_me:${as_lineno-$LINENO}: wayland-egl errors: " >&5
16390 cat conftest.err >&5
16392 rm -f conftest.err
16393 ac_save_CPPFLAGS=$CPPFLAGS
16394 CPPFLAGS="$CPPFLAGS $WAYLAND_EGL_CFLAGS"
16395 ac_fn_c_check_header_compile "$LINENO" "wayland-egl.h" "ac_cv_header_wayland_egl_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wayland_egl_h" = xyes
16397 then :
16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_egl_window_create in -lwayland-egl" >&5
16399 printf %s "checking for wl_egl_window_create in -lwayland-egl... " >&6; }
16400 if test ${ac_cv_lib_wayland_egl_wl_egl_window_create+y}
16401 then :
16402 printf %s "(cached) " >&6
16403 else $as_nop
16404 ac_check_lib_save_LIBS=$LIBS
16405 LIBS="-lwayland-egl $WAYLAND_EGL_LIBS $LIBS"
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16409 /* Override any GCC internal prototype to avoid an error.
16410 Use char because int might match the return type of a GCC
16411 builtin and then its argument prototype would still apply. */
16412 char wl_egl_window_create ();
16414 main (void)
16416 return wl_egl_window_create ();
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_link "$LINENO"
16422 then :
16423 ac_cv_lib_wayland_egl_wl_egl_window_create=yes
16424 else $as_nop
16425 ac_cv_lib_wayland_egl_wl_egl_window_create=no
16427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16428 conftest$ac_exeext conftest.$ac_ext
16429 LIBS=$ac_check_lib_save_LIBS
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_egl_wl_egl_window_create" >&5
16432 printf "%s\n" "$ac_cv_lib_wayland_egl_wl_egl_window_create" >&6; }
16433 if test "x$ac_cv_lib_wayland_egl_wl_egl_window_create" = xyes
16434 then :
16436 printf "%s\n" "#define HAVE_LIBWAYLAND_EGL 1" >>confdefs.h
16438 else $as_nop
16439 WAYLAND_EGL_LIBS=""
16444 CPPFLAGS=$ac_save_CPPFLAGS
16446 if test "x$with_wayland" != "x"
16447 then
16448 if test -z "$ac_cv_lib_soname_EGL" -o "$ac_cv_lib_wayland_egl_wl_egl_window_create" != yes
16449 then :
16450 case "x$with_opengl" in
16451 x) as_fn_append wine_notices "|EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL" ;;
16452 xno) ;;
16453 *) as_fn_error $? "EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL
16454 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
16455 esac
16461 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"
16462 then :
16463 case "x$with_wayland" in
16464 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16465 xno) ;;
16466 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16467 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16468 esac
16469 enable_winewayland_drv=${enable_winewayland_drv:-no}
16472 if test "$ac_cv_header_CL_cl_h" = "yes"
16473 then
16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16475 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16476 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16477 then :
16478 printf %s "(cached) " >&6
16479 else $as_nop
16480 ac_check_lib_save_LIBS=$LIBS
16481 LIBS="-lOpenCL $LIBS"
16482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16485 /* Override any GCC internal prototype to avoid an error.
16486 Use char because int might match the return type of a GCC
16487 builtin and then its argument prototype would still apply. */
16488 char clGetPlatformInfo ();
16490 main (void)
16492 return clGetPlatformInfo ();
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"
16498 then :
16499 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16500 else $as_nop
16501 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16504 conftest$ac_exeext conftest.$ac_ext
16505 LIBS=$ac_check_lib_save_LIBS
16507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16508 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16509 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16510 then :
16511 OPENCL_LIBS="-lOpenCL"
16516 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16517 then :
16518 case "x$with_opencl" in
16519 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16520 xno) ;;
16521 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16522 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16523 esac
16524 enable_opencl=${enable_opencl:-no}
16527 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16528 then
16529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16530 printf %s "checking for pcap_init in -lpcap... " >&6; }
16531 if test ${ac_cv_lib_pcap_pcap_init+y}
16532 then :
16533 printf %s "(cached) " >&6
16534 else $as_nop
16535 ac_check_lib_save_LIBS=$LIBS
16536 LIBS="-lpcap $LIBS"
16537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16538 /* end confdefs.h. */
16540 /* Override any GCC internal prototype to avoid an error.
16541 Use char because int might match the return type of a GCC
16542 builtin and then its argument prototype would still apply. */
16543 char pcap_init ();
16545 main (void)
16547 return pcap_init ();
16549 return 0;
16551 _ACEOF
16552 if ac_fn_c_try_link "$LINENO"
16553 then :
16554 ac_cv_lib_pcap_pcap_init=yes
16555 else $as_nop
16556 ac_cv_lib_pcap_pcap_init=no
16558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16559 conftest$ac_exeext conftest.$ac_ext
16560 LIBS=$ac_check_lib_save_LIBS
16562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16563 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16564 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16565 then :
16566 PCAP_LIBS="-lpcap"
16571 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16572 then :
16573 case "x$with_pcap" in
16574 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16575 xno) ;;
16576 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16577 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16578 esac
16579 enable_wpcap=${enable_wpcap:-no}
16582 if test "x$with_pcsclite" != "xno"
16583 then
16584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16585 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16586 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16587 then :
16588 printf %s "(cached) " >&6
16589 else $as_nop
16590 ac_check_lib_save_LIBS=$LIBS
16591 LIBS="-lpcsclite $LIBS"
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16598 char SCardEstablishContext ();
16600 main (void)
16602 return SCardEstablishContext ();
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_link "$LINENO"
16608 then :
16609 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16610 else $as_nop
16611 ac_cv_lib_pcsclite_SCardEstablishContext=no
16613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16614 conftest$ac_exeext conftest.$ac_ext
16615 LIBS=$ac_check_lib_save_LIBS
16617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16618 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16619 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16620 then :
16621 PCSCLITE_LIBS="-lpcsclite"
16623 else $as_nop
16624 case $host_os in
16625 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16627 esac
16631 if test "x$PCSCLITE_LIBS" = x
16632 then :
16633 case "x$with_pcsclite" in
16634 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16635 xno) ;;
16636 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16637 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16638 esac
16639 enable_winscard=${enable_winscard:-no}
16642 if test "x$with_odbc" != "xno"
16643 then
16644 rm -f conftest.err
16645 if ${ODBC_CFLAGS:+false} :
16646 then :
16647 if test ${PKG_CONFIG+y}
16648 then :
16649 ODBC_CFLAGS=`$PKG_CONFIG --cflags odbc 2>conftest.err`
16653 if ${ODBC_LIBS:+false} :
16654 then :
16655 if test ${PKG_CONFIG+y}
16656 then :
16657 ODBC_LIBS=`$PKG_CONFIG --libs odbc 2>/dev/null`
16661 ODBC_LIBS=${ODBC_LIBS:-"-lodbc"}
16662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc cflags: $ODBC_CFLAGS" >&5
16663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: odbc libs: $ODBC_LIBS" >&5
16664 if test -s conftest.err; then
16665 printf %s "$as_me:${as_lineno-$LINENO}: odbc errors: " >&5
16666 cat conftest.err >&5
16668 rm -f conftest.err
16669 ac_save_CPPFLAGS=$CPPFLAGS
16670 CPPFLAGS="$CPPFLAGS $ODBC_CFLAGS"
16671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SQLConnect in -lodbc" >&5
16672 printf %s "checking for SQLConnect in -lodbc... " >&6; }
16673 if test ${ac_cv_lib_odbc_SQLConnect+y}
16674 then :
16675 printf %s "(cached) " >&6
16676 else $as_nop
16677 ac_check_lib_save_LIBS=$LIBS
16678 LIBS="-lodbc $ODBC_LIBS $LIBS"
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16682 /* Override any GCC internal prototype to avoid an error.
16683 Use char because int might match the return type of a GCC
16684 builtin and then its argument prototype would still apply. */
16685 char SQLConnect ();
16687 main (void)
16689 return SQLConnect ();
16691 return 0;
16693 _ACEOF
16694 if ac_fn_c_try_link "$LINENO"
16695 then :
16696 ac_cv_lib_odbc_SQLConnect=yes
16697 else $as_nop
16698 ac_cv_lib_odbc_SQLConnect=no
16700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16701 conftest$ac_exeext conftest.$ac_ext
16702 LIBS=$ac_check_lib_save_LIBS
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_odbc_SQLConnect" >&5
16705 printf "%s\n" "$ac_cv_lib_odbc_SQLConnect" >&6; }
16706 if test "x$ac_cv_lib_odbc_SQLConnect" = xyes
16707 then :
16709 else $as_nop
16710 ODBC_LIBS=""
16713 CPPFLAGS=$ac_save_CPPFLAGS
16716 if test "x$ODBC_LIBS" = x
16717 then :
16718 case "x$with_odbc" in
16719 x) as_fn_append wine_notices "|libodbc not found, ODBC won't be supported." ;;
16720 xno) ;;
16721 *) as_fn_error $? "libodbc not found, ODBC won't be supported.
16722 This is an error since --with-odbc was requested." "$LINENO" 5 ;;
16723 esac
16724 enable_odbc32=${enable_odbc32:-no}
16727 if test "x$with_inotify" != "xno"
16728 then
16729 rm -f conftest.err
16730 if ${INOTIFY_CFLAGS:+false} :
16731 then :
16732 if test ${PKG_CONFIG+y}
16733 then :
16734 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16738 if ${INOTIFY_LIBS:+false} :
16739 then :
16740 if test ${PKG_CONFIG+y}
16741 then :
16742 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16749 if test -s conftest.err; then
16750 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16751 cat conftest.err >&5
16753 rm -f conftest.err
16754 ac_save_CPPFLAGS=$CPPFLAGS
16755 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16756 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16757 if test "x$ac_cv_header_sys_inotify_h" = xyes
16758 then :
16759 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16764 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16765 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16766 then :
16767 printf %s "(cached) " >&6
16768 else $as_nop
16769 ac_check_lib_save_LIBS=$LIBS
16770 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16774 /* Override any GCC internal prototype to avoid an error.
16775 Use char because int might match the return type of a GCC
16776 builtin and then its argument prototype would still apply. */
16777 char inotify_add_watch ();
16779 main (void)
16781 return inotify_add_watch ();
16783 return 0;
16785 _ACEOF
16786 if ac_fn_c_try_link "$LINENO"
16787 then :
16788 ac_cv_lib_inotify_inotify_add_watch=yes
16789 else $as_nop
16790 ac_cv_lib_inotify_inotify_add_watch=no
16792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16793 conftest$ac_exeext conftest.$ac_ext
16794 LIBS=$ac_check_lib_save_LIBS
16796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16797 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16798 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16799 then :
16801 else $as_nop
16802 INOTIFY_LIBS=""
16805 CPPFLAGS=$ac_save_CPPFLAGS
16808 if test "$ac_cv_header_sys_inotify_h" != "yes"
16809 then :
16810 case "x$with_inotify" in
16811 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16812 xno) ;;
16813 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16814 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16815 esac
16819 if test "x$with_dbus" != "xno"
16820 then
16821 rm -f conftest.err
16822 if ${DBUS_CFLAGS:+false} :
16823 then :
16824 if test ${PKG_CONFIG+y}
16825 then :
16826 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16830 if ${DBUS_LIBS:+false} :
16831 then :
16832 if test ${PKG_CONFIG+y}
16833 then :
16834 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16841 if test -s conftest.err; then
16842 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16843 cat conftest.err >&5
16845 rm -f conftest.err
16846 ac_save_CPPFLAGS=$CPPFLAGS
16847 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16848 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16849 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16850 then :
16851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16852 printf %s "checking for -ldbus-1... " >&6; }
16853 if test ${ac_cv_lib_soname_dbus_1+y}
16854 then :
16855 printf %s "(cached) " >&6
16856 else $as_nop
16857 ac_check_soname_save_LIBS=$LIBS
16858 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16865 char dbus_connection_close ();
16867 main (void)
16869 return dbus_connection_close ();
16871 return 0;
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"
16875 then :
16876 case "$LIBEXT" in
16877 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16878 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'` ;;
16879 *) 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'`
16880 if ${ac_cv_lib_soname_dbus_1:+false} :
16881 then :
16882 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16883 fi ;;
16884 esac
16885 else $as_nop
16886 ac_cv_lib_soname_dbus_1=
16888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16889 conftest$ac_exeext conftest.$ac_ext
16890 LIBS=$ac_check_soname_save_LIBS
16892 if ${ac_cv_lib_soname_dbus_1:+false} :
16893 then :
16894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16895 printf "%s\n" "not found" >&6; }
16896 DBUS_CFLAGS=""
16897 else $as_nop
16898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16899 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16901 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16905 else $as_nop
16906 DBUS_CFLAGS=""
16909 CPPFLAGS=$ac_save_CPPFLAGS
16912 case $host_os in
16913 darwin*|macosx*) ;;
16914 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16915 then :
16916 case "x$with_dbus" in
16917 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16918 xno) ;;
16919 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16920 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16921 esac
16923 fi ;;
16924 esac
16926 if test "x$with_gnutls" != "xno"
16927 then
16928 rm -f conftest.err
16929 if ${GNUTLS_CFLAGS:+false} :
16930 then :
16931 if test ${PKG_CONFIG+y}
16932 then :
16933 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16937 if ${GNUTLS_LIBS:+false} :
16938 then :
16939 if test ${PKG_CONFIG+y}
16940 then :
16941 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16945 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16946 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16948 if test -s conftest.err; then
16949 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16950 cat conftest.err >&5
16952 rm -f conftest.err
16953 ac_save_CPPFLAGS=$CPPFLAGS
16954 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16955 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16956 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16957 then :
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <gnutls/gnutls.h>
16961 #include <gnutls/crypto.h>
16963 main (void)
16965 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16967 return 0;
16969 _ACEOF
16970 if ac_fn_c_try_compile "$LINENO"
16971 then :
16972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16973 printf %s "checking for -lgnutls... " >&6; }
16974 if test ${ac_cv_lib_soname_gnutls+y}
16975 then :
16976 printf %s "(cached) " >&6
16977 else $as_nop
16978 ac_check_soname_save_LIBS=$LIBS
16979 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16983 /* Override any GCC internal prototype to avoid an error.
16984 Use char because int might match the return type of a GCC
16985 builtin and then its argument prototype would still apply. */
16986 char gnutls_global_init ();
16988 main (void)
16990 return gnutls_global_init ();
16992 return 0;
16994 _ACEOF
16995 if ac_fn_c_try_link "$LINENO"
16996 then :
16997 case "$LIBEXT" in
16998 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16999 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'` ;;
17000 *) 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'`
17001 if ${ac_cv_lib_soname_gnutls:+false} :
17002 then :
17003 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'`
17004 fi ;;
17005 esac
17006 else $as_nop
17007 ac_cv_lib_soname_gnutls=
17009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17010 conftest$ac_exeext conftest.$ac_ext
17011 LIBS=$ac_check_soname_save_LIBS
17013 if ${ac_cv_lib_soname_gnutls:+false} :
17014 then :
17015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17016 printf "%s\n" "not found" >&6; }
17017 GNUTLS_CFLAGS=""
17018 else $as_nop
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
17020 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
17022 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
17026 ac_wine_check_funcs_save_LIBS="$LIBS"
17027 LIBS="$LIBS $GNUTLS_LIBS"
17029 for ac_func in gnutls_cipher_init
17030 do :
17031 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
17032 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
17033 then :
17034 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
17036 else $as_nop
17037 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
17040 done
17041 LIBS="$ac_wine_check_funcs_save_LIBS"
17043 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17044 else $as_nop
17045 GNUTLS_CFLAGS=""
17048 CPPFLAGS=$ac_save_CPPFLAGS
17051 if test "x$ac_cv_lib_soname_gnutls" = "x"
17052 then :
17053 case "x$with_gnutls" in
17054 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
17055 xno) ;;
17056 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
17057 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
17058 esac
17062 if test "x$with_sane" != "xno"
17063 then
17064 rm -f conftest.err
17065 if ${SANE_CFLAGS:+false} :
17066 then :
17067 if test ${PKG_CONFIG+y}
17068 then :
17069 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
17072 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
17073 if ${SANE_LIBS:+false} :
17074 then :
17075 if test ${PKG_CONFIG+y}
17076 then :
17077 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
17080 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
17082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
17083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
17084 if test -s conftest.err; then
17085 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
17086 cat conftest.err >&5
17088 rm -f conftest.err
17089 ac_save_CPPFLAGS=$CPPFLAGS
17090 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
17091 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
17092 if test "x$ac_cv_header_sane_sane_h" = xyes
17093 then :
17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
17095 printf %s "checking for sane_init in -lsane... " >&6; }
17096 if test ${ac_cv_lib_sane_sane_init+y}
17097 then :
17098 printf %s "(cached) " >&6
17099 else $as_nop
17100 ac_check_lib_save_LIBS=$LIBS
17101 LIBS="-lsane $SANE_LIBS $LIBS"
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17105 /* Override any GCC internal prototype to avoid an error.
17106 Use char because int might match the return type of a GCC
17107 builtin and then its argument prototype would still apply. */
17108 char sane_init ();
17110 main (void)
17112 return sane_init ();
17114 return 0;
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"
17118 then :
17119 ac_cv_lib_sane_sane_init=yes
17120 else $as_nop
17121 ac_cv_lib_sane_sane_init=no
17123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17124 conftest$ac_exeext conftest.$ac_ext
17125 LIBS=$ac_check_lib_save_LIBS
17127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
17128 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
17129 if test "x$ac_cv_lib_sane_sane_init" = xyes
17130 then :
17136 CPPFLAGS=$ac_save_CPPFLAGS
17139 if test "$ac_cv_lib_sane_sane_init" != "yes"
17140 then :
17141 case "x$with_sane" in
17142 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
17143 xno) ;;
17144 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
17145 This is an error since --with-sane was requested." "$LINENO" 5 ;;
17146 esac
17147 enable_sane_ds=${enable_sane_ds:-no}
17150 if test "x$with_usb" != "xno"
17151 then
17152 rm -f conftest.err
17153 if ${USB_CFLAGS:+false} :
17154 then :
17155 if test ${PKG_CONFIG+y}
17156 then :
17157 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
17161 if ${USB_LIBS:+false} :
17162 then :
17163 if test ${PKG_CONFIG+y}
17164 then :
17165 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
17169 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
17170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
17171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
17172 if test -s conftest.err; then
17173 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
17174 cat conftest.err >&5
17176 rm -f conftest.err
17177 ac_save_CPPFLAGS=$CPPFLAGS
17178 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
17179 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
17180 if test "x$ac_cv_header_libusb_h" = xyes
17181 then :
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
17183 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
17184 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
17185 then :
17186 printf %s "(cached) " >&6
17187 else $as_nop
17188 ac_check_lib_save_LIBS=$LIBS
17189 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17196 char libusb_interrupt_event_handler ();
17198 main (void)
17200 return libusb_interrupt_event_handler ();
17202 return 0;
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"
17206 then :
17207 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
17208 else $as_nop
17209 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
17211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17212 conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
17216 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
17217 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
17218 then :
17220 else $as_nop
17221 USB_LIBS=""
17224 else $as_nop
17225 USB_LIBS=""
17228 CPPFLAGS=$ac_save_CPPFLAGS
17231 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
17232 then :
17233 case "x$with_usb" in
17234 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
17235 xno) ;;
17236 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
17237 This is an error since --with-usb was requested." "$LINENO" 5 ;;
17238 esac
17239 enable_wineusb_sys=${enable_wineusb_sys:-no}
17242 if test "x$with_v4l2" != "xno"
17243 then
17244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
17245 printf %s "checking for -lv4l2... " >&6; }
17246 if test ${ac_cv_lib_soname_v4l2+y}
17247 then :
17248 printf %s "(cached) " >&6
17249 else $as_nop
17250 ac_check_soname_save_LIBS=$LIBS
17251 LIBS="-lv4l2 $LIBS"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17255 /* Override any GCC internal prototype to avoid an error.
17256 Use char because int might match the return type of a GCC
17257 builtin and then its argument prototype would still apply. */
17258 char v4l2_open ();
17260 main (void)
17262 return v4l2_open ();
17264 return 0;
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"
17268 then :
17269 case "$LIBEXT" in
17270 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17271 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'` ;;
17272 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17273 if ${ac_cv_lib_soname_v4l2:+false} :
17274 then :
17275 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17276 fi ;;
17277 esac
17278 else $as_nop
17279 ac_cv_lib_soname_v4l2=
17281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17282 conftest$ac_exeext conftest.$ac_ext
17283 LIBS=$ac_check_soname_save_LIBS
17285 if ${ac_cv_lib_soname_v4l2:+false} :
17286 then :
17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17288 printf "%s\n" "not found" >&6; }
17290 else $as_nop
17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
17292 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
17294 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
17299 if test "x$ac_cv_lib_soname_v4l2" = "x"
17300 then :
17301 case "x$with_v4l2" in
17302 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
17303 xno) ;;
17304 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
17305 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
17306 esac
17310 if test "x$with_gphoto" != "xno"
17311 then
17312 rm -f conftest.err
17313 if ${GPHOTO2_CFLAGS:+false} :
17314 then :
17315 if test ${PKG_CONFIG+y}
17316 then :
17317 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
17320 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
17321 if ${GPHOTO2_LIBS:+false} :
17322 then :
17323 if test ${PKG_CONFIG+y}
17324 then :
17325 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
17328 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
17329 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
17330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
17331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
17332 if test -s conftest.err; then
17333 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
17334 cat conftest.err >&5
17336 rm -f conftest.err
17337 ac_save_CPPFLAGS=$CPPFLAGS
17338 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
17339 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
17340 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
17341 then :
17342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
17343 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
17344 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
17345 then :
17346 printf %s "(cached) " >&6
17347 else $as_nop
17348 ac_check_lib_save_LIBS=$LIBS
17349 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17353 /* Override any GCC internal prototype to avoid an error.
17354 Use char because int might match the return type of a GCC
17355 builtin and then its argument prototype would still apply. */
17356 char gp_camera_new ();
17358 main (void)
17360 return gp_camera_new ();
17362 return 0;
17364 _ACEOF
17365 if ac_fn_c_try_link "$LINENO"
17366 then :
17367 ac_cv_lib_gphoto2_gp_camera_new=yes
17368 else $as_nop
17369 ac_cv_lib_gphoto2_gp_camera_new=no
17371 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17372 conftest$ac_exeext conftest.$ac_ext
17373 LIBS=$ac_check_lib_save_LIBS
17375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
17376 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
17377 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
17378 then :
17384 CPPFLAGS=$ac_save_CPPFLAGS
17386 rm -f conftest.err
17387 if ${GPHOTO2_PORT_CFLAGS:+false} :
17388 then :
17389 if test ${PKG_CONFIG+y}
17390 then :
17391 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
17394 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
17395 if ${GPHOTO2_PORT_LIBS:+false} :
17396 then :
17397 if test ${PKG_CONFIG+y}
17398 then :
17399 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
17402 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
17403 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
17404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
17405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
17406 if test -s conftest.err; then
17407 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
17408 cat conftest.err >&5
17410 rm -f conftest.err
17411 ac_save_CPPFLAGS=$CPPFLAGS
17412 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
17413 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
17414 if test "x$ac_cv_header_gphoto2_port_h" = xyes
17415 then :
17416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17417 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17418 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17419 then :
17420 printf %s "(cached) " >&6
17421 else $as_nop
17422 ac_check_lib_save_LIBS=$LIBS
17423 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17427 /* Override any GCC internal prototype to avoid an error.
17428 Use char because int might match the return type of a GCC
17429 builtin and then its argument prototype would still apply. */
17430 char gp_port_info_list_new ();
17432 main (void)
17434 return gp_port_info_list_new ();
17436 return 0;
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"
17440 then :
17441 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17442 else $as_nop
17443 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17446 conftest$ac_exeext conftest.$ac_ext
17447 LIBS=$ac_check_lib_save_LIBS
17449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17450 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17451 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17452 then :
17454 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17456 else $as_nop
17457 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17460 else $as_nop
17461 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17464 CPPFLAGS=$ac_save_CPPFLAGS
17467 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17468 then :
17469 case "x$with_gphoto" in
17470 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17471 xno) ;;
17472 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17473 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17474 esac
17475 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17477 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17478 then :
17479 case "x$with_gphoto" in
17480 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17481 xno) ;;
17482 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17483 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17484 esac
17489 if test "$ac_cv_header_resolv_h" = "yes"
17490 then
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17492 printf %s "checking for resolver library... " >&6; }
17493 if test ${ac_cv_have_resolv+y}
17494 then :
17495 printf %s "(cached) " >&6
17496 else $as_nop
17497 ac_save_LIBS="$LIBS"
17498 for lib in '' -lresolv
17500 LIBS="$lib $ac_save_LIBS"
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17503 #ifdef HAVE_NETINET_IN_H
17504 #include <netinet/in.h>
17505 #endif
17506 #include <resolv.h>
17508 main (void)
17510 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17512 return 0;
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"
17516 then :
17517 ac_cv_have_resolv=${lib:-"none required"}
17518 else $as_nop
17519 ac_cv_have_resolv="not found"
17521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17522 conftest$ac_exeext conftest.$ac_ext
17523 test "x$ac_cv_have_resolv" = "xnot found" || break
17524 done
17525 LIBS="$ac_save_LIBS"
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17528 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17530 case "$ac_cv_have_resolv" in
17531 "not found") ;;
17532 "none required")
17534 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17537 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17539 RESOLV_LIBS=$ac_cv_have_resolv
17541 esac
17543 if test "x$ac_cv_have_resolv" != "xnot found"
17544 then
17545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17546 printf %s "checking for res_getservers... " >&6; }
17547 if test ${ac_cv_have_res_getservers+y}
17548 then :
17549 printf %s "(cached) " >&6
17550 else $as_nop
17551 ac_save_LIBS="$LIBS"
17552 LIBS="$RESOLV_LIBS $LIBS"
17553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17554 /* end confdefs.h. */
17555 #include <resolv.h>
17557 main (void)
17559 res_getservers(NULL, NULL, 0);
17561 return 0;
17563 _ACEOF
17564 if ac_fn_c_try_link "$LINENO"
17565 then :
17566 ac_cv_have_res_getservers=yes
17567 else $as_nop
17568 ac_cv_have_res_getservers=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17571 conftest$ac_exeext conftest.$ac_ext
17572 LIBS="$ac_save_LIBS"
17574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17575 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17576 if test "$ac_cv_have_res_getservers" = "yes"
17577 then
17579 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17585 if test "x$with_freetype" != "xno"
17586 then
17587 rm -f conftest.err
17588 if ${FREETYPE_CFLAGS:+false} :
17589 then :
17590 if test ${PKG_CONFIG+y}
17591 then :
17592 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17595 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17596 if ${FREETYPE_LIBS:+false} :
17597 then :
17598 if test ${PKG_CONFIG+y}
17599 then :
17600 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17603 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17604 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17607 if test -s conftest.err; then
17608 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17609 cat conftest.err >&5
17611 rm -f conftest.err
17612 ac_save_CPPFLAGS=$CPPFLAGS
17613 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17614 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17615 if test "x$ac_cv_header_ft2build_h" = xyes
17616 then :
17617 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17621 if test "$ac_cv_header_ft2build_h" = "yes"
17622 then
17623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17624 printf %s "checking for -lfreetype... " >&6; }
17625 if test ${ac_cv_lib_soname_freetype+y}
17626 then :
17627 printf %s "(cached) " >&6
17628 else $as_nop
17629 ac_check_soname_save_LIBS=$LIBS
17630 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17634 /* Override any GCC internal prototype to avoid an error.
17635 Use char because int might match the return type of a GCC
17636 builtin and then its argument prototype would still apply. */
17637 char FT_Init_FreeType ();
17639 main (void)
17641 return FT_Init_FreeType ();
17643 return 0;
17645 _ACEOF
17646 if ac_fn_c_try_link "$LINENO"
17647 then :
17648 case "$LIBEXT" in
17649 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17650 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'` ;;
17651 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17652 if ${ac_cv_lib_soname_freetype:+false} :
17653 then :
17654 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17655 fi ;;
17656 esac
17657 else $as_nop
17658 ac_cv_lib_soname_freetype=
17660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17661 conftest$ac_exeext conftest.$ac_ext
17662 LIBS=$ac_check_soname_save_LIBS
17664 if ${ac_cv_lib_soname_freetype:+false} :
17665 then :
17666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17667 printf "%s\n" "not found" >&6; }
17668 FREETYPE_LIBS=""
17669 else $as_nop
17670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17671 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17673 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17676 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17678 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17679 #include FT_MODULE_H
17681 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17682 then :
17684 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17690 else
17691 FREETYPE_CFLAGS=""
17692 FREETYPE_LIBS=""
17694 CPPFLAGS=$ac_save_CPPFLAGS
17697 if test "x$ac_cv_lib_soname_freetype" = x
17698 then :
17699 case "x$with_freetype" in
17700 xno) ;;
17701 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17702 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17703 esac
17704 enable_fonts=${enable_fonts:-no}
17707 ac_wine_check_funcs_save_LIBS="$LIBS"
17708 LIBS="$LIBS $PTHREAD_LIBS"
17709 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17710 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17711 then :
17712 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17716 LIBS="$ac_wine_check_funcs_save_LIBS"
17718 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17719 then
17720 if test "$ac_cv_header_gettext_po_h" = "yes"
17721 then
17722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17723 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17724 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17725 then :
17726 printf %s "(cached) " >&6
17727 else $as_nop
17728 ac_check_lib_save_LIBS=$LIBS
17729 LIBS="-lgettextpo $LIBS"
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17733 /* Override any GCC internal prototype to avoid an error.
17734 Use char because int might match the return type of a GCC
17735 builtin and then its argument prototype would still apply. */
17736 char po_message_msgctxt ();
17738 main (void)
17740 return po_message_msgctxt ();
17742 return 0;
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"
17746 then :
17747 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17748 else $as_nop
17749 ac_cv_lib_gettextpo_po_message_msgctxt=no
17751 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17752 conftest$ac_exeext conftest.$ac_ext
17753 LIBS=$ac_check_lib_save_LIBS
17755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17756 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17757 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17758 then :
17760 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17762 GETTEXTPO_LIBS="-lgettextpo"
17767 if test "x$GETTEXTPO_LIBS" = "x"
17768 then :
17769 case "x$with_gettextpo" in
17770 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17771 xno) ;;
17772 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17773 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17774 esac
17777 if test "$srcdir" != .
17778 then :
17779 case "x$with_gettextpo" in
17780 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17781 xno) ;;
17782 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17783 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17784 esac
17789 if test "x$with_pulse" != "xno";
17790 then
17791 rm -f conftest.err
17792 if ${PULSE_CFLAGS:+false} :
17793 then :
17794 if test ${PKG_CONFIG+y}
17795 then :
17796 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17800 if ${PULSE_LIBS:+false} :
17801 then :
17802 if test ${PKG_CONFIG+y}
17803 then :
17804 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17809 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17810 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17811 if test -s conftest.err; then
17812 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17813 cat conftest.err >&5
17815 rm -f conftest.err
17816 ac_save_CPPFLAGS=$CPPFLAGS
17817 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17818 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17819 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17820 then :
17821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17822 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17823 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17824 then :
17825 printf %s "(cached) " >&6
17826 else $as_nop
17827 ac_check_lib_save_LIBS=$LIBS
17828 LIBS="-lpulse $PULSE_LIBS $LIBS"
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17832 /* Override any GCC internal prototype to avoid an error.
17833 Use char because int might match the return type of a GCC
17834 builtin and then its argument prototype would still apply. */
17835 char pa_stream_is_corked ();
17837 main (void)
17839 return pa_stream_is_corked ();
17841 return 0;
17843 _ACEOF
17844 if ac_fn_c_try_link "$LINENO"
17845 then :
17846 ac_cv_lib_pulse_pa_stream_is_corked=yes
17847 else $as_nop
17848 ac_cv_lib_pulse_pa_stream_is_corked=no
17850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17851 conftest$ac_exeext conftest.$ac_ext
17852 LIBS=$ac_check_lib_save_LIBS
17854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17855 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17856 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17857 then :
17859 else $as_nop
17860 PULSE_LIBS=""
17863 else $as_nop
17864 PULSE_LIBS=""
17867 CPPFLAGS=$ac_save_CPPFLAGS
17870 if test -z "$PULSE_LIBS"
17871 then :
17872 case "x$with_pulse" in
17873 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17874 xno) ;;
17875 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17876 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17877 esac
17878 enable_winepulse_drv=${enable_winepulse_drv:-no}
17881 if test "x$with_gstreamer" != "xno"
17882 then
17883 rm -f conftest.err
17884 if ${GSTREAMER_CFLAGS:+false} :
17885 then :
17886 if test ${PKG_CONFIG+y}
17887 then :
17888 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17892 if ${GSTREAMER_LIBS:+false} :
17893 then :
17894 if test ${PKG_CONFIG+y}
17895 then :
17896 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17901 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
17902 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
17903 if test -s conftest.err; then
17904 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17905 cat conftest.err >&5
17907 rm -f conftest.err
17908 ac_save_CPPFLAGS=$CPPFLAGS
17909 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17910 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17911 if test "x$ac_cv_header_gst_gst_h" = xyes
17912 then :
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17914 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <gst/gst.h>
17919 main (void)
17921 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17923 return 0;
17925 _ACEOF
17926 if ac_fn_c_try_compile "$LINENO"
17927 then :
17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17929 printf "%s\n" "yes" >&6; }
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17931 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17932 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17933 then :
17934 printf %s "(cached) " >&6
17935 else $as_nop
17936 ac_check_lib_save_LIBS=$LIBS
17937 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 /* Override any GCC internal prototype to avoid an error.
17942 Use char because int might match the return type of a GCC
17943 builtin and then its argument prototype would still apply. */
17944 char gst_pad_new ();
17946 main (void)
17948 return gst_pad_new ();
17950 return 0;
17952 _ACEOF
17953 if ac_fn_c_try_link "$LINENO"
17954 then :
17955 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17956 else $as_nop
17957 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17960 conftest$ac_exeext conftest.$ac_ext
17961 LIBS=$ac_check_lib_save_LIBS
17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17964 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17965 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17966 then :
17970 else $as_nop
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17972 printf "%s\n" "no" >&6; }
17973 ac_glib2_broken=yes
17974 enable_winegstreamer=${enable_winegstreamer:-no}
17975 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17980 CPPFLAGS=$ac_save_CPPFLAGS
17983 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17984 then :
17985 case "x$with_gstreamer" in
17986 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17987 xno) ;;
17988 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17989 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17990 esac
17991 enable_winegstreamer=${enable_winegstreamer:-no}
17994 ALSA_LIBS=""
17996 if test "x$with_alsa" != "xno"
17997 then
17998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17999 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
18000 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
18001 then :
18002 printf %s "(cached) " >&6
18003 else $as_nop
18004 ac_check_lib_save_LIBS=$LIBS
18005 LIBS="-lasound $LIBS"
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18009 /* Override any GCC internal prototype to avoid an error.
18010 Use char because int might match the return type of a GCC
18011 builtin and then its argument prototype would still apply. */
18012 char snd_pcm_hw_params_get_access_mask ();
18014 main (void)
18016 return snd_pcm_hw_params_get_access_mask ();
18018 return 0;
18020 _ACEOF
18021 if ac_fn_c_try_link "$LINENO"
18022 then :
18023 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
18024 else $as_nop
18025 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
18027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18028 conftest$ac_exeext conftest.$ac_ext
18029 LIBS=$ac_check_lib_save_LIBS
18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
18032 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
18033 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
18034 then :
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <alsa/asoundlib.h>
18039 main (void)
18041 snd_pcm_hw_params_get_access_mask(NULL, NULL)
18043 return 0;
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"
18047 then :
18048 ALSA_LIBS="-lasound"
18050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18054 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
18056 if test "x$with_oss" != xno
18057 then
18058 ac_save_CPPFLAGS="$CPPFLAGS"
18059 if test -f /etc/oss.conf
18060 then
18061 . /etc/oss.conf
18063 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
18064 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
18065 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
18066 if test "x$ac_cv_header_sys_soundcard_h" = xyes
18067 then :
18068 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
18070 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
18071 then :
18073 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
18075 OSS4_CFLAGS="$ac_oss_incl"
18077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
18078 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
18079 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
18080 then :
18081 printf %s "(cached) " >&6
18082 else $as_nop
18083 ac_check_lib_save_LIBS=$LIBS
18084 LIBS="-lossaudio $LIBS"
18085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18086 /* end confdefs.h. */
18088 /* Override any GCC internal prototype to avoid an error.
18089 Use char because int might match the return type of a GCC
18090 builtin and then its argument prototype would still apply. */
18091 char _oss_ioctl ();
18093 main (void)
18095 return _oss_ioctl ();
18097 return 0;
18099 _ACEOF
18100 if ac_fn_c_try_link "$LINENO"
18101 then :
18102 ac_cv_lib_ossaudio__oss_ioctl=yes
18103 else $as_nop
18104 ac_cv_lib_ossaudio__oss_ioctl=no
18106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18107 conftest$ac_exeext conftest.$ac_ext
18108 LIBS=$ac_check_lib_save_LIBS
18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
18111 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
18112 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
18113 then :
18114 OSS4_LIBS="-lossaudio"
18122 CPPFLAGS="$ac_save_CPPFLAGS"
18124 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
18125 then :
18126 case "x$with_oss" in
18127 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
18128 xno) ;;
18129 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
18130 This is an error since --with-oss was requested." "$LINENO" 5 ;;
18131 esac
18132 enable_wineoss_drv=${enable_wineoss_drv:-no}
18135 if test "x$with_udev" != "xno"
18136 then
18137 rm -f conftest.err
18138 if ${UDEV_CFLAGS:+false} :
18139 then :
18140 if test ${PKG_CONFIG+y}
18141 then :
18142 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
18146 if ${UDEV_LIBS:+false} :
18147 then :
18148 if test ${PKG_CONFIG+y}
18149 then :
18150 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
18154 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
18155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
18156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
18157 if test -s conftest.err; then
18158 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
18159 cat conftest.err >&5
18161 rm -f conftest.err
18162 ac_save_CPPFLAGS=$CPPFLAGS
18163 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
18164 for ac_header in libudev.h
18165 do :
18166 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
18167 if test "x$ac_cv_header_libudev_h" = xyes
18168 then :
18169 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
18170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
18171 printf %s "checking for udev_new in -ludev... " >&6; }
18172 if test ${ac_cv_lib_udev_udev_new+y}
18173 then :
18174 printf %s "(cached) " >&6
18175 else $as_nop
18176 ac_check_lib_save_LIBS=$LIBS
18177 LIBS="-ludev $UDEV_LIBS $LIBS"
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 /* Override any GCC internal prototype to avoid an error.
18182 Use char because int might match the return type of a GCC
18183 builtin and then its argument prototype would still apply. */
18184 char udev_new ();
18186 main (void)
18188 return udev_new ();
18190 return 0;
18192 _ACEOF
18193 if ac_fn_c_try_link "$LINENO"
18194 then :
18195 ac_cv_lib_udev_udev_new=yes
18196 else $as_nop
18197 ac_cv_lib_udev_udev_new=no
18199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18200 conftest$ac_exeext conftest.$ac_ext
18201 LIBS=$ac_check_lib_save_LIBS
18203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
18204 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
18205 if test "x$ac_cv_lib_udev_udev_new" = xyes
18206 then :
18208 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
18210 else $as_nop
18211 UDEV_LIBS=""
18214 else $as_nop
18215 UDEV_LIBS=""
18218 done
18219 CPPFLAGS=$ac_save_CPPFLAGS
18222 if test "x$UDEV_LIBS" = "x"
18223 then :
18224 case "x$with_udev" in
18225 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
18226 xno) ;;
18227 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
18228 This is an error since --with-udev was requested." "$LINENO" 5 ;;
18229 esac
18233 if test $HOST_ARCH = x86_64
18234 then
18235 if test "x$with_unwind" != xno
18236 then
18237 rm -f conftest.err
18238 if ${UNWIND_CFLAGS:+false} :
18239 then :
18240 if test ${PKG_CONFIG+y}
18241 then :
18242 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
18246 if ${UNWIND_LIBS:+false} :
18247 then :
18248 if test ${PKG_CONFIG+y}
18249 then :
18250 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
18254 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
18255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
18256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
18257 if test -s conftest.err; then
18258 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
18259 cat conftest.err >&5
18261 rm -f conftest.err
18262 ac_save_CPPFLAGS=$CPPFLAGS
18263 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
18264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
18265 printf %s "checking for unw_step... " >&6; }
18266 if test ${wine_cv_have_unw_step+y}
18267 then :
18268 printf %s "(cached) " >&6
18269 else $as_nop
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #define UNW_LOCAL_ONLY
18273 #include <libunwind.h>
18275 main (void)
18277 unw_cursor_t cursor; unw_step( &cursor );
18279 return 0;
18281 _ACEOF
18282 if ac_fn_c_try_link "$LINENO"
18283 then :
18284 wine_cv_have_unw_step="yes"
18285 else $as_nop
18286 wine_cv_have_unw_step="no"
18288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18289 conftest$ac_exeext conftest.$ac_ext
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
18292 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
18293 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
18294 then
18295 save_libs=$LIBS
18296 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
18297 LIBS="$UNWIND_LIBS $LIBS"
18298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
18299 printf %s "checking for unw_step in libunwind... " >&6; }
18300 if test ${wine_cv_have_libunwind_unw_step+y}
18301 then :
18302 printf %s "(cached) " >&6
18303 else $as_nop
18304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18305 /* end confdefs.h. */
18306 #define UNW_LOCAL_ONLY
18307 #include <libunwind.h>
18309 main (void)
18311 unw_cursor_t cursor; unw_step( &cursor );
18313 return 0;
18315 _ACEOF
18316 if ac_fn_c_try_link "$LINENO"
18317 then :
18318 wine_cv_have_libunwind_unw_step="yes"
18319 else $as_nop
18320 wine_cv_have_libunwind_unw_step="no"
18322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18323 conftest$ac_exeext conftest.$ac_ext
18325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
18326 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
18327 LIBS=$save_libs
18329 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
18330 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
18331 then
18333 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
18336 CPPFLAGS=$ac_save_CPPFLAGS
18339 case $host in
18340 *-darwin*)
18341 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
18342 then :
18343 case "x$with_unwind" in
18344 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
18345 xno) ;;
18346 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
18347 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
18348 esac
18350 fi ;;
18351 esac
18354 if test "x$with_sdl" != "xno"
18355 then
18356 rm -f conftest.err
18357 if ${SDL2_CFLAGS:+false} :
18358 then :
18359 if test ${PKG_CONFIG+y}
18360 then :
18361 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
18365 if ${SDL2_LIBS:+false} :
18366 then :
18367 if test ${PKG_CONFIG+y}
18368 then :
18369 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
18373 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
18374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
18375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
18376 if test -s conftest.err; then
18377 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
18378 cat conftest.err >&5
18380 rm -f conftest.err
18381 ac_save_CPPFLAGS=$CPPFLAGS
18382 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
18383 for ac_header in SDL.h
18384 do :
18385 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
18386 if test "x$ac_cv_header_SDL_h" = xyes
18387 then :
18388 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
18390 printf %s "checking for -lSDL2... " >&6; }
18391 if test ${ac_cv_lib_soname_SDL2+y}
18392 then :
18393 printf %s "(cached) " >&6
18394 else $as_nop
18395 ac_check_soname_save_LIBS=$LIBS
18396 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
18397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18398 /* end confdefs.h. */
18400 /* Override any GCC internal prototype to avoid an error.
18401 Use char because int might match the return type of a GCC
18402 builtin and then its argument prototype would still apply. */
18403 char SDL_Init ();
18405 main (void)
18407 return SDL_Init ();
18409 return 0;
18411 _ACEOF
18412 if ac_fn_c_try_link "$LINENO"
18413 then :
18414 case "$LIBEXT" in
18415 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18416 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'` ;;
18417 *) 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'`
18418 if ${ac_cv_lib_soname_SDL2:+false} :
18419 then :
18420 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18421 fi ;;
18422 esac
18423 else $as_nop
18424 ac_cv_lib_soname_SDL2=
18426 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18427 conftest$ac_exeext conftest.$ac_ext
18428 LIBS=$ac_check_soname_save_LIBS
18430 if ${ac_cv_lib_soname_SDL2:+false} :
18431 then :
18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18433 printf "%s\n" "not found" >&6; }
18435 else $as_nop
18436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18437 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18439 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18445 done
18446 CPPFLAGS=$ac_save_CPPFLAGS
18449 if test "x$ac_cv_lib_soname_SDL2" = "x"
18450 then :
18451 case "x$with_sdl" in
18452 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18453 xno) ;;
18454 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18455 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18456 esac
18460 if test "x$with_capi" != "xno"
18461 then
18462 rm -f conftest.err
18463 if ${CAPI20_CFLAGS:+false} :
18464 then :
18465 if test ${PKG_CONFIG+y}
18466 then :
18467 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18471 if ${CAPI20_LIBS:+false} :
18472 then :
18473 if test ${PKG_CONFIG+y}
18474 then :
18475 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18481 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18482 if test -s conftest.err; then
18483 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18484 cat conftest.err >&5
18486 rm -f conftest.err
18487 ac_save_CPPFLAGS=$CPPFLAGS
18488 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18489 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18491 if test "x$ac_cv_header_capi20_h" = xyes
18492 then :
18493 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18496 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18498 if test "x$ac_cv_header_linux_capi_h" = xyes
18499 then :
18500 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18504 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18505 then
18506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18507 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18508 if test ${ac_cv_lib_capi20_capi20_register+y}
18509 then :
18510 printf %s "(cached) " >&6
18511 else $as_nop
18512 ac_check_lib_save_LIBS=$LIBS
18513 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18517 /* Override any GCC internal prototype to avoid an error.
18518 Use char because int might match the return type of a GCC
18519 builtin and then its argument prototype would still apply. */
18520 char capi20_register ();
18522 main (void)
18524 return capi20_register ();
18526 return 0;
18528 _ACEOF
18529 if ac_fn_c_try_link "$LINENO"
18530 then :
18531 ac_cv_lib_capi20_capi20_register=yes
18532 else $as_nop
18533 ac_cv_lib_capi20_capi20_register=no
18535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18536 conftest$ac_exeext conftest.$ac_ext
18537 LIBS=$ac_check_lib_save_LIBS
18539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18540 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18541 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18542 then :
18544 else $as_nop
18545 CAPI20_LIBS=""
18549 CPPFLAGS=$ac_save_CPPFLAGS
18552 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18553 then :
18554 case "x$with_capi" in
18555 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18556 xno) ;;
18557 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18558 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18559 esac
18560 enable_capi2032=${enable_capi2032:-no}
18563 if test "x$with_cups" != "xno"
18564 then
18565 rm -f conftest.err
18566 if ${CUPS_CFLAGS:+false} :
18567 then :
18568 if test ${PKG_CONFIG+y}
18569 then :
18570 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18573 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18574 if ${CUPS_LIBS:+false} :
18575 then :
18576 if test ${PKG_CONFIG+y}
18577 then :
18578 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18581 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18582 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18585 if test -s conftest.err; then
18586 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18587 cat conftest.err >&5
18589 rm -f conftest.err
18590 ac_save_CPPFLAGS=$CPPFLAGS
18591 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18592 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18593 if test "x$ac_cv_header_cups_cups_h" = xyes
18594 then :
18595 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18598 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18599 if test "x$ac_cv_header_cups_ppd_h" = xyes
18600 then :
18601 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18605 if test "$ac_cv_header_cups_cups_h" = "yes"
18606 then
18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18608 printf %s "checking for -lcups... " >&6; }
18609 if test ${ac_cv_lib_soname_cups+y}
18610 then :
18611 printf %s "(cached) " >&6
18612 else $as_nop
18613 ac_check_soname_save_LIBS=$LIBS
18614 LIBS="-lcups $CUPS_LIBS $LIBS"
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18618 /* Override any GCC internal prototype to avoid an error.
18619 Use char because int might match the return type of a GCC
18620 builtin and then its argument prototype would still apply. */
18621 char cupsGetDefault ();
18623 main (void)
18625 return cupsGetDefault ();
18627 return 0;
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"
18631 then :
18632 case "$LIBEXT" in
18633 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18634 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'` ;;
18635 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18636 if ${ac_cv_lib_soname_cups:+false} :
18637 then :
18638 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18639 fi ;;
18640 esac
18641 else $as_nop
18642 ac_cv_lib_soname_cups=
18644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18645 conftest$ac_exeext conftest.$ac_ext
18646 LIBS=$ac_check_soname_save_LIBS
18648 if ${ac_cv_lib_soname_cups:+false} :
18649 then :
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18651 printf "%s\n" "not found" >&6; }
18652 CUPS_LIBS=""
18653 else $as_nop
18654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18655 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18657 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18661 else
18662 CUPS_CFLAGS=""
18663 CUPS_LIBS=""
18665 CPPFLAGS=$ac_save_CPPFLAGS
18668 if test "x$ac_cv_lib_soname_cups" = "x"
18669 then :
18670 case "x$with_cups" in
18671 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18672 xno) ;;
18673 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18674 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18675 esac
18679 if test "x$with_fontconfig" != "xno"
18680 then
18681 rm -f conftest.err
18682 if ${FONTCONFIG_CFLAGS:+false} :
18683 then :
18684 if test ${PKG_CONFIG+y}
18685 then :
18686 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18689 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18690 if ${FONTCONFIG_LIBS:+false} :
18691 then :
18692 if test ${PKG_CONFIG+y}
18693 then :
18694 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18697 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18701 if test -s conftest.err; then
18702 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18703 cat conftest.err >&5
18705 rm -f conftest.err
18706 ac_save_CPPFLAGS=$CPPFLAGS
18707 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18708 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18709 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18710 then :
18711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18712 printf %s "checking for -lfontconfig... " >&6; }
18713 if test ${ac_cv_lib_soname_fontconfig+y}
18714 then :
18715 printf %s "(cached) " >&6
18716 else $as_nop
18717 ac_check_soname_save_LIBS=$LIBS
18718 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18722 /* Override any GCC internal prototype to avoid an error.
18723 Use char because int might match the return type of a GCC
18724 builtin and then its argument prototype would still apply. */
18725 char FcInit ();
18727 main (void)
18729 return FcInit ();
18731 return 0;
18733 _ACEOF
18734 if ac_fn_c_try_link "$LINENO"
18735 then :
18736 case "$LIBEXT" in
18737 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18738 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'` ;;
18739 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18740 if ${ac_cv_lib_soname_fontconfig:+false} :
18741 then :
18742 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18743 fi ;;
18744 esac
18745 else $as_nop
18746 ac_cv_lib_soname_fontconfig=
18748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18749 conftest$ac_exeext conftest.$ac_ext
18750 LIBS=$ac_check_soname_save_LIBS
18752 if ${ac_cv_lib_soname_fontconfig:+false} :
18753 then :
18754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18755 printf "%s\n" "not found" >&6; }
18756 FONTCONFIG_CFLAGS=""
18757 else $as_nop
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18759 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18761 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18765 else $as_nop
18766 FONTCONFIG_CFLAGS=""
18769 CPPFLAGS=$ac_save_CPPFLAGS
18772 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18773 then :
18774 case "x$with_fontconfig" in
18775 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18776 xno) ;;
18777 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18778 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18779 esac
18783 if test "x$with_krb5" != "xno"
18784 then
18785 rm -f conftest.err
18786 if ${KRB5_CFLAGS:+false} :
18787 then :
18788 if test ${PKG_CONFIG+y}
18789 then :
18790 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18793 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18794 if ${KRB5_LIBS:+false} :
18795 then :
18796 if test ${PKG_CONFIG+y}
18797 then :
18798 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18801 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18804 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18805 if test -s conftest.err; then
18806 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18807 cat conftest.err >&5
18809 rm -f conftest.err
18810 ac_save_CPPFLAGS=$CPPFLAGS
18811 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18812 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18813 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18814 then :
18815 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18819 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18820 then
18821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18822 printf %s "checking for -lkrb5... " >&6; }
18823 if test ${ac_cv_lib_soname_krb5+y}
18824 then :
18825 printf %s "(cached) " >&6
18826 else $as_nop
18827 ac_check_soname_save_LIBS=$LIBS
18828 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18832 /* Override any GCC internal prototype to avoid an error.
18833 Use char because int might match the return type of a GCC
18834 builtin and then its argument prototype would still apply. */
18835 char krb5_is_config_principal ();
18837 main (void)
18839 return krb5_is_config_principal ();
18841 return 0;
18843 _ACEOF
18844 if ac_fn_c_try_link "$LINENO"
18845 then :
18846 case "$LIBEXT" in
18847 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18848 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'` ;;
18849 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18850 if ${ac_cv_lib_soname_krb5:+false} :
18851 then :
18852 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18853 fi ;;
18854 esac
18855 else $as_nop
18856 ac_cv_lib_soname_krb5=
18858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18859 conftest$ac_exeext conftest.$ac_ext
18860 LIBS=$ac_check_soname_save_LIBS
18862 if ${ac_cv_lib_soname_krb5:+false} :
18863 then :
18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18865 printf "%s\n" "not found" >&6; }
18866 KRB5_CFLAGS=""
18867 else $as_nop
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18869 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18871 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18875 else
18876 KRB5_CFLAGS=""
18878 CPPFLAGS=$ac_save_CPPFLAGS
18881 if test "x$ac_cv_lib_soname_krb5" = "x"
18882 then :
18883 case "x$with_krb5" in
18884 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18885 xno) ;;
18886 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18887 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18888 esac
18891 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18893 if test "x$with_gssapi" != "xno"
18894 then
18895 rm -f conftest.err
18896 if ${GSSAPI_CFLAGS:+false} :
18897 then :
18898 if test ${PKG_CONFIG+y}
18899 then :
18900 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18903 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18904 if ${GSSAPI_LIBS:+false} :
18905 then :
18906 if test ${PKG_CONFIG+y}
18907 then :
18908 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18911 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18915 if test -s conftest.err; then
18916 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18917 cat conftest.err >&5
18919 rm -f conftest.err
18920 ac_save_CPPFLAGS=$CPPFLAGS
18921 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18922 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18923 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18924 then :
18925 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18928 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18929 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18930 then :
18931 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18935 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18936 then
18937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18938 printf %s "checking for -lgssapi_krb5... " >&6; }
18939 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18940 then :
18941 printf %s "(cached) " >&6
18942 else $as_nop
18943 ac_check_soname_save_LIBS=$LIBS
18944 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 /* Override any GCC internal prototype to avoid an error.
18949 Use char because int might match the return type of a GCC
18950 builtin and then its argument prototype would still apply. */
18951 char gss_init_sec_context ();
18953 main (void)
18955 return gss_init_sec_context ();
18957 return 0;
18959 _ACEOF
18960 if ac_fn_c_try_link "$LINENO"
18961 then :
18962 case "$LIBEXT" in
18963 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18964 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'` ;;
18965 *) 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'`
18966 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18967 then :
18968 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18969 fi ;;
18970 esac
18971 else $as_nop
18972 ac_cv_lib_soname_gssapi_krb5=
18974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18975 conftest$ac_exeext conftest.$ac_ext
18976 LIBS=$ac_check_soname_save_LIBS
18978 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18979 then :
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18981 printf "%s\n" "not found" >&6; }
18982 GSSAPI_CFLAGS=""
18983 else $as_nop
18984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18985 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18987 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18991 else
18992 GSSAPI_CFLAGS=""
18994 CPPFLAGS=$ac_save_CPPFLAGS
18997 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18998 then :
18999 case "x$with_gssapi" in
19000 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
19001 xno) ;;
19002 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
19003 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
19004 esac
19008 if test "$ac_cv_header_libprocstat_h" = "yes"
19009 then
19010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
19011 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
19012 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
19013 then :
19014 printf %s "(cached) " >&6
19015 else $as_nop
19016 ac_check_lib_save_LIBS=$LIBS
19017 LIBS="-lprocstat $LIBS"
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19021 /* Override any GCC internal prototype to avoid an error.
19022 Use char because int might match the return type of a GCC
19023 builtin and then its argument prototype would still apply. */
19024 char procstat_open_sysctl ();
19026 main (void)
19028 return procstat_open_sysctl ();
19030 return 0;
19032 _ACEOF
19033 if ac_fn_c_try_link "$LINENO"
19034 then :
19035 ac_cv_lib_procstat_procstat_open_sysctl=yes
19036 else $as_nop
19037 ac_cv_lib_procstat_procstat_open_sysctl=no
19039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19040 conftest$ac_exeext conftest.$ac_ext
19041 LIBS=$ac_check_lib_save_LIBS
19043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
19044 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
19045 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
19046 then :
19048 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
19050 PROCSTAT_LIBS="-lprocstat"
19056 if test "x$with_netapi" != "xno"
19057 then
19058 rm -f conftest.err
19059 if ${NETAPI_CFLAGS:+false} :
19060 then :
19061 if test ${PKG_CONFIG+y}
19062 then :
19063 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
19067 if ${NETAPI_LIBS:+false} :
19068 then :
19069 if test ${PKG_CONFIG+y}
19070 then :
19071 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
19076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
19077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
19078 if test -s conftest.err; then
19079 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
19080 cat conftest.err >&5
19082 rm -f conftest.err
19083 ac_save_CPPFLAGS=$CPPFLAGS
19084 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
19085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
19086 printf %s "checking for -lnetapi... " >&6; }
19087 if test ${ac_cv_lib_soname_netapi+y}
19088 then :
19089 printf %s "(cached) " >&6
19090 else $as_nop
19091 ac_check_soname_save_LIBS=$LIBS
19092 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19096 /* Override any GCC internal prototype to avoid an error.
19097 Use char because int might match the return type of a GCC
19098 builtin and then its argument prototype would still apply. */
19099 char libnetapi_init ();
19101 main (void)
19103 return libnetapi_init ();
19105 return 0;
19107 _ACEOF
19108 if ac_fn_c_try_link "$LINENO"
19109 then :
19110 case "$LIBEXT" in
19111 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19112 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'` ;;
19113 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19114 if ${ac_cv_lib_soname_netapi:+false} :
19115 then :
19116 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19117 fi ;;
19118 esac
19119 else $as_nop
19120 ac_cv_lib_soname_netapi=
19122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19123 conftest$ac_exeext conftest.$ac_ext
19124 LIBS=$ac_check_soname_save_LIBS
19126 if ${ac_cv_lib_soname_netapi:+false} :
19127 then :
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19129 printf "%s\n" "not found" >&6; }
19130 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
19132 else $as_nop
19133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
19134 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
19136 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
19140 CPPFLAGS=$ac_save_CPPFLAGS
19143 if test "x$ac_cv_lib_soname_netapi" = "x"
19144 then :
19145 case "x$with_netapi" in
19146 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
19147 xno) ;;
19148 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
19149 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
19150 esac
19151 enable_netapi=${enable_netapi:-no}
19155 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
19156 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
19157 then
19158 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
19161 if test "x$with_vulkan" != "xno"
19162 then
19163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
19164 printf %s "checking for -lvulkan... " >&6; }
19165 if test ${ac_cv_lib_soname_vulkan+y}
19166 then :
19167 printf %s "(cached) " >&6
19168 else $as_nop
19169 ac_check_soname_save_LIBS=$LIBS
19170 LIBS="-lvulkan $LIBS"
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19174 /* Override any GCC internal prototype to avoid an error.
19175 Use char because int might match the return type of a GCC
19176 builtin and then its argument prototype would still apply. */
19177 char vkGetInstanceProcAddr ();
19179 main (void)
19181 return vkGetInstanceProcAddr ();
19183 return 0;
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"
19187 then :
19188 case "$LIBEXT" in
19189 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19190 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'` ;;
19191 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19192 if ${ac_cv_lib_soname_vulkan:+false} :
19193 then :
19194 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19195 fi ;;
19196 esac
19197 else $as_nop
19198 ac_cv_lib_soname_vulkan=
19200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19201 conftest$ac_exeext conftest.$ac_ext
19202 LIBS=$ac_check_soname_save_LIBS
19204 if ${ac_cv_lib_soname_vulkan:+false} :
19205 then :
19206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19207 printf "%s\n" "not found" >&6; }
19209 else $as_nop
19210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
19211 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
19213 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
19217 if test "x$ac_cv_lib_soname_vulkan" = "x"
19218 then
19219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
19220 printf %s "checking for -lMoltenVK... " >&6; }
19221 if test ${ac_cv_lib_soname_MoltenVK+y}
19222 then :
19223 printf %s "(cached) " >&6
19224 else $as_nop
19225 ac_check_soname_save_LIBS=$LIBS
19226 LIBS="-lMoltenVK $LIBS"
19227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19228 /* end confdefs.h. */
19230 /* Override any GCC internal prototype to avoid an error.
19231 Use char because int might match the return type of a GCC
19232 builtin and then its argument prototype would still apply. */
19233 char vkGetInstanceProcAddr ();
19235 main (void)
19237 return vkGetInstanceProcAddr ();
19239 return 0;
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"
19243 then :
19244 case "$LIBEXT" in
19245 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
19246 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'` ;;
19247 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
19248 if ${ac_cv_lib_soname_MoltenVK:+false} :
19249 then :
19250 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
19251 fi ;;
19252 esac
19253 else $as_nop
19254 ac_cv_lib_soname_MoltenVK=
19256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19257 conftest$ac_exeext conftest.$ac_ext
19258 LIBS=$ac_check_soname_save_LIBS
19260 if ${ac_cv_lib_soname_MoltenVK:+false} :
19261 then :
19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19263 printf "%s\n" "not found" >&6; }
19265 else $as_nop
19266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
19267 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
19269 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19271 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
19276 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
19277 then :
19278 case "x$with_vulkan" in
19279 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
19280 xno) ;;
19281 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
19282 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
19283 esac
19288 if test "x${GCC}" = "xyes"
19289 then
19290 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
19292 saved_CFLAGS=$CFLAGS
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
19294 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
19295 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
19296 then :
19297 printf %s "(cached) " >&6
19298 else $as_nop
19299 ac_wine_try_cflags_saved=$CFLAGS
19300 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303 int main(int argc, char **argv) { return 0; }
19304 _ACEOF
19305 if ac_fn_c_try_link "$LINENO"
19306 then :
19307 ac_cv_cflags__Werror_unknown_warning_option=yes
19308 else $as_nop
19309 ac_cv_cflags__Werror_unknown_warning_option=no
19311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19312 conftest$ac_exeext conftest.$ac_ext
19313 CFLAGS=$ac_wine_try_cflags_saved
19315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
19316 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
19317 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
19318 then :
19319 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
19322 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
19323 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
19324 then :
19325 printf %s "(cached) " >&6
19326 else $as_nop
19327 ac_wine_try_cflags_saved=$CFLAGS
19328 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 int main(int argc, char **argv) { return 0; }
19332 _ACEOF
19333 if ac_fn_c_try_link "$LINENO"
19334 then :
19335 ac_cv_cflags__Werror_unused_command_line_argument=yes
19336 else $as_nop
19337 ac_cv_cflags__Werror_unused_command_line_argument=no
19339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19340 conftest$ac_exeext conftest.$ac_ext
19341 CFLAGS=$ac_wine_try_cflags_saved
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
19344 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
19345 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
19346 then :
19347 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
19350 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
19351 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
19352 then :
19353 printf %s "(cached) " >&6
19354 else $as_nop
19355 ac_wine_try_cflags_saved=$CFLAGS
19356 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19358 /* end confdefs.h. */
19359 int main(int argc, char **argv) { return 0; }
19360 _ACEOF
19361 if ac_fn_c_try_link "$LINENO"
19362 then :
19363 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19364 else $as_nop
19365 ac_cv_cflags__Werror_ignored_optimization_argument=no
19367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19368 conftest$ac_exeext conftest.$ac_ext
19369 CFLAGS=$ac_wine_try_cflags_saved
19371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19372 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19373 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19374 then :
19375 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19378 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19379 if test ${ac_cv_cflags__fcf_protection_none+y}
19380 then :
19381 printf %s "(cached) " >&6
19382 else $as_nop
19383 ac_wine_try_cflags_saved=$CFLAGS
19384 CFLAGS="$CFLAGS -fcf-protection=none"
19385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19386 /* end confdefs.h. */
19387 int main(int argc, char **argv) { return 0; }
19388 _ACEOF
19389 if ac_fn_c_try_link "$LINENO"
19390 then :
19391 ac_cv_cflags__fcf_protection_none=yes
19392 else $as_nop
19393 ac_cv_cflags__fcf_protection_none=no
19395 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19396 conftest$ac_exeext conftest.$ac_ext
19397 CFLAGS=$ac_wine_try_cflags_saved
19399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19400 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19401 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19402 then :
19403 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19406 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19407 if test ${ac_cv_cflags__fvisibility_hidden+y}
19408 then :
19409 printf %s "(cached) " >&6
19410 else $as_nop
19411 ac_wine_try_cflags_saved=$CFLAGS
19412 CFLAGS="$CFLAGS -fvisibility=hidden"
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 int main(int argc, char **argv) { return 0; }
19416 _ACEOF
19417 if ac_fn_c_try_link "$LINENO"
19418 then :
19419 ac_cv_cflags__fvisibility_hidden=yes
19420 else $as_nop
19421 ac_cv_cflags__fvisibility_hidden=no
19423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19424 conftest$ac_exeext conftest.$ac_ext
19425 CFLAGS=$ac_wine_try_cflags_saved
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19428 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19429 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19430 then :
19431 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19434 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19435 if test ${ac_cv_cflags__fno_stack_protector+y}
19436 then :
19437 printf %s "(cached) " >&6
19438 else $as_nop
19439 ac_wine_try_cflags_saved=$CFLAGS
19440 CFLAGS="$CFLAGS -fno-stack-protector"
19441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19443 int main(int argc, char **argv) { return 0; }
19444 _ACEOF
19445 if ac_fn_c_try_link "$LINENO"
19446 then :
19447 ac_cv_cflags__fno_stack_protector=yes
19448 else $as_nop
19449 ac_cv_cflags__fno_stack_protector=no
19451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19452 conftest$ac_exeext conftest.$ac_ext
19453 CFLAGS=$ac_wine_try_cflags_saved
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19456 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19457 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19458 then :
19459 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19462 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19463 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19464 then :
19465 printf %s "(cached) " >&6
19466 else $as_nop
19467 ac_wine_try_cflags_saved=$CFLAGS
19468 CFLAGS="$CFLAGS -fno-strict-aliasing"
19469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19471 int main(int argc, char **argv) { return 0; }
19472 _ACEOF
19473 if ac_fn_c_try_link "$LINENO"
19474 then :
19475 ac_cv_cflags__fno_strict_aliasing=yes
19476 else $as_nop
19477 ac_cv_cflags__fno_strict_aliasing=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19480 conftest$ac_exeext conftest.$ac_ext
19481 CFLAGS=$ac_wine_try_cflags_saved
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19484 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19485 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19486 then :
19487 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19490 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19491 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19492 then :
19493 printf %s "(cached) " >&6
19494 else $as_nop
19495 ac_wine_try_cflags_saved=$CFLAGS
19496 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19498 /* end confdefs.h. */
19499 int main(int argc, char **argv) { return 0; }
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"
19502 then :
19503 ac_cv_cflags__Wdeclaration_after_statement=yes
19504 else $as_nop
19505 ac_cv_cflags__Wdeclaration_after_statement=no
19507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19508 conftest$ac_exeext conftest.$ac_ext
19509 CFLAGS=$ac_wine_try_cflags_saved
19511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19512 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19513 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19514 then :
19515 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19518 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19519 if test ${ac_cv_cflags__Wempty_body+y}
19520 then :
19521 printf %s "(cached) " >&6
19522 else $as_nop
19523 ac_wine_try_cflags_saved=$CFLAGS
19524 CFLAGS="$CFLAGS -Wempty-body"
19525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19526 /* end confdefs.h. */
19527 int main(int argc, char **argv) { return 0; }
19528 _ACEOF
19529 if ac_fn_c_try_link "$LINENO"
19530 then :
19531 ac_cv_cflags__Wempty_body=yes
19532 else $as_nop
19533 ac_cv_cflags__Wempty_body=no
19535 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19536 conftest$ac_exeext conftest.$ac_ext
19537 CFLAGS=$ac_wine_try_cflags_saved
19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19540 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19541 if test "x$ac_cv_cflags__Wempty_body" = xyes
19542 then :
19543 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19546 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19547 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19548 then :
19549 printf %s "(cached) " >&6
19550 else $as_nop
19551 ac_wine_try_cflags_saved=$CFLAGS
19552 CFLAGS="$CFLAGS -Wignored-qualifiers"
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 int main(int argc, char **argv) { return 0; }
19556 _ACEOF
19557 if ac_fn_c_try_link "$LINENO"
19558 then :
19559 ac_cv_cflags__Wignored_qualifiers=yes
19560 else $as_nop
19561 ac_cv_cflags__Wignored_qualifiers=no
19563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19564 conftest$ac_exeext conftest.$ac_ext
19565 CFLAGS=$ac_wine_try_cflags_saved
19567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19568 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19569 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19570 then :
19571 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19574 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19575 if test ${ac_cv_cflags__Winit_self+y}
19576 then :
19577 printf %s "(cached) " >&6
19578 else $as_nop
19579 ac_wine_try_cflags_saved=$CFLAGS
19580 CFLAGS="$CFLAGS -Winit-self"
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583 int main(int argc, char **argv) { return 0; }
19584 _ACEOF
19585 if ac_fn_c_try_link "$LINENO"
19586 then :
19587 ac_cv_cflags__Winit_self=yes
19588 else $as_nop
19589 ac_cv_cflags__Winit_self=no
19591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19592 conftest$ac_exeext conftest.$ac_ext
19593 CFLAGS=$ac_wine_try_cflags_saved
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19596 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19597 if test "x$ac_cv_cflags__Winit_self" = xyes
19598 then :
19599 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19602 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19603 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19604 then :
19605 printf %s "(cached) " >&6
19606 else $as_nop
19607 ac_wine_try_cflags_saved=$CFLAGS
19608 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19611 int main(int argc, char **argv) { return 0; }
19612 _ACEOF
19613 if ac_fn_c_try_link "$LINENO"
19614 then :
19615 ac_cv_cflags__Wpacked_not_aligned=yes
19616 else $as_nop
19617 ac_cv_cflags__Wpacked_not_aligned=no
19619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19620 conftest$ac_exeext conftest.$ac_ext
19621 CFLAGS=$ac_wine_try_cflags_saved
19623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19624 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19625 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19626 then :
19627 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19630 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19631 if test ${ac_cv_cflags__Wpragma_pack+y}
19632 then :
19633 printf %s "(cached) " >&6
19634 else $as_nop
19635 ac_wine_try_cflags_saved=$CFLAGS
19636 CFLAGS="$CFLAGS -Wpragma-pack"
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h. */
19639 int main(int argc, char **argv) { return 0; }
19640 _ACEOF
19641 if ac_fn_c_try_link "$LINENO"
19642 then :
19643 ac_cv_cflags__Wpragma_pack=yes
19644 else $as_nop
19645 ac_cv_cflags__Wpragma_pack=no
19647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19648 conftest$ac_exeext conftest.$ac_ext
19649 CFLAGS=$ac_wine_try_cflags_saved
19651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19652 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19653 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19654 then :
19655 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19658 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19659 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19660 then :
19661 printf %s "(cached) " >&6
19662 else $as_nop
19663 ac_wine_try_cflags_saved=$CFLAGS
19664 CFLAGS="$CFLAGS -Wshift-overflow=2"
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19667 int main(int argc, char **argv) { return 0; }
19668 _ACEOF
19669 if ac_fn_c_try_link "$LINENO"
19670 then :
19671 ac_cv_cflags__Wshift_overflow_2=yes
19672 else $as_nop
19673 ac_cv_cflags__Wshift_overflow_2=no
19675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19676 conftest$ac_exeext conftest.$ac_ext
19677 CFLAGS=$ac_wine_try_cflags_saved
19679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19680 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19681 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19682 then :
19683 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19686 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19687 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19688 then :
19689 printf %s "(cached) " >&6
19690 else $as_nop
19691 ac_wine_try_cflags_saved=$CFLAGS
19692 CFLAGS="$CFLAGS -Wstrict-prototypes"
19693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19694 /* end confdefs.h. */
19695 int main(int argc, char **argv) { return 0; }
19696 _ACEOF
19697 if ac_fn_c_try_link "$LINENO"
19698 then :
19699 ac_cv_cflags__Wstrict_prototypes=yes
19700 else $as_nop
19701 ac_cv_cflags__Wstrict_prototypes=no
19703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19704 conftest$ac_exeext conftest.$ac_ext
19705 CFLAGS=$ac_wine_try_cflags_saved
19707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19708 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19709 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19710 then :
19711 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19714 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19715 if test ${ac_cv_cflags__Wtype_limits+y}
19716 then :
19717 printf %s "(cached) " >&6
19718 else $as_nop
19719 ac_wine_try_cflags_saved=$CFLAGS
19720 CFLAGS="$CFLAGS -Wtype-limits"
19721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19723 int main(int argc, char **argv) { return 0; }
19724 _ACEOF
19725 if ac_fn_c_try_link "$LINENO"
19726 then :
19727 ac_cv_cflags__Wtype_limits=yes
19728 else $as_nop
19729 ac_cv_cflags__Wtype_limits=no
19731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19732 conftest$ac_exeext conftest.$ac_ext
19733 CFLAGS=$ac_wine_try_cflags_saved
19735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19736 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19737 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19738 then :
19739 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19742 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19743 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19744 then :
19745 printf %s "(cached) " >&6
19746 else $as_nop
19747 ac_wine_try_cflags_saved=$CFLAGS
19748 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 int main(int argc, char **argv) { return 0; }
19752 _ACEOF
19753 if ac_fn_c_try_link "$LINENO"
19754 then :
19755 ac_cv_cflags__Wunused_but_set_parameter=yes
19756 else $as_nop
19757 ac_cv_cflags__Wunused_but_set_parameter=no
19759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19760 conftest$ac_exeext conftest.$ac_ext
19761 CFLAGS=$ac_wine_try_cflags_saved
19763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19764 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19765 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19766 then :
19767 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19770 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19771 if test ${ac_cv_cflags__Wvla+y}
19772 then :
19773 printf %s "(cached) " >&6
19774 else $as_nop
19775 ac_wine_try_cflags_saved=$CFLAGS
19776 CFLAGS="$CFLAGS -Wvla"
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 int main(int argc, char **argv) { return 0; }
19780 _ACEOF
19781 if ac_fn_c_try_link "$LINENO"
19782 then :
19783 ac_cv_cflags__Wvla=yes
19784 else $as_nop
19785 ac_cv_cflags__Wvla=no
19787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19788 conftest$ac_exeext conftest.$ac_ext
19789 CFLAGS=$ac_wine_try_cflags_saved
19791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19792 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19793 if test "x$ac_cv_cflags__Wvla" = xyes
19794 then :
19795 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19798 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19799 if test ${ac_cv_cflags__Wwrite_strings+y}
19800 then :
19801 printf %s "(cached) " >&6
19802 else $as_nop
19803 ac_wine_try_cflags_saved=$CFLAGS
19804 CFLAGS="$CFLAGS -Wwrite-strings"
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 int main(int argc, char **argv) { return 0; }
19808 _ACEOF
19809 if ac_fn_c_try_link "$LINENO"
19810 then :
19811 ac_cv_cflags__Wwrite_strings=yes
19812 else $as_nop
19813 ac_cv_cflags__Wwrite_strings=no
19815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19816 conftest$ac_exeext conftest.$ac_ext
19817 CFLAGS=$ac_wine_try_cflags_saved
19819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19820 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19821 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19822 then :
19823 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -flarge-source-files -Wmisleading-indentation" >&5
19827 printf %s "checking whether the compiler supports -flarge-source-files -Wmisleading-indentation... " >&6; }
19828 if test ${ac_cv_cflags__flarge_source_files__Wmisleading_indentation+y}
19829 then :
19830 printf %s "(cached) " >&6
19831 else $as_nop
19832 ac_wine_try_cflags_saved=$CFLAGS
19833 CFLAGS="$CFLAGS -flarge-source-files -Wmisleading-indentation"
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 int main(int argc, char **argv) { return 0; }
19837 _ACEOF
19838 if ac_fn_c_try_link "$LINENO"
19839 then :
19840 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=yes
19841 else $as_nop
19842 ac_cv_cflags__flarge_source_files__Wmisleading_indentation=no
19844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19845 conftest$ac_exeext conftest.$ac_ext
19846 CFLAGS=$ac_wine_try_cflags_saved
19848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&5
19849 printf "%s\n" "$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" >&6; }
19850 if test "x$ac_cv_cflags__flarge_source_files__Wmisleading_indentation" = xyes
19851 then :
19852 EXTRACFLAGS="$EXTRACFLAGS -Wno-misleading-indentation"
19855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19856 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19857 if test ${ac_cv_cflags__Wpointer_arith+y}
19858 then :
19859 printf %s "(cached) " >&6
19860 else $as_nop
19861 ac_wine_try_cflags_saved=$CFLAGS
19862 CFLAGS="$CFLAGS -Wpointer-arith"
19863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19864 /* end confdefs.h. */
19865 int main(int argc, char **argv) { return 0; }
19866 _ACEOF
19867 if ac_fn_c_try_link "$LINENO"
19868 then :
19869 ac_cv_cflags__Wpointer_arith=yes
19870 else $as_nop
19871 ac_cv_cflags__Wpointer_arith=no
19873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19874 conftest$ac_exeext conftest.$ac_ext
19875 CFLAGS=$ac_wine_try_cflags_saved
19877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19878 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19879 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19880 then :
19881 saved_string_h_CFLAGS=$CFLAGS
19882 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19884 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19885 if test ${ac_cv_c_string_h_warnings+y}
19886 then :
19887 printf %s "(cached) " >&6
19888 else $as_nop
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 #include <string.h>
19893 main (void)
19897 return 0;
19899 _ACEOF
19900 if ac_fn_c_try_compile "$LINENO"
19901 then :
19902 ac_cv_c_string_h_warnings=no
19903 else $as_nop
19904 ac_cv_c_string_h_warnings=yes
19906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19909 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19910 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19911 CFLAGS=$saved_string_h_CFLAGS
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19915 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19916 if test ${ac_cv_cflags__Wlogical_op+y}
19917 then :
19918 printf %s "(cached) " >&6
19919 else $as_nop
19920 ac_wine_try_cflags_saved=$CFLAGS
19921 CFLAGS="$CFLAGS -Wlogical-op"
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 int main(int argc, char **argv) { return 0; }
19925 _ACEOF
19926 if ac_fn_c_try_link "$LINENO"
19927 then :
19928 ac_cv_cflags__Wlogical_op=yes
19929 else $as_nop
19930 ac_cv_cflags__Wlogical_op=no
19932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19933 conftest$ac_exeext conftest.$ac_ext
19934 CFLAGS=$ac_wine_try_cflags_saved
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19937 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19938 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19939 then :
19940 saved_string_h_CFLAGS=$CFLAGS
19941 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19943 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19944 if test ${ac_cv_c_logicalop_noisy+y}
19945 then :
19946 printf %s "(cached) " >&6
19947 else $as_nop
19948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19949 /* end confdefs.h. */
19950 #include <string.h>
19951 char*f(const char *h,char n) {return strchr(h,n);}
19953 main (void)
19957 return 0;
19959 _ACEOF
19960 if ac_fn_c_try_compile "$LINENO"
19961 then :
19962 ac_cv_c_logicalop_noisy=no
19963 else $as_nop
19964 ac_cv_c_logicalop_noisy=yes
19966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19969 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19970 CFLAGS=$saved_string_h_CFLAGS
19971 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19975 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19976 if test ${wine_cv_64bit_compare_swap+y}
19977 then :
19978 printf %s "(cached) " >&6
19979 else $as_nop
19980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19981 /* end confdefs.h. */
19982 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19983 #error no
19984 #endif
19986 main (void)
19990 return 0;
19992 _ACEOF
19993 if ac_fn_c_try_compile "$LINENO"
19994 then :
19995 wine_cv_64bit_compare_swap="none needed"
19996 else $as_nop
19997 case $HOST_ARCH in
19998 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19999 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
20000 *) wine_cv_64bit_compare_swap="unknown" ;;
20001 esac
20002 if test "x$wine_cv_64bit_compare_swap" != xunknown
20003 then
20004 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
20005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20006 /* end confdefs.h. */
20007 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
20008 #error no
20009 #endif
20011 main (void)
20015 return 0;
20017 _ACEOF
20018 if ac_fn_c_try_compile "$LINENO"
20019 then :
20021 else $as_nop
20022 wine_cv_64bit_compare_swap="unknown"
20024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20025 CFLAGS=$saved_CFLAGS
20028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
20031 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
20032 case "$wine_cv_64bit_compare_swap" in
20033 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
20034 "none needed") ;;
20035 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
20036 esac
20038 ac_debug_format_seen=""
20039 for ac_flag in $CFLAGS; do
20040 case $ac_flag in
20041 -gdwarf*) ac_debug_format_seen=yes ;;
20042 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
20043 esac
20044 done
20045 if test "x$ac_debug_format_seen" = xdefault
20046 then
20047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
20048 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
20049 if test ${ac_cv_cflags__gdwarf_4+y}
20050 then :
20051 printf %s "(cached) " >&6
20052 else $as_nop
20053 ac_wine_try_cflags_saved=$CFLAGS
20054 CFLAGS="$CFLAGS -gdwarf-4"
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 int main(int argc, char **argv) { return 0; }
20058 _ACEOF
20059 if ac_fn_c_try_link "$LINENO"
20060 then :
20061 ac_cv_cflags__gdwarf_4=yes
20062 else $as_nop
20063 ac_cv_cflags__gdwarf_4=no
20065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20066 conftest$ac_exeext conftest.$ac_ext
20067 CFLAGS=$ac_wine_try_cflags_saved
20069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
20070 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
20071 if test "x$ac_cv_cflags__gdwarf_4" = xyes
20072 then :
20073 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
20077 MSVCRTFLAGS=""
20079 case $host_os in
20080 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
20081 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
20082 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
20083 then :
20084 printf %s "(cached) " >&6
20085 else $as_nop
20086 ac_wine_try_cflags_saved=$CFLAGS
20087 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
20088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20089 /* end confdefs.h. */
20090 int main(int argc, char **argv) { return 0; }
20091 _ACEOF
20092 if ac_fn_c_try_link "$LINENO"
20093 then :
20094 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
20095 else $as_nop
20096 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
20098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20099 conftest$ac_exeext conftest.$ac_ext
20100 CFLAGS=$ac_wine_try_cflags_saved
20102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
20103 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
20104 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
20105 then :
20106 DELAYLOADFLAG="-Wl,-delayload,"
20108 fi ;;
20109 *) MSVCRTFLAGS="-D_WIN32"
20110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
20111 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
20112 if test ${ac_cv_cflags__fno_builtin+y}
20113 then :
20114 printf %s "(cached) " >&6
20115 else $as_nop
20116 ac_wine_try_cflags_saved=$CFLAGS
20117 CFLAGS="$CFLAGS -fno-builtin"
20118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20120 int main(int argc, char **argv) { return 0; }
20121 _ACEOF
20122 if ac_fn_c_try_link "$LINENO"
20123 then :
20124 ac_cv_cflags__fno_builtin=yes
20125 else $as_nop
20126 ac_cv_cflags__fno_builtin=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20129 conftest$ac_exeext conftest.$ac_ext
20130 CFLAGS=$ac_wine_try_cflags_saved
20132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
20133 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
20134 if test "x$ac_cv_cflags__fno_builtin" = xyes
20135 then :
20136 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
20139 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
20140 if test ${ac_cv_cflags__fshort_wchar+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 ac_wine_try_cflags_saved=$CFLAGS
20145 CFLAGS="$CFLAGS -fshort-wchar"
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 int main(int argc, char **argv) { return 0; }
20149 _ACEOF
20150 if ac_fn_c_try_link "$LINENO"
20151 then :
20152 ac_cv_cflags__fshort_wchar=yes
20153 else $as_nop
20154 ac_cv_cflags__fshort_wchar=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20157 conftest$ac_exeext conftest.$ac_ext
20158 CFLAGS=$ac_wine_try_cflags_saved
20160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
20161 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
20162 if test "x$ac_cv_cflags__fshort_wchar" = xyes
20163 then :
20164 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
20166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20167 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20168 if test ${ac_cv_cflags__Wno_format+y}
20169 then :
20170 printf %s "(cached) " >&6
20171 else $as_nop
20172 ac_wine_try_cflags_saved=$CFLAGS
20173 CFLAGS="$CFLAGS -Wno-format"
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 int main(int argc, char **argv) { return 0; }
20177 _ACEOF
20178 if ac_fn_c_try_link "$LINENO"
20179 then :
20180 ac_cv_cflags__Wno_format=yes
20181 else $as_nop
20182 ac_cv_cflags__Wno_format=no
20184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20185 conftest$ac_exeext conftest.$ac_ext
20186 CFLAGS=$ac_wine_try_cflags_saved
20188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20189 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20190 if test "x$ac_cv_cflags__Wno_format" = xyes
20191 then :
20192 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
20193 fi ;;
20194 esac
20196 case $HOST_ARCH in
20197 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
20198 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
20199 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
20200 then :
20201 printf %s "(cached) " >&6
20202 else $as_nop
20203 ac_wine_try_cflags_saved=$CFLAGS
20204 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
20205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20207 int main(int argc, char **argv) { return 0; }
20208 _ACEOF
20209 if ac_fn_c_try_link "$LINENO"
20210 then :
20211 ac_cv_cflags__fno_omit_frame_pointer=yes
20212 else $as_nop
20213 ac_cv_cflags__fno_omit_frame_pointer=no
20215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20216 conftest$ac_exeext conftest.$ac_ext
20217 CFLAGS=$ac_wine_try_cflags_saved
20219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
20220 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
20221 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
20222 then :
20223 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
20224 fi ;;
20225 x86_64)
20226 case $host_os in
20227 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
20228 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
20229 if test ${ac_cv_cflags__Wno_format+y}
20230 then :
20231 printf %s "(cached) " >&6
20232 else $as_nop
20233 ac_wine_try_cflags_saved=$CFLAGS
20234 CFLAGS="$CFLAGS -Wno-format"
20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 int main(int argc, char **argv) { return 0; }
20238 _ACEOF
20239 if ac_fn_c_try_link "$LINENO"
20240 then :
20241 ac_cv_cflags__Wno_format=yes
20242 else $as_nop
20243 ac_cv_cflags__Wno_format=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20246 conftest$ac_exeext conftest.$ac_ext
20247 CFLAGS=$ac_wine_try_cflags_saved
20249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
20250 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
20251 if test "x$ac_cv_cflags__Wno_format" = xyes
20252 then :
20253 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
20254 fi ;;
20255 *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
20256 printf %s "checking for working -mabi=ms... " >&6; }
20257 if test ${ac_cv_mabi_ms+y}
20258 then :
20259 printf %s "(cached) " >&6
20260 else $as_nop
20261 CFLAGS="$CFLAGS -mabi=ms"
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <stdarg.h>
20265 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
20267 main (void)
20271 return 0;
20273 _ACEOF
20274 if ac_fn_c_try_compile "$LINENO"
20275 then :
20276 ac_cv_mabi_ms=yes
20277 else $as_nop
20278 ac_cv_mabi_ms=no
20280 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20281 CFLAGS=$saved_CFLAGS
20283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
20284 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
20285 if test "x$ac_cv_mabi_ms" = xyes
20286 then :
20287 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
20288 else $as_nop
20289 test -n "$PE_ARCHS" || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
20290 DLLEXT=""
20291 fi ;;
20292 esac ;;
20293 arm)
20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
20295 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
20296 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
20297 then :
20298 printf %s "(cached) " >&6
20299 else $as_nop
20300 ac_wine_try_cflags_saved=$CFLAGS
20301 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
20302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20303 /* end confdefs.h. */
20304 int main(int argc, char **argv) { return 0; }
20305 _ACEOF
20306 if ac_fn_c_try_link "$LINENO"
20307 then :
20308 ac_cv_cflags__Wincompatible_function_pointer_types=yes
20309 else $as_nop
20310 ac_cv_cflags__Wincompatible_function_pointer_types=no
20312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20313 conftest$ac_exeext conftest.$ac_ext
20314 CFLAGS=$ac_wine_try_cflags_saved
20316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
20317 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
20318 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
20319 then :
20320 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
20321 fi ;;
20322 esac
20324 CFLAGS=$saved_CFLAGS
20326 if test "x$enable_werror" = "xyes"
20327 then
20328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
20329 printf %s "checking whether the compiler supports -Werror... " >&6; }
20330 if test ${ac_cv_cflags__Werror+y}
20331 then :
20332 printf %s "(cached) " >&6
20333 else $as_nop
20334 ac_wine_try_cflags_saved=$CFLAGS
20335 CFLAGS="$CFLAGS -Werror"
20336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 int main(int argc, char **argv) { return 0; }
20339 _ACEOF
20340 if ac_fn_c_try_link "$LINENO"
20341 then :
20342 ac_cv_cflags__Werror=yes
20343 else $as_nop
20344 ac_cv_cflags__Werror=no
20346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20347 conftest$ac_exeext conftest.$ac_ext
20348 CFLAGS=$ac_wine_try_cflags_saved
20350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
20351 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
20352 if test "x$ac_cv_cflags__Werror" = xyes
20353 then :
20354 EXTRACFLAGS="$EXTRACFLAGS -Werror"
20357 if test "x$enable_build_id" = "xyes"
20358 then
20359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
20360 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
20361 if test ${ac_cv_cflags__Wl___build_id+y}
20362 then :
20363 printf %s "(cached) " >&6
20364 else $as_nop
20365 ac_wine_try_cflags_saved=$CFLAGS
20366 CFLAGS="$CFLAGS -Wl,--build-id"
20367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20368 /* end confdefs.h. */
20369 int main(int argc, char **argv) { return 0; }
20370 _ACEOF
20371 if ac_fn_c_try_link "$LINENO"
20372 then :
20373 ac_cv_cflags__Wl___build_id=yes
20374 else $as_nop
20375 ac_cv_cflags__Wl___build_id=no
20377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20378 conftest$ac_exeext conftest.$ac_ext
20379 CFLAGS=$ac_wine_try_cflags_saved
20381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
20382 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
20383 if test "x$ac_cv_cflags__Wl___build_id" = xyes
20384 then :
20385 CFLAGS="$CFLAGS -Wl,--build-id"
20386 LDFLAGS="$LDFLAGS -Wl,--build-id"
20392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
20393 printf %s "checking for the need to disable Fortify... " >&6; }
20394 if test ${ac_cv_c_fortify_enabled+y}
20395 then :
20396 printf %s "(cached) " >&6
20397 else $as_nop
20398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20399 /* end confdefs.h. */
20400 #include <string.h>
20402 main (void)
20404 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20405 #error Fortify enabled
20406 #endif
20408 return 0;
20410 _ACEOF
20411 if ac_fn_c_try_compile "$LINENO"
20412 then :
20413 ac_cv_c_fortify_enabled=no
20414 else $as_nop
20415 ac_cv_c_fortify_enabled=yes
20417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20420 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20421 if test "$ac_cv_c_fortify_enabled" = yes
20422 then
20423 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20428 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20429 if test ${ac_cv_c_cfi_support+y}
20430 then :
20431 printf %s "(cached) " >&6
20432 else $as_nop
20433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20434 /* end confdefs.h. */
20435 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20437 main (void)
20441 return 0;
20443 _ACEOF
20444 if ac_fn_c_try_compile "$LINENO"
20445 then :
20446 ac_cv_c_cfi_support="yes"
20447 else $as_nop
20448 ac_cv_c_cfi_support="no"
20450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20453 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20454 if test "$ac_cv_c_cfi_support" = "yes"
20455 then
20456 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20457 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20458 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20459 elif test $HOST_ARCH = x86_64
20460 then
20461 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20465 case "$HOST_ARCH,$PE_ARCHS" in
20466 x86_64,*i386*) wine_binary="wine" ;;
20467 x86_64,*) wine_binary="wine64" ;;
20468 *) wine_binary="wine" ;;
20469 esac
20470 WINELOADER_PROGRAMS="$wine_binary"
20473 case $host_os in
20474 linux*)
20475 if test $HOST_ARCH != unknown
20476 then
20477 wine_use_preloader=yes
20480 esac
20482 if test "$wine_use_preloader" = "yes"
20483 then
20484 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20485 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20487 printf "%s\n" "#define HAVE_WINE_PRELOADER 1" >>confdefs.h
20492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20493 printf %s "checking for library containing dlopen... " >&6; }
20494 if test ${ac_cv_search_dlopen+y}
20495 then :
20496 printf %s "(cached) " >&6
20497 else $as_nop
20498 ac_func_search_save_LIBS=$LIBS
20499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20500 /* end confdefs.h. */
20502 /* Override any GCC internal prototype to avoid an error.
20503 Use char because int might match the return type of a GCC
20504 builtin and then its argument prototype would still apply. */
20505 char dlopen ();
20507 main (void)
20509 return dlopen ();
20511 return 0;
20513 _ACEOF
20514 for ac_lib in '' dl
20516 if test -z "$ac_lib"; then
20517 ac_res="none required"
20518 else
20519 ac_res=-l$ac_lib
20520 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20522 if ac_fn_c_try_link "$LINENO"
20523 then :
20524 ac_cv_search_dlopen=$ac_res
20526 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20527 conftest$ac_exeext
20528 if test ${ac_cv_search_dlopen+y}
20529 then :
20530 break
20532 done
20533 if test ${ac_cv_search_dlopen+y}
20534 then :
20536 else $as_nop
20537 ac_cv_search_dlopen=no
20539 rm conftest.$ac_ext
20540 LIBS=$ac_func_search_save_LIBS
20542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20543 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20544 ac_res=$ac_cv_search_dlopen
20545 if test "$ac_res" != no
20546 then :
20547 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20553 printf %s "checking for library containing gethostbyname... " >&6; }
20554 if test ${ac_cv_search_gethostbyname+y}
20555 then :
20556 printf %s "(cached) " >&6
20557 else $as_nop
20558 ac_func_search_save_LIBS=$LIBS
20559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20562 /* Override any GCC internal prototype to avoid an error.
20563 Use char because int might match the return type of a GCC
20564 builtin and then its argument prototype would still apply. */
20565 char gethostbyname ();
20567 main (void)
20569 return gethostbyname ();
20571 return 0;
20573 _ACEOF
20574 for ac_lib in '' nsl
20576 if test -z "$ac_lib"; then
20577 ac_res="none required"
20578 else
20579 ac_res=-l$ac_lib
20580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20582 if ac_fn_c_try_link "$LINENO"
20583 then :
20584 ac_cv_search_gethostbyname=$ac_res
20586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20587 conftest$ac_exeext
20588 if test ${ac_cv_search_gethostbyname+y}
20589 then :
20590 break
20592 done
20593 if test ${ac_cv_search_gethostbyname+y}
20594 then :
20596 else $as_nop
20597 ac_cv_search_gethostbyname=no
20599 rm conftest.$ac_ext
20600 LIBS=$ac_func_search_save_LIBS
20602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20603 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20604 ac_res=$ac_cv_search_gethostbyname
20605 if test "$ac_res" != no
20606 then :
20607 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20613 printf %s "checking for library containing connect... " >&6; }
20614 if test ${ac_cv_search_connect+y}
20615 then :
20616 printf %s "(cached) " >&6
20617 else $as_nop
20618 ac_func_search_save_LIBS=$LIBS
20619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20620 /* end confdefs.h. */
20622 /* Override any GCC internal prototype to avoid an error.
20623 Use char because int might match the return type of a GCC
20624 builtin and then its argument prototype would still apply. */
20625 char connect ();
20627 main (void)
20629 return connect ();
20631 return 0;
20633 _ACEOF
20634 for ac_lib in '' socket
20636 if test -z "$ac_lib"; then
20637 ac_res="none required"
20638 else
20639 ac_res=-l$ac_lib
20640 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20642 if ac_fn_c_try_link "$LINENO"
20643 then :
20644 ac_cv_search_connect=$ac_res
20646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20647 conftest$ac_exeext
20648 if test ${ac_cv_search_connect+y}
20649 then :
20650 break
20652 done
20653 if test ${ac_cv_search_connect+y}
20654 then :
20656 else $as_nop
20657 ac_cv_search_connect=no
20659 rm conftest.$ac_ext
20660 LIBS=$ac_func_search_save_LIBS
20662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20663 printf "%s\n" "$ac_cv_search_connect" >&6; }
20664 ac_res=$ac_cv_search_connect
20665 if test "$ac_res" != no
20666 then :
20667 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20673 printf %s "checking for library containing inet_aton... " >&6; }
20674 if test ${ac_cv_search_inet_aton+y}
20675 then :
20676 printf %s "(cached) " >&6
20677 else $as_nop
20678 ac_func_search_save_LIBS=$LIBS
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20682 /* Override any GCC internal prototype to avoid an error.
20683 Use char because int might match the return type of a GCC
20684 builtin and then its argument prototype would still apply. */
20685 char inet_aton ();
20687 main (void)
20689 return inet_aton ();
20691 return 0;
20693 _ACEOF
20694 for ac_lib in '' resolv
20696 if test -z "$ac_lib"; then
20697 ac_res="none required"
20698 else
20699 ac_res=-l$ac_lib
20700 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20702 if ac_fn_c_try_link "$LINENO"
20703 then :
20704 ac_cv_search_inet_aton=$ac_res
20706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20707 conftest$ac_exeext
20708 if test ${ac_cv_search_inet_aton+y}
20709 then :
20710 break
20712 done
20713 if test ${ac_cv_search_inet_aton+y}
20714 then :
20716 else $as_nop
20717 ac_cv_search_inet_aton=no
20719 rm conftest.$ac_ext
20720 LIBS=$ac_func_search_save_LIBS
20722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20723 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20724 ac_res=$ac_cv_search_inet_aton
20725 if test "$ac_res" != no
20726 then :
20727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20732 ac_save_CFLAGS="$CFLAGS"
20733 CFLAGS="$CFLAGS $BUILTINFLAG"
20734 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20735 if test "x$ac_cv_func_dladdr1" = xyes
20736 then :
20737 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20740 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20741 if test "x$ac_cv_func_dlinfo" = xyes
20742 then :
20743 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20746 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20747 if test "x$ac_cv_func_epoll_create" = xyes
20748 then :
20749 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20752 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20753 if test "x$ac_cv_func_fstatfs" = xyes
20754 then :
20755 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20758 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20759 if test "x$ac_cv_func_futimens" = xyes
20760 then :
20761 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20764 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20765 if test "x$ac_cv_func_futimes" = xyes
20766 then :
20767 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20770 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20771 if test "x$ac_cv_func_futimesat" = xyes
20772 then :
20773 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20776 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20777 if test "x$ac_cv_func_getaddrinfo" = xyes
20778 then :
20779 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20782 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20783 if test "x$ac_cv_func_getattrlist" = xyes
20784 then :
20785 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20788 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20789 if test "x$ac_cv_func_getauxval" = xyes
20790 then :
20791 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20794 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20795 if test "x$ac_cv_func_getifaddrs" = xyes
20796 then :
20797 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20800 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20801 if test "x$ac_cv_func_getrandom" = xyes
20802 then :
20803 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20806 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20807 if test "x$ac_cv_func_kqueue" = xyes
20808 then :
20809 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20812 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20813 if test "x$ac_cv_func_mach_continuous_time" = xyes
20814 then :
20815 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20818 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20819 if test "x$ac_cv_func_pipe2" = xyes
20820 then :
20821 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20824 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20825 if test "x$ac_cv_func_port_create" = xyes
20826 then :
20827 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20830 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20831 if test "x$ac_cv_func_posix_fadvise" = xyes
20832 then :
20833 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20836 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20837 if test "x$ac_cv_func_posix_fallocate" = xyes
20838 then :
20839 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20842 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20843 if test "x$ac_cv_func_prctl" = xyes
20844 then :
20845 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20848 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20849 if test "x$ac_cv_func_proc_pidinfo" = xyes
20850 then :
20851 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20854 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20855 if test "x$ac_cv_func_sched_yield" = xyes
20856 then :
20857 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20860 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20861 if test "x$ac_cv_func_setproctitle" = xyes
20862 then :
20863 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20866 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20867 if test "x$ac_cv_func_setprogname" = xyes
20868 then :
20869 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20872 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20873 if test "x$ac_cv_func_sigprocmask" = xyes
20874 then :
20875 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20878 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20879 if test "x$ac_cv_func_sysinfo" = xyes
20880 then :
20881 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20884 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20885 if test "x$ac_cv_func_tcdrain" = xyes
20886 then :
20887 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20890 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20891 if test "x$ac_cv_func_thr_kill2" = xyes
20892 then :
20893 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20897 CFLAGS="$ac_save_CFLAGS"
20899 case $host_os in
20900 darwin*|macosx*) ;;
20901 *) ac_save_LIBS=$LIBS
20902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20903 printf %s "checking for library containing clock_gettime... " >&6; }
20904 if test ${ac_cv_search_clock_gettime+y}
20905 then :
20906 printf %s "(cached) " >&6
20907 else $as_nop
20908 ac_func_search_save_LIBS=$LIBS
20909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20912 /* Override any GCC internal prototype to avoid an error.
20913 Use char because int might match the return type of a GCC
20914 builtin and then its argument prototype would still apply. */
20915 char clock_gettime ();
20917 main (void)
20919 return clock_gettime ();
20921 return 0;
20923 _ACEOF
20924 for ac_lib in '' rt
20926 if test -z "$ac_lib"; then
20927 ac_res="none required"
20928 else
20929 ac_res=-l$ac_lib
20930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20932 if ac_fn_c_try_link "$LINENO"
20933 then :
20934 ac_cv_search_clock_gettime=$ac_res
20936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20937 conftest$ac_exeext
20938 if test ${ac_cv_search_clock_gettime+y}
20939 then :
20940 break
20942 done
20943 if test ${ac_cv_search_clock_gettime+y}
20944 then :
20946 else $as_nop
20947 ac_cv_search_clock_gettime=no
20949 rm conftest.$ac_ext
20950 LIBS=$ac_func_search_save_LIBS
20952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20953 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20954 ac_res=$ac_cv_search_clock_gettime
20955 if test "$ac_res" != no
20956 then :
20957 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20959 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20961 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20965 LIBS=$ac_save_LIBS
20967 esac
20969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20970 printf %s "checking for sched_setaffinity... " >&6; }
20971 if test ${wine_cv_have_sched_setaffinity+y}
20972 then :
20973 printf %s "(cached) " >&6
20974 else $as_nop
20975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20976 /* end confdefs.h. */
20977 #include <sched.h>
20979 main (void)
20981 sched_setaffinity(0, 0, 0);
20983 return 0;
20985 _ACEOF
20986 if ac_fn_c_try_link "$LINENO"
20987 then :
20988 wine_cv_have_sched_setaffinity=yes
20989 else $as_nop
20990 wine_cv_have_sched_setaffinity=no
20992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20993 conftest$ac_exeext conftest.$ac_ext
20995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20996 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20997 if test "$wine_cv_have_sched_setaffinity" = "yes"
20998 then
21000 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
21005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
21006 printf %s "checking for inline... " >&6; }
21007 if test ${ac_cv_c_inline+y}
21008 then :
21009 printf %s "(cached) " >&6
21010 else $as_nop
21011 ac_cv_c_inline=no
21012 for ac_kw in inline __inline__ __inline; do
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h. */
21015 #ifndef __cplusplus
21016 typedef int foo_t;
21017 static $ac_kw foo_t static_foo (void) {return 0; }
21018 $ac_kw foo_t foo (void) {return 0; }
21019 #endif
21021 _ACEOF
21022 if ac_fn_c_try_compile "$LINENO"
21023 then :
21024 ac_cv_c_inline=$ac_kw
21026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
21027 test "$ac_cv_c_inline" != no && break
21028 done
21031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
21032 printf "%s\n" "$ac_cv_c_inline" >&6; }
21034 case $ac_cv_c_inline in
21035 inline | yes) ;;
21037 case $ac_cv_c_inline in
21038 no) ac_val=;;
21039 *) ac_val=$ac_cv_c_inline;;
21040 esac
21041 cat >>confdefs.h <<_ACEOF
21042 #ifndef __cplusplus
21043 #define inline $ac_val
21044 #endif
21045 _ACEOF
21047 esac
21049 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
21051 if test "x$ac_cv_type_request_sense" = xyes
21052 then :
21054 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
21060 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
21061 #include <sys/socket.h>
21062 #ifdef HAVE_SYS_SOCKETVAR_H
21063 #include <sys/socketvar.h>
21064 #endif
21065 #ifdef HAVE_NET_ROUTE_H
21066 #include <net/route.h>
21067 #endif
21068 #ifdef HAVE_NETINET_IN_H
21069 #include <netinet/in.h>
21070 #endif
21071 #ifdef HAVE_NETINET_IN_SYSTM_H
21072 #include <netinet/in_systm.h>
21073 #endif
21074 #ifdef HAVE_NETINET_IP_H
21075 #include <netinet/ip.h>
21076 #endif
21077 #ifdef HAVE_NETINET_IN_PCB_H
21078 #include <netinet/in_pcb.h>
21079 #endif
21081 if test "x$ac_cv_type_struct_xinpgen" = xyes
21082 then :
21084 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
21090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
21091 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
21092 if test ${wine_cv_linux_gethostbyname_r_6+y}
21093 then :
21094 printf %s "(cached) " >&6
21095 else $as_nop
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098 #include <netdb.h>
21100 main (void)
21103 char *name=0;
21104 struct hostent he;
21105 struct hostent *result;
21106 char *buf=0;
21107 int bufsize=0;
21108 int errnr;
21109 char *addr=0;
21110 int addrlen=0;
21111 int addrtype=0;
21112 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
21113 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
21116 return 0;
21118 _ACEOF
21119 if ac_fn_c_try_link "$LINENO"
21120 then :
21121 wine_cv_linux_gethostbyname_r_6=yes
21122 else $as_nop
21123 wine_cv_linux_gethostbyname_r_6=no
21126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21127 conftest$ac_exeext conftest.$ac_ext
21130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
21131 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
21132 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
21133 then
21135 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
21139 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
21140 #include <sys/socket.h>
21141 #ifdef HAVE_SYS_UN_H
21142 # include <sys/un.h>
21143 #endif
21145 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
21146 then :
21148 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
21154 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
21155 #ifdef HAVE_SCSI_SG_H
21156 #include <scsi/sg.h>
21157 #endif
21159 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
21160 then :
21162 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
21166 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>
21167 #ifdef HAVE_SCSI_SG_H
21168 #include <scsi/sg.h>
21169 #endif
21171 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
21172 then :
21174 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
21180 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
21182 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
21183 then :
21185 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
21191 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
21192 #ifdef HAVE_SYS_MTIO_H
21193 #include <sys/mtio.h>
21194 #endif
21196 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
21197 then :
21199 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
21203 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
21204 #ifdef HAVE_SYS_MTIO_H
21205 #include <sys/mtio.h>
21206 #endif
21208 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
21209 then :
21211 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
21215 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
21216 #ifdef HAVE_SYS_MTIO_H
21217 #include <sys/mtio.h>
21218 #endif
21220 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
21221 then :
21223 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
21229 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
21230 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
21231 then :
21233 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
21237 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
21238 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
21239 then :
21241 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
21245 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
21246 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
21247 then :
21249 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
21253 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
21254 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
21255 then :
21257 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
21261 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
21262 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
21263 then :
21265 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
21269 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
21270 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
21271 then :
21273 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
21277 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
21278 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
21279 then :
21281 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
21285 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
21286 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
21287 then :
21289 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
21293 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
21294 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
21295 then :
21297 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
21301 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
21302 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
21303 then :
21305 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
21309 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
21310 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
21311 then :
21313 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
21319 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>
21320 #ifdef HAVE_NETINET_IN_H
21321 #include <netinet/in.h>
21322 #endif
21324 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
21325 then :
21327 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
21333 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
21334 #include <resolv.h>
21335 #endif
21337 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
21338 then :
21340 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
21346 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
21347 #include <netinet/in.h>
21348 #endif
21350 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
21351 then :
21353 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
21359 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
21360 #ifdef HAVE_SYS_SOCKETVAR_H
21361 #include <sys/socketvar.h>
21362 #endif
21363 #ifdef HAVE_NETINET_IN_H
21364 #include <netinet/in.h>
21365 #endif
21366 #ifdef HAVE_NETINET_IP_VAR_H
21367 #include <netinet/ip_var.h>
21368 #endif
21370 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
21371 then :
21373 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
21379 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
21380 #include <netinet/ip_var.h>
21381 #endif
21383 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21384 then :
21386 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21392 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21393 #ifdef HAVE_SYS_SOCKETVAR_H
21394 #include <sys/socketvar.h>
21395 #endif
21396 #ifdef HAVE_NETINET_IN_H
21397 #include <netinet/in.h>
21398 #endif
21399 #ifdef HAVE_NETINET6_IP6_VAR_H
21400 #include <netinet6/ip6_var.h>
21401 #endif
21403 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21404 then :
21406 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21412 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21413 #ifdef HAVE_SYS_SOCKETVAR_H
21414 #include <sys/socketvar.h>
21415 #endif
21416 #ifdef HAVE_NETINET_IN_H
21417 #include <netinet/in.h>
21418 #endif
21419 #ifdef HAVE_NETINET_IP_H
21420 #include <netinet/ip.h>
21421 #endif
21422 #ifdef HAVE_NETINET_IP_ICMP_H
21423 #include <netinet/ip_icmp.h>
21424 #endif
21425 #ifdef HAVE_NETINET_ICMP_VAR_H
21426 #include <netinet/icmp_var.h>
21427 #endif
21429 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21430 then :
21432 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21438 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21439 #ifdef HAVE_SYS_SOCKETVAR_H
21440 #include <sys/socketvar.h>
21441 #endif
21442 #ifdef HAVE_NETINET_IN_H
21443 #include <netinet/in.h>
21444 #endif
21445 #ifdef HAVE_NETINET_ICMP6_H
21446 #include <netinet/icmp6.h>
21447 #endif
21449 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21450 then :
21452 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21458 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21459 #ifdef HAVE_SYS_SOCKETVAR_H
21460 #include <sys/socketvar.h>
21461 #endif
21462 #ifdef HAVE_NETINET_IN_H
21463 #include <netinet/in.h>
21464 #endif
21465 #ifdef HAVE_NETINET_TCP_H
21466 #include <netinet/tcp.h>
21467 #endif
21468 #ifdef HAVE_NETINET_TCP_VAR_H
21469 #include <netinet/tcp_var.h>
21470 #endif
21472 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21473 then :
21475 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21481 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
21482 #include <netinet/tcp_var.h>
21483 #endif
21485 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21486 then :
21488 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21494 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21495 #ifdef HAVE_NETINET_IN_H
21496 #include <netinet/in.h>
21497 #endif
21498 #ifdef HAVE_NETINET_IP_VAR_H
21499 #include <netinet/ip_var.h>
21500 #endif
21501 #ifdef HAVE_NETINET_UDP_H
21502 #include <netinet/udp.h>
21503 #endif
21504 #ifdef HAVE_NETINET_UDP_VAR_H
21505 #include <netinet/udp_var.h>
21506 #endif
21508 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21509 then :
21511 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21517 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21518 #ifdef HAVE_NET_IF_H
21519 # include <net/if.h>
21520 #endif
21522 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21523 then :
21525 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21531 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21532 # include <sys/sysinfo.h>
21533 #endif
21535 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21536 then :
21538 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21542 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21543 # include <sys/sysinfo.h>
21544 #endif
21546 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21547 then :
21549 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21555 LIBS="$ac_save_LIBS"
21557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21558 printf %s "checking for __builtin_popcount... " >&6; }
21559 if test ${ac_cv_have___builtin_popcount+y}
21560 then :
21561 printf %s "(cached) " >&6
21562 else $as_nop
21563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21567 main (void)
21569 return __builtin_popcount(1)
21571 return 0;
21573 _ACEOF
21574 if ac_fn_c_try_link "$LINENO"
21575 then :
21576 ac_cv_have___builtin_popcount="yes"
21577 else $as_nop
21578 ac_cv_have___builtin_popcount="no"
21580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21581 conftest$ac_exeext conftest.$ac_ext
21583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21584 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21585 if test "$ac_cv_have___builtin_popcount" = "yes"
21586 then
21588 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21593 printf %s "checking for __clear_cache... " >&6; }
21594 if test ${ac_cv_have___clear_cache+y}
21595 then :
21596 printf %s "(cached) " >&6
21597 else $as_nop
21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h. */
21602 main (void)
21604 __clear_cache((void*)0, (void*)0); return 0;
21606 return 0;
21608 _ACEOF
21609 if ac_fn_c_try_link "$LINENO"
21610 then :
21611 ac_cv_have___clear_cache="yes"
21612 else $as_nop
21613 ac_cv_have___clear_cache="no"
21615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21616 conftest$ac_exeext conftest.$ac_ext
21618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21619 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21620 if test "$ac_cv_have___clear_cache" = "yes"
21621 then
21623 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21628 case $host_cpu in
21629 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21630 printf %s "checking whether we need to define __i386__... " >&6; }
21631 if test ${ac_cv_cpp_def___i386__+y}
21632 then :
21633 printf %s "(cached) " >&6
21634 else $as_nop
21635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21636 /* end confdefs.h. */
21637 #ifndef __i386__
21639 #endif
21640 _ACEOF
21641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21642 $EGREP "yes" >/dev/null 2>&1
21643 then :
21644 ac_cv_cpp_def___i386__=yes
21645 else $as_nop
21646 ac_cv_cpp_def___i386__=no
21648 rm -rf conftest*
21651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21652 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21653 if test "x$ac_cv_cpp_def___i386__" = xyes
21654 then :
21655 CFLAGS="$CFLAGS -D__i386__"
21656 LINTFLAGS="$LINTFLAGS -D__i386__"
21657 fi ;;
21658 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21659 printf %s "checking whether we need to define __x86_64__... " >&6; }
21660 if test ${ac_cv_cpp_def___x86_64__+y}
21661 then :
21662 printf %s "(cached) " >&6
21663 else $as_nop
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #ifndef __x86_64__
21668 #endif
21669 _ACEOF
21670 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21671 $EGREP "yes" >/dev/null 2>&1
21672 then :
21673 ac_cv_cpp_def___x86_64__=yes
21674 else $as_nop
21675 ac_cv_cpp_def___x86_64__=no
21677 rm -rf conftest*
21680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21681 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21682 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21683 then :
21684 CFLAGS="$CFLAGS -D__x86_64__"
21685 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21686 fi ;;
21687 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21688 printf %s "checking whether we need to define __sparc64__... " >&6; }
21689 if test ${ac_cv_cpp_def___sparc64__+y}
21690 then :
21691 printf %s "(cached) " >&6
21692 else $as_nop
21693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21695 #ifndef __sparc64__
21697 #endif
21698 _ACEOF
21699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21700 $EGREP "yes" >/dev/null 2>&1
21701 then :
21702 ac_cv_cpp_def___sparc64__=yes
21703 else $as_nop
21704 ac_cv_cpp_def___sparc64__=no
21706 rm -rf conftest*
21709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21710 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21711 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21712 then :
21713 CFLAGS="$CFLAGS -D__sparc64__"
21714 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21715 fi ;;
21716 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21717 printf %s "checking whether we need to define __sparc__... " >&6; }
21718 if test ${ac_cv_cpp_def___sparc__+y}
21719 then :
21720 printf %s "(cached) " >&6
21721 else $as_nop
21722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21724 #ifndef __sparc__
21726 #endif
21727 _ACEOF
21728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21729 $EGREP "yes" >/dev/null 2>&1
21730 then :
21731 ac_cv_cpp_def___sparc__=yes
21732 else $as_nop
21733 ac_cv_cpp_def___sparc__=no
21735 rm -rf conftest*
21738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21739 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21740 if test "x$ac_cv_cpp_def___sparc__" = xyes
21741 then :
21742 CFLAGS="$CFLAGS -D__sparc__"
21743 LINTFLAGS="$LINTFLAGS -D__sparc__"
21744 fi ;;
21745 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21746 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21747 if test ${ac_cv_cpp_def___powerpc64__+y}
21748 then :
21749 printf %s "(cached) " >&6
21750 else $as_nop
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21753 #ifndef __powerpc64__
21755 #endif
21756 _ACEOF
21757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21758 $EGREP "yes" >/dev/null 2>&1
21759 then :
21760 ac_cv_cpp_def___powerpc64__=yes
21761 else $as_nop
21762 ac_cv_cpp_def___powerpc64__=no
21764 rm -rf conftest*
21767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21768 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21769 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21770 then :
21771 CFLAGS="$CFLAGS -D__powerpc64__"
21772 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21773 fi ;;
21774 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21775 printf %s "checking whether we need to define __powerpc__... " >&6; }
21776 if test ${ac_cv_cpp_def___powerpc__+y}
21777 then :
21778 printf %s "(cached) " >&6
21779 else $as_nop
21780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21781 /* end confdefs.h. */
21782 #ifndef __powerpc__
21784 #endif
21785 _ACEOF
21786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21787 $EGREP "yes" >/dev/null 2>&1
21788 then :
21789 ac_cv_cpp_def___powerpc__=yes
21790 else $as_nop
21791 ac_cv_cpp_def___powerpc__=no
21793 rm -rf conftest*
21796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21797 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21798 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21799 then :
21800 CFLAGS="$CFLAGS -D__powerpc__"
21801 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21802 fi ;;
21803 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21804 printf %s "checking whether we need to define __aarch64__... " >&6; }
21805 if test ${ac_cv_cpp_def___aarch64__+y}
21806 then :
21807 printf %s "(cached) " >&6
21808 else $as_nop
21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h. */
21811 #ifndef __aarch64__
21813 #endif
21814 _ACEOF
21815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21816 $EGREP "yes" >/dev/null 2>&1
21817 then :
21818 ac_cv_cpp_def___aarch64__=yes
21819 else $as_nop
21820 ac_cv_cpp_def___aarch64__=no
21822 rm -rf conftest*
21825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21826 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21827 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21828 then :
21829 CFLAGS="$CFLAGS -D__aarch64__"
21830 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21831 fi ;;
21832 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21833 printf %s "checking whether we need to define __arm__... " >&6; }
21834 if test ${ac_cv_cpp_def___arm__+y}
21835 then :
21836 printf %s "(cached) " >&6
21837 else $as_nop
21838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21839 /* end confdefs.h. */
21840 #ifndef __arm__
21842 #endif
21843 _ACEOF
21844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21845 $EGREP "yes" >/dev/null 2>&1
21846 then :
21847 ac_cv_cpp_def___arm__=yes
21848 else $as_nop
21849 ac_cv_cpp_def___arm__=no
21851 rm -rf conftest*
21854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21855 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21856 if test "x$ac_cv_cpp_def___arm__" = xyes
21857 then :
21858 CFLAGS="$CFLAGS -D__arm__"
21859 LINTFLAGS="$LINTFLAGS -D__arm__"
21860 fi ;;
21861 esac
21863 case $host_vendor in
21864 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21865 printf %s "checking whether we need to define __sun__... " >&6; }
21866 if test ${ac_cv_cpp_def___sun__+y}
21867 then :
21868 printf %s "(cached) " >&6
21869 else $as_nop
21870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21871 /* end confdefs.h. */
21872 #ifndef __sun__
21874 #endif
21875 _ACEOF
21876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21877 $EGREP "yes" >/dev/null 2>&1
21878 then :
21879 ac_cv_cpp_def___sun__=yes
21880 else $as_nop
21881 ac_cv_cpp_def___sun__=no
21883 rm -rf conftest*
21886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21887 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21888 if test "x$ac_cv_cpp_def___sun__" = xyes
21889 then :
21890 CFLAGS="$CFLAGS -D__sun__"
21891 LINTFLAGS="$LINTFLAGS -D__sun__"
21892 fi ;;
21893 esac
21896 enable_win16=${enable_win16:-i386}
21897 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
21899 if test -n "$PE_ARCHS"
21900 then
21901 enable_wow64=${enable_wow64:-aarch64,x86_64}
21902 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
21903 enable_wow64cpu=${enable_wow64cpu:-x86_64}
21904 enable_xtajit64=${enable_xtajit64:-arm64ec}
21905 else
21906 enable_wow64=${enable_wow64:-no}
21907 enable_wow64win=${enable_wow64win:-no}
21908 enable_wow64cpu=${enable_wow64cpu:-no}
21909 enable_xtajit64=${enable_xtajit64:-no}
21912 enable_cmd=${enable_cmd:-yes}
21913 enable_dllhost=${enable_dllhost:-yes}
21914 enable_dpnsvr=${enable_dpnsvr:-i386,x86_64,arm64ec}
21915 enable_dxdiag=${enable_dxdiag:-yes}
21916 enable_msiexec=${enable_msiexec:-yes}
21917 enable_netsh=${enable_netsh:-yes}
21918 enable_regsvr32=${enable_regsvr32:-yes}
21919 enable_rundll32=${enable_rundll32:-yes}
21921 enable_winetest=${enable_winetest:-$enable_tests}
21927 ac_config_commands="$ac_config_commands include/stamp-h"
21929 printf %s "creating Makefile rules..." >&6
21931 makedep_flags=" -C"
21932 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21934 wine_srcdir=
21935 test "$srcdir" = . || wine_srcdir="$srcdir/"
21937 ac_config_links="$ac_config_links wine:tools/winewrapper"
21938 wine_fn_config_symlink wine
21939 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21940 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21941 wine_fn_config_symlink wine64
21944 wine_fn_config_makefile dlls/acledit enable_acledit
21945 wine_fn_config_makefile dlls/aclui enable_aclui
21946 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21947 wine_fn_config_makefile dlls/activeds enable_activeds
21948 wine_fn_config_makefile dlls/activeds/tests enable_tests
21949 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21950 wine_fn_config_makefile dlls/adsldp enable_adsldp
21951 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21952 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21953 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21954 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21955 wine_fn_config_makefile dlls/advpack enable_advpack
21956 wine_fn_config_makefile dlls/advpack/tests enable_tests
21957 wine_fn_config_makefile dlls/amsi enable_amsi
21958 wine_fn_config_makefile dlls/amstream enable_amstream
21959 wine_fn_config_makefile dlls/amstream/tests enable_tests
21960 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21961 wine_fn_config_makefile dlls/apphelp enable_apphelp
21962 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21963 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21964 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21965 wine_fn_config_makefile dlls/atl enable_atl
21966 wine_fn_config_makefile dlls/atl/tests enable_tests
21967 wine_fn_config_makefile dlls/atl100 enable_atl100
21968 wine_fn_config_makefile dlls/atl100/tests enable_tests
21969 wine_fn_config_makefile dlls/atl110 enable_atl110
21970 wine_fn_config_makefile dlls/atl110/tests enable_tests
21971 wine_fn_config_makefile dlls/atl80 enable_atl80
21972 wine_fn_config_makefile dlls/atl80/tests enable_tests
21973 wine_fn_config_makefile dlls/atl90 enable_atl90
21974 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21975 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21976 wine_fn_config_makefile dlls/atmlib enable_atmlib
21977 wine_fn_config_makefile dlls/authz enable_authz
21978 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21979 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21980 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21981 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21982 wine_fn_config_makefile dlls/avrt enable_avrt
21983 wine_fn_config_makefile dlls/bcp47langs enable_bcp47langs
21984 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21985 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21986 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21987 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21988 wine_fn_config_makefile dlls/browseui enable_browseui
21989 wine_fn_config_makefile dlls/browseui/tests enable_tests
21990 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21991 wine_fn_config_makefile dlls/cabinet enable_cabinet
21992 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21993 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21994 wine_fn_config_makefile dlls/cards enable_cards
21995 wine_fn_config_makefile dlls/cdosys enable_cdosys
21996 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21997 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21998 wine_fn_config_makefile dlls/clusapi enable_clusapi
21999 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
22000 wine_fn_config_makefile dlls/combase enable_combase
22001 wine_fn_config_makefile dlls/combase/tests enable_tests
22002 wine_fn_config_makefile dlls/comcat enable_comcat
22003 wine_fn_config_makefile dlls/comcat/tests enable_tests
22004 wine_fn_config_makefile dlls/comctl32 enable_comctl32
22005 wine_fn_config_makefile dlls/comctl32/tests enable_tests
22006 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
22007 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
22008 wine_fn_config_makefile dlls/coml2 enable_coml2
22009 wine_fn_config_makefile dlls/comm.drv16 enable_win16
22010 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
22011 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
22012 wine_fn_config_makefile dlls/compstui enable_compstui
22013 wine_fn_config_makefile dlls/compstui/tests enable_tests
22014 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
22015 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
22016 wine_fn_config_makefile dlls/concrt140 enable_concrt140
22017 wine_fn_config_makefile dlls/concrt140/tests enable_tests
22018 wine_fn_config_makefile dlls/connect enable_connect
22019 wine_fn_config_makefile dlls/coremessaging enable_coremessaging
22020 wine_fn_config_makefile dlls/credui enable_credui
22021 wine_fn_config_makefile dlls/credui/tests enable_tests
22022 wine_fn_config_makefile dlls/crtdll enable_crtdll
22023 wine_fn_config_makefile dlls/crypt32 enable_crypt32
22024 wine_fn_config_makefile dlls/crypt32/tests enable_tests
22025 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
22026 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
22027 wine_fn_config_makefile dlls/cryptext enable_cryptext
22028 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
22029 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
22030 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
22031 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
22032 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
22033 wine_fn_config_makefile dlls/cryptui enable_cryptui
22034 wine_fn_config_makefile dlls/cryptui/tests enable_tests
22035 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
22036 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
22037 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
22038 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
22039 wine_fn_config_makefile dlls/d2d1 enable_d2d1
22040 wine_fn_config_makefile dlls/d2d1/tests enable_tests
22041 wine_fn_config_makefile dlls/d3d10 enable_d3d10
22042 wine_fn_config_makefile dlls/d3d10/tests enable_tests
22043 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
22044 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
22045 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
22046 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
22047 wine_fn_config_makefile dlls/d3d11 enable_d3d11
22048 wine_fn_config_makefile dlls/d3d11/tests enable_tests
22049 wine_fn_config_makefile dlls/d3d12 enable_d3d12
22050 wine_fn_config_makefile dlls/d3d12/tests enable_tests
22051 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
22052 wine_fn_config_makefile dlls/d3d8 enable_d3d8
22053 wine_fn_config_makefile dlls/d3d8/tests enable_tests
22054 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
22055 wine_fn_config_makefile dlls/d3d9 enable_d3d9
22056 wine_fn_config_makefile dlls/d3d9/tests enable_tests
22057 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
22058 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
22059 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
22060 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
22061 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
22062 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
22063 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
22064 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
22065 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
22066 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
22067 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
22068 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
22069 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
22070 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
22071 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
22072 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
22073 wine_fn_config_makefile dlls/d3dim enable_d3dim
22074 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
22075 wine_fn_config_makefile dlls/d3drm enable_d3drm
22076 wine_fn_config_makefile dlls/d3drm/tests enable_tests
22077 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
22078 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
22079 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
22080 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
22081 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
22082 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
22083 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
22084 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
22085 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
22086 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
22087 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
22088 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
22089 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
22090 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
22091 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
22092 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
22093 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
22094 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
22095 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
22096 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
22097 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
22098 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
22099 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
22100 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
22101 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
22102 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
22103 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
22104 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
22105 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
22106 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
22107 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
22108 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
22109 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
22110 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
22111 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
22112 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
22113 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
22114 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
22115 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
22116 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
22117 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
22118 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
22119 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
22120 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
22121 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
22122 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
22123 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
22124 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
22125 wine_fn_config_makefile dlls/davclnt enable_davclnt
22126 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
22127 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
22128 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
22129 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
22130 wine_fn_config_makefile dlls/dciman32 enable_dciman32
22131 wine_fn_config_makefile dlls/dcomp enable_dcomp
22132 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
22133 wine_fn_config_makefile dlls/ddraw enable_ddraw
22134 wine_fn_config_makefile dlls/ddraw/tests enable_tests
22135 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
22136 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
22137 wine_fn_config_makefile dlls/devenum enable_devenum
22138 wine_fn_config_makefile dlls/devenum/tests enable_tests
22139 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
22140 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
22141 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
22142 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
22143 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
22144 wine_fn_config_makefile dlls/difxapi enable_difxapi
22145 wine_fn_config_makefile dlls/dinput enable_dinput
22146 wine_fn_config_makefile dlls/dinput/tests enable_tests
22147 wine_fn_config_makefile dlls/dinput8 enable_dinput8
22148 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
22149 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
22150 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
22151 wine_fn_config_makefile dlls/dispex enable_dispex
22152 wine_fn_config_makefile dlls/dispex/tests enable_tests
22153 wine_fn_config_makefile dlls/display.drv16 enable_win16
22154 wine_fn_config_makefile dlls/dmband enable_dmband
22155 wine_fn_config_makefile dlls/dmband/tests enable_tests
22156 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
22157 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
22158 wine_fn_config_makefile dlls/dmime enable_dmime
22159 wine_fn_config_makefile dlls/dmime/tests enable_tests
22160 wine_fn_config_makefile dlls/dmloader enable_dmloader
22161 wine_fn_config_makefile dlls/dmloader/tests enable_tests
22162 wine_fn_config_makefile dlls/dmscript enable_dmscript
22163 wine_fn_config_makefile dlls/dmscript/tests enable_tests
22164 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
22165 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
22166 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
22167 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
22168 wine_fn_config_makefile dlls/dmusic enable_dmusic
22169 wine_fn_config_makefile dlls/dmusic/tests enable_tests
22170 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
22171 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
22172 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
22173 wine_fn_config_makefile dlls/dplay enable_dplay
22174 wine_fn_config_makefile dlls/dplayx enable_dplayx
22175 wine_fn_config_makefile dlls/dplayx/tests enable_tests
22176 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
22177 wine_fn_config_makefile dlls/dpnet enable_dpnet
22178 wine_fn_config_makefile dlls/dpnet/tests enable_tests
22179 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
22180 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
22181 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
22182 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
22183 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
22184 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
22185 wine_fn_config_makefile dlls/drmclien enable_drmclien
22186 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
22187 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
22188 wine_fn_config_makefile dlls/dsound enable_dsound
22189 wine_fn_config_makefile dlls/dsound/tests enable_tests
22190 wine_fn_config_makefile dlls/dsquery enable_dsquery
22191 wine_fn_config_makefile dlls/dssenh enable_dssenh
22192 wine_fn_config_makefile dlls/dssenh/tests enable_tests
22193 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
22194 wine_fn_config_makefile dlls/dswave enable_dswave
22195 wine_fn_config_makefile dlls/dswave/tests enable_tests
22196 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
22197 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
22198 wine_fn_config_makefile dlls/dwrite enable_dwrite
22199 wine_fn_config_makefile dlls/dwrite/tests enable_tests
22200 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
22201 wine_fn_config_makefile dlls/dxcore enable_dxcore
22202 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
22203 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
22204 wine_fn_config_makefile dlls/dxgi enable_dxgi
22205 wine_fn_config_makefile dlls/dxgi/tests enable_tests
22206 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
22207 wine_fn_config_makefile dlls/dxva2 enable_dxva2
22208 wine_fn_config_makefile dlls/dxva2/tests enable_tests
22209 wine_fn_config_makefile dlls/esent enable_esent
22210 wine_fn_config_makefile dlls/evr enable_evr
22211 wine_fn_config_makefile dlls/evr/tests enable_tests
22212 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
22213 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
22214 wine_fn_config_makefile dlls/faultrep enable_faultrep
22215 wine_fn_config_makefile dlls/faultrep/tests enable_tests
22216 wine_fn_config_makefile dlls/feclient enable_feclient
22217 wine_fn_config_makefile dlls/fltlib enable_fltlib
22218 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
22219 wine_fn_config_makefile dlls/fntcache enable_fntcache
22220 wine_fn_config_makefile dlls/fontsub enable_fontsub
22221 wine_fn_config_makefile dlls/fusion enable_fusion
22222 wine_fn_config_makefile dlls/fusion/tests enable_tests
22223 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
22224 wine_fn_config_makefile dlls/gameux enable_gameux
22225 wine_fn_config_makefile dlls/gameux/tests enable_tests
22226 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
22227 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
22228 wine_fn_config_makefile dlls/gdi32 enable_gdi32
22229 wine_fn_config_makefile dlls/gdi32/tests enable_tests
22230 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
22231 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
22232 wine_fn_config_makefile dlls/geolocation enable_geolocation
22233 wine_fn_config_makefile dlls/geolocation/tests enable_tests
22234 wine_fn_config_makefile dlls/glu32 enable_glu32
22235 wine_fn_config_makefile dlls/glu32/tests enable_tests
22236 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
22237 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
22238 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
22239 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
22240 wine_fn_config_makefile dlls/hal enable_hal
22241 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
22242 wine_fn_config_makefile dlls/hid enable_hid
22243 wine_fn_config_makefile dlls/hid/tests enable_tests
22244 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
22245 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
22246 wine_fn_config_makefile dlls/hlink enable_hlink
22247 wine_fn_config_makefile dlls/hlink/tests enable_tests
22248 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
22249 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
22250 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
22251 wine_fn_config_makefile dlls/http.sys enable_http_sys
22252 wine_fn_config_makefile dlls/httpapi enable_httpapi
22253 wine_fn_config_makefile dlls/httpapi/tests enable_tests
22254 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
22255 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
22256 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
22257 wine_fn_config_makefile dlls/iccvid enable_iccvid
22258 wine_fn_config_makefile dlls/icmp enable_icmp
22259 wine_fn_config_makefile dlls/ieframe enable_ieframe
22260 wine_fn_config_makefile dlls/ieframe/tests enable_tests
22261 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
22262 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
22263 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
22264 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
22265 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
22266 wine_fn_config_makefile dlls/imm.dll16 enable_win16
22267 wine_fn_config_makefile dlls/imm32 enable_imm32
22268 wine_fn_config_makefile dlls/imm32/tests enable_tests
22269 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
22270 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
22271 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
22272 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
22273 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
22274 wine_fn_config_makefile dlls/infosoft enable_infosoft
22275 wine_fn_config_makefile dlls/infosoft/tests enable_tests
22276 wine_fn_config_makefile dlls/initpki enable_initpki
22277 wine_fn_config_makefile dlls/inkobj enable_inkobj
22278 wine_fn_config_makefile dlls/inseng enable_inseng
22279 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
22280 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
22281 wine_fn_config_makefile dlls/iprop enable_iprop
22282 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
22283 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
22284 wine_fn_config_makefile dlls/itircl enable_itircl
22285 wine_fn_config_makefile dlls/itss enable_itss
22286 wine_fn_config_makefile dlls/itss/tests enable_tests
22287 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
22288 wine_fn_config_makefile dlls/jscript enable_jscript
22289 wine_fn_config_makefile dlls/jscript/tests enable_tests
22290 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
22291 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
22292 wine_fn_config_makefile dlls/kerberos enable_kerberos
22293 wine_fn_config_makefile dlls/kernel32 enable_kernel32
22294 wine_fn_config_makefile dlls/kernel32/tests enable_tests
22295 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
22296 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
22297 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
22298 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
22299 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
22300 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
22301 wine_fn_config_makefile dlls/ksuser enable_ksuser
22302 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
22303 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
22304 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
22305 wine_fn_config_makefile dlls/loadperf enable_loadperf
22306 wine_fn_config_makefile dlls/localspl enable_localspl
22307 wine_fn_config_makefile dlls/localspl/tests enable_tests
22308 wine_fn_config_makefile dlls/localui enable_localui
22309 wine_fn_config_makefile dlls/localui/tests enable_tests
22310 wine_fn_config_makefile dlls/lz32 enable_lz32
22311 wine_fn_config_makefile dlls/lz32/tests enable_tests
22312 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
22313 wine_fn_config_makefile dlls/magnification enable_magnification
22314 wine_fn_config_makefile dlls/mapi32 enable_mapi32
22315 wine_fn_config_makefile dlls/mapi32/tests enable_tests
22316 wine_fn_config_makefile dlls/mapistub enable_mapistub
22317 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
22318 wine_fn_config_makefile dlls/mcicda enable_mcicda
22319 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
22320 wine_fn_config_makefile dlls/mciseq enable_mciseq
22321 wine_fn_config_makefile dlls/mciwave enable_mciwave
22322 wine_fn_config_makefile dlls/mf enable_mf
22323 wine_fn_config_makefile dlls/mf/tests enable_tests
22324 wine_fn_config_makefile dlls/mf3216 enable_mf3216
22325 wine_fn_config_makefile dlls/mferror enable_mferror
22326 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
22327 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
22328 wine_fn_config_makefile dlls/mfplat enable_mfplat
22329 wine_fn_config_makefile dlls/mfplat/tests enable_tests
22330 wine_fn_config_makefile dlls/mfplay enable_mfplay
22331 wine_fn_config_makefile dlls/mfplay/tests enable_tests
22332 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
22333 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
22334 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
22335 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
22336 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
22337 wine_fn_config_makefile dlls/midimap enable_midimap
22338 wine_fn_config_makefile dlls/mlang enable_mlang
22339 wine_fn_config_makefile dlls/mlang/tests enable_tests
22340 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
22341 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
22342 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
22343 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
22344 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
22345 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
22346 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
22347 wine_fn_config_makefile dlls/mouhid.sys enable_mouhid_sys
22348 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
22349 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
22350 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
22351 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
22352 wine_fn_config_makefile dlls/mpr enable_mpr
22353 wine_fn_config_makefile dlls/mpr/tests enable_tests
22354 wine_fn_config_makefile dlls/mprapi enable_mprapi
22355 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
22356 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
22357 wine_fn_config_makefile dlls/msacm32 enable_msacm32
22358 wine_fn_config_makefile dlls/msacm32/tests enable_tests
22359 wine_fn_config_makefile dlls/msado15 enable_msado15
22360 wine_fn_config_makefile dlls/msado15/tests enable_tests
22361 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
22362 wine_fn_config_makefile dlls/msasn1 enable_msasn1
22363 wine_fn_config_makefile dlls/msasn1/tests enable_tests
22364 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
22365 wine_fn_config_makefile dlls/mscat32 enable_mscat32
22366 wine_fn_config_makefile dlls/mscms enable_mscms
22367 wine_fn_config_makefile dlls/mscms/tests enable_tests
22368 wine_fn_config_makefile dlls/mscoree enable_mscoree
22369 wine_fn_config_makefile dlls/mscoree/tests enable_tests
22370 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
22371 wine_fn_config_makefile dlls/msctf enable_msctf
22372 wine_fn_config_makefile dlls/msctf/tests enable_tests
22373 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
22374 wine_fn_config_makefile dlls/msctfp enable_msctfp
22375 wine_fn_config_makefile dlls/msdaps enable_msdaps
22376 wine_fn_config_makefile dlls/msdasql enable_msdasql
22377 wine_fn_config_makefile dlls/msdasql/tests enable_tests
22378 wine_fn_config_makefile dlls/msdelta enable_msdelta
22379 wine_fn_config_makefile dlls/msdmo enable_msdmo
22380 wine_fn_config_makefile dlls/msdmo/tests enable_tests
22381 wine_fn_config_makefile dlls/msdrm enable_msdrm
22382 wine_fn_config_makefile dlls/msftedit enable_msftedit
22383 wine_fn_config_makefile dlls/msftedit/tests enable_tests
22384 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
22385 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
22386 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
22387 wine_fn_config_makefile dlls/mshtml enable_mshtml
22388 wine_fn_config_makefile dlls/mshtml/tests enable_tests
22389 wine_fn_config_makefile dlls/msi enable_msi
22390 wine_fn_config_makefile dlls/msi/tests enable_tests
22391 wine_fn_config_makefile dlls/msident enable_msident
22392 wine_fn_config_makefile dlls/msimg32 enable_msimg32
22393 wine_fn_config_makefile dlls/msimsg enable_msimsg
22394 wine_fn_config_makefile dlls/msimtf enable_msimtf
22395 wine_fn_config_makefile dlls/msisip enable_msisip
22396 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
22397 wine_fn_config_makefile dlls/msls31 enable_msls31
22398 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
22399 wine_fn_config_makefile dlls/msnet32 enable_msnet32
22400 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
22401 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
22402 wine_fn_config_makefile dlls/msports enable_msports
22403 wine_fn_config_makefile dlls/msrle32 enable_msrle32
22404 wine_fn_config_makefile dlls/msrle32/tests enable_tests
22405 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
22406 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
22407 wine_fn_config_makefile dlls/mssign32 enable_mssign32
22408 wine_fn_config_makefile dlls/mssip32 enable_mssip32
22409 wine_fn_config_makefile dlls/mstask enable_mstask
22410 wine_fn_config_makefile dlls/mstask/tests enable_tests
22411 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
22412 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
22413 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
22414 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22415 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22416 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22417 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22418 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22419 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22420 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22421 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22422 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22423 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22424 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22425 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22426 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22427 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22428 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22429 wine_fn_config_makefile dlls/msvcp140_2/tests enable_tests
22430 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22431 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22432 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22433 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22434 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22435 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22436 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22437 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22438 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22439 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22440 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22441 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22442 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22443 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22444 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22445 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22446 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22447 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22448 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22449 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22450 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22451 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22452 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22453 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22454 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22455 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22456 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22457 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22458 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22459 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22460 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22461 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22462 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22463 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22464 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22465 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22466 wine_fn_config_makefile dlls/mswsock enable_mswsock
22467 wine_fn_config_makefile dlls/msxml enable_msxml
22468 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22469 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22470 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22471 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22472 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22473 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22474 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22475 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22476 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22477 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22478 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22479 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22480 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22481 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22482 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22483 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22484 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22485 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22486 wine_fn_config_makefile dlls/netprofm enable_netprofm
22487 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22488 wine_fn_config_makefile dlls/netutils enable_netutils
22489 wine_fn_config_makefile dlls/newdev enable_newdev
22490 wine_fn_config_makefile dlls/ninput enable_ninput
22491 wine_fn_config_makefile dlls/ninput/tests enable_tests
22492 wine_fn_config_makefile dlls/normaliz enable_normaliz
22493 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22494 wine_fn_config_makefile dlls/npptools enable_npptools
22495 wine_fn_config_makefile dlls/nsi enable_nsi
22496 wine_fn_config_makefile dlls/nsi/tests enable_tests
22497 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22498 wine_fn_config_makefile dlls/ntdll enable_ntdll
22499 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22500 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22501 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22502 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22503 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22504 wine_fn_config_makefile dlls/ntprint enable_ntprint
22505 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22506 wine_fn_config_makefile dlls/objsel enable_objsel
22507 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22508 wine_fn_config_makefile dlls/odbc32/tests enable_tests
22509 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22510 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22511 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22512 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22513 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22514 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22515 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22516 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22517 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22518 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22519 wine_fn_config_makefile dlls/ole32 enable_ole32
22520 wine_fn_config_makefile dlls/ole32/tests enable_tests
22521 wine_fn_config_makefile dlls/oleacc enable_oleacc
22522 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22523 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22524 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22525 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22526 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22527 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22528 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22529 wine_fn_config_makefile dlls/oledlg enable_oledlg
22530 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22531 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22532 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22533 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22534 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22535 wine_fn_config_makefile dlls/opcservices enable_opcservices
22536 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22537 wine_fn_config_makefile dlls/opencl enable_opencl
22538 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22539 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22540 wine_fn_config_makefile dlls/packager enable_packager
22541 wine_fn_config_makefile dlls/packager/tests enable_tests
22542 wine_fn_config_makefile dlls/pdh enable_pdh
22543 wine_fn_config_makefile dlls/pdh/tests enable_tests
22544 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22545 wine_fn_config_makefile dlls/pidgen enable_pidgen
22546 wine_fn_config_makefile dlls/powrprof enable_powrprof
22547 wine_fn_config_makefile dlls/printui enable_printui
22548 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22549 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22550 wine_fn_config_makefile dlls/profapi enable_profapi
22551 wine_fn_config_makefile dlls/propsys enable_propsys
22552 wine_fn_config_makefile dlls/propsys/tests enable_tests
22553 wine_fn_config_makefile dlls/psapi enable_psapi
22554 wine_fn_config_makefile dlls/psapi/tests enable_tests
22555 wine_fn_config_makefile dlls/pstorec enable_pstorec
22556 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22557 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22558 wine_fn_config_makefile dlls/qasf enable_qasf
22559 wine_fn_config_makefile dlls/qasf/tests enable_tests
22560 wine_fn_config_makefile dlls/qcap enable_qcap
22561 wine_fn_config_makefile dlls/qcap/tests enable_tests
22562 wine_fn_config_makefile dlls/qdvd enable_qdvd
22563 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22564 wine_fn_config_makefile dlls/qedit enable_qedit
22565 wine_fn_config_makefile dlls/qedit/tests enable_tests
22566 wine_fn_config_makefile dlls/qmgr enable_qmgr
22567 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22568 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22569 wine_fn_config_makefile dlls/quartz enable_quartz
22570 wine_fn_config_makefile dlls/quartz/tests enable_tests
22571 wine_fn_config_makefile dlls/query enable_query
22572 wine_fn_config_makefile dlls/qwave enable_qwave
22573 wine_fn_config_makefile dlls/qwave/tests enable_tests
22574 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22575 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22576 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22577 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22578 wine_fn_config_makefile dlls/regapi enable_regapi
22579 wine_fn_config_makefile dlls/resutils enable_resutils
22580 wine_fn_config_makefile dlls/riched20 enable_riched20
22581 wine_fn_config_makefile dlls/riched20/tests enable_tests
22582 wine_fn_config_makefile dlls/riched32 enable_riched32
22583 wine_fn_config_makefile dlls/riched32/tests enable_tests
22584 wine_fn_config_makefile dlls/rometadata enable_rometadata
22585 wine_fn_config_makefile dlls/rometadata/tests enable_tests
22586 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22587 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22588 wine_fn_config_makefile dlls/rsabase enable_rsabase
22589 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22590 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22591 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22592 wine_fn_config_makefile dlls/rtutils enable_rtutils
22593 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22594 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22595 wine_fn_config_makefile dlls/samlib enable_samlib
22596 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22597 wine_fn_config_makefile dlls/sapi enable_sapi
22598 wine_fn_config_makefile dlls/sapi/tests enable_tests
22599 wine_fn_config_makefile dlls/sas enable_sas
22600 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22601 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22602 wine_fn_config_makefile dlls/sccbase enable_sccbase
22603 wine_fn_config_makefile dlls/schannel enable_schannel
22604 wine_fn_config_makefile dlls/schannel/tests enable_tests
22605 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22606 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22607 wine_fn_config_makefile dlls/scrobj enable_scrobj
22608 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22609 wine_fn_config_makefile dlls/scrrun enable_scrrun
22610 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22611 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22612 wine_fn_config_makefile dlls/sechost enable_sechost
22613 wine_fn_config_makefile dlls/secur32 enable_secur32
22614 wine_fn_config_makefile dlls/secur32/tests enable_tests
22615 wine_fn_config_makefile dlls/security enable_security
22616 wine_fn_config_makefile dlls/sensapi enable_sensapi
22617 wine_fn_config_makefile dlls/serialui enable_serialui
22618 wine_fn_config_makefile dlls/serialui/tests enable_tests
22619 wine_fn_config_makefile dlls/setupapi enable_setupapi
22620 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22621 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22622 wine_fn_config_makefile dlls/sfc enable_sfc
22623 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22624 wine_fn_config_makefile dlls/shcore enable_shcore
22625 wine_fn_config_makefile dlls/shcore/tests enable_tests
22626 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22627 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22628 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22629 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22630 wine_fn_config_makefile dlls/shell32 enable_shell32
22631 wine_fn_config_makefile dlls/shell32/tests enable_tests
22632 wine_fn_config_makefile dlls/shfolder enable_shfolder
22633 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22634 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22635 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22636 wine_fn_config_makefile dlls/slc enable_slc
22637 wine_fn_config_makefile dlls/slc/tests enable_tests
22638 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22639 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22640 wine_fn_config_makefile dlls/softpub enable_softpub
22641 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22642 wine_fn_config_makefile dlls/spoolss enable_spoolss
22643 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22644 wine_fn_config_makefile dlls/sppc enable_sppc
22645 wine_fn_config_makefile dlls/srclient enable_srclient
22646 wine_fn_config_makefile dlls/srvcli enable_srvcli
22647 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22648 wine_fn_config_makefile dlls/sspicli enable_sspicli
22649 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22650 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22651 wine_fn_config_makefile dlls/sti enable_sti
22652 wine_fn_config_makefile dlls/sti/tests enable_tests
22653 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22654 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22655 wine_fn_config_makefile dlls/strmdll enable_strmdll
22656 wine_fn_config_makefile dlls/svrapi enable_svrapi
22657 wine_fn_config_makefile dlls/sxs enable_sxs
22658 wine_fn_config_makefile dlls/sxs/tests enable_tests
22659 wine_fn_config_makefile dlls/system.drv16 enable_win16
22660 wine_fn_config_makefile dlls/t2embed enable_t2embed
22661 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22662 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22663 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22664 wine_fn_config_makefile dlls/taskschd enable_taskschd
22665 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22666 wine_fn_config_makefile dlls/tbs enable_tbs
22667 wine_fn_config_makefile dlls/tdh enable_tdh
22668 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22669 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22670 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22671 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22672 wine_fn_config_makefile dlls/traffic enable_traffic
22673 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22674 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22675 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22676 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22677 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22678 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22679 wine_fn_config_makefile dlls/tzres enable_tzres
22680 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22681 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22682 wine_fn_config_makefile dlls/uianimation enable_uianimation
22683 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22684 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22685 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22686 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22687 wine_fn_config_makefile dlls/unicows enable_unicows
22688 wine_fn_config_makefile dlls/updspapi enable_updspapi
22689 wine_fn_config_makefile dlls/url enable_url
22690 wine_fn_config_makefile dlls/urlmon enable_urlmon
22691 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22692 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22693 wine_fn_config_makefile dlls/user.exe16 enable_win16
22694 wine_fn_config_makefile dlls/user32 enable_user32
22695 wine_fn_config_makefile dlls/user32/tests enable_tests
22696 wine_fn_config_makefile dlls/userenv enable_userenv
22697 wine_fn_config_makefile dlls/userenv/tests enable_tests
22698 wine_fn_config_makefile dlls/usp10 enable_usp10
22699 wine_fn_config_makefile dlls/usp10/tests enable_tests
22700 wine_fn_config_makefile dlls/utildll enable_utildll
22701 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22702 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22703 wine_fn_config_makefile dlls/vbscript enable_vbscript
22704 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22705 wine_fn_config_makefile dlls/vcomp enable_vcomp
22706 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22707 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22708 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22709 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22710 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22711 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22712 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22713 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22714 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22715 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22716 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22717 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22718 wine_fn_config_makefile dlls/version enable_version
22719 wine_fn_config_makefile dlls/version/tests enable_tests
22720 wine_fn_config_makefile dlls/vga enable_vga
22721 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22722 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22723 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22724 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22725 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22726 wine_fn_config_makefile dlls/vssapi enable_vssapi
22727 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22728 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22729 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22730 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22731 wine_fn_config_makefile dlls/w32skrnl enable_win16
22732 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22733 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22734 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22735 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22736 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22737 wine_fn_config_makefile dlls/wdscore enable_wdscore
22738 wine_fn_config_makefile dlls/webservices enable_webservices
22739 wine_fn_config_makefile dlls/webservices/tests enable_tests
22740 wine_fn_config_makefile dlls/websocket enable_websocket
22741 wine_fn_config_makefile dlls/wer enable_wer
22742 wine_fn_config_makefile dlls/wer/tests enable_tests
22743 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22744 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22745 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22746 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22747 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22748 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22749 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22750 wine_fn_config_makefile dlls/win32u enable_win32u
22751 wine_fn_config_makefile dlls/win32u/tests enable_tests
22752 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22753 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22754 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22755 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22756 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22757 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22758 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22759 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22760 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22761 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22762 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22763 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22764 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22765 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22766 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22767 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22768 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22769 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22770 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22771 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22772 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22773 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22774 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22775 wine_fn_config_makefile dlls/windows.media enable_windows_media
22776 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22777 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22778 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22779 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22780 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22781 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22782 wine_fn_config_makefile dlls/windows.security.authentication.onlineid enable_windows_security_authentication_onlineid
22783 wine_fn_config_makefile dlls/windows.security.authentication.onlineid/tests enable_tests
22784 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22785 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22786 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22787 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22788 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22789 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22790 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22791 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22792 wine_fn_config_makefile dlls/windows.web enable_windows_web
22793 wine_fn_config_makefile dlls/windows.web/tests enable_tests
22794 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22795 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22796 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22797 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22798 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22799 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22800 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22801 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22802 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22803 wine_fn_config_makefile dlls/wined3d enable_wined3d
22804 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22805 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22806 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22807 wine_fn_config_makefile dlls/winemapi enable_winemapi
22808 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22809 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22810 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22811 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22812 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22813 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22814 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22815 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22816 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22817 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22818 wine_fn_config_makefile dlls/wing32 enable_wing32
22819 wine_fn_config_makefile dlls/wing32/tests enable_tests
22820 wine_fn_config_makefile dlls/winhttp enable_winhttp
22821 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22822 wine_fn_config_makefile dlls/wininet enable_wininet
22823 wine_fn_config_makefile dlls/wininet/tests enable_tests
22824 wine_fn_config_makefile dlls/winmm enable_winmm
22825 wine_fn_config_makefile dlls/winmm/tests enable_tests
22826 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22827 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22828 wine_fn_config_makefile dlls/winprint enable_winprint
22829 wine_fn_config_makefile dlls/winscard enable_winscard
22830 wine_fn_config_makefile dlls/winscard/tests enable_tests
22831 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22832 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22833 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22834 wine_fn_config_makefile dlls/winsta enable_winsta
22835 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22836 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22837 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22838 wine_fn_config_makefile dlls/wintrust enable_wintrust
22839 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22840 wine_fn_config_makefile dlls/wintypes enable_wintypes
22841 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22842 wine_fn_config_makefile dlls/winusb enable_winusb
22843 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22844 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22845 wine_fn_config_makefile dlls/wlanui enable_wlanui
22846 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22847 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22848 wine_fn_config_makefile dlls/wldp enable_wldp
22849 wine_fn_config_makefile dlls/wldp/tests enable_tests
22850 wine_fn_config_makefile dlls/wmasf enable_wmasf
22851 wine_fn_config_makefile dlls/wmi enable_wmi
22852 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22853 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22854 wine_fn_config_makefile dlls/wmp enable_wmp
22855 wine_fn_config_makefile dlls/wmp/tests enable_tests
22856 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22857 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22858 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22859 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22860 wine_fn_config_makefile dlls/wofutil enable_wofutil
22861 wine_fn_config_makefile dlls/wow32 enable_win16
22862 wine_fn_config_makefile dlls/wow64 enable_wow64
22863 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22864 wine_fn_config_makefile dlls/wow64win enable_wow64win
22865 wine_fn_config_makefile dlls/wpc enable_wpc
22866 wine_fn_config_makefile dlls/wpc/tests enable_tests
22867 wine_fn_config_makefile dlls/wpcap enable_wpcap
22868 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22869 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22870 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22871 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22872 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22873 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22874 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22875 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22876 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22877 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22878 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22879 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22880 wine_fn_config_makefile dlls/wuapi enable_wuapi
22881 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22882 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22883 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22884 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22885 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22886 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22887 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22888 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22889 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22890 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22891 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22892 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22893 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22894 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22895 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22896 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22897 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22898 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22899 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22900 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22901 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22902 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22903 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22904 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22905 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22906 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22907 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22908 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22909 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22910 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22911 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22912 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22913 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22914 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22915 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22916 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22917 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22918 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22919 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22920 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22921 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22922 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22923 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22924 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22925 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22926 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22927 wine_fn_config_makefile dlls/xmllite enable_xmllite
22928 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22929 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22930 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22931 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22932 wine_fn_config_makefile dlls/xtajit64 enable_xtajit64
22933 wine_fn_config_makefile fonts enable_fonts
22934 wine_fn_config_makefile include enable_include
22935 wine_fn_config_makefile libs/adsiid enable_adsiid
22936 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22937 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22938 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22939 wine_fn_config_makefile libs/dxguid enable_dxguid
22940 wine_fn_config_makefile libs/faudio enable_faudio
22941 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22942 wine_fn_config_makefile libs/gsm enable_gsm
22943 wine_fn_config_makefile libs/jpeg enable_jpeg
22944 wine_fn_config_makefile libs/jxr enable_jxr
22945 wine_fn_config_makefile libs/lcms2 enable_lcms2
22946 wine_fn_config_makefile libs/ldap enable_ldap
22947 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22948 wine_fn_config_makefile libs/mpg123 enable_mpg123
22949 wine_fn_config_makefile libs/musl enable_musl
22950 wine_fn_config_makefile libs/png enable_png
22951 wine_fn_config_makefile libs/strmbase enable_strmbase
22952 wine_fn_config_makefile libs/strmiids enable_strmiids
22953 wine_fn_config_makefile libs/tiff enable_tiff
22954 wine_fn_config_makefile libs/uuid enable_uuid
22955 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22956 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22957 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22958 wine_fn_config_makefile libs/xml2 enable_xml2
22959 wine_fn_config_makefile libs/xslt enable_xslt
22960 wine_fn_config_makefile libs/zlib enable_zlib
22961 wine_fn_config_makefile libs/zydis enable_zydis
22962 wine_fn_config_makefile loader enable_loader
22963 wine_fn_config_makefile nls enable_nls
22964 wine_fn_config_makefile po enable_po
22965 wine_fn_config_makefile programs/arp enable_arp
22966 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22967 wine_fn_config_makefile programs/attrib enable_attrib
22968 wine_fn_config_makefile programs/cabarc enable_cabarc
22969 wine_fn_config_makefile programs/cacls enable_cacls
22970 wine_fn_config_makefile programs/certutil enable_certutil
22971 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22972 wine_fn_config_makefile programs/clock enable_clock
22973 wine_fn_config_makefile programs/cmd enable_cmd
22974 wine_fn_config_makefile programs/cmd/tests enable_tests
22975 wine_fn_config_makefile programs/conhost enable_conhost
22976 wine_fn_config_makefile programs/conhost/tests enable_tests
22977 wine_fn_config_makefile programs/control enable_control
22978 wine_fn_config_makefile programs/cscript enable_cscript
22979 wine_fn_config_makefile programs/dism enable_dism
22980 wine_fn_config_makefile programs/dllhost enable_dllhost
22981 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22982 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22983 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22984 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22985 wine_fn_config_makefile programs/eject enable_eject
22986 wine_fn_config_makefile programs/expand enable_expand
22987 wine_fn_config_makefile programs/explorer enable_explorer
22988 wine_fn_config_makefile programs/explorer/tests enable_tests
22989 wine_fn_config_makefile programs/extrac32 enable_extrac32
22990 wine_fn_config_makefile programs/fc enable_fc
22991 wine_fn_config_makefile programs/find enable_find
22992 wine_fn_config_makefile programs/find/tests enable_tests
22993 wine_fn_config_makefile programs/findstr enable_findstr
22994 wine_fn_config_makefile programs/findstr/tests enable_tests
22995 wine_fn_config_makefile programs/fsutil enable_fsutil
22996 wine_fn_config_makefile programs/fsutil/tests enable_tests
22997 wine_fn_config_makefile programs/hh enable_hh
22998 wine_fn_config_makefile programs/hostname enable_hostname
22999 wine_fn_config_makefile programs/icacls enable_icacls
23000 wine_fn_config_makefile programs/icinfo enable_icinfo
23001 wine_fn_config_makefile programs/iexplore enable_iexplore
23002 wine_fn_config_makefile programs/ipconfig enable_ipconfig
23003 wine_fn_config_makefile programs/klist enable_klist
23004 wine_fn_config_makefile programs/lodctr enable_lodctr
23005 wine_fn_config_makefile programs/mofcomp enable_mofcomp
23006 wine_fn_config_makefile programs/mshta enable_mshta
23007 wine_fn_config_makefile programs/msidb enable_msidb
23008 wine_fn_config_makefile programs/msiexec enable_msiexec
23009 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
23010 wine_fn_config_makefile programs/net enable_net
23011 wine_fn_config_makefile programs/netsh enable_netsh
23012 wine_fn_config_makefile programs/netstat enable_netstat
23013 wine_fn_config_makefile programs/ngen enable_ngen
23014 wine_fn_config_makefile programs/notepad enable_notepad
23015 wine_fn_config_makefile programs/oleview enable_oleview
23016 wine_fn_config_makefile programs/ping enable_ping
23017 wine_fn_config_makefile programs/plugplay enable_plugplay
23018 wine_fn_config_makefile programs/pnputil enable_pnputil
23019 wine_fn_config_makefile programs/powershell enable_powershell
23020 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
23021 wine_fn_config_makefile programs/progman enable_progman
23022 wine_fn_config_makefile programs/reg enable_reg
23023 wine_fn_config_makefile programs/reg/tests enable_tests
23024 wine_fn_config_makefile programs/regasm enable_regasm
23025 wine_fn_config_makefile programs/regedit enable_regedit
23026 wine_fn_config_makefile programs/regedit/tests enable_tests
23027 wine_fn_config_makefile programs/regini enable_regini
23028 wine_fn_config_makefile programs/regsvcs enable_regsvcs
23029 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
23030 wine_fn_config_makefile programs/robocopy enable_robocopy
23031 wine_fn_config_makefile programs/rpcss enable_rpcss
23032 wine_fn_config_makefile programs/rundll.exe16 enable_win16
23033 wine_fn_config_makefile programs/rundll32 enable_rundll32
23034 wine_fn_config_makefile programs/sc enable_sc
23035 wine_fn_config_makefile programs/sc/tests enable_tests
23036 wine_fn_config_makefile programs/schtasks enable_schtasks
23037 wine_fn_config_makefile programs/schtasks/tests enable_tests
23038 wine_fn_config_makefile programs/sdbinst enable_sdbinst
23039 wine_fn_config_makefile programs/secedit enable_secedit
23040 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
23041 wine_fn_config_makefile programs/services enable_services
23042 wine_fn_config_makefile programs/services/tests enable_tests
23043 wine_fn_config_makefile programs/setx enable_setx
23044 wine_fn_config_makefile programs/shutdown enable_shutdown
23045 wine_fn_config_makefile programs/spoolsv enable_spoolsv
23046 wine_fn_config_makefile programs/start enable_start
23047 wine_fn_config_makefile programs/subst enable_subst
23048 wine_fn_config_makefile programs/svchost enable_svchost
23049 wine_fn_config_makefile programs/systeminfo enable_systeminfo
23050 wine_fn_config_makefile programs/taskkill enable_taskkill
23051 wine_fn_config_makefile programs/tasklist enable_tasklist
23052 wine_fn_config_makefile programs/tasklist/tests enable_tests
23053 wine_fn_config_makefile programs/taskmgr enable_taskmgr
23054 wine_fn_config_makefile programs/termsv enable_termsv
23055 wine_fn_config_makefile programs/uninstaller enable_uninstaller
23056 wine_fn_config_makefile programs/unlodctr enable_unlodctr
23057 wine_fn_config_makefile programs/view enable_view
23058 wine_fn_config_makefile programs/wevtutil enable_wevtutil
23059 wine_fn_config_makefile programs/where enable_where
23060 wine_fn_config_makefile programs/whoami enable_whoami
23061 wine_fn_config_makefile programs/wineboot enable_wineboot
23062 wine_fn_config_makefile programs/winebrowser enable_winebrowser
23063 wine_fn_config_makefile programs/winecfg enable_winecfg
23064 wine_fn_config_makefile programs/wineconsole enable_wineconsole
23065 wine_fn_config_makefile programs/winedbg enable_winedbg
23066 wine_fn_config_makefile programs/winedevice enable_winedevice
23067 wine_fn_config_makefile programs/winefile enable_winefile
23068 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
23069 wine_fn_config_makefile programs/winemine enable_winemine
23070 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
23071 wine_fn_config_makefile programs/winepath enable_winepath
23072 wine_fn_config_makefile programs/winetest enable_winetest
23073 wine_fn_config_makefile programs/winevdm enable_win16
23074 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
23075 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
23076 wine_fn_config_makefile programs/winmgmt enable_winmgmt
23077 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
23078 wine_fn_config_makefile programs/winver enable_winver
23079 wine_fn_config_makefile programs/wmic enable_wmic
23080 wine_fn_config_makefile programs/wmplayer enable_wmplayer
23081 wine_fn_config_makefile programs/wordpad enable_wordpad
23082 wine_fn_config_makefile programs/write enable_write
23083 wine_fn_config_makefile programs/wscript enable_wscript
23084 wine_fn_config_makefile programs/wscript/tests enable_tests
23085 wine_fn_config_makefile programs/wuauserv enable_wuauserv
23086 wine_fn_config_makefile programs/wusa enable_wusa
23087 wine_fn_config_makefile programs/xcopy enable_xcopy
23088 wine_fn_config_makefile programs/xcopy/tests enable_tests
23089 wine_fn_config_makefile server enable_server
23090 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
23091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
23092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
23093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
23094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
23095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
23096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
23097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
23098 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
23101 as_fn_append CONFIGURE_TARGETS " TAGS"
23102 as_fn_append CONFIGURE_TARGETS " tags"
23103 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
23104 as_fn_append CONFIGURE_TARGETS " compile_commands.json"
23105 as_fn_append CONFIGURE_TARGETS " config.log"
23106 as_fn_append CONFIGURE_TARGETS " config.status"
23107 as_fn_append CONFIGURE_TARGETS " include/config.h"
23108 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
23109 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
23111 if test "x$enable_tools" != xno
23112 then
23113 ac_config_commands="$ac_config_commands tools/makedep"
23117 ac_config_commands="$ac_config_commands Makefile"
23121 SHELL=/bin/sh
23125 as_fn_append wine_rules "
23126 all: wine
23127 @echo \"Wine build complete.\"
23128 Makefile: config.status
23129 @./config.status Makefile
23130 config.status: ${wine_srcdir}configure
23131 @./config.status --recheck
23132 include/config.h: include/stamp-h
23133 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
23134 @./config.status include/config.h include/stamp-h"
23136 if test "x$enable_maintainer_mode" = xyes
23137 then
23138 as_fn_append wine_rules "
23139 configure: configure.ac aclocal.m4
23140 autoconf --warnings=all
23141 include/config.h.in: include/stamp-h.in
23142 include/stamp-h.in: configure.ac aclocal.m4
23143 autoheader --warnings=all
23144 @echo timestamp > \$@"
23148 if test -n "$with_wine64"
23149 then
23150 case "$with_wine64" in
23151 /*) reldir="" ;;
23152 *) reldir="../" ;;
23153 esac
23154 rm -f fonts server 2>/dev/null
23155 as_fn_append wine_rules "
23156 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
23157 loader/wine64 loader/wine64-preloader:
23158 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
23159 $with_wine64/loader/wine:
23160 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
23161 $with_wine64/loader/wine-preloader:
23162 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
23163 clean::
23164 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
23165 else
23166 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
23167 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
23168 fonts \
23169 loader/wine.inf \
23170 nls \
23171 programs/msidb/msidb \
23172 programs/msiexec/msiexec \
23173 programs/notepad/notepad \
23174 programs/regedit/regedit \
23175 programs/regsvr32/regsvr32 \
23176 programs/wineboot/wineboot \
23177 programs/winecfg/winecfg \
23178 programs/wineconsole/wineconsole \
23179 programs/winedbg/winedbg \
23180 programs/winefile/winefile \
23181 programs/winemine/winemine \
23182 programs/winepath/winepath \
23183 server/wineserver"
23185 case $host_os in
23186 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
23187 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
23188 esac
23192 as_fn_append wine_rules "
23193 distclean:: clean
23194 rm -rf autom4te.cache
23195 maintainer-clean::
23196 rm -f configure include/config.h.in"
23199 as_fn_append wine_rules "
23200 dlls/ntdll/unix/version.c: dummy
23201 @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)
23202 programs/winetest/build.rc: dummy
23203 @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)
23204 programs/winetest/build.nfo:
23205 @-\$(CC) -v 2>\$@
23206 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
23207 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
23208 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
23211 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
23213 as_fn_append wine_rules "
23214 TAGS etags:
23215 rm -f TAGS
23216 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
23217 tags ctags:
23218 rm -f tags
23219 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
23220 dummy:
23221 .PHONY: dummy"
23223 printf "%s\n" " done" >&6
23224 cat >confcache <<\_ACEOF
23225 # This file is a shell script that caches the results of configure
23226 # tests run on this system so they can be shared between configure
23227 # scripts and configure runs, see configure's option --config-cache.
23228 # It is not useful on other systems. If it contains results you don't
23229 # want to keep, you may remove or edit it.
23231 # config.status only pays attention to the cache file if you give it
23232 # the --recheck option to rerun configure.
23234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23236 # following values.
23238 _ACEOF
23240 # The following way of writing the cache mishandles newlines in values,
23241 # but we know of no workaround that is simple, portable, and efficient.
23242 # So, we kill variables containing newlines.
23243 # Ultrix sh set writes to stderr and can't be redirected directly,
23244 # and sets the high bit in the cache file unless we assign to the vars.
23246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23247 eval ac_val=\$$ac_var
23248 case $ac_val in #(
23249 *${as_nl}*)
23250 case $ac_var in #(
23251 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
23252 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23253 esac
23254 case $ac_var in #(
23255 _ | IFS | as_nl) ;; #(
23256 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
23257 *) { eval $ac_var=; unset $ac_var;} ;;
23258 esac ;;
23259 esac
23260 done
23262 (set) 2>&1 |
23263 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23264 *${as_nl}ac_space=\ *)
23265 # `set' does not quote correctly, so add quotes: double-quote
23266 # substitution turns \\\\ into \\, and sed turns \\ into \.
23267 sed -n \
23268 "s/'/'\\\\''/g;
23269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23270 ;; #(
23272 # `set' quotes correctly as required by POSIX, so do not add quotes.
23273 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23275 esac |
23276 sort
23278 sed '
23279 /^ac_cv_env_/b end
23280 t clear
23281 :clear
23282 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
23283 t end
23284 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23285 :end' >>confcache
23286 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23287 if test -w "$cache_file"; then
23288 if test "x$cache_file" != "x/dev/null"; then
23289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23290 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
23291 if test ! -f "$cache_file" || test -h "$cache_file"; then
23292 cat confcache >"$cache_file"
23293 else
23294 case $cache_file in #(
23295 */* | ?:*)
23296 mv -f confcache "$cache_file"$$ &&
23297 mv -f "$cache_file"$$ "$cache_file" ;; #(
23299 mv -f confcache "$cache_file" ;;
23300 esac
23303 else
23304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23305 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
23308 rm -f confcache
23310 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23311 # Let make expand exec_prefix.
23312 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23314 DEFS=-DHAVE_CONFIG_H
23316 ac_libobjs=
23317 ac_ltlibobjs=
23319 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23320 # 1. Remove the extension, and $U if already installed.
23321 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23322 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
23323 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23324 # will be set to the directory where LIBOBJS objects are built.
23325 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23326 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
23327 done
23328 LIBOBJS=$ac_libobjs
23330 LTLIBOBJS=$ac_ltlibobjs
23334 : "${CONFIG_STATUS=./config.status}"
23335 ac_write_fail=0
23336 ac_clean_files_save=$ac_clean_files
23337 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
23339 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
23340 as_write_fail=0
23341 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
23342 #! $SHELL
23343 # Generated by $as_me.
23344 # Run this file to recreate the current configuration.
23345 # Compiler output produced by configure, useful for debugging
23346 # configure, is in config.log if it exists.
23348 debug=false
23349 ac_cs_recheck=false
23350 ac_cs_silent=false
23352 SHELL=\${CONFIG_SHELL-$SHELL}
23353 export SHELL
23354 _ASEOF
23355 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
23356 ## -------------------- ##
23357 ## M4sh Initialization. ##
23358 ## -------------------- ##
23360 # Be more Bourne compatible
23361 DUALCASE=1; export DUALCASE # for MKS sh
23362 as_nop=:
23363 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
23364 then :
23365 emulate sh
23366 NULLCMD=:
23367 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23368 # is contrary to our usage. Disable this feature.
23369 alias -g '${1+"$@"}'='"$@"'
23370 setopt NO_GLOB_SUBST
23371 else $as_nop
23372 case `(set -o) 2>/dev/null` in #(
23373 *posix*) :
23374 set -o posix ;; #(
23375 *) :
23377 esac
23382 # Reset variables that may have inherited troublesome values from
23383 # the environment.
23385 # IFS needs to be set, to space, tab, and newline, in precisely that order.
23386 # (If _AS_PATH_WALK were called with IFS unset, it would have the
23387 # side effect of setting IFS to empty, thus disabling word splitting.)
23388 # Quoting is to prevent editors from complaining about space-tab.
23389 as_nl='
23391 export as_nl
23392 IFS=" "" $as_nl"
23394 PS1='$ '
23395 PS2='> '
23396 PS4='+ '
23398 # Ensure predictable behavior from utilities with locale-dependent output.
23399 LC_ALL=C
23400 export LC_ALL
23401 LANGUAGE=C
23402 export LANGUAGE
23404 # We cannot yet rely on "unset" to work, but we need these variables
23405 # to be unset--not just set to an empty or harmless value--now, to
23406 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23407 # also avoids known problems related to "unset" and subshell syntax
23408 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23409 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23410 do eval test \${$as_var+y} \
23411 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23412 done
23414 # Ensure that fds 0, 1, and 2 are open.
23415 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23416 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23417 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23419 # The user is always right.
23420 if ${PATH_SEPARATOR+false} :; then
23421 PATH_SEPARATOR=:
23422 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23423 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23424 PATH_SEPARATOR=';'
23429 # Find who we are. Look in the path if we contain no directory separator.
23430 as_myself=
23431 case $0 in #((
23432 *[\\/]* ) as_myself=$0 ;;
23433 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23434 for as_dir in $PATH
23436 IFS=$as_save_IFS
23437 case $as_dir in #(((
23438 '') as_dir=./ ;;
23439 */) ;;
23440 *) as_dir=$as_dir/ ;;
23441 esac
23442 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23443 done
23444 IFS=$as_save_IFS
23447 esac
23448 # We did not find ourselves, most probably we were run as `sh COMMAND'
23449 # in which case we are not to be found in the path.
23450 if test "x$as_myself" = x; then
23451 as_myself=$0
23453 if test ! -f "$as_myself"; then
23454 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23455 exit 1
23460 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23461 # ----------------------------------------
23462 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23463 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23464 # script with STATUS, using 1 if that was 0.
23465 as_fn_error ()
23467 as_status=$1; test $as_status -eq 0 && as_status=1
23468 if test "$4"; then
23469 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23472 printf "%s\n" "$as_me: error: $2" >&2
23473 as_fn_exit $as_status
23474 } # as_fn_error
23478 # as_fn_set_status STATUS
23479 # -----------------------
23480 # Set $? to STATUS, without forking.
23481 as_fn_set_status ()
23483 return $1
23484 } # as_fn_set_status
23486 # as_fn_exit STATUS
23487 # -----------------
23488 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23489 as_fn_exit ()
23491 set +e
23492 as_fn_set_status $1
23493 exit $1
23494 } # as_fn_exit
23496 # as_fn_unset VAR
23497 # ---------------
23498 # Portably unset VAR.
23499 as_fn_unset ()
23501 { eval $1=; unset $1;}
23503 as_unset=as_fn_unset
23505 # as_fn_append VAR VALUE
23506 # ----------------------
23507 # Append the text in VALUE to the end of the definition contained in VAR. Take
23508 # advantage of any shell optimizations that allow amortized linear growth over
23509 # repeated appends, instead of the typical quadratic growth present in naive
23510 # implementations.
23511 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23512 then :
23513 eval 'as_fn_append ()
23515 eval $1+=\$2
23517 else $as_nop
23518 as_fn_append ()
23520 eval $1=\$$1\$2
23522 fi # as_fn_append
23524 # as_fn_arith ARG...
23525 # ------------------
23526 # Perform arithmetic evaluation on the ARGs, and store the result in the
23527 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23528 # must be portable across $(()) and expr.
23529 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23530 then :
23531 eval 'as_fn_arith ()
23533 as_val=$(( $* ))
23535 else $as_nop
23536 as_fn_arith ()
23538 as_val=`expr "$@" || test $? -eq 1`
23540 fi # as_fn_arith
23543 if expr a : '\(a\)' >/dev/null 2>&1 &&
23544 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23545 as_expr=expr
23546 else
23547 as_expr=false
23550 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23551 as_basename=basename
23552 else
23553 as_basename=false
23556 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23557 as_dirname=dirname
23558 else
23559 as_dirname=false
23562 as_me=`$as_basename -- "$0" ||
23563 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23564 X"$0" : 'X\(//\)$' \| \
23565 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23566 printf "%s\n" X/"$0" |
23567 sed '/^.*\/\([^/][^/]*\)\/*$/{
23568 s//\1/
23571 /^X\/\(\/\/\)$/{
23572 s//\1/
23575 /^X\/\(\/\).*/{
23576 s//\1/
23579 s/.*/./; q'`
23581 # Avoid depending upon Character Ranges.
23582 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23583 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23584 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23585 as_cr_digits='0123456789'
23586 as_cr_alnum=$as_cr_Letters$as_cr_digits
23589 # Determine whether it's possible to make 'echo' print without a newline.
23590 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23591 # for compatibility with existing Makefiles.
23592 ECHO_C= ECHO_N= ECHO_T=
23593 case `echo -n x` in #(((((
23594 -n*)
23595 case `echo 'xy\c'` in
23596 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23597 xy) ECHO_C='\c';;
23598 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23599 ECHO_T=' ';;
23600 esac;;
23602 ECHO_N='-n';;
23603 esac
23605 # For backward compatibility with old third-party macros, we provide
23606 # the shell variables $as_echo and $as_echo_n. New code should use
23607 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23608 as_echo='printf %s\n'
23609 as_echo_n='printf %s'
23611 rm -f conf$$ conf$$.exe conf$$.file
23612 if test -d conf$$.dir; then
23613 rm -f conf$$.dir/conf$$.file
23614 else
23615 rm -f conf$$.dir
23616 mkdir conf$$.dir 2>/dev/null
23618 if (echo >conf$$.file) 2>/dev/null; then
23619 if ln -s conf$$.file conf$$ 2>/dev/null; then
23620 as_ln_s='ln -s'
23621 # ... but there are two gotchas:
23622 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23623 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23624 # In both cases, we have to default to `cp -pR'.
23625 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23626 as_ln_s='cp -pR'
23627 elif ln conf$$.file conf$$ 2>/dev/null; then
23628 as_ln_s=ln
23629 else
23630 as_ln_s='cp -pR'
23632 else
23633 as_ln_s='cp -pR'
23635 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23636 rmdir conf$$.dir 2>/dev/null
23639 # as_fn_mkdir_p
23640 # -------------
23641 # Create "$as_dir" as a directory, including parents if necessary.
23642 as_fn_mkdir_p ()
23645 case $as_dir in #(
23646 -*) as_dir=./$as_dir;;
23647 esac
23648 test -d "$as_dir" || eval $as_mkdir_p || {
23649 as_dirs=
23650 while :; do
23651 case $as_dir in #(
23652 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23653 *) as_qdir=$as_dir;;
23654 esac
23655 as_dirs="'$as_qdir' $as_dirs"
23656 as_dir=`$as_dirname -- "$as_dir" ||
23657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23658 X"$as_dir" : 'X\(//\)[^/]' \| \
23659 X"$as_dir" : 'X\(//\)$' \| \
23660 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23661 printf "%s\n" X"$as_dir" |
23662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23663 s//\1/
23666 /^X\(\/\/\)[^/].*/{
23667 s//\1/
23670 /^X\(\/\/\)$/{
23671 s//\1/
23674 /^X\(\/\).*/{
23675 s//\1/
23678 s/.*/./; q'`
23679 test -d "$as_dir" && break
23680 done
23681 test -z "$as_dirs" || eval "mkdir $as_dirs"
23682 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23685 } # as_fn_mkdir_p
23686 if mkdir -p . 2>/dev/null; then
23687 as_mkdir_p='mkdir -p "$as_dir"'
23688 else
23689 test -d ./-p && rmdir ./-p
23690 as_mkdir_p=false
23694 # as_fn_executable_p FILE
23695 # -----------------------
23696 # Test if FILE is an executable regular file.
23697 as_fn_executable_p ()
23699 test -f "$1" && test -x "$1"
23700 } # as_fn_executable_p
23701 as_test_x='test -x'
23702 as_executable_p=as_fn_executable_p
23704 # Sed expression to map a string onto a valid CPP name.
23705 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23707 # Sed expression to map a string onto a valid variable name.
23708 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23711 exec 6>&1
23712 ## ----------------------------------- ##
23713 ## Main body of $CONFIG_STATUS script. ##
23714 ## ----------------------------------- ##
23715 _ASEOF
23716 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23719 # Save the log message, to keep $0 and so on meaningful, and to
23720 # report actual input values of CONFIG_FILES etc. instead of their
23721 # values after options handling.
23722 ac_log="
23723 This file was extended by Wine $as_me 9.13, which was
23724 generated by GNU Autoconf 2.71. Invocation command line was
23726 CONFIG_FILES = $CONFIG_FILES
23727 CONFIG_HEADERS = $CONFIG_HEADERS
23728 CONFIG_LINKS = $CONFIG_LINKS
23729 CONFIG_COMMANDS = $CONFIG_COMMANDS
23730 $ $0 $@
23732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23735 _ACEOF
23738 case $ac_config_headers in *"
23739 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23740 esac
23743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23744 # Files that config.status was made for.
23745 config_headers="$ac_config_headers"
23746 config_links="$ac_config_links"
23747 config_commands="$ac_config_commands"
23749 _ACEOF
23751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23752 ac_cs_usage="\
23753 \`$as_me' instantiates files and other configuration actions
23754 from templates according to the current configuration. Unless the files
23755 and actions are specified as TAGs, all are instantiated by default.
23757 Usage: $0 [OPTION]... [TAG]...
23759 -h, --help print this help, then exit
23760 -V, --version print version number and configuration settings, then exit
23761 --config print configuration, then exit
23762 -q, --quiet, --silent
23763 do not print progress messages
23764 -d, --debug don't remove temporary files
23765 --recheck update $as_me by reconfiguring in the same conditions
23766 --header=FILE[:TEMPLATE]
23767 instantiate the configuration header FILE
23769 Configuration headers:
23770 $config_headers
23772 Configuration links:
23773 $config_links
23775 Configuration commands:
23776 $config_commands
23778 Report bugs to <wine-devel@winehq.org>.
23779 Wine home page: <https://www.winehq.org>."
23781 _ACEOF
23782 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23783 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23785 ac_cs_config='$ac_cs_config_escaped'
23786 ac_cs_version="\\
23787 Wine config.status 9.13
23788 configured by $0, generated by GNU Autoconf 2.71,
23789 with options \\"\$ac_cs_config\\"
23791 Copyright (C) 2021 Free Software Foundation, Inc.
23792 This config.status script is free software; the Free Software Foundation
23793 gives unlimited permission to copy, distribute and modify it."
23795 ac_pwd='$ac_pwd'
23796 srcdir='$srcdir'
23797 test -n "\$AWK" || AWK=awk
23798 _ACEOF
23800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23801 # The default lists apply if the user does not specify any file.
23802 ac_need_defaults=:
23803 while test $# != 0
23805 case $1 in
23806 --*=?*)
23807 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23808 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23809 ac_shift=:
23811 --*=)
23812 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23813 ac_optarg=
23814 ac_shift=:
23817 ac_option=$1
23818 ac_optarg=$2
23819 ac_shift=shift
23821 esac
23823 case $ac_option in
23824 # Handling of the options.
23825 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23826 ac_cs_recheck=: ;;
23827 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23828 printf "%s\n" "$ac_cs_version"; exit ;;
23829 --config | --confi | --conf | --con | --co | --c )
23830 printf "%s\n" "$ac_cs_config"; exit ;;
23831 --debug | --debu | --deb | --de | --d | -d )
23832 debug=: ;;
23833 --header | --heade | --head | --hea )
23834 $ac_shift
23835 case $ac_optarg in
23836 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23837 esac
23838 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23839 ac_need_defaults=false;;
23840 --he | --h)
23841 # Conflict between --help and --header
23842 as_fn_error $? "ambiguous option: \`$1'
23843 Try \`$0 --help' for more information.";;
23844 --help | --hel | -h )
23845 printf "%s\n" "$ac_cs_usage"; exit ;;
23846 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23847 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23848 ac_cs_silent=: ;;
23850 # This is an error.
23851 -*) as_fn_error $? "unrecognized option: \`$1'
23852 Try \`$0 --help' for more information." ;;
23854 *) as_fn_append ac_config_targets " $1"
23855 ac_need_defaults=false ;;
23857 esac
23858 shift
23859 done
23861 ac_configure_extra_args=
23863 if $ac_cs_silent; then
23864 exec 6>/dev/null
23865 ac_configure_extra_args="$ac_configure_extra_args --silent"
23868 _ACEOF
23869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23870 if \$ac_cs_recheck; then
23871 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23872 shift
23873 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23874 CONFIG_SHELL='$SHELL'
23875 export CONFIG_SHELL
23876 exec "\$@"
23879 _ACEOF
23880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23881 exec 5>>config.log
23883 echo
23884 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23885 ## Running $as_me. ##
23886 _ASBOX
23887 printf "%s\n" "$ac_log"
23888 } >&5
23890 _ACEOF
23891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23893 # INIT-COMMANDS
23895 wine_fn_output_makedep ()
23897 as_dir=tools; as_fn_mkdir_p
23898 $CC -c -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep.o ${wine_srcdir}tools/makedep.c
23899 $CC -o tools/makedep$ac_exeext tools/makedep.o $LDFLAGS
23901 wine_fn_output_makefile ()
23903 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23904 # This Makefile understands the following targets:
23906 # all (default): build wine
23907 # clean: remove all intermediate files
23908 # distclean: also remove all files created by configure
23909 # test: run tests
23910 # testclean: clean test results to force running all tests again
23911 # install-lib: install libraries needed to run applications
23912 # install-dev: install development environment
23913 # install: install everything
23914 # uninstall: uninstall everything
23915 # ctags: create a tags file for vim and others.
23916 # etags: create a TAGS file for Emacs.
23918 SHELL = $SHELL
23919 PATH_SEPARATOR = $PATH_SEPARATOR
23920 PACKAGE_NAME = $PACKAGE_NAME
23921 PACKAGE_TARNAME = $PACKAGE_TARNAME
23922 PACKAGE_VERSION = $PACKAGE_VERSION
23923 PACKAGE_STRING = $PACKAGE_STRING
23924 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23925 PACKAGE_URL = $PACKAGE_URL
23926 exec_prefix = $exec_prefix
23927 prefix = $prefix
23928 program_transform_name = $program_transform_name
23929 bindir = $bindir
23930 sbindir = $sbindir
23931 libexecdir = $libexecdir
23932 datarootdir = $datarootdir
23933 datadir = $datadir
23934 sysconfdir = $sysconfdir
23935 sharedstatedir = $sharedstatedir
23936 localstatedir = $localstatedir
23937 runstatedir = $runstatedir
23938 includedir = $includedir
23939 oldincludedir = $oldincludedir
23940 docdir = $docdir
23941 infodir = $infodir
23942 htmldir = $htmldir
23943 dvidir = $dvidir
23944 pdfdir = $pdfdir
23945 psdir = $psdir
23946 libdir = $libdir
23947 localedir = $localedir
23948 mandir = $mandir
23949 DEFS = $DEFS
23950 ECHO_C = $ECHO_C
23951 ECHO_N = $ECHO_N
23952 ECHO_T = $ECHO_T
23953 LIBS = $LIBS
23954 build_alias = $build_alias
23955 host_alias = $host_alias
23956 target_alias = $target_alias
23957 system_dllpath = $system_dllpath
23958 build = $build
23959 build_cpu = $build_cpu
23960 build_vendor = $build_vendor
23961 build_os = $build_os
23962 host = $host
23963 host_cpu = $host_cpu
23964 host_vendor = $host_vendor
23965 host_os = $host_os
23966 srcdir = $srcdir
23967 SET_MAKE = $SET_MAKE
23968 CC = $CC
23969 CFLAGS = $CFLAGS
23970 LDFLAGS = $LDFLAGS
23971 CPPFLAGS = $CPPFLAGS
23972 ac_ct_CC = $ac_ct_CC
23973 EXEEXT = $EXEEXT
23974 OBJEXT = $OBJEXT
23975 CXX = $CXX
23976 CXXFLAGS = $CXXFLAGS
23977 ac_ct_CXX = $ac_ct_CXX
23978 CPPBIN = $CPPBIN
23979 LD = $LD
23980 TARGETFLAGS = $TARGETFLAGS
23981 toolsext = $toolsext
23982 HOST_ARCH = $HOST_ARCH
23983 aarch64_CC = $aarch64_CC
23984 aarch64_CFLAGS = $aarch64_CFLAGS
23985 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23986 aarch64_LDFLAGS = $aarch64_LDFLAGS
23987 aarch64_DEBUG = $aarch64_DEBUG
23988 aarch64_TARGET = $aarch64_TARGET
23989 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23990 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23991 arm_CC = $arm_CC
23992 arm_CFLAGS = $arm_CFLAGS
23993 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23994 arm_LDFLAGS = $arm_LDFLAGS
23995 arm_DEBUG = $arm_DEBUG
23996 arm_TARGET = $arm_TARGET
23997 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23998 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23999 arm64ec_CC = $arm64ec_CC
24000 arm64ec_CFLAGS = $arm64ec_CFLAGS
24001 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
24002 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
24003 arm64ec_DEBUG = $arm64ec_DEBUG
24004 arm64ec_TARGET = $arm64ec_TARGET
24005 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
24006 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
24007 i386_CC = $i386_CC
24008 i386_CFLAGS = $i386_CFLAGS
24009 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
24010 i386_LDFLAGS = $i386_LDFLAGS
24011 i386_DEBUG = $i386_DEBUG
24012 i386_TARGET = $i386_TARGET
24013 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
24014 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
24015 x86_64_CC = $x86_64_CC
24016 x86_64_CFLAGS = $x86_64_CFLAGS
24017 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
24018 x86_64_LDFLAGS = $x86_64_LDFLAGS
24019 x86_64_DEBUG = $x86_64_DEBUG
24020 x86_64_TARGET = $x86_64_TARGET
24021 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
24022 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
24023 toolsdir = $toolsdir
24024 RUNTESTFLAGS = $RUNTESTFLAGS
24025 SED_CMD = $SED_CMD
24026 FLEX = $FLEX
24027 BISON = $BISON
24028 AR = $AR
24029 ac_ct_AR = $ac_ct_AR
24030 STRIP = $STRIP
24031 RANLIB = $RANLIB
24032 LN_S = $LN_S
24033 GREP = $GREP
24034 EGREP = $EGREP
24035 LDCONFIG = $LDCONFIG
24036 MSGFMT = $MSGFMT
24037 PKG_CONFIG = $PKG_CONFIG
24038 FONTFORGE = $FONTFORGE
24039 RSVG = $RSVG
24040 CONVERT = $CONVERT
24041 ICOTOOL = $ICOTOOL
24042 I386_LIBS = $I386_LIBS
24043 OPENGL_LIBS = $OPENGL_LIBS
24044 DLLFLAGS = $DLLFLAGS
24045 LDDLLFLAGS = $LDDLLFLAGS
24046 LDEXECFLAGS = $LDEXECFLAGS
24047 EXTRACFLAGS = $EXTRACFLAGS
24048 UNIXDLLFLAGS = $UNIXDLLFLAGS
24049 UNIXLDFLAGS = $UNIXLDFLAGS
24050 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
24051 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
24052 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
24053 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
24054 DLLEXT = $DLLEXT
24055 LDD = $LDD
24056 OTOOL = $OTOOL
24057 READELF = $READELF
24058 SUBDIRS = $SUBDIRS
24059 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
24060 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
24061 CARBON_LIBS = $CARBON_LIBS
24062 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
24063 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
24064 IOKIT_LIBS = $IOKIT_LIBS
24065 METAL_LIBS = $METAL_LIBS
24066 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
24067 CORESERVICES_LIBS = $CORESERVICES_LIBS
24068 APPKIT_LIBS = $APPKIT_LIBS
24069 SECURITY_LIBS = $SECURITY_LIBS
24070 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
24071 COREAUDIO_LIBS = $COREAUDIO_LIBS
24072 OPENCL_LIBS = $OPENCL_LIBS
24073 OBJC = $OBJC
24074 OBJCFLAGS = $OBJCFLAGS
24075 ac_ct_OBJC = $ac_ct_OBJC
24076 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
24077 PE_ARCHS = $PE_ARCHS
24078 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
24079 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
24080 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
24081 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
24082 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
24083 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
24084 GSM_PE_LIBS = $GSM_PE_LIBS
24085 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
24086 JPEG_PE_LIBS = $JPEG_PE_LIBS
24087 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
24088 JXR_PE_LIBS = $JXR_PE_LIBS
24089 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
24090 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
24091 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
24092 LDAP_PE_LIBS = $LDAP_PE_LIBS
24093 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
24094 MPG123_PE_LIBS = $MPG123_PE_LIBS
24095 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
24096 MUSL_PE_LIBS = $MUSL_PE_LIBS
24097 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
24098 PNG_PE_LIBS = $PNG_PE_LIBS
24099 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
24100 TIFF_PE_LIBS = $TIFF_PE_LIBS
24101 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
24102 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
24103 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
24104 XML2_PE_LIBS = $XML2_PE_LIBS
24105 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
24106 XSLT_PE_LIBS = $XSLT_PE_LIBS
24107 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
24108 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
24109 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
24110 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
24111 PTHREAD_LIBS = $PTHREAD_LIBS
24112 XMKMF = $XMKMF
24113 CPP = $CPP
24114 X_CFLAGS = $X_CFLAGS
24115 X_PRE_LIBS = $X_PRE_LIBS
24116 X_LIBS = $X_LIBS
24117 X_EXTRA_LIBS = $X_EXTRA_LIBS
24118 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
24119 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
24120 WAYLAND_SCANNER = $WAYLAND_SCANNER
24121 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
24122 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
24123 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
24124 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
24125 EGL_CFLAGS = $EGL_CFLAGS
24126 EGL_LIBS = $EGL_LIBS
24127 WAYLAND_EGL_CFLAGS = $WAYLAND_EGL_CFLAGS
24128 WAYLAND_EGL_LIBS = $WAYLAND_EGL_LIBS
24129 PCAP_LIBS = $PCAP_LIBS
24130 PCSCLITE_LIBS = $PCSCLITE_LIBS
24131 ODBC_CFLAGS = $ODBC_CFLAGS
24132 ODBC_LIBS = $ODBC_LIBS
24133 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
24134 INOTIFY_LIBS = $INOTIFY_LIBS
24135 DBUS_CFLAGS = $DBUS_CFLAGS
24136 DBUS_LIBS = $DBUS_LIBS
24137 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
24138 GNUTLS_LIBS = $GNUTLS_LIBS
24139 SANE_CFLAGS = $SANE_CFLAGS
24140 SANE_LIBS = $SANE_LIBS
24141 USB_CFLAGS = $USB_CFLAGS
24142 USB_LIBS = $USB_LIBS
24143 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
24144 GPHOTO2_LIBS = $GPHOTO2_LIBS
24145 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
24146 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
24147 RESOLV_LIBS = $RESOLV_LIBS
24148 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
24149 FREETYPE_LIBS = $FREETYPE_LIBS
24150 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
24151 PULSE_CFLAGS = $PULSE_CFLAGS
24152 PULSE_LIBS = $PULSE_LIBS
24153 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
24154 GSTREAMER_LIBS = $GSTREAMER_LIBS
24155 ALSA_LIBS = $ALSA_LIBS
24156 OSS4_CFLAGS = $OSS4_CFLAGS
24157 OSS4_LIBS = $OSS4_LIBS
24158 UDEV_CFLAGS = $UDEV_CFLAGS
24159 UDEV_LIBS = $UDEV_LIBS
24160 UNWIND_CFLAGS = $UNWIND_CFLAGS
24161 UNWIND_LIBS = $UNWIND_LIBS
24162 SDL2_CFLAGS = $SDL2_CFLAGS
24163 SDL2_LIBS = $SDL2_LIBS
24164 CAPI20_CFLAGS = $CAPI20_CFLAGS
24165 CAPI20_LIBS = $CAPI20_LIBS
24166 CUPS_CFLAGS = $CUPS_CFLAGS
24167 CUPS_LIBS = $CUPS_LIBS
24168 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
24169 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
24170 KRB5_CFLAGS = $KRB5_CFLAGS
24171 KRB5_LIBS = $KRB5_LIBS
24172 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
24173 GSSAPI_LIBS = $GSSAPI_LIBS
24174 PROCSTAT_LIBS = $PROCSTAT_LIBS
24175 NETAPI_CFLAGS = $NETAPI_CFLAGS
24176 NETAPI_LIBS = $NETAPI_LIBS
24177 MSVCRTFLAGS = $MSVCRTFLAGS
24178 DELAYLOADFLAG = $DELAYLOADFLAG
24179 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
24180 RT_LIBS = $RT_LIBS
24181 TAGSFLAGS = $TAGSFLAGS
24182 LIBOBJS = $LIBOBJS
24183 LTLIBOBJS = $LTLIBOBJS
24184 $SET_MAKE
24185 $wine_rules
24186 _WINE_EOF
24187 as_fn_error $? "could not create Makefile" "$LINENO" 5
24190 _ACEOF
24192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24194 # Handling of arguments.
24195 for ac_config_target in $ac_config_targets
24197 case $ac_config_target in
24198 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24199 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24200 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
24201 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
24202 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
24203 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
24205 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
24206 esac
24207 done
24210 # If the user did not use the arguments to specify the items to instantiate,
24211 # then the envvar interface is used. Set only those that are not.
24212 # We use the long form for the default assignment because of an extremely
24213 # bizarre bug on SunOS 4.1.3.
24214 if $ac_need_defaults; then
24215 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
24216 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
24217 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
24220 # Have a temporary directory for convenience. Make it in the build tree
24221 # simply because there is no reason against having it here, and in addition,
24222 # creating and moving files from /tmp can sometimes cause problems.
24223 # Hook for its removal unless debugging.
24224 # Note that there is a small window in which the directory will not be cleaned:
24225 # after its creation but before its name has been assigned to `$tmp'.
24226 $debug ||
24228 tmp= ac_tmp=
24229 trap 'exit_status=$?
24230 : "${ac_tmp:=$tmp}"
24231 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24233 trap 'as_fn_exit 1' 1 2 13 15
24235 # Create a (secure) tmp directory for tmp files.
24238 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24239 test -d "$tmp"
24240 } ||
24242 tmp=./conf$$-$RANDOM
24243 (umask 077 && mkdir "$tmp")
24244 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
24245 ac_tmp=$tmp
24247 # Set up the scripts for CONFIG_HEADERS section.
24248 # No need to generate them if there are no CONFIG_HEADERS.
24249 # This happens for instance with `./config.status Makefile'.
24250 if test -n "$CONFIG_HEADERS"; then
24251 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24252 BEGIN {
24253 _ACEOF
24255 # Transform confdefs.h into an awk script `defines.awk', embedded as
24256 # here-document in config.status, that substitutes the proper values into
24257 # config.h.in to produce config.h.
24259 # Create a delimiter string that does not exist in confdefs.h, to ease
24260 # handling of long lines.
24261 ac_delim='%!_!# '
24262 for ac_last_try in false false :; do
24263 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
24264 if test -z "$ac_tt"; then
24265 break
24266 elif $ac_last_try; then
24267 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24268 else
24269 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24271 done
24273 # For the awk script, D is an array of macro values keyed by name,
24274 # likewise P contains macro parameters if any. Preserve backslash
24275 # newline sequences.
24277 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24278 sed -n '
24279 s/.\{148\}/&'"$ac_delim"'/g
24280 t rset
24281 :rset
24282 s/^[ ]*#[ ]*define[ ][ ]*/ /
24283 t def
24285 :def
24286 s/\\$//
24287 t bsnl
24288 s/["\\]/\\&/g
24289 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24290 D["\1"]=" \3"/p
24291 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
24293 :bsnl
24294 s/["\\]/\\&/g
24295 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
24296 D["\1"]=" \3\\\\\\n"\\/p
24297 t cont
24298 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
24299 t cont
24301 :cont
24303 s/.\{148\}/&'"$ac_delim"'/g
24304 t clear
24305 :clear
24306 s/\\$//
24307 t bsnlc
24308 s/["\\]/\\&/g; s/^/"/; s/$/"/p
24310 :bsnlc
24311 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
24312 b cont
24313 ' <confdefs.h | sed '
24314 s/'"$ac_delim"'/"\\\
24315 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24318 for (key in D) D_is_set[key] = 1
24319 FS = "\a"
24321 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24322 line = \$ 0
24323 split(line, arg, " ")
24324 if (arg[1] == "#") {
24325 defundef = arg[2]
24326 mac1 = arg[3]
24327 } else {
24328 defundef = substr(arg[1], 2)
24329 mac1 = arg[2]
24331 split(mac1, mac2, "(") #)
24332 macro = mac2[1]
24333 prefix = substr(line, 1, index(line, defundef) - 1)
24334 if (D_is_set[macro]) {
24335 # Preserve the white space surrounding the "#".
24336 print prefix "define", macro P[macro] D[macro]
24337 next
24338 } else {
24339 # Replace #undef with comments. This is necessary, for example,
24340 # in the case of _POSIX_SOURCE, which is predefined and required
24341 # on some systems where configure will not decide to define it.
24342 if (defundef == "undef") {
24343 print "/*", prefix defundef, macro, "*/"
24344 next
24348 { print }
24349 _ACAWK
24350 _ACEOF
24351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24352 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
24353 fi # test -n "$CONFIG_HEADERS"
24356 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
24357 shift
24358 for ac_tag
24360 case $ac_tag in
24361 :[FHLC]) ac_mode=$ac_tag; continue;;
24362 esac
24363 case $ac_mode$ac_tag in
24364 :[FHL]*:*);;
24365 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
24366 :[FH]-) ac_tag=-:-;;
24367 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24368 esac
24369 ac_save_IFS=$IFS
24370 IFS=:
24371 set x $ac_tag
24372 IFS=$ac_save_IFS
24373 shift
24374 ac_file=$1
24375 shift
24377 case $ac_mode in
24378 :L) ac_source=$1;;
24379 :[FH])
24380 ac_file_inputs=
24381 for ac_f
24383 case $ac_f in
24384 -) ac_f="$ac_tmp/stdin";;
24385 *) # Look for the file first in the build tree, then in the source tree
24386 # (if the path is not absolute). The absolute path cannot be DOS-style,
24387 # because $ac_f cannot contain `:'.
24388 test -f "$ac_f" ||
24389 case $ac_f in
24390 [\\/$]*) false;;
24391 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24392 esac ||
24393 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
24394 esac
24395 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24396 as_fn_append ac_file_inputs " '$ac_f'"
24397 done
24399 # Let's still pretend it is `configure' which instantiates (i.e., don't
24400 # use $as_me), people would be surprised to read:
24401 # /* config.h. Generated by config.status. */
24402 configure_input='Generated from '`
24403 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24404 `' by configure.'
24405 if test x"$ac_file" != x-; then
24406 configure_input="$ac_file. $configure_input"
24407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
24408 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24410 # Neutralize special characters interpreted by sed in replacement strings.
24411 case $configure_input in #(
24412 *\&* | *\|* | *\\* )
24413 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24414 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24415 *) ac_sed_conf_input=$configure_input;;
24416 esac
24418 case $ac_tag in
24419 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24420 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24421 esac
24423 esac
24425 ac_dir=`$as_dirname -- "$ac_file" ||
24426 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24427 X"$ac_file" : 'X\(//\)[^/]' \| \
24428 X"$ac_file" : 'X\(//\)$' \| \
24429 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24430 printf "%s\n" X"$ac_file" |
24431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24432 s//\1/
24435 /^X\(\/\/\)[^/].*/{
24436 s//\1/
24439 /^X\(\/\/\)$/{
24440 s//\1/
24443 /^X\(\/\).*/{
24444 s//\1/
24447 s/.*/./; q'`
24448 as_dir="$ac_dir"; as_fn_mkdir_p
24449 ac_builddir=.
24451 case "$ac_dir" in
24452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24454 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24455 # A ".." for each directory in $ac_dir_suffix.
24456 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24457 case $ac_top_builddir_sub in
24458 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24459 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24460 esac ;;
24461 esac
24462 ac_abs_top_builddir=$ac_pwd
24463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24464 # for backward compatibility:
24465 ac_top_builddir=$ac_top_build_prefix
24467 case $srcdir in
24468 .) # We are building in place.
24469 ac_srcdir=.
24470 ac_top_srcdir=$ac_top_builddir_sub
24471 ac_abs_top_srcdir=$ac_pwd ;;
24472 [\\/]* | ?:[\\/]* ) # Absolute name.
24473 ac_srcdir=$srcdir$ac_dir_suffix;
24474 ac_top_srcdir=$srcdir
24475 ac_abs_top_srcdir=$srcdir ;;
24476 *) # Relative name.
24477 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24478 ac_top_srcdir=$ac_top_build_prefix$srcdir
24479 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24480 esac
24481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24484 case $ac_mode in
24488 # CONFIG_HEADER
24490 if test x"$ac_file" != x-; then
24492 printf "%s\n" "/* $configure_input */" >&1 \
24493 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24494 } >"$ac_tmp/config.h" \
24495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24496 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24498 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24499 else
24500 rm -f "$ac_file"
24501 mv "$ac_tmp/config.h" "$ac_file" \
24502 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24504 else
24505 printf "%s\n" "/* $configure_input */" >&1 \
24506 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24507 || as_fn_error $? "could not create -" "$LINENO" 5
24512 # CONFIG_LINK
24515 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24517 else
24518 # Prefer the file from the source tree if names are identical.
24519 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24520 ac_source=$srcdir/$ac_source
24523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24524 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24526 if test ! -r "$ac_source"; then
24527 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24529 rm -f "$ac_file"
24531 # Try a relative symlink, then a hard link, then a copy.
24532 case $ac_source in
24533 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24534 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24535 esac
24536 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24537 ln "$ac_source" "$ac_file" 2>/dev/null ||
24538 cp -p "$ac_source" "$ac_file" ||
24539 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24542 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24543 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24545 esac
24548 case $ac_file$ac_mode in
24549 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24550 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24551 "Makefile":C) wine_fn_output_makefile Makefile ;;
24553 esac
24554 done # for ac_tag
24557 as_fn_exit 0
24558 _ACEOF
24559 ac_clean_files=$ac_clean_files_save
24561 test $ac_write_fail = 0 ||
24562 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24565 # configure is writing to config.log, and then calls config.status.
24566 # config.status does its own redirection, appending to config.log.
24567 # Unfortunately, on DOS this fails, as config.log is still kept open
24568 # by configure, so config.status won't be able to write to it; its
24569 # output is simply discarded. So we exec the FD to /dev/null,
24570 # effectively closing config.log, so it can be properly (re)opened and
24571 # appended to by config.status. When coming back to configure, we
24572 # need to make the FD available again.
24573 if test "$no_create" != yes; then
24574 ac_cs_success=:
24575 ac_config_status_args=
24576 test "$silent" = yes &&
24577 ac_config_status_args="$ac_config_status_args --quiet"
24578 exec 5>/dev/null
24579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24580 exec 5>>config.log
24581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24582 # would make configure fail if this is the last instruction.
24583 $ac_cs_success || as_fn_exit 1
24585 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24587 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24591 if test "$no_create" = "yes"
24592 then
24593 exit 0
24596 ac_save_IFS="$IFS"
24597 if test "x$wine_notices" != x; then
24598 echo >&6
24599 IFS="|"
24600 for msg in $wine_notices; do
24601 IFS="$ac_save_IFS"
24602 if ${msg:+false} :
24603 then :
24605 else $as_nop
24606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24607 printf "%s\n" "$as_me: $msg" >&6;}
24609 done
24611 IFS="|"
24612 for msg in $wine_warnings; do
24613 IFS="$ac_save_IFS"
24614 if ${msg:+false} :
24615 then :
24617 else $as_nop
24618 echo >&2
24619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24620 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24622 done
24623 IFS="$ac_save_IFS"
24625 printf "%s\n" "
24626 $as_me: Finished. Do '${ac_make}' to compile Wine.
24627 " >&6