user32/tests: Add tests for word breaks before punctuation.
[wine.git] / configure
blob644d38e7288816a95ee13ed1b256d85ad86645c3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.21.
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='8.21'
615 PACKAGE_STRING='Wine 8.21'
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 PCSCLITE_LIBS
704 PCAP_LIBS
705 XKBREGISTRY_LIBS
706 XKBREGISTRY_CFLAGS
707 XKBCOMMON_LIBS
708 XKBCOMMON_CFLAGS
709 WAYLAND_SCANNER
710 WAYLAND_CLIENT_LIBS
711 WAYLAND_CLIENT_CFLAGS
712 X_EXTRA_LIBS
713 X_LIBS
714 X_PRE_LIBS
715 X_CFLAGS
717 XMKMF
718 PTHREAD_LIBS
719 ZYDIS_PE_LIBS
720 ZYDIS_PE_CFLAGS
721 ZLIB_PE_LIBS
722 ZLIB_PE_CFLAGS
723 XSLT_PE_LIBS
724 XSLT_PE_CFLAGS
725 XML2_PE_LIBS
726 XML2_PE_CFLAGS
727 VKD3D_PE_LIBS
728 VKD3D_PE_CFLAGS
729 TIFF_PE_LIBS
730 TIFF_PE_CFLAGS
731 PNG_PE_LIBS
732 PNG_PE_CFLAGS
733 MUSL_PE_LIBS
734 MUSL_PE_CFLAGS
735 MPG123_PE_LIBS
736 MPG123_PE_CFLAGS
737 LDAP_PE_LIBS
738 LDAP_PE_CFLAGS
739 LCMS2_PE_LIBS
740 LCMS2_PE_CFLAGS
741 JXR_PE_LIBS
742 JXR_PE_CFLAGS
743 JPEG_PE_LIBS
744 JPEG_PE_CFLAGS
745 GSM_PE_LIBS
746 GSM_PE_CFLAGS
747 FLUIDSYNTH_PE_LIBS
748 FLUIDSYNTH_PE_CFLAGS
749 FAUDIO_PE_LIBS
750 FAUDIO_PE_CFLAGS
751 MINGW_PKG_CONFIG
752 PE_ARCHS
753 WINELOADER_DEPENDS
754 ac_ct_OBJC
755 OBJCFLAGS
756 OBJC
757 OPENCL_LIBS
758 COREAUDIO_LIBS
759 SYSTEMCONFIGURATION_LIBS
760 SECURITY_LIBS
761 APPKIT_LIBS
762 CORESERVICES_LIBS
763 APPLICATIONSERVICES_LIBS
764 METAL_LIBS
765 IOKIT_LIBS
766 DISKARBITRATION_LIBS
767 COREFOUNDATION_LIBS
768 CARBON_LIBS
769 CONFIGURE_TARGETS
770 DISABLED_SUBDIRS
771 SUBDIRS
772 READELF
773 OTOOL
775 DLLEXT
776 WINEPRELOADER_LDFLAGS
777 WINELOADER_LDFLAGS
778 TOP_INSTALL_DEV
779 TOP_INSTALL_LIB
780 UNIXLDFLAGS
781 UNIXDLLFLAGS
782 EXTRACFLAGS
783 LDEXECFLAGS
784 LDDLLFLAGS
785 DLLFLAGS
786 OPENGL_LIBS
787 I386_LIBS
788 ICOTOOL
789 CONVERT
790 RSVG
791 FONTFORGE
792 PKG_CONFIG
793 MSGFMT
794 LDCONFIG
795 EGREP
796 GREP
797 LN_S
798 RANLIB
799 STRIP
800 ac_ct_AR
802 BISON
803 FLEX
804 SED_CMD
805 RUNTESTFLAGS
806 MAKEDEP
807 toolsdir
808 x86_64_DISABLED_SUBDIRS
809 x86_64_DELAYLOADFLAG
810 x86_64_TARGET
811 x86_64_DEBUG
812 x86_64_LDFLAGS
813 x86_64_EXTRACFLAGS
814 x86_64_CFLAGS
815 x86_64_CC
816 i386_DISABLED_SUBDIRS
817 i386_DELAYLOADFLAG
818 i386_TARGET
819 i386_DEBUG
820 i386_LDFLAGS
821 i386_EXTRACFLAGS
822 i386_CFLAGS
823 i386_CC
824 arm64ec_DISABLED_SUBDIRS
825 arm64ec_DELAYLOADFLAG
826 arm64ec_TARGET
827 arm64ec_DEBUG
828 arm64ec_LDFLAGS
829 arm64ec_EXTRACFLAGS
830 arm64ec_CFLAGS
831 arm64ec_CC
832 arm_DISABLED_SUBDIRS
833 arm_DELAYLOADFLAG
834 arm_TARGET
835 arm_DEBUG
836 arm_LDFLAGS
837 arm_EXTRACFLAGS
838 arm_CFLAGS
839 arm_CC
840 aarch64_DISABLED_SUBDIRS
841 aarch64_DELAYLOADFLAG
842 aarch64_TARGET
843 aarch64_DEBUG
844 aarch64_LDFLAGS
845 aarch64_EXTRACFLAGS
846 aarch64_CFLAGS
847 aarch64_CC
848 HOST_ARCH
849 toolsext
850 TARGETFLAGS
852 CPPBIN
853 ac_ct_CXX
854 CXXFLAGS
856 OBJEXT
857 EXEEXT
858 ac_ct_CC
859 CPPFLAGS
860 LDFLAGS
861 CFLAGS
863 SET_MAKE
864 srcdir
865 nlsdir
866 fontdir
867 dlldir
868 host_os
869 host_vendor
870 host_cpu
871 host
872 build_os
873 build_vendor
874 build_cpu
875 build
876 system_dllpath
877 target_alias
878 host_alias
879 build_alias
880 LIBS
881 ECHO_T
882 ECHO_N
883 ECHO_C
884 DEFS
885 mandir
886 localedir
887 libdir
888 psdir
889 pdfdir
890 dvidir
891 htmldir
892 infodir
893 docdir
894 oldincludedir
895 includedir
896 runstatedir
897 localstatedir
898 sharedstatedir
899 sysconfdir
900 datadir
901 datarootdir
902 libexecdir
903 sbindir
904 bindir
905 program_transform_name
906 prefix
907 exec_prefix
908 PACKAGE_URL
909 PACKAGE_BUGREPORT
910 PACKAGE_STRING
911 PACKAGE_VERSION
912 PACKAGE_TARNAME
913 PACKAGE_NAME
914 PATH_SEPARATOR
915 SHELL'
916 ac_subst_files=''
917 ac_user_opts='
918 enable_option_checking
919 enable_archs
920 enable_win16
921 enable_win64
922 enable_tests
923 enable_build_id
924 enable_maintainer_mode
925 enable_silent_rules
926 enable_werror
927 with_alsa
928 with_capi
929 with_coreaudio
930 with_cups
931 with_dbus
932 with_float_abi
933 with_fontconfig
934 with_freetype
935 with_gettext
936 with_gettextpo
937 with_gphoto
938 with_gnutls
939 with_gssapi
940 with_gstreamer
941 with_inotify
942 with_krb5
943 with_mingw
944 with_netapi
945 with_opencl
946 with_opengl
947 with_osmesa
948 with_oss
949 with_pcap
950 with_pcsclite
951 with_pthread
952 with_pulse
953 with_sane
954 with_sdl
955 with_udev
956 with_unwind
957 with_usb
958 with_v4l2
959 with_vulkan
960 with_wayland
961 with_xcomposite
962 with_xcursor
963 with_xfixes
964 with_xinerama
965 with_xinput
966 with_xinput2
967 with_xrandr
968 with_xrender
969 with_xshape
970 with_xshm
971 with_xxf86vm
972 with_system_dllpath
973 with_wine_tools
974 with_wine64
975 enable_largefile
976 with_x
977 enable_acledit
978 enable_aclui
979 enable_activeds_tlb
980 enable_activeds
981 enable_actxprxy
982 enable_adsldp
983 enable_adsldpc
984 enable_advapi32
985 enable_advpack
986 enable_amsi
987 enable_amstream
988 enable_apisetschema
989 enable_apphelp
990 enable_appwiz_cpl
991 enable_appxdeploymentclient
992 enable_atl
993 enable_atl100
994 enable_atl110
995 enable_atl80
996 enable_atl90
997 enable_atlthunk
998 enable_atmlib
999 enable_authz
1000 enable_avicap32
1001 enable_avifil32
1002 enable_avrt
1003 enable_bcrypt
1004 enable_bcryptprimitives
1005 enable_bluetoothapis
1006 enable_browseui
1007 enable_bthprops_cpl
1008 enable_cabinet
1009 enable_capi2032
1010 enable_cards
1011 enable_cdosys
1012 enable_cfgmgr32
1013 enable_clusapi
1014 enable_cng_sys
1015 enable_combase
1016 enable_comcat
1017 enable_comctl32
1018 enable_comdlg32
1019 enable_coml2
1020 enable_compstui
1021 enable_comsvcs
1022 enable_concrt140
1023 enable_connect
1024 enable_credui
1025 enable_crtdll
1026 enable_crypt32
1027 enable_cryptdlg
1028 enable_cryptdll
1029 enable_cryptext
1030 enable_cryptnet
1031 enable_cryptowinrt
1032 enable_cryptsp
1033 enable_cryptui
1034 enable_ctapi32
1035 enable_ctl3d32
1036 enable_d2d1
1037 enable_d3d10
1038 enable_d3d10_1
1039 enable_d3d10core
1040 enable_d3d11
1041 enable_d3d12
1042 enable_d3d12core
1043 enable_d3d8
1044 enable_d3d8thk
1045 enable_d3d9
1046 enable_d3dcompiler_33
1047 enable_d3dcompiler_34
1048 enable_d3dcompiler_35
1049 enable_d3dcompiler_36
1050 enable_d3dcompiler_37
1051 enable_d3dcompiler_38
1052 enable_d3dcompiler_39
1053 enable_d3dcompiler_40
1054 enable_d3dcompiler_41
1055 enable_d3dcompiler_42
1056 enable_d3dcompiler_43
1057 enable_d3dcompiler_46
1058 enable_d3dcompiler_47
1059 enable_d3dim
1060 enable_d3dim700
1061 enable_d3drm
1062 enable_d3dx10_33
1063 enable_d3dx10_34
1064 enable_d3dx10_35
1065 enable_d3dx10_36
1066 enable_d3dx10_37
1067 enable_d3dx10_38
1068 enable_d3dx10_39
1069 enable_d3dx10_40
1070 enable_d3dx10_41
1071 enable_d3dx10_42
1072 enable_d3dx10_43
1073 enable_d3dx11_42
1074 enable_d3dx11_43
1075 enable_d3dx9_24
1076 enable_d3dx9_25
1077 enable_d3dx9_26
1078 enable_d3dx9_27
1079 enable_d3dx9_28
1080 enable_d3dx9_29
1081 enable_d3dx9_30
1082 enable_d3dx9_31
1083 enable_d3dx9_32
1084 enable_d3dx9_33
1085 enable_d3dx9_34
1086 enable_d3dx9_35
1087 enable_d3dx9_36
1088 enable_d3dx9_37
1089 enable_d3dx9_38
1090 enable_d3dx9_39
1091 enable_d3dx9_40
1092 enable_d3dx9_41
1093 enable_d3dx9_42
1094 enable_d3dx9_43
1095 enable_d3dxof
1096 enable_davclnt
1097 enable_dbgeng
1098 enable_dbghelp
1099 enable_dciman32
1100 enable_dcomp
1101 enable_ddraw
1102 enable_ddrawex
1103 enable_devenum
1104 enable_dhcpcsvc
1105 enable_dhcpcsvc6
1106 enable_dhtmled_ocx
1107 enable_diasymreader
1108 enable_difxapi
1109 enable_dinput
1110 enable_dinput8
1111 enable_directmanipulation
1112 enable_dispex
1113 enable_dmband
1114 enable_dmcompos
1115 enable_dmime
1116 enable_dmloader
1117 enable_dmscript
1118 enable_dmstyle
1119 enable_dmsynth
1120 enable_dmusic
1121 enable_dmusic32
1122 enable_dnsapi
1123 enable_dplay
1124 enable_dplayx
1125 enable_dpnaddr
1126 enable_dpnet
1127 enable_dpnhpast
1128 enable_dpnhupnp
1129 enable_dpnlobby
1130 enable_dpvoice
1131 enable_dpwsockx
1132 enable_drmclien
1133 enable_dsdmo
1134 enable_dsound
1135 enable_dsquery
1136 enable_dssenh
1137 enable_dsuiext
1138 enable_dswave
1139 enable_dwmapi
1140 enable_dwrite
1141 enable_dx8vb
1142 enable_dxcore
1143 enable_dxdiagn
1144 enable_dxgi
1145 enable_dxtrans
1146 enable_dxva2
1147 enable_esent
1148 enable_evr
1149 enable_explorerframe
1150 enable_faultrep
1151 enable_feclient
1152 enable_fltlib
1153 enable_fltmgr_sys
1154 enable_fntcache
1155 enable_fontsub
1156 enable_fusion
1157 enable_fwpuclnt
1158 enable_gameux
1159 enable_gamingtcui
1160 enable_gdi32
1161 enable_gdiplus
1162 enable_geolocation
1163 enable_glu32
1164 enable_gphoto2_ds
1165 enable_gpkcsp
1166 enable_graphicscapture
1167 enable_hal
1168 enable_hhctrl_ocx
1169 enable_hid
1170 enable_hidclass_sys
1171 enable_hidparse_sys
1172 enable_hlink
1173 enable_hnetcfg
1174 enable_hrtfapo
1175 enable_http_sys
1176 enable_httpapi
1177 enable_hvsimanagementapi
1178 enable_ia2comproxy
1179 enable_iccvid
1180 enable_icmp
1181 enable_ieframe
1182 enable_ieproxy
1183 enable_imaadp32_acm
1184 enable_imagehlp
1185 enable_imm32
1186 enable_inetcomm
1187 enable_inetcpl_cpl
1188 enable_inetmib1
1189 enable_infosoft
1190 enable_initpki
1191 enable_inkobj
1192 enable_inseng
1193 enable_iphlpapi
1194 enable_iprop
1195 enable_ir50_32
1196 enable_irprops_cpl
1197 enable_itircl
1198 enable_itss
1199 enable_joy_cpl
1200 enable_jscript
1201 enable_jsproxy
1202 enable_kerberos
1203 enable_kernel32
1204 enable_kernelbase
1205 enable_ksecdd_sys
1206 enable_ksproxy_ax
1207 enable_ksuser
1208 enable_ktmw32
1209 enable_l3codeca_acm
1210 enable_light_msstyles
1211 enable_loadperf
1212 enable_localspl
1213 enable_localui
1214 enable_lz32
1215 enable_magnification
1216 enable_mapi32
1217 enable_mapistub
1218 enable_mciavi32
1219 enable_mcicda
1220 enable_mciqtz32
1221 enable_mciseq
1222 enable_mciwave
1223 enable_mf
1224 enable_mf3216
1225 enable_mferror
1226 enable_mfmediaengine
1227 enable_mfplat
1228 enable_mfplay
1229 enable_mfreadwrite
1230 enable_mfsrcsnk
1231 enable_mgmtapi
1232 enable_midimap
1233 enable_mlang
1234 enable_mmcndmgr
1235 enable_mmdevapi
1236 enable_mountmgr_sys
1237 enable_mp3dmod
1238 enable_mpr
1239 enable_mprapi
1240 enable_msacm32_drv
1241 enable_msacm32
1242 enable_msado15
1243 enable_msadp32_acm
1244 enable_msasn1
1245 enable_msauddecmft
1246 enable_mscat32
1247 enable_mscms
1248 enable_mscoree
1249 enable_mscorwks
1250 enable_msctf
1251 enable_msctfmonitor
1252 enable_msctfp
1253 enable_msdaps
1254 enable_msdasql
1255 enable_msdelta
1256 enable_msdmo
1257 enable_msdrm
1258 enable_msftedit
1259 enable_msg711_acm
1260 enable_msgsm32_acm
1261 enable_mshtml_tlb
1262 enable_mshtml
1263 enable_msi
1264 enable_msident
1265 enable_msimg32
1266 enable_msimsg
1267 enable_msimtf
1268 enable_msisip
1269 enable_msisys_ocx
1270 enable_msls31
1271 enable_msmpeg2vdec
1272 enable_msnet32
1273 enable_mspatcha
1274 enable_msports
1275 enable_msrle32
1276 enable_msscript_ocx
1277 enable_mssign32
1278 enable_mssip32
1279 enable_mstask
1280 enable_msttsengine
1281 enable_msv1_0
1282 enable_msvcirt
1283 enable_msvcm80
1284 enable_msvcm90
1285 enable_msvcp100
1286 enable_msvcp110
1287 enable_msvcp120
1288 enable_msvcp120_app
1289 enable_msvcp140
1290 enable_msvcp140_1
1291 enable_msvcp140_2
1292 enable_msvcp140_atomic_wait
1293 enable_msvcp140_codecvt_ids
1294 enable_msvcp60
1295 enable_msvcp70
1296 enable_msvcp71
1297 enable_msvcp80
1298 enable_msvcp90
1299 enable_msvcp_win
1300 enable_msvcr100
1301 enable_msvcr110
1302 enable_msvcr120
1303 enable_msvcr120_app
1304 enable_msvcr70
1305 enable_msvcr71
1306 enable_msvcr80
1307 enable_msvcr90
1308 enable_msvcrt
1309 enable_msvcrt20
1310 enable_msvcrt40
1311 enable_msvcrtd
1312 enable_msvfw32
1313 enable_msvidc32
1314 enable_mswsock
1315 enable_msxml
1316 enable_msxml2
1317 enable_msxml3
1318 enable_msxml4
1319 enable_msxml6
1320 enable_mtxdm
1321 enable_ncrypt
1322 enable_nddeapi
1323 enable_ndis_sys
1324 enable_netapi32
1325 enable_netcfgx
1326 enable_netio_sys
1327 enable_netprofm
1328 enable_netutils
1329 enable_newdev
1330 enable_ninput
1331 enable_normaliz
1332 enable_npmshtml
1333 enable_npptools
1334 enable_nsi
1335 enable_nsiproxy_sys
1336 enable_ntdll
1337 enable_ntdsapi
1338 enable_ntoskrnl_exe
1339 enable_ntprint
1340 enable_objsel
1341 enable_odbc32
1342 enable_odbcbcp
1343 enable_odbccp32
1344 enable_odbccu32
1345 enable_ole32
1346 enable_oleacc
1347 enable_oleaut32
1348 enable_olecli32
1349 enable_oledb32
1350 enable_oledlg
1351 enable_olepro32
1352 enable_olesvr32
1353 enable_olethk32
1354 enable_opcservices
1355 enable_opencl
1356 enable_opengl32
1357 enable_packager
1358 enable_pdh
1359 enable_photometadatahandler
1360 enable_pidgen
1361 enable_powrprof
1362 enable_printui
1363 enable_prntvpt
1364 enable_propsys
1365 enable_psapi
1366 enable_pstorec
1367 enable_pwrshplugin
1368 enable_qasf
1369 enable_qcap
1370 enable_qdvd
1371 enable_qedit
1372 enable_qmgr
1373 enable_qmgrprxy
1374 enable_quartz
1375 enable_query
1376 enable_qwave
1377 enable_rasapi32
1378 enable_rasdlg
1379 enable_regapi
1380 enable_resutils
1381 enable_riched20
1382 enable_riched32
1383 enable_rpcrt4
1384 enable_rsabase
1385 enable_rsaenh
1386 enable_rstrtmgr
1387 enable_rtutils
1388 enable_rtworkq
1389 enable_samlib
1390 enable_sane_ds
1391 enable_sapi
1392 enable_sas
1393 enable_scarddlg
1394 enable_scardsvr
1395 enable_sccbase
1396 enable_schannel
1397 enable_schedsvc
1398 enable_scrobj
1399 enable_scrrun
1400 enable_scsiport_sys
1401 enable_sechost
1402 enable_secur32
1403 enable_security
1404 enable_sensapi
1405 enable_serialui
1406 enable_setupapi
1407 enable_sfc
1408 enable_sfc_os
1409 enable_shcore
1410 enable_shdoclc
1411 enable_shdocvw
1412 enable_shell32
1413 enable_shfolder
1414 enable_shlwapi
1415 enable_slbcsp
1416 enable_slc
1417 enable_snmpapi
1418 enable_softpub
1419 enable_spoolss
1420 enable_sppc
1421 enable_srclient
1422 enable_srvcli
1423 enable_srvsvc
1424 enable_sspicli
1425 enable_stdole2_tlb
1426 enable_stdole32_tlb
1427 enable_sti
1428 enable_strmdll
1429 enable_svrapi
1430 enable_sxs
1431 enable_t2embed
1432 enable_tapi32
1433 enable_taskschd
1434 enable_tbs
1435 enable_tdh
1436 enable_tdi_sys
1437 enable_threadpoolwinrt
1438 enable_traffic
1439 enable_twain_32
1440 enable_twinapi_appcore
1441 enable_tzres
1442 enable_ucrtbase
1443 enable_uianimation
1444 enable_uiautomationcore
1445 enable_uiribbon
1446 enable_unicows
1447 enable_updspapi
1448 enable_url
1449 enable_urlmon
1450 enable_usbd_sys
1451 enable_user32
1452 enable_userenv
1453 enable_usp10
1454 enable_utildll
1455 enable_uxtheme
1456 enable_vbscript
1457 enable_vcomp
1458 enable_vcomp100
1459 enable_vcomp110
1460 enable_vcomp120
1461 enable_vcomp140
1462 enable_vcomp90
1463 enable_vcruntime140
1464 enable_vcruntime140_1
1465 enable_vdmdbg
1466 enable_version
1467 enable_vga
1468 enable_virtdisk
1469 enable_vssapi
1470 enable_vulkan_1
1471 enable_wbemdisp
1472 enable_wbemprox
1473 enable_wdscore
1474 enable_webservices
1475 enable_websocket
1476 enable_wer
1477 enable_wevtapi
1478 enable_wevtsvc
1479 enable_wiaservc
1480 enable_wimgapi
1481 enable_win32u
1482 enable_windows_applicationmodel
1483 enable_windows_devices_bluetooth
1484 enable_windows_devices_enumeration
1485 enable_windows_devices_usb
1486 enable_windows_gaming_input
1487 enable_windows_gaming_ui_gamebar
1488 enable_windows_globalization
1489 enable_windows_media_devices
1490 enable_windows_media_mediacontrol
1491 enable_windows_media_speech
1492 enable_windows_media
1493 enable_windows_networking_hostname
1494 enable_windows_networking
1495 enable_windows_perception_stub
1496 enable_windows_security_credentials_ui_userconsentverifier
1497 enable_windows_storage_applicationdata
1498 enable_windows_system_profile_systemmanufacturers
1499 enable_windows_ui
1500 enable_windowscodecs
1501 enable_windowscodecsext
1502 enable_winealsa_drv
1503 enable_wineandroid_drv
1504 enable_winebus_sys
1505 enable_winecoreaudio_drv
1506 enable_winecrt0
1507 enable_wined3d
1508 enable_winegstreamer
1509 enable_winehid_sys
1510 enable_winemac_drv
1511 enable_winemapi
1512 enable_wineoss_drv
1513 enable_wineps_drv
1514 enable_winepulse_drv
1515 enable_wineusb_sys
1516 enable_winevulkan
1517 enable_winewayland_drv
1518 enable_winex11_drv
1519 enable_winexinput_sys
1520 enable_wing32
1521 enable_winhttp
1522 enable_wininet
1523 enable_winmm
1524 enable_winnls32
1525 enable_winprint
1526 enable_winscard
1527 enable_winspool_drv
1528 enable_winsta
1529 enable_wintab32
1530 enable_wintrust
1531 enable_wintypes
1532 enable_winusb
1533 enable_wlanapi
1534 enable_wlanui
1535 enable_wldap32
1536 enable_wldp
1537 enable_wmasf
1538 enable_wmi
1539 enable_wmiutils
1540 enable_wmp
1541 enable_wmphoto
1542 enable_wmvcore
1543 enable_wnaspi32
1544 enable_wofutil
1545 enable_wow64
1546 enable_wow64cpu
1547 enable_wow64win
1548 enable_wpc
1549 enable_wpcap
1550 enable_ws2_32
1551 enable_wsdapi
1552 enable_wshom_ocx
1553 enable_wsnmp32
1554 enable_wsock32
1555 enable_wtsapi32
1556 enable_wuapi
1557 enable_wuaueng
1558 enable_x3daudio1_0
1559 enable_x3daudio1_1
1560 enable_x3daudio1_2
1561 enable_x3daudio1_3
1562 enable_x3daudio1_4
1563 enable_x3daudio1_5
1564 enable_x3daudio1_6
1565 enable_x3daudio1_7
1566 enable_xactengine2_0
1567 enable_xactengine2_4
1568 enable_xactengine2_7
1569 enable_xactengine2_9
1570 enable_xactengine3_0
1571 enable_xactengine3_1
1572 enable_xactengine3_2
1573 enable_xactengine3_3
1574 enable_xactengine3_4
1575 enable_xactengine3_5
1576 enable_xactengine3_6
1577 enable_xactengine3_7
1578 enable_xapofx1_1
1579 enable_xapofx1_2
1580 enable_xapofx1_3
1581 enable_xapofx1_4
1582 enable_xapofx1_5
1583 enable_xaudio2_0
1584 enable_xaudio2_1
1585 enable_xaudio2_2
1586 enable_xaudio2_3
1587 enable_xaudio2_4
1588 enable_xaudio2_5
1589 enable_xaudio2_6
1590 enable_xaudio2_7
1591 enable_xaudio2_8
1592 enable_xaudio2_9
1593 enable_xinput1_1
1594 enable_xinput1_2
1595 enable_xinput1_3
1596 enable_xinput1_4
1597 enable_xinput9_1_0
1598 enable_xinputuap
1599 enable_xmllite
1600 enable_xolehlp
1601 enable_xpsprint
1602 enable_xpssvcs
1603 enable_fonts
1604 enable_include
1605 enable_adsiid
1606 enable_dmoguids
1607 enable_dxerr8
1608 enable_dxerr9
1609 enable_dxguid
1610 enable_faudio
1611 enable_fluidsynth
1612 enable_gsm
1613 enable_jpeg
1614 enable_jxr
1615 enable_lcms2
1616 enable_ldap
1617 enable_mfuuid
1618 enable_mpg123
1619 enable_musl
1620 enable_png
1621 enable_strmbase
1622 enable_strmiids
1623 enable_tiff
1624 enable_uuid
1625 enable_vkd3d
1626 enable_wbemuuid
1627 enable_wmcodecdspuuid
1628 enable_xml2
1629 enable_xslt
1630 enable_zlib
1631 enable_zydis
1632 enable_loader
1633 enable_nls
1634 enable_po
1635 enable_arp
1636 enable_aspnet_regiis
1637 enable_attrib
1638 enable_cabarc
1639 enable_cacls
1640 enable_certutil
1641 enable_chcp_com
1642 enable_clock
1643 enable_cmd
1644 enable_conhost
1645 enable_control
1646 enable_cscript
1647 enable_dism
1648 enable_dllhost
1649 enable_dplaysvr
1650 enable_dpnsvr
1651 enable_dpvsetup
1652 enable_dxdiag
1653 enable_eject
1654 enable_expand
1655 enable_explorer
1656 enable_extrac32
1657 enable_fc
1658 enable_find
1659 enable_findstr
1660 enable_fsutil
1661 enable_hh
1662 enable_hostname
1663 enable_icacls
1664 enable_icinfo
1665 enable_iexplore
1666 enable_ipconfig
1667 enable_klist
1668 enable_lodctr
1669 enable_mofcomp
1670 enable_mshta
1671 enable_msidb
1672 enable_msiexec
1673 enable_msinfo32
1674 enable_net
1675 enable_netsh
1676 enable_netstat
1677 enable_ngen
1678 enable_notepad
1679 enable_oleview
1680 enable_ping
1681 enable_plugplay
1682 enable_pnputil
1683 enable_powershell
1684 enable_presentationfontcache
1685 enable_progman
1686 enable_reg
1687 enable_regasm
1688 enable_regedit
1689 enable_regini
1690 enable_regsvcs
1691 enable_regsvr32
1692 enable_robocopy
1693 enable_rpcss
1694 enable_rundll32
1695 enable_sc
1696 enable_schtasks
1697 enable_sdbinst
1698 enable_secedit
1699 enable_servicemodelreg
1700 enable_services
1701 enable_setx
1702 enable_shutdown
1703 enable_spoolsv
1704 enable_start
1705 enable_subst
1706 enable_svchost
1707 enable_systeminfo
1708 enable_taskkill
1709 enable_tasklist
1710 enable_taskmgr
1711 enable_termsv
1712 enable_uninstaller
1713 enable_unlodctr
1714 enable_view
1715 enable_wevtutil
1716 enable_where
1717 enable_whoami
1718 enable_wineboot
1719 enable_winebrowser
1720 enable_winecfg
1721 enable_wineconsole
1722 enable_winedbg
1723 enable_winedevice
1724 enable_winefile
1725 enable_winemenubuilder
1726 enable_winemine
1727 enable_winemsibuilder
1728 enable_winepath
1729 enable_winetest
1730 enable_winhlp32
1731 enable_winmgmt
1732 enable_winver
1733 enable_wmic
1734 enable_wmplayer
1735 enable_wordpad
1736 enable_write
1737 enable_wscript
1738 enable_wuauserv
1739 enable_wusa
1740 enable_xcopy
1741 enable_server
1742 enable_tools
1743 enable_sfnt2fon
1744 enable_widl
1745 enable_winebuild
1746 enable_winedump
1747 enable_winegcc
1748 enable_winemaker
1749 enable_wmc
1750 enable_wrc
1752 ac_precious_vars='build_alias
1753 host_alias
1754 target_alias
1756 CFLAGS
1757 LDFLAGS
1758 LIBS
1759 CPPFLAGS
1761 CXXFLAGS
1763 OBJC
1764 OBJCFLAGS
1765 FAUDIO_PE_CFLAGS
1766 FAUDIO_PE_LIBS
1767 FLUIDSYNTH_PE_CFLAGS
1768 FLUIDSYNTH_PE_LIBS
1769 GSM_PE_CFLAGS
1770 GSM_PE_LIBS
1771 JPEG_PE_CFLAGS
1772 JPEG_PE_LIBS
1773 JXR_PE_CFLAGS
1774 JXR_PE_LIBS
1775 LCMS2_PE_CFLAGS
1776 LCMS2_PE_LIBS
1777 LDAP_PE_CFLAGS
1778 LDAP_PE_LIBS
1779 MPG123_PE_CFLAGS
1780 MPG123_PE_LIBS
1781 MUSL_PE_CFLAGS
1782 MUSL_PE_LIBS
1783 PNG_PE_CFLAGS
1784 PNG_PE_LIBS
1785 TIFF_PE_CFLAGS
1786 TIFF_PE_LIBS
1787 VKD3D_PE_CFLAGS
1788 VKD3D_PE_LIBS
1789 XML2_PE_CFLAGS
1790 XML2_PE_LIBS
1791 XSLT_PE_CFLAGS
1792 XSLT_PE_LIBS
1793 ZLIB_PE_CFLAGS
1794 ZLIB_PE_LIBS
1795 ZYDIS_PE_CFLAGS
1796 ZYDIS_PE_LIBS
1797 XMKMF
1799 WAYLAND_CLIENT_CFLAGS
1800 WAYLAND_CLIENT_LIBS
1801 XKBCOMMON_CFLAGS
1802 XKBCOMMON_LIBS
1803 XKBREGISTRY_CFLAGS
1804 XKBREGISTRY_LIBS
1805 INOTIFY_CFLAGS
1806 INOTIFY_LIBS
1807 DBUS_CFLAGS
1808 DBUS_LIBS
1809 GNUTLS_CFLAGS
1810 GNUTLS_LIBS
1811 SANE_CFLAGS
1812 SANE_LIBS
1813 USB_CFLAGS
1814 USB_LIBS
1815 GPHOTO2_CFLAGS
1816 GPHOTO2_LIBS
1817 GPHOTO2_PORT_CFLAGS
1818 GPHOTO2_PORT_LIBS
1819 FREETYPE_CFLAGS
1820 FREETYPE_LIBS
1821 PULSE_CFLAGS
1822 PULSE_LIBS
1823 GSTREAMER_CFLAGS
1824 GSTREAMER_LIBS
1825 UDEV_CFLAGS
1826 UDEV_LIBS
1827 UNWIND_CFLAGS
1828 UNWIND_LIBS
1829 SDL2_CFLAGS
1830 SDL2_LIBS
1831 CAPI20_CFLAGS
1832 CAPI20_LIBS
1833 CUPS_CFLAGS
1834 CUPS_LIBS
1835 FONTCONFIG_CFLAGS
1836 FONTCONFIG_LIBS
1837 KRB5_CFLAGS
1838 KRB5_LIBS
1839 GSSAPI_CFLAGS
1840 GSSAPI_LIBS
1841 NETAPI_CFLAGS
1842 NETAPI_LIBS'
1845 # Initialize some variables set by options.
1846 ac_init_help=
1847 ac_init_version=false
1848 ac_unrecognized_opts=
1849 ac_unrecognized_sep=
1850 # The variables have the same names as the options, with
1851 # dashes changed to underlines.
1852 cache_file=/dev/null
1853 exec_prefix=NONE
1854 no_create=
1855 no_recursion=
1856 prefix=NONE
1857 program_prefix=NONE
1858 program_suffix=NONE
1859 program_transform_name=s,x,x,
1860 silent=
1861 site=
1862 srcdir=
1863 verbose=
1864 x_includes=NONE
1865 x_libraries=NONE
1867 # Installation directory options.
1868 # These are left unexpanded so users can "make install exec_prefix=/foo"
1869 # and all the variables that are supposed to be based on exec_prefix
1870 # by default will actually change.
1871 # Use braces instead of parens because sh, perl, etc. also accept them.
1872 # (The list follows the same order as the GNU Coding Standards.)
1873 bindir='${exec_prefix}/bin'
1874 sbindir='${exec_prefix}/sbin'
1875 libexecdir='${exec_prefix}/libexec'
1876 datarootdir='${prefix}/share'
1877 datadir='${datarootdir}'
1878 sysconfdir='${prefix}/etc'
1879 sharedstatedir='${prefix}/com'
1880 localstatedir='${prefix}/var'
1881 runstatedir='${localstatedir}/run'
1882 includedir='${prefix}/include'
1883 oldincludedir='/usr/include'
1884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1885 infodir='${datarootdir}/info'
1886 htmldir='${docdir}'
1887 dvidir='${docdir}'
1888 pdfdir='${docdir}'
1889 psdir='${docdir}'
1890 libdir='${exec_prefix}/lib'
1891 localedir='${datarootdir}/locale'
1892 mandir='${datarootdir}/man'
1894 ac_prev=
1895 ac_dashdash=
1896 for ac_option
1898 # If the previous option needs an argument, assign it.
1899 if test -n "$ac_prev"; then
1900 eval $ac_prev=\$ac_option
1901 ac_prev=
1902 continue
1905 case $ac_option in
1906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1907 *=) ac_optarg= ;;
1908 *) ac_optarg=yes ;;
1909 esac
1911 case $ac_dashdash$ac_option in
1913 ac_dashdash=yes ;;
1915 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1916 ac_prev=bindir ;;
1917 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1918 bindir=$ac_optarg ;;
1920 -build | --build | --buil | --bui | --bu)
1921 ac_prev=build_alias ;;
1922 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1923 build_alias=$ac_optarg ;;
1925 -cache-file | --cache-file | --cache-fil | --cache-fi \
1926 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1927 ac_prev=cache_file ;;
1928 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1929 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1930 cache_file=$ac_optarg ;;
1932 --config-cache | -C)
1933 cache_file=config.cache ;;
1935 -datadir | --datadir | --datadi | --datad)
1936 ac_prev=datadir ;;
1937 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1938 datadir=$ac_optarg ;;
1940 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1941 | --dataroo | --dataro | --datar)
1942 ac_prev=datarootdir ;;
1943 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1944 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1945 datarootdir=$ac_optarg ;;
1947 -disable-* | --disable-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "enable_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval enable_$ac_useropt=no ;;
1963 -docdir | --docdir | --docdi | --doc | --do)
1964 ac_prev=docdir ;;
1965 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1966 docdir=$ac_optarg ;;
1968 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1969 ac_prev=dvidir ;;
1970 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1971 dvidir=$ac_optarg ;;
1973 -enable-* | --enable-*)
1974 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1975 # Reject names that are not valid shell variable names.
1976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1977 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1978 ac_useropt_orig=$ac_useropt
1979 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1980 case $ac_user_opts in
1982 "enable_$ac_useropt"
1983 "*) ;;
1984 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1985 ac_unrecognized_sep=', ';;
1986 esac
1987 eval enable_$ac_useropt=\$ac_optarg ;;
1989 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1990 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1991 | --exec | --exe | --ex)
1992 ac_prev=exec_prefix ;;
1993 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1994 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1995 | --exec=* | --exe=* | --ex=*)
1996 exec_prefix=$ac_optarg ;;
1998 -gas | --gas | --ga | --g)
1999 # Obsolete; use --with-gas.
2000 with_gas=yes ;;
2002 -help | --help | --hel | --he | -h)
2003 ac_init_help=long ;;
2004 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2005 ac_init_help=recursive ;;
2006 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2007 ac_init_help=short ;;
2009 -host | --host | --hos | --ho)
2010 ac_prev=host_alias ;;
2011 -host=* | --host=* | --hos=* | --ho=*)
2012 host_alias=$ac_optarg ;;
2014 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2015 ac_prev=htmldir ;;
2016 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2017 | --ht=*)
2018 htmldir=$ac_optarg ;;
2020 -includedir | --includedir | --includedi | --included | --include \
2021 | --includ | --inclu | --incl | --inc)
2022 ac_prev=includedir ;;
2023 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2024 | --includ=* | --inclu=* | --incl=* | --inc=*)
2025 includedir=$ac_optarg ;;
2027 -infodir | --infodir | --infodi | --infod | --info | --inf)
2028 ac_prev=infodir ;;
2029 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2030 infodir=$ac_optarg ;;
2032 -libdir | --libdir | --libdi | --libd)
2033 ac_prev=libdir ;;
2034 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2035 libdir=$ac_optarg ;;
2037 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2038 | --libexe | --libex | --libe)
2039 ac_prev=libexecdir ;;
2040 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2041 | --libexe=* | --libex=* | --libe=*)
2042 libexecdir=$ac_optarg ;;
2044 -localedir | --localedir | --localedi | --localed | --locale)
2045 ac_prev=localedir ;;
2046 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2047 localedir=$ac_optarg ;;
2049 -localstatedir | --localstatedir | --localstatedi | --localstated \
2050 | --localstate | --localstat | --localsta | --localst | --locals)
2051 ac_prev=localstatedir ;;
2052 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2053 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2054 localstatedir=$ac_optarg ;;
2056 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2057 ac_prev=mandir ;;
2058 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2059 mandir=$ac_optarg ;;
2061 -nfp | --nfp | --nf)
2062 # Obsolete; use --without-fp.
2063 with_fp=no ;;
2065 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2066 | --no-cr | --no-c | -n)
2067 no_create=yes ;;
2069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2070 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2071 no_recursion=yes ;;
2073 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2074 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2075 | --oldin | --oldi | --old | --ol | --o)
2076 ac_prev=oldincludedir ;;
2077 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2078 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2079 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2080 oldincludedir=$ac_optarg ;;
2082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2083 ac_prev=prefix ;;
2084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2085 prefix=$ac_optarg ;;
2087 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2088 | --program-pre | --program-pr | --program-p)
2089 ac_prev=program_prefix ;;
2090 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2091 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2092 program_prefix=$ac_optarg ;;
2094 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2095 | --program-suf | --program-su | --program-s)
2096 ac_prev=program_suffix ;;
2097 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2098 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2099 program_suffix=$ac_optarg ;;
2101 -program-transform-name | --program-transform-name \
2102 | --program-transform-nam | --program-transform-na \
2103 | --program-transform-n | --program-transform- \
2104 | --program-transform | --program-transfor \
2105 | --program-transfo | --program-transf \
2106 | --program-trans | --program-tran \
2107 | --progr-tra | --program-tr | --program-t)
2108 ac_prev=program_transform_name ;;
2109 -program-transform-name=* | --program-transform-name=* \
2110 | --program-transform-nam=* | --program-transform-na=* \
2111 | --program-transform-n=* | --program-transform-=* \
2112 | --program-transform=* | --program-transfor=* \
2113 | --program-transfo=* | --program-transf=* \
2114 | --program-trans=* | --program-tran=* \
2115 | --progr-tra=* | --program-tr=* | --program-t=*)
2116 program_transform_name=$ac_optarg ;;
2118 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2119 ac_prev=pdfdir ;;
2120 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2121 pdfdir=$ac_optarg ;;
2123 -psdir | --psdir | --psdi | --psd | --ps)
2124 ac_prev=psdir ;;
2125 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2126 psdir=$ac_optarg ;;
2128 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2129 | -silent | --silent | --silen | --sile | --sil)
2130 silent=yes ;;
2132 -runstatedir | --runstatedir | --runstatedi | --runstated \
2133 | --runstate | --runstat | --runsta | --runst | --runs \
2134 | --run | --ru | --r)
2135 ac_prev=runstatedir ;;
2136 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2137 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2138 | --run=* | --ru=* | --r=*)
2139 runstatedir=$ac_optarg ;;
2141 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2142 ac_prev=sbindir ;;
2143 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2144 | --sbi=* | --sb=*)
2145 sbindir=$ac_optarg ;;
2147 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2148 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2149 | --sharedst | --shareds | --shared | --share | --shar \
2150 | --sha | --sh)
2151 ac_prev=sharedstatedir ;;
2152 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2153 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2154 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2155 | --sha=* | --sh=*)
2156 sharedstatedir=$ac_optarg ;;
2158 -site | --site | --sit)
2159 ac_prev=site ;;
2160 -site=* | --site=* | --sit=*)
2161 site=$ac_optarg ;;
2163 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2164 ac_prev=srcdir ;;
2165 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2166 srcdir=$ac_optarg ;;
2168 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2169 | --syscon | --sysco | --sysc | --sys | --sy)
2170 ac_prev=sysconfdir ;;
2171 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2172 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2173 sysconfdir=$ac_optarg ;;
2175 -target | --target | --targe | --targ | --tar | --ta | --t)
2176 ac_prev=target_alias ;;
2177 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2178 target_alias=$ac_optarg ;;
2180 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2181 verbose=yes ;;
2183 -version | --version | --versio | --versi | --vers | -V)
2184 ac_init_version=: ;;
2186 -with-* | --with-*)
2187 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2188 # Reject names that are not valid shell variable names.
2189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2190 as_fn_error $? "invalid package name: \`$ac_useropt'"
2191 ac_useropt_orig=$ac_useropt
2192 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2193 case $ac_user_opts in
2195 "with_$ac_useropt"
2196 "*) ;;
2197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2198 ac_unrecognized_sep=', ';;
2199 esac
2200 eval with_$ac_useropt=\$ac_optarg ;;
2202 -without-* | --without-*)
2203 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
2214 ac_unrecognized_sep=', ';;
2215 esac
2216 eval with_$ac_useropt=no ;;
2218 --x)
2219 # Obsolete; use --with-x.
2220 with_x=yes ;;
2222 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2223 | --x-incl | --x-inc | --x-in | --x-i)
2224 ac_prev=x_includes ;;
2225 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2226 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2227 x_includes=$ac_optarg ;;
2229 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2230 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2231 ac_prev=x_libraries ;;
2232 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2233 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2234 x_libraries=$ac_optarg ;;
2236 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2237 Try \`$0 --help' for more information"
2240 *=*)
2241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2242 # Reject names that are not valid shell variable names.
2243 case $ac_envvar in #(
2244 '' | [0-9]* | *[!_$as_cr_alnum]* )
2245 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2246 esac
2247 eval $ac_envvar=\$ac_optarg
2248 export $ac_envvar ;;
2251 # FIXME: should be removed in autoconf 3.0.
2252 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2253 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2254 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2255 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2258 esac
2259 done
2261 if test -n "$ac_prev"; then
2262 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2263 as_fn_error $? "missing argument to $ac_option"
2266 if test -n "$ac_unrecognized_opts"; then
2267 case $enable_option_checking in
2268 no) ;;
2269 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2270 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2271 esac
2274 # Check all directory arguments for consistency.
2275 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2276 datadir sysconfdir sharedstatedir localstatedir includedir \
2277 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2278 libdir localedir mandir runstatedir
2280 eval ac_val=\$$ac_var
2281 # Remove trailing slashes.
2282 case $ac_val in
2283 */ )
2284 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2285 eval $ac_var=\$ac_val;;
2286 esac
2287 # Be sure to have absolute directory names.
2288 case $ac_val in
2289 [\\/$]* | ?:[\\/]* ) continue;;
2290 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2291 esac
2292 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2293 done
2295 # There might be people who depend on the old broken behavior: `$host'
2296 # used to hold the argument of --host etc.
2297 # FIXME: To remove some day.
2298 build=$build_alias
2299 host=$host_alias
2300 target=$target_alias
2302 # FIXME: To remove some day.
2303 if test "x$host_alias" != x; then
2304 if test "x$build_alias" = x; then
2305 cross_compiling=maybe
2306 elif test "x$build_alias" != "x$host_alias"; then
2307 cross_compiling=yes
2311 ac_tool_prefix=
2312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2314 test "$silent" = yes && exec 6>/dev/null
2317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2318 ac_ls_di=`ls -di .` &&
2319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2320 as_fn_error $? "working directory cannot be determined"
2321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2322 as_fn_error $? "pwd does not report name of working directory"
2325 # Find the source files, if location was not specified.
2326 if test -z "$srcdir"; then
2327 ac_srcdir_defaulted=yes
2328 # Try the directory containing this script, then the parent directory.
2329 ac_confdir=`$as_dirname -- "$as_myself" ||
2330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2331 X"$as_myself" : 'X\(//\)[^/]' \| \
2332 X"$as_myself" : 'X\(//\)$' \| \
2333 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2334 printf "%s\n" X"$as_myself" |
2335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2336 s//\1/
2339 /^X\(\/\/\)[^/].*/{
2340 s//\1/
2343 /^X\(\/\/\)$/{
2344 s//\1/
2347 /^X\(\/\).*/{
2348 s//\1/
2351 s/.*/./; q'`
2352 srcdir=$ac_confdir
2353 if test ! -r "$srcdir/$ac_unique_file"; then
2354 srcdir=..
2356 else
2357 ac_srcdir_defaulted=no
2359 if test ! -r "$srcdir/$ac_unique_file"; then
2360 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2361 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2364 ac_abs_confdir=`(
2365 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2366 pwd)`
2367 # When building in place, set srcdir=.
2368 if test "$ac_abs_confdir" = "$ac_pwd"; then
2369 srcdir=.
2371 # Remove unnecessary trailing slashes from srcdir.
2372 # Double slashes in file names in object file debugging info
2373 # mess up M-x gdb in Emacs.
2374 case $srcdir in
2375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2376 esac
2377 for ac_var in $ac_precious_vars; do
2378 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2379 eval ac_env_${ac_var}_value=\$${ac_var}
2380 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2381 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2382 done
2385 # Report the --help message.
2387 if test "$ac_init_help" = "long"; then
2388 # Omit some internal or obsolete options to make the list less imposing.
2389 # This message is too long to be a string in the A/UX 3.1 sh.
2390 cat <<_ACEOF
2391 \`configure' configures Wine 8.21 to adapt to many kinds of systems.
2393 Usage: $0 [OPTION]... [VAR=VALUE]...
2395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2396 VAR=VALUE. See below for descriptions of some of the useful variables.
2398 Defaults for the options are specified in brackets.
2400 Configuration:
2401 -h, --help display this help and exit
2402 --help=short display options specific to this package
2403 --help=recursive display the short help of all the included packages
2404 -V, --version display version information and exit
2405 -q, --quiet, --silent do not print \`checking ...' messages
2406 --cache-file=FILE cache test results in FILE [disabled]
2407 -C, --config-cache alias for \`--cache-file=config.cache'
2408 -n, --no-create do not create output files
2409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2411 Installation directories:
2412 --prefix=PREFIX install architecture-independent files in PREFIX
2413 [$ac_default_prefix]
2414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2415 [PREFIX]
2417 By default, \`make install' will install all the files in
2418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2420 for instance \`--prefix=\$HOME'.
2422 For better control, use the options below.
2424 Fine tuning of the installation directories:
2425 --bindir=DIR user executables [EPREFIX/bin]
2426 --sbindir=DIR system admin executables [EPREFIX/sbin]
2427 --libexecdir=DIR program executables [EPREFIX/libexec]
2428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2431 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2432 --libdir=DIR object code libraries [EPREFIX/lib]
2433 --includedir=DIR C header files [PREFIX/include]
2434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2437 --infodir=DIR info documentation [DATAROOTDIR/info]
2438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2439 --mandir=DIR man documentation [DATAROOTDIR/man]
2440 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2441 --htmldir=DIR html documentation [DOCDIR]
2442 --dvidir=DIR dvi documentation [DOCDIR]
2443 --pdfdir=DIR pdf documentation [DOCDIR]
2444 --psdir=DIR ps documentation [DOCDIR]
2445 _ACEOF
2447 cat <<\_ACEOF
2449 X features:
2450 --x-includes=DIR X include files are in DIR
2451 --x-libraries=DIR X library files are in DIR
2453 System types:
2454 --build=BUILD configure for building on BUILD [guessed]
2455 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2456 _ACEOF
2459 if test -n "$ac_init_help"; then
2460 case $ac_init_help in
2461 short | recursive ) echo "Configuration of Wine 8.21:";;
2462 esac
2463 cat <<\_ACEOF
2465 Optional Features:
2466 --disable-option-checking ignore unrecognized --enable/--with options
2467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2469 --enable-archs={i386,x86_64,arm,aarch64}
2470 enable multiple architectures for PE compilation
2471 --disable-win16 do not include Win16 support
2472 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2473 binaries)
2474 --disable-tests do not build the regression tests
2475 --enable-build-id include .buildid section in output objects
2476 --enable-maintainer-mode
2477 enable maintainer-specific build rules
2478 --enable-silent-rules use silent build rules (override: "make V=1")
2479 --enable-werror treat compilation warnings as errors
2480 --disable-largefile omit support for large files
2482 Optional Packages:
2483 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2484 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2485 --without-alsa do not use the Alsa sound support
2486 --without-capi do not use CAPI (ISDN support)
2487 --without-coreaudio do not use the CoreAudio sound support
2488 --without-cups do not use CUPS
2489 --without-dbus do not use DBus (dynamic device support)
2490 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2491 --without-fontconfig do not use fontconfig
2492 --without-freetype do not use the FreeType library
2493 --without-gettext do not use gettext
2494 --with-gettextpo use the GetTextPO library to rebuild po files
2495 --without-gphoto do not use gphoto (Digital Camera support)
2496 --without-gnutls do not use GnuTLS (schannel support)
2497 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2498 --without-gstreamer do not use GStreamer (codecs support)
2499 --without-inotify do not use inotify (filesystem change notifications)
2500 --without-krb5 do not use krb5 (Kerberos)
2501 --without-mingw do not use the MinGW cross-compiler
2502 --without-netapi do not use the Samba NetAPI library
2503 --without-opencl do not use OpenCL
2504 --without-opengl do not use OpenGL
2505 --without-osmesa do not use the OSMesa library
2506 --without-oss do not use the OSS sound support
2507 --without-pcap do not use the Packet Capture library
2508 --without-pcsclite do not use PCSC lite
2509 --without-pthread do not use the pthread library
2510 --without-pulse do not use PulseAudio sound support
2511 --without-sane do not use SANE (scanner support)
2512 --without-sdl do not use SDL
2513 --without-udev do not use udev (plug and play support)
2514 --without-unwind do not use the libunwind library (exception
2515 handling)
2516 --without-usb do not use the libusb library
2517 --without-v4l2 do not use v4l2 (video capture)
2518 --without-vulkan do not use Vulkan
2519 --without-wayland do not build the Wayland driver
2520 --without-xcomposite do not use the Xcomposite extension
2521 --without-xcursor do not use the Xcursor extension
2522 --without-xfixes do not use Xfixes for clipboard change notifications
2523 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2524 --without-xinput do not use the Xinput extension
2525 --without-xinput2 do not use the Xinput 2 extension
2526 --without-xrandr do not use Xrandr (multi-monitor support)
2527 --without-xrender do not use the Xrender extension
2528 --without-xshape do not use the Xshape extension
2529 --without-xshm do not use XShm (shared memory extension)
2530 --without-xxf86vm do not use XFree video mode extension
2531 --with-system-dllpath=PATH
2532 load external PE dependencies from colon-separated
2533 path PATH
2534 --with-wine-tools=DIR use Wine tools from directory DIR
2535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2536 --with-x use the X Window System
2538 Some influential environment variables:
2539 CC C compiler command
2540 CFLAGS C compiler flags
2541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2542 nonstandard directory <lib dir>
2543 LIBS libraries to pass to the linker, e.g. -l<library>
2544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2545 you have headers in a nonstandard directory <include dir>
2546 CXX C++ compiler command
2547 CXXFLAGS C++ compiler flags
2548 OBJC Objective C compiler command
2549 OBJCFLAGS Objective C compiler flags
2550 FAUDIO_PE_CFLAGS
2551 C compiler flags for the PE faudio, overriding the bundled
2552 version
2553 FAUDIO_PE_LIBS
2554 Linker flags for the PE faudio, overriding the bundled version
2555 FLUIDSYNTH_PE_CFLAGS
2556 C compiler flags for the PE fluidsynth, overriding the bundled
2557 version
2558 FLUIDSYNTH_PE_LIBS
2559 Linker flags for the PE fluidsynth, overriding the bundled
2560 version
2561 GSM_PE_CFLAGS
2562 C compiler flags for the PE gsm, overriding the bundled version
2563 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2564 JPEG_PE_CFLAGS
2565 C compiler flags for the PE jpeg, overriding the bundled version
2566 JPEG_PE_LIBS
2567 Linker flags for the PE jpeg, overriding the bundled version
2568 JXR_PE_CFLAGS
2569 C compiler flags for the PE jxr, overriding the bundled version
2570 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2571 LCMS2_PE_CFLAGS
2572 C compiler flags for the PE lcms2, overriding the bundled
2573 version
2574 LCMS2_PE_LIBS
2575 Linker flags for the PE lcms2, overriding the bundled version
2576 LDAP_PE_CFLAGS
2577 C compiler flags for the PE ldap, overriding the bundled version
2578 LDAP_PE_LIBS
2579 Linker flags for the PE ldap, overriding the bundled version
2580 MPG123_PE_CFLAGS
2581 C compiler flags for the PE mpg123, overriding the bundled
2582 version
2583 MPG123_PE_LIBS
2584 Linker flags for the PE mpg123, overriding the bundled version
2585 MUSL_PE_CFLAGS
2586 C compiler flags for the PE musl, overriding the bundled version
2587 MUSL_PE_LIBS
2588 Linker flags for the PE musl, overriding the bundled version
2589 PNG_PE_CFLAGS
2590 C compiler flags for the PE png, overriding the bundled version
2591 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2592 TIFF_PE_CFLAGS
2593 C compiler flags for the PE tiff, overriding the bundled version
2594 TIFF_PE_LIBS
2595 Linker flags for the PE tiff, overriding the bundled version
2596 VKD3D_PE_CFLAGS
2597 C compiler flags for the PE vkd3d, overriding the bundled
2598 version
2599 VKD3D_PE_LIBS
2600 Linker flags for the PE vkd3d, overriding the bundled version
2601 XML2_PE_CFLAGS
2602 C compiler flags for the PE xml2, overriding the bundled version
2603 XML2_PE_LIBS
2604 Linker flags for the PE xml2, overriding the bundled version
2605 XSLT_PE_CFLAGS
2606 C compiler flags for the PE xslt, overriding the bundled version
2607 XSLT_PE_LIBS
2608 Linker flags for the PE xslt, overriding the bundled version
2609 ZLIB_PE_CFLAGS
2610 C compiler flags for the PE zlib, overriding the bundled version
2611 ZLIB_PE_LIBS
2612 Linker flags for the PE zlib, overriding the bundled version
2613 ZYDIS_PE_CFLAGS
2614 C compiler flags for the PE zydis, overriding the bundled
2615 version
2616 ZYDIS_PE_LIBS
2617 Linker flags for the PE zydis, overriding the bundled version
2618 XMKMF Path to xmkmf, Makefile generator for X Window System
2619 CPP C preprocessor
2620 WAYLAND_CLIENT_CFLAGS
2621 C compiler flags for wayland-client, overriding pkg-config
2622 WAYLAND_CLIENT_LIBS
2623 Linker flags for wayland-client, overriding pkg-config
2624 XKBCOMMON_CFLAGS
2625 C compiler flags for xkbcommon, overriding pkg-config
2626 XKBCOMMON_LIBS
2627 Linker flags for xkbcommon, overriding pkg-config
2628 XKBREGISTRY_CFLAGS
2629 C compiler flags for xkbregistry, overriding pkg-config
2630 XKBREGISTRY_LIBS
2631 Linker flags for xkbregistry, overriding pkg-config
2632 INOTIFY_CFLAGS
2633 C compiler flags for libinotify, overriding pkg-config
2634 INOTIFY_LIBS
2635 Linker flags for libinotify, overriding pkg-config
2636 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2637 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2638 GNUTLS_CFLAGS
2639 C compiler flags for gnutls, overriding pkg-config
2640 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2641 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2642 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2643 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2644 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2645 GPHOTO2_CFLAGS
2646 C compiler flags for libgphoto2, overriding pkg-config
2647 GPHOTO2_LIBS
2648 Linker flags for libgphoto2, overriding pkg-config
2649 GPHOTO2_PORT_CFLAGS
2650 C compiler flags for libgphoto2_port, overriding pkg-config
2651 GPHOTO2_PORT_LIBS
2652 Linker flags for libgphoto2_port, overriding pkg-config
2653 FREETYPE_CFLAGS
2654 C compiler flags for freetype2, overriding pkg-config
2655 FREETYPE_LIBS
2656 Linker flags for freetype2, overriding pkg-config
2657 PULSE_CFLAGS
2658 C compiler flags for libpulse, overriding pkg-config
2659 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2660 GSTREAMER_CFLAGS
2661 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2662 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2663 GSTREAMER_LIBS
2664 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2665 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2666 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2667 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2668 UNWIND_CFLAGS
2669 C compiler flags for libunwind, overriding pkg-config
2670 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2671 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2672 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2673 CAPI20_CFLAGS
2674 C compiler flags for capi20, overriding pkg-config
2675 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2676 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2677 CUPS_LIBS Linker flags for cups, overriding pkg-config
2678 FONTCONFIG_CFLAGS
2679 C compiler flags for fontconfig, overriding pkg-config
2680 FONTCONFIG_LIBS
2681 Linker flags for fontconfig, overriding pkg-config
2682 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2683 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2684 GSSAPI_CFLAGS
2685 C compiler flags for krb5-gssapi, overriding pkg-config
2686 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2687 NETAPI_CFLAGS
2688 C compiler flags for netapi, overriding pkg-config
2689 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2691 Use these variables to override the choices made by `configure' or to help
2692 it to find libraries and programs with nonstandard names/locations.
2694 Report bugs to <wine-devel@winehq.org>.
2695 Wine home page: <https://www.winehq.org>.
2696 _ACEOF
2697 ac_status=$?
2700 if test "$ac_init_help" = "recursive"; then
2701 # If there are subdirs, report their specific --help.
2702 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2703 test -d "$ac_dir" ||
2704 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2705 continue
2706 ac_builddir=.
2708 case "$ac_dir" in
2709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2711 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2712 # A ".." for each directory in $ac_dir_suffix.
2713 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2714 case $ac_top_builddir_sub in
2715 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2716 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2717 esac ;;
2718 esac
2719 ac_abs_top_builddir=$ac_pwd
2720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2721 # for backward compatibility:
2722 ac_top_builddir=$ac_top_build_prefix
2724 case $srcdir in
2725 .) # We are building in place.
2726 ac_srcdir=.
2727 ac_top_srcdir=$ac_top_builddir_sub
2728 ac_abs_top_srcdir=$ac_pwd ;;
2729 [\\/]* | ?:[\\/]* ) # Absolute name.
2730 ac_srcdir=$srcdir$ac_dir_suffix;
2731 ac_top_srcdir=$srcdir
2732 ac_abs_top_srcdir=$srcdir ;;
2733 *) # Relative name.
2734 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2735 ac_top_srcdir=$ac_top_build_prefix$srcdir
2736 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2737 esac
2738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2740 cd "$ac_dir" || { ac_status=$?; continue; }
2741 # Check for configure.gnu first; this name is used for a wrapper for
2742 # Metaconfig's "Configure" on case-insensitive file systems.
2743 if test -f "$ac_srcdir/configure.gnu"; then
2744 echo &&
2745 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2746 elif test -f "$ac_srcdir/configure"; then
2747 echo &&
2748 $SHELL "$ac_srcdir/configure" --help=recursive
2749 else
2750 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2751 fi || ac_status=$?
2752 cd "$ac_pwd" || { ac_status=$?; break; }
2753 done
2756 test -n "$ac_init_help" && exit $ac_status
2757 if $ac_init_version; then
2758 cat <<\_ACEOF
2759 Wine configure 8.21
2760 generated by GNU Autoconf 2.71
2762 Copyright (C) 2021 Free Software Foundation, Inc.
2763 This configure script is free software; the Free Software Foundation
2764 gives unlimited permission to copy, distribute and modify it.
2765 _ACEOF
2766 exit
2769 ## ------------------------ ##
2770 ## Autoconf initialization. ##
2771 ## ------------------------ ##
2773 # ac_fn_c_try_compile LINENO
2774 # --------------------------
2775 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2776 ac_fn_c_try_compile ()
2778 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2779 rm -f conftest.$ac_objext conftest.beam
2780 if { { ac_try="$ac_compile"
2781 case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786 printf "%s\n" "$ac_try_echo"; } >&5
2787 (eval "$ac_compile") 2>conftest.err
2788 ac_status=$?
2789 if test -s conftest.err; then
2790 grep -v '^ *+' conftest.err >conftest.er1
2791 cat conftest.er1 >&5
2792 mv -f conftest.er1 conftest.err
2794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; } && {
2796 test -z "$ac_c_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext
2799 then :
2800 ac_retval=0
2801 else $as_nop
2802 printf "%s\n" "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_compile
2812 # ac_fn_cxx_try_compile LINENO
2813 # ----------------------------
2814 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2815 ac_fn_cxx_try_compile ()
2817 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2818 rm -f conftest.$ac_objext conftest.beam
2819 if { { ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 printf "%s\n" "$ac_try_echo"; } >&5
2826 (eval "$ac_compile") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } && {
2835 test -z "$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext
2838 then :
2839 ac_retval=0
2840 else $as_nop
2841 printf "%s\n" "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.$ac_ext >&5
2844 ac_retval=1
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2847 as_fn_set_status $ac_retval
2849 } # ac_fn_cxx_try_compile
2851 # ac_fn_c_try_link LINENO
2852 # -----------------------
2853 # Try to link conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_c_try_link ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2858 if { { ac_try="$ac_link"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 printf "%s\n" "$ac_try_echo"; } >&5
2865 (eval "$ac_link") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest$ac_exeext && {
2877 test "$cross_compiling" = yes ||
2878 test -x conftest$ac_exeext
2880 then :
2881 ac_retval=0
2882 else $as_nop
2883 printf "%s\n" "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 ac_retval=1
2888 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2889 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2890 # interfere with the next link command; also delete a directory that is
2891 # left behind by Apple's compiler. We do this before executing the actions.
2892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2894 as_fn_set_status $ac_retval
2896 } # ac_fn_c_try_link
2898 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2899 # -------------------------------------------------------
2900 # Tests whether HEADER exists and can be compiled using the include files in
2901 # INCLUDES, setting the cache variable VAR accordingly.
2902 ac_fn_c_check_header_compile ()
2904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 printf %s "checking for $2... " >&6; }
2907 if eval test \${$3+y}
2908 then :
2909 printf %s "(cached) " >&6
2910 else $as_nop
2911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2912 /* end confdefs.h. */
2914 #include <$2>
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"
2917 then :
2918 eval "$3=yes"
2919 else $as_nop
2920 eval "$3=no"
2922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2924 eval ac_res=\$$3
2925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2926 printf "%s\n" "$ac_res" >&6; }
2927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2929 } # ac_fn_c_check_header_compile
2931 # ac_fn_objc_try_compile LINENO
2932 # -----------------------------
2933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2934 ac_fn_objc_try_compile ()
2936 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2937 rm -f conftest.$ac_objext conftest.beam
2938 if { { ac_try="$ac_compile"
2939 case "(($ac_try" in
2940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941 *) ac_try_echo=$ac_try;;
2942 esac
2943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2944 printf "%s\n" "$ac_try_echo"; } >&5
2945 (eval "$ac_compile") 2>conftest.err
2946 ac_status=$?
2947 if test -s conftest.err; then
2948 grep -v '^ *+' conftest.err >conftest.er1
2949 cat conftest.er1 >&5
2950 mv -f conftest.er1 conftest.err
2952 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953 test $ac_status = 0; } && {
2954 test -z "$ac_objc_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.$ac_objext
2957 then :
2958 ac_retval=0
2959 else $as_nop
2960 printf "%s\n" "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_objc_try_compile
2970 # ac_fn_c_check_func LINENO FUNC VAR
2971 # ----------------------------------
2972 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2973 ac_fn_c_check_func ()
2975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2977 printf %s "checking for $2... " >&6; }
2978 if eval test \${$3+y}
2979 then :
2980 printf %s "(cached) " >&6
2981 else $as_nop
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2986 #define $2 innocuous_$2
2988 /* System header to define __stub macros and hopefully few prototypes,
2989 which can conflict with char $2 (); below. */
2991 #include <limits.h>
2992 #undef $2
2994 /* Override any GCC internal prototype to avoid an error.
2995 Use char because int might match the return type of a GCC
2996 builtin and then its argument prototype would still apply. */
2997 #ifdef __cplusplus
2998 extern "C"
2999 #endif
3000 char $2 ();
3001 /* The GNU C library defines this for functions which it implements
3002 to always fail with ENOSYS. Some functions are actually named
3003 something starting with __ and the normal name is an alias. */
3004 #if defined __stub_$2 || defined __stub___$2
3005 choke me
3006 #endif
3009 main (void)
3011 return $2 ();
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_link "$LINENO"
3017 then :
3018 eval "$3=yes"
3019 else $as_nop
3020 eval "$3=no"
3022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3023 conftest$ac_exeext conftest.$ac_ext
3025 eval ac_res=\$$3
3026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 printf "%s\n" "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_func
3032 # ac_fn_c_try_cpp LINENO
3033 # ----------------------
3034 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3035 ac_fn_c_try_cpp ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 if { { ac_try="$ac_cpp conftest.$ac_ext"
3039 case "(($ac_try" in
3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041 *) ac_try_echo=$ac_try;;
3042 esac
3043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3044 printf "%s\n" "$ac_try_echo"; } >&5
3045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3046 ac_status=$?
3047 if test -s conftest.err; then
3048 grep -v '^ *+' conftest.err >conftest.er1
3049 cat conftest.er1 >&5
3050 mv -f conftest.er1 conftest.err
3052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; } > conftest.i && {
3054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3055 test ! -s conftest.err
3057 then :
3058 ac_retval=0
3059 else $as_nop
3060 printf "%s\n" "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_retval=1
3065 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 as_fn_set_status $ac_retval
3068 } # ac_fn_c_try_cpp
3070 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3071 # ----------------------------------------------------
3072 # Tries to find if the field MEMBER exists in type AGGR, after including
3073 # INCLUDES, setting cache variable VAR accordingly.
3074 ac_fn_c_check_member ()
3076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3078 printf %s "checking for $2.$3... " >&6; }
3079 if eval test \${$4+y}
3080 then :
3081 printf %s "(cached) " >&6
3082 else $as_nop
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 main (void)
3089 static $2 ac_aggr;
3090 if (ac_aggr.$3)
3091 return 0;
3093 return 0;
3095 _ACEOF
3096 if ac_fn_c_try_compile "$LINENO"
3097 then :
3098 eval "$4=yes"
3099 else $as_nop
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3104 main (void)
3106 static $2 ac_aggr;
3107 if (sizeof ac_aggr.$3)
3108 return 0;
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"
3114 then :
3115 eval "$4=yes"
3116 else $as_nop
3117 eval "$4=no"
3119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3123 eval ac_res=\$$4
3124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3125 printf "%s\n" "$ac_res" >&6; }
3126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3128 } # ac_fn_c_check_member
3130 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3131 # -------------------------------------------
3132 # Tests whether TYPE exists after having included INCLUDES, setting cache
3133 # variable VAR accordingly.
3134 ac_fn_c_check_type ()
3136 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3138 printf %s "checking for $2... " >&6; }
3139 if eval test \${$3+y}
3140 then :
3141 printf %s "(cached) " >&6
3142 else $as_nop
3143 eval "$3=no"
3144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3145 /* end confdefs.h. */
3148 main (void)
3150 if (sizeof ($2))
3151 return 0;
3153 return 0;
3155 _ACEOF
3156 if ac_fn_c_try_compile "$LINENO"
3157 then :
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3162 main (void)
3164 if (sizeof (($2)))
3165 return 0;
3167 return 0;
3169 _ACEOF
3170 if ac_fn_c_try_compile "$LINENO"
3171 then :
3173 else $as_nop
3174 eval "$3=yes"
3176 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3180 eval ac_res=\$$3
3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3182 printf "%s\n" "$ac_res" >&6; }
3183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3185 } # ac_fn_c_check_type
3186 ac_configure_args_raw=
3187 for ac_arg
3189 case $ac_arg in
3190 *\'*)
3191 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3192 esac
3193 as_fn_append ac_configure_args_raw " '$ac_arg'"
3194 done
3196 case $ac_configure_args_raw in
3197 *$as_nl*)
3198 ac_safe_unquote= ;;
3200 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3201 ac_unsafe_a="$ac_unsafe_z#~"
3202 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3203 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3204 esac
3206 cat >config.log <<_ACEOF
3207 This file contains any messages produced by compilers while
3208 running configure, to aid debugging if configure makes a mistake.
3210 It was created by Wine $as_me 8.21, which was
3211 generated by GNU Autoconf 2.71. Invocation command line was
3213 $ $0$ac_configure_args_raw
3215 _ACEOF
3216 exec 5>>config.log
3218 cat <<_ASUNAME
3219 ## --------- ##
3220 ## Platform. ##
3221 ## --------- ##
3223 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3224 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3225 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3226 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3227 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3229 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3230 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3232 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3233 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3234 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3235 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3236 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3237 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3238 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3240 _ASUNAME
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3245 IFS=$as_save_IFS
3246 case $as_dir in #(((
3247 '') as_dir=./ ;;
3248 */) ;;
3249 *) as_dir=$as_dir/ ;;
3250 esac
3251 printf "%s\n" "PATH: $as_dir"
3252 done
3253 IFS=$as_save_IFS
3255 } >&5
3257 cat >&5 <<_ACEOF
3260 ## ----------- ##
3261 ## Core tests. ##
3262 ## ----------- ##
3264 _ACEOF
3267 # Keep a trace of the command line.
3268 # Strip out --no-create and --no-recursion so they do not pile up.
3269 # Strip out --silent because we don't want to record it for future runs.
3270 # Also quote any args containing shell meta-characters.
3271 # Make two passes to allow for proper duplicate-argument suppression.
3272 ac_configure_args=
3273 ac_configure_args0=
3274 ac_configure_args1=
3275 ac_must_keep_next=false
3276 for ac_pass in 1 2
3278 for ac_arg
3280 case $ac_arg in
3281 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3282 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3283 | -silent | --silent | --silen | --sile | --sil)
3284 continue ;;
3285 *\'*)
3286 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3287 esac
3288 case $ac_pass in
3289 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3291 as_fn_append ac_configure_args1 " '$ac_arg'"
3292 if test $ac_must_keep_next = true; then
3293 ac_must_keep_next=false # Got value, back to normal.
3294 else
3295 case $ac_arg in
3296 *=* | --config-cache | -C | -disable-* | --disable-* \
3297 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3298 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3299 | -with-* | --with-* | -without-* | --without-* | --x)
3300 case "$ac_configure_args0 " in
3301 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3302 esac
3304 -* ) ac_must_keep_next=true ;;
3305 esac
3307 as_fn_append ac_configure_args " '$ac_arg'"
3309 esac
3310 done
3311 done
3312 { ac_configure_args0=; unset ac_configure_args0;}
3313 { ac_configure_args1=; unset ac_configure_args1;}
3315 # When interrupted or exit'd, cleanup temporary files, and complete
3316 # config.log. We remove comments because anyway the quotes in there
3317 # would cause problems or look ugly.
3318 # WARNING: Use '\'' to represent an apostrophe within the trap.
3319 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3320 trap 'exit_status=$?
3321 # Sanitize IFS.
3322 IFS=" "" $as_nl"
3323 # Save into config.log some information that might help in debugging.
3325 echo
3327 printf "%s\n" "## ---------------- ##
3328 ## Cache variables. ##
3329 ## ---------------- ##"
3330 echo
3331 # The following way of writing the cache mishandles newlines in values,
3333 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3334 eval ac_val=\$$ac_var
3335 case $ac_val in #(
3336 *${as_nl}*)
3337 case $ac_var in #(
3338 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3339 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3340 esac
3341 case $ac_var in #(
3342 _ | IFS | as_nl) ;; #(
3343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3344 *) { eval $ac_var=; unset $ac_var;} ;;
3345 esac ;;
3346 esac
3347 done
3348 (set) 2>&1 |
3349 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3350 *${as_nl}ac_space=\ *)
3351 sed -n \
3352 "s/'\''/'\''\\\\'\'''\''/g;
3353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3354 ;; #(
3356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3358 esac |
3359 sort
3361 echo
3363 printf "%s\n" "## ----------------- ##
3364 ## Output variables. ##
3365 ## ----------------- ##"
3366 echo
3367 for ac_var in $ac_subst_vars
3369 eval ac_val=\$$ac_var
3370 case $ac_val in
3371 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3372 esac
3373 printf "%s\n" "$ac_var='\''$ac_val'\''"
3374 done | sort
3375 echo
3377 if test -n "$ac_subst_files"; then
3378 printf "%s\n" "## ------------------- ##
3379 ## File substitutions. ##
3380 ## ------------------- ##"
3381 echo
3382 for ac_var in $ac_subst_files
3384 eval ac_val=\$$ac_var
3385 case $ac_val in
3386 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3387 esac
3388 printf "%s\n" "$ac_var='\''$ac_val'\''"
3389 done | sort
3390 echo
3393 if test -s confdefs.h; then
3394 printf "%s\n" "## ----------- ##
3395 ## confdefs.h. ##
3396 ## ----------- ##"
3397 echo
3398 cat confdefs.h
3399 echo
3401 test "$ac_signal" != 0 &&
3402 printf "%s\n" "$as_me: caught signal $ac_signal"
3403 printf "%s\n" "$as_me: exit $exit_status"
3404 } >&5
3405 rm -f core *.core core.conftest.* &&
3406 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3407 exit $exit_status
3409 for ac_signal in 1 2 13 15; do
3410 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3411 done
3412 ac_signal=0
3414 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3415 rm -f -r conftest* confdefs.h
3417 printf "%s\n" "/* confdefs.h */" > confdefs.h
3419 # Predefined preprocessor variables.
3421 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3423 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3425 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3427 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3429 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3431 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3434 # Let the site file select an alternate cache file if it wants to.
3435 # Prefer an explicitly selected file to automatically selected ones.
3436 if test -n "$CONFIG_SITE"; then
3437 ac_site_files="$CONFIG_SITE"
3438 elif test "x$prefix" != xNONE; then
3439 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3440 else
3441 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3444 for ac_site_file in $ac_site_files
3446 case $ac_site_file in #(
3447 */*) :
3448 ;; #(
3449 *) :
3450 ac_site_file=./$ac_site_file ;;
3451 esac
3452 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3454 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3455 sed 's/^/| /' "$ac_site_file" >&5
3456 . "$ac_site_file" \
3457 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "failed to load site script $ac_site_file
3460 See \`config.log' for more details" "$LINENO" 5; }
3462 done
3464 if test -r "$cache_file"; then
3465 # Some versions of bash will fail to source /dev/null (special files
3466 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3467 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3469 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3470 case $cache_file in
3471 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3472 *) . "./$cache_file";;
3473 esac
3475 else
3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3477 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3478 >$cache_file
3481 # Test code for whether the C compiler supports C89 (global declarations)
3482 ac_c_conftest_c89_globals='
3483 /* Does the compiler advertise C89 conformance?
3484 Do not test the value of __STDC__, because some compilers set it to 0
3485 while being otherwise adequately conformant. */
3486 #if !defined __STDC__
3487 # error "Compiler does not advertise C89 conformance"
3488 #endif
3490 #include <stddef.h>
3491 #include <stdarg.h>
3492 struct stat;
3493 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3494 struct buf { int x; };
3495 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3496 static char *e (p, i)
3497 char **p;
3498 int i;
3500 return p[i];
3502 static char *f (char * (*g) (char **, int), char **p, ...)
3504 char *s;
3505 va_list v;
3506 va_start (v,p);
3507 s = g (p, va_arg (v,int));
3508 va_end (v);
3509 return s;
3512 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3513 function prototypes and stuff, but not \xHH hex character constants.
3514 These do not provoke an error unfortunately, instead are silently treated
3515 as an "x". The following induces an error, until -std is added to get
3516 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3517 array size at least. It is necessary to write \x00 == 0 to get something
3518 that is true only with -std. */
3519 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3521 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3522 inside strings and character constants. */
3523 #define FOO(x) '\''x'\''
3524 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3526 int test (int i, double x);
3527 struct s1 {int (*f) (int a);};
3528 struct s2 {int (*f) (double a);};
3529 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3530 int, int);'
3532 # Test code for whether the C compiler supports C89 (body of main).
3533 ac_c_conftest_c89_main='
3534 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3537 # Test code for whether the C compiler supports C99 (global declarations)
3538 ac_c_conftest_c99_globals='
3539 // Does the compiler advertise C99 conformance?
3540 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3541 # error "Compiler does not advertise C99 conformance"
3542 #endif
3544 #include <stdbool.h>
3545 extern int puts (const char *);
3546 extern int printf (const char *, ...);
3547 extern int dprintf (int, const char *, ...);
3548 extern void *malloc (size_t);
3550 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3551 // dprintf is used instead of fprintf to avoid needing to declare
3552 // FILE and stderr.
3553 #define debug(...) dprintf (2, __VA_ARGS__)
3554 #define showlist(...) puts (#__VA_ARGS__)
3555 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3556 static void
3557 test_varargs_macros (void)
3559 int x = 1234;
3560 int y = 5678;
3561 debug ("Flag");
3562 debug ("X = %d\n", x);
3563 showlist (The first, second, and third items.);
3564 report (x>y, "x is %d but y is %d", x, y);
3567 // Check long long types.
3568 #define BIG64 18446744073709551615ull
3569 #define BIG32 4294967295ul
3570 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3571 #if !BIG_OK
3572 #error "your preprocessor is broken"
3573 #endif
3574 #if BIG_OK
3575 #else
3576 #error "your preprocessor is broken"
3577 #endif
3578 static long long int bignum = -9223372036854775807LL;
3579 static unsigned long long int ubignum = BIG64;
3581 struct incomplete_array
3583 int datasize;
3584 double data[];
3587 struct named_init {
3588 int number;
3589 const wchar_t *name;
3590 double average;
3593 typedef const char *ccp;
3595 static inline int
3596 test_restrict (ccp restrict text)
3598 // See if C++-style comments work.
3599 // Iterate through items via the restricted pointer.
3600 // Also check for declarations in for loops.
3601 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3602 continue;
3603 return 0;
3606 // Check varargs and va_copy.
3607 static bool
3608 test_varargs (const char *format, ...)
3610 va_list args;
3611 va_start (args, format);
3612 va_list args_copy;
3613 va_copy (args_copy, args);
3615 const char *str = "";
3616 int number = 0;
3617 float fnumber = 0;
3619 while (*format)
3621 switch (*format++)
3623 case '\''s'\'': // string
3624 str = va_arg (args_copy, const char *);
3625 break;
3626 case '\''d'\'': // int
3627 number = va_arg (args_copy, int);
3628 break;
3629 case '\''f'\'': // float
3630 fnumber = va_arg (args_copy, double);
3631 break;
3632 default:
3633 break;
3636 va_end (args_copy);
3637 va_end (args);
3639 return *str && number && fnumber;
3643 # Test code for whether the C compiler supports C99 (body of main).
3644 ac_c_conftest_c99_main='
3645 // Check bool.
3646 _Bool success = false;
3647 success |= (argc != 0);
3649 // Check restrict.
3650 if (test_restrict ("String literal") == 0)
3651 success = true;
3652 char *restrict newvar = "Another string";
3654 // Check varargs.
3655 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3656 test_varargs_macros ();
3658 // Check flexible array members.
3659 struct incomplete_array *ia =
3660 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3661 ia->datasize = 10;
3662 for (int i = 0; i < ia->datasize; ++i)
3663 ia->data[i] = i * 1.234;
3665 // Check named initializers.
3666 struct named_init ni = {
3667 .number = 34,
3668 .name = L"Test wide string",
3669 .average = 543.34343,
3672 ni.number = 58;
3674 int dynamic_array[ni.number];
3675 dynamic_array[0] = argv[0][0];
3676 dynamic_array[ni.number - 1] = 543;
3678 // work around unused variable warnings
3679 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3680 || dynamic_array[ni.number - 1] != 543);
3683 # Test code for whether the C compiler supports C11 (global declarations)
3684 ac_c_conftest_c11_globals='
3685 // Does the compiler advertise C11 conformance?
3686 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3687 # error "Compiler does not advertise C11 conformance"
3688 #endif
3690 // Check _Alignas.
3691 char _Alignas (double) aligned_as_double;
3692 char _Alignas (0) no_special_alignment;
3693 extern char aligned_as_int;
3694 char _Alignas (0) _Alignas (int) aligned_as_int;
3696 // Check _Alignof.
3697 enum
3699 int_alignment = _Alignof (int),
3700 int_array_alignment = _Alignof (int[100]),
3701 char_alignment = _Alignof (char)
3703 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3705 // Check _Noreturn.
3706 int _Noreturn does_not_return (void) { for (;;) continue; }
3708 // Check _Static_assert.
3709 struct test_static_assert
3711 int x;
3712 _Static_assert (sizeof (int) <= sizeof (long int),
3713 "_Static_assert does not work in struct");
3714 long int y;
3717 // Check UTF-8 literals.
3718 #define u8 syntax error!
3719 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3721 // Check duplicate typedefs.
3722 typedef long *long_ptr;
3723 typedef long int *long_ptr;
3724 typedef long_ptr long_ptr;
3726 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3727 struct anonymous
3729 union {
3730 struct { int i; int j; };
3731 struct { int k; long int l; } w;
3733 int m;
3734 } v1;
3737 # Test code for whether the C compiler supports C11 (body of main).
3738 ac_c_conftest_c11_main='
3739 _Static_assert ((offsetof (struct anonymous, i)
3740 == offsetof (struct anonymous, w.k)),
3741 "Anonymous union alignment botch");
3742 v1.i = 2;
3743 v1.w.k = 5;
3744 ok |= v1.i != 5;
3747 # Test code for whether the C compiler supports C11 (complete).
3748 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3749 ${ac_c_conftest_c99_globals}
3750 ${ac_c_conftest_c11_globals}
3753 main (int argc, char **argv)
3755 int ok = 0;
3756 ${ac_c_conftest_c89_main}
3757 ${ac_c_conftest_c99_main}
3758 ${ac_c_conftest_c11_main}
3759 return ok;
3763 # Test code for whether the C compiler supports C99 (complete).
3764 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3765 ${ac_c_conftest_c99_globals}
3768 main (int argc, char **argv)
3770 int ok = 0;
3771 ${ac_c_conftest_c89_main}
3772 ${ac_c_conftest_c99_main}
3773 return ok;
3777 # Test code for whether the C compiler supports C89 (complete).
3778 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3781 main (int argc, char **argv)
3783 int ok = 0;
3784 ${ac_c_conftest_c89_main}
3785 return ok;
3789 # Test code for whether the C++ compiler supports C++98 (global declarations)
3790 ac_cxx_conftest_cxx98_globals='
3791 // Does the compiler advertise C++98 conformance?
3792 #if !defined __cplusplus || __cplusplus < 199711L
3793 # error "Compiler does not advertise C++98 conformance"
3794 #endif
3796 // These inclusions are to reject old compilers that
3797 // lack the unsuffixed header files.
3798 #include <cstdlib>
3799 #include <exception>
3801 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3802 extern void assert (int);
3803 namespace std {
3804 extern int strcmp (const char *, const char *);
3807 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3808 using std::exception;
3809 using std::strcmp;
3811 namespace {
3813 void test_exception_syntax()
3815 try {
3816 throw "test";
3817 } catch (const char *s) {
3818 // Extra parentheses suppress a warning when building autoconf itself,
3819 // due to lint rules shared with more typical C programs.
3820 assert (!(strcmp) (s, "test"));
3824 template <typename T> struct test_template
3826 T const val;
3827 explicit test_template(T t) : val(t) {}
3828 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3831 } // anonymous namespace
3834 # Test code for whether the C++ compiler supports C++98 (body of main)
3835 ac_cxx_conftest_cxx98_main='
3836 assert (argc);
3837 assert (! argv[0]);
3839 test_exception_syntax ();
3840 test_template<double> tt (2.0);
3841 assert (tt.add (4) == 6.0);
3842 assert (true && !false);
3846 # Test code for whether the C++ compiler supports C++11 (global declarations)
3847 ac_cxx_conftest_cxx11_globals='
3848 // Does the compiler advertise C++ 2011 conformance?
3849 #if !defined __cplusplus || __cplusplus < 201103L
3850 # error "Compiler does not advertise C++11 conformance"
3851 #endif
3853 namespace cxx11test
3855 constexpr int get_val() { return 20; }
3857 struct testinit
3859 int i;
3860 double d;
3863 class delegate
3865 public:
3866 delegate(int n) : n(n) {}
3867 delegate(): delegate(2354) {}
3869 virtual int getval() { return this->n; };
3870 protected:
3871 int n;
3874 class overridden : public delegate
3876 public:
3877 overridden(int n): delegate(n) {}
3878 virtual int getval() override final { return this->n * 2; }
3881 class nocopy
3883 public:
3884 nocopy(int i): i(i) {}
3885 nocopy() = default;
3886 nocopy(const nocopy&) = delete;
3887 nocopy & operator=(const nocopy&) = delete;
3888 private:
3889 int i;
3892 // for testing lambda expressions
3893 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3895 return f(v);
3898 // for testing variadic templates and trailing return types
3899 template <typename V> auto sum(V first) -> V
3901 return first;
3903 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3905 return first + sum(rest...);
3910 # Test code for whether the C++ compiler supports C++11 (body of main)
3911 ac_cxx_conftest_cxx11_main='
3913 // Test auto and decltype
3914 auto a1 = 6538;
3915 auto a2 = 48573953.4;
3916 auto a3 = "String literal";
3918 int total = 0;
3919 for (auto i = a3; *i; ++i) { total += *i; }
3921 decltype(a2) a4 = 34895.034;
3924 // Test constexpr
3925 short sa[cxx11test::get_val()] = { 0 };
3928 // Test initializer lists
3929 cxx11test::testinit il = { 4323, 435234.23544 };
3932 // Test range-based for
3933 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3934 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3935 for (auto &x : array) { x += 23; }
3938 // Test lambda expressions
3939 using cxx11test::eval;
3940 assert (eval ([](int x) { return x*2; }, 21) == 42);
3941 double d = 2.0;
3942 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3943 assert (d == 5.0);
3944 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3945 assert (d == 5.0);
3948 // Test use of variadic templates
3949 using cxx11test::sum;
3950 auto a = sum(1);
3951 auto b = sum(1, 2);
3952 auto c = sum(1.0, 2.0, 3.0);
3955 // Test constructor delegation
3956 cxx11test::delegate d1;
3957 cxx11test::delegate d2();
3958 cxx11test::delegate d3(45);
3961 // Test override and final
3962 cxx11test::overridden o1(55464);
3965 // Test nullptr
3966 char *c = nullptr;
3969 // Test template brackets
3970 test_template<::test_template<int>> v(test_template<int>(12));
3973 // Unicode literals
3974 char const *utf8 = u8"UTF-8 string \u2500";
3975 char16_t const *utf16 = u"UTF-8 string \u2500";
3976 char32_t const *utf32 = U"UTF-32 string \u2500";
3980 # Test code for whether the C compiler supports C++11 (complete).
3981 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3982 ${ac_cxx_conftest_cxx11_globals}
3985 main (int argc, char **argv)
3987 int ok = 0;
3988 ${ac_cxx_conftest_cxx98_main}
3989 ${ac_cxx_conftest_cxx11_main}
3990 return ok;
3994 # Test code for whether the C compiler supports C++98 (complete).
3995 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3997 main (int argc, char **argv)
3999 int ok = 0;
4000 ${ac_cxx_conftest_cxx98_main}
4001 return ok;
4005 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
4006 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
4007 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
4008 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
4009 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
4010 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
4011 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
4012 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
4013 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
4015 # Auxiliary files required by this configure script.
4016 ac_aux_files="config.guess config.sub"
4018 # Locations in which to look for auxiliary files.
4019 ac_aux_dir_candidates="${srcdir}/tools"
4021 # Search for a directory containing all of the required auxiliary files,
4022 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
4023 # If we don't find one directory that contains all the files we need,
4024 # we report the set of missing files from the *first* directory in
4025 # $ac_aux_dir_candidates and give up.
4026 ac_missing_aux_files=""
4027 ac_first_candidate=:
4028 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
4029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 as_found=false
4031 for as_dir in $ac_aux_dir_candidates
4033 IFS=$as_save_IFS
4034 case $as_dir in #(((
4035 '') as_dir=./ ;;
4036 */) ;;
4037 *) as_dir=$as_dir/ ;;
4038 esac
4039 as_found=:
4041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
4042 ac_aux_dir_found=yes
4043 ac_install_sh=
4044 for ac_aux in $ac_aux_files
4046 # As a special case, if "install-sh" is required, that requirement
4047 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4048 # and $ac_install_sh is set appropriately for whichever one is found.
4049 if test x"$ac_aux" = x"install-sh"
4050 then
4051 if test -f "${as_dir}install-sh"; then
4052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4053 ac_install_sh="${as_dir}install-sh -c"
4054 elif test -f "${as_dir}install.sh"; then
4055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4056 ac_install_sh="${as_dir}install.sh -c"
4057 elif test -f "${as_dir}shtool"; then
4058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4059 ac_install_sh="${as_dir}shtool install -c"
4060 else
4061 ac_aux_dir_found=no
4062 if $ac_first_candidate; then
4063 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4064 else
4065 break
4068 else
4069 if test -f "${as_dir}${ac_aux}"; then
4070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4071 else
4072 ac_aux_dir_found=no
4073 if $ac_first_candidate; then
4074 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4075 else
4076 break
4080 done
4081 if test "$ac_aux_dir_found" = yes; then
4082 ac_aux_dir="$as_dir"
4083 break
4085 ac_first_candidate=false
4087 as_found=false
4088 done
4089 IFS=$as_save_IFS
4090 if $as_found
4091 then :
4093 else $as_nop
4094 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4098 # These three variables are undocumented and unsupported,
4099 # and are intended to be withdrawn in a future Autoconf release.
4100 # They can cause serious problems if a builder's source tree is in a directory
4101 # whose full name contains unusual characters.
4102 if test -f "${ac_aux_dir}config.guess"; then
4103 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4105 if test -f "${ac_aux_dir}config.sub"; then
4106 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4108 if test -f "$ac_aux_dir/configure"; then
4109 ac_configure="$SHELL ${ac_aux_dir}configure"
4112 # Check that the precious variables saved in the cache have kept the same
4113 # value.
4114 ac_cache_corrupted=false
4115 for ac_var in $ac_precious_vars; do
4116 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4117 eval ac_new_set=\$ac_env_${ac_var}_set
4118 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4119 eval ac_new_val=\$ac_env_${ac_var}_value
4120 case $ac_old_set,$ac_new_set in
4121 set,)
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4123 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4124 ac_cache_corrupted=: ;;
4125 ,set)
4126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4127 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4128 ac_cache_corrupted=: ;;
4129 ,);;
4131 if test "x$ac_old_val" != "x$ac_new_val"; then
4132 # differences in whitespace do not lead to failure.
4133 ac_old_val_w=`echo x $ac_old_val`
4134 ac_new_val_w=`echo x $ac_new_val`
4135 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4137 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4138 ac_cache_corrupted=:
4139 else
4140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4141 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4142 eval $ac_var=\$ac_old_val
4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4145 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4147 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4148 fi;;
4149 esac
4150 # Pass precious variables to config.status.
4151 if test "$ac_new_set" = set; then
4152 case $ac_new_val in
4153 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4154 *) ac_arg=$ac_var=$ac_new_val ;;
4155 esac
4156 case " $ac_configure_args " in
4157 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4158 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4159 esac
4161 done
4162 if $ac_cache_corrupted; then
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4164 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4166 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4167 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4168 and start over" "$LINENO" 5
4170 ## -------------------- ##
4171 ## Main body of script. ##
4172 ## -------------------- ##
4174 ac_ext=c
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4182 ac_config_headers="$ac_config_headers include/config.h"
4186 libwine_version="1.0"
4189 # Check whether --enable-archs was given.
4190 if test ${enable_archs+y}
4191 then :
4192 enableval=$enable_archs;
4195 # Check whether --enable-win16 was given.
4196 if test ${enable_win16+y}
4197 then :
4198 enableval=$enable_win16;
4201 # Check whether --enable-win64 was given.
4202 if test ${enable_win64+y}
4203 then :
4204 enableval=$enable_win64;
4207 # Check whether --enable-tests was given.
4208 if test ${enable_tests+y}
4209 then :
4210 enableval=$enable_tests;
4213 # Check whether --enable-build-id was given.
4214 if test ${enable_build_id+y}
4215 then :
4216 enableval=$enable_build_id;
4219 # Check whether --enable-maintainer-mode was given.
4220 if test ${enable_maintainer_mode+y}
4221 then :
4222 enableval=$enable_maintainer_mode;
4225 # Check whether --enable-silent-rules was given.
4226 if test ${enable_silent_rules+y}
4227 then :
4228 enableval=$enable_silent_rules;
4231 # Check whether --enable-werror was given.
4232 if test ${enable_werror+y}
4233 then :
4234 enableval=$enable_werror;
4239 # Check whether --with-alsa was given.
4240 if test ${with_alsa+y}
4241 then :
4242 withval=$with_alsa;
4246 # Check whether --with-capi was given.
4247 if test ${with_capi+y}
4248 then :
4249 withval=$with_capi;
4253 # Check whether --with-coreaudio was given.
4254 if test ${with_coreaudio+y}
4255 then :
4256 withval=$with_coreaudio;
4260 # Check whether --with-cups was given.
4261 if test ${with_cups+y}
4262 then :
4263 withval=$with_cups;
4267 # Check whether --with-dbus was given.
4268 if test ${with_dbus+y}
4269 then :
4270 withval=$with_dbus;
4274 # Check whether --with-float-abi was given.
4275 if test ${with_float_abi+y}
4276 then :
4277 withval=$with_float_abi;
4281 # Check whether --with-fontconfig was given.
4282 if test ${with_fontconfig+y}
4283 then :
4284 withval=$with_fontconfig;
4288 # Check whether --with-freetype was given.
4289 if test ${with_freetype+y}
4290 then :
4291 withval=$with_freetype;
4295 # Check whether --with-gettext was given.
4296 if test ${with_gettext+y}
4297 then :
4298 withval=$with_gettext;
4302 # Check whether --with-gettextpo was given.
4303 if test ${with_gettextpo+y}
4304 then :
4305 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4309 # Check whether --with-gphoto was given.
4310 if test ${with_gphoto+y}
4311 then :
4312 withval=$with_gphoto;
4316 # Check whether --with-gnutls was given.
4317 if test ${with_gnutls+y}
4318 then :
4319 withval=$with_gnutls;
4323 # Check whether --with-gssapi was given.
4324 if test ${with_gssapi+y}
4325 then :
4326 withval=$with_gssapi;
4330 # Check whether --with-gstreamer was given.
4331 if test ${with_gstreamer+y}
4332 then :
4333 withval=$with_gstreamer;
4337 # Check whether --with-inotify was given.
4338 if test ${with_inotify+y}
4339 then :
4340 withval=$with_inotify;
4344 # Check whether --with-krb5 was given.
4345 if test ${with_krb5+y}
4346 then :
4347 withval=$with_krb5;
4351 # Check whether --with-mingw was given.
4352 if test ${with_mingw+y}
4353 then :
4354 withval=$with_mingw;
4358 # Check whether --with-netapi was given.
4359 if test ${with_netapi+y}
4360 then :
4361 withval=$with_netapi;
4365 # Check whether --with-opencl was given.
4366 if test ${with_opencl+y}
4367 then :
4368 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4372 # Check whether --with-opengl was given.
4373 if test ${with_opengl+y}
4374 then :
4375 withval=$with_opengl;
4379 # Check whether --with-osmesa was given.
4380 if test ${with_osmesa+y}
4381 then :
4382 withval=$with_osmesa;
4386 # Check whether --with-oss was given.
4387 if test ${with_oss+y}
4388 then :
4389 withval=$with_oss;
4393 # Check whether --with-pcap was given.
4394 if test ${with_pcap+y}
4395 then :
4396 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4400 # Check whether --with-pcsclite was given.
4401 if test ${with_pcsclite+y}
4402 then :
4403 withval=$with_pcsclite;
4407 # Check whether --with-pthread was given.
4408 if test ${with_pthread+y}
4409 then :
4410 withval=$with_pthread;
4414 # Check whether --with-pulse was given.
4415 if test ${with_pulse+y}
4416 then :
4417 withval=$with_pulse;
4421 # Check whether --with-sane was given.
4422 if test ${with_sane+y}
4423 then :
4424 withval=$with_sane;
4428 # Check whether --with-sdl was given.
4429 if test ${with_sdl+y}
4430 then :
4431 withval=$with_sdl;
4435 # Check whether --with-udev was given.
4436 if test ${with_udev+y}
4437 then :
4438 withval=$with_udev;
4442 # Check whether --with-unwind was given.
4443 if test ${with_unwind+y}
4444 then :
4445 withval=$with_unwind;
4449 # Check whether --with-usb was given.
4450 if test ${with_usb+y}
4451 then :
4452 withval=$with_usb;
4456 # Check whether --with-v4l2 was given.
4457 if test ${with_v4l2+y}
4458 then :
4459 withval=$with_v4l2;
4463 # Check whether --with-vulkan was given.
4464 if test ${with_vulkan+y}
4465 then :
4466 withval=$with_vulkan;
4470 # Check whether --with-wayland was given.
4471 if test ${with_wayland+y}
4472 then :
4473 withval=$with_wayland;
4477 # Check whether --with-xcomposite was given.
4478 if test ${with_xcomposite+y}
4479 then :
4480 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4484 # Check whether --with-xcursor was given.
4485 if test ${with_xcursor+y}
4486 then :
4487 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4491 # Check whether --with-xfixes was given.
4492 if test ${with_xfixes+y}
4493 then :
4494 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4498 # Check whether --with-xinerama was given.
4499 if test ${with_xinerama+y}
4500 then :
4501 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4505 # Check whether --with-xinput was given.
4506 if test ${with_xinput+y}
4507 then :
4508 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4512 # Check whether --with-xinput2 was given.
4513 if test ${with_xinput2+y}
4514 then :
4515 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4519 # Check whether --with-xrandr was given.
4520 if test ${with_xrandr+y}
4521 then :
4522 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4526 # Check whether --with-xrender was given.
4527 if test ${with_xrender+y}
4528 then :
4529 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4533 # Check whether --with-xshape was given.
4534 if test ${with_xshape+y}
4535 then :
4536 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4540 # Check whether --with-xshm was given.
4541 if test ${with_xshm+y}
4542 then :
4543 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4547 # Check whether --with-xxf86vm was given.
4548 if test ${with_xxf86vm+y}
4549 then :
4550 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
4555 # Check whether --with-system-dllpath was given.
4556 if test ${with_system_dllpath+y}
4557 then :
4558 withval=$with_system_dllpath; system_dllpath=$withval
4563 # Check whether --with-wine-tools was given.
4564 if test ${with_wine_tools+y}
4565 then :
4566 withval=$with_wine_tools;
4570 # Check whether --with-wine64 was given.
4571 if test ${with_wine64+y}
4572 then :
4573 withval=$with_wine64;
4580 # Make sure we can run config.sub.
4581 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4582 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4585 printf %s "checking build system type... " >&6; }
4586 if test ${ac_cv_build+y}
4587 then :
4588 printf %s "(cached) " >&6
4589 else $as_nop
4590 ac_build_alias=$build_alias
4591 test "x$ac_build_alias" = x &&
4592 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4593 test "x$ac_build_alias" = x &&
4594 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4595 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4596 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4600 printf "%s\n" "$ac_cv_build" >&6; }
4601 case $ac_cv_build in
4602 *-*-*) ;;
4603 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4604 esac
4605 build=$ac_cv_build
4606 ac_save_IFS=$IFS; IFS='-'
4607 set x $ac_cv_build
4608 shift
4609 build_cpu=$1
4610 build_vendor=$2
4611 shift; shift
4612 # Remember, the first character of IFS is used to create $*,
4613 # except with old shells:
4614 build_os=$*
4615 IFS=$ac_save_IFS
4616 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4620 printf %s "checking host system type... " >&6; }
4621 if test ${ac_cv_host+y}
4622 then :
4623 printf %s "(cached) " >&6
4624 else $as_nop
4625 if test "x$host_alias" = x; then
4626 ac_cv_host=$ac_cv_build
4627 else
4628 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4629 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4634 printf "%s\n" "$ac_cv_host" >&6; }
4635 case $ac_cv_host in
4636 *-*-*) ;;
4637 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4638 esac
4639 host=$ac_cv_host
4640 ac_save_IFS=$IFS; IFS='-'
4641 set x $ac_cv_host
4642 shift
4643 host_cpu=$1
4644 host_vendor=$2
4645 shift; shift
4646 # Remember, the first character of IFS is used to create $*,
4647 # except with old shells:
4648 host_os=$*
4649 IFS=$ac_save_IFS
4650 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4654 dlldir=\${libdir}/wine
4656 fontdir=\${datadir}/wine/fonts
4658 nlsdir=\${datadir}/wine/nls
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4664 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4665 set x ${MAKE-make}
4666 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4667 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4668 then :
4669 printf %s "(cached) " >&6
4670 else $as_nop
4671 cat >conftest.make <<\_ACEOF
4672 SHELL = /bin/sh
4673 all:
4674 @echo '@@@%%%=$(MAKE)=@@@%%%'
4675 _ACEOF
4676 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4677 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4678 *@@@%%%=?*=@@@%%%*)
4679 eval ac_cv_prog_make_${ac_make}_set=yes;;
4681 eval ac_cv_prog_make_${ac_make}_set=no;;
4682 esac
4683 rm -f conftest.make
4685 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4687 printf "%s\n" "yes" >&6; }
4688 SET_MAKE=
4689 else
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4691 printf "%s\n" "no" >&6; }
4692 SET_MAKE="MAKE=${MAKE-make}"
4704 ac_ext=c
4705 ac_cpp='$CPP $CPPFLAGS'
4706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 if test -n "$ac_tool_prefix"; then
4710 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4711 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s "checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_CC+y}
4715 then :
4716 printf %s "(cached) " >&6
4717 else $as_nop
4718 if test -n "$CC"; then
4719 ac_cv_prog_CC="$CC" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 case $as_dir in #(((
4726 '') as_dir=./ ;;
4727 */) ;;
4728 *) as_dir=$as_dir/ ;;
4729 esac
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 CC=$ac_cv_prog_CC
4743 if test -n "$CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4745 printf "%s\n" "$CC" >&6; }
4746 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4753 if test -z "$ac_cv_prog_CC"; then
4754 ac_ct_CC=$CC
4755 # Extract the first word of "gcc", so it can be a program name with args.
4756 set dummy gcc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_ac_ct_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else $as_nop
4763 if test -n "$ac_ct_CC"; then
4764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_ac_ct_CC="gcc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4788 if test -n "$ac_ct_CC"; then
4789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4790 printf "%s\n" "$ac_ct_CC" >&6; }
4791 else
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 printf "%s\n" "no" >&6; }
4796 if test "x$ac_ct_CC" = x; then
4797 CC=""
4798 else
4799 case $cross_compiling:$ac_tool_warned in
4800 yes:)
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4802 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4803 ac_tool_warned=yes ;;
4804 esac
4805 CC=$ac_ct_CC
4807 else
4808 CC="$ac_cv_prog_CC"
4811 if test -z "$CC"; then
4812 if test -n "$ac_tool_prefix"; then
4813 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4814 set dummy ${ac_tool_prefix}cc; ac_word=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s "checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4818 then :
4819 printf %s "(cached) " >&6
4820 else $as_nop
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC="$CC" # Let the user override the test.
4823 else
4824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 for as_dir in $PATH
4827 IFS=$as_save_IFS
4828 case $as_dir in #(((
4829 '') as_dir=./ ;;
4830 */) ;;
4831 *) as_dir=$as_dir/ ;;
4832 esac
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CC="${ac_tool_prefix}cc"
4836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 CC=$ac_cv_prog_CC
4846 if test -n "$CC"; then
4847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4848 printf "%s\n" "$CC" >&6; }
4849 else
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 printf "%s\n" "no" >&6; }
4857 if test -z "$CC"; then
4858 # Extract the first word of "cc", so it can be a program name with args.
4859 set dummy cc; ac_word=$2
4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 printf %s "checking for $ac_word... " >&6; }
4862 if test ${ac_cv_prog_CC+y}
4863 then :
4864 printf %s "(cached) " >&6
4865 else $as_nop
4866 if test -n "$CC"; then
4867 ac_cv_prog_CC="$CC" # Let the user override the test.
4868 else
4869 ac_prog_rejected=no
4870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4871 for as_dir in $PATH
4873 IFS=$as_save_IFS
4874 case $as_dir in #(((
4875 '') as_dir=./ ;;
4876 */) ;;
4877 *) as_dir=$as_dir/ ;;
4878 esac
4879 for ac_exec_ext in '' $ac_executable_extensions; do
4880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4881 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4882 ac_prog_rejected=yes
4883 continue
4885 ac_cv_prog_CC="cc"
4886 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4893 if test $ac_prog_rejected = yes; then
4894 # We found a bogon in the path, so make sure we never use it.
4895 set dummy $ac_cv_prog_CC
4896 shift
4897 if test $# != 0; then
4898 # We chose a different compiler from the bogus one.
4899 # However, it has the same basename, so the bogon will be chosen
4900 # first if we set CC to just the basename; use the full file name.
4901 shift
4902 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4907 CC=$ac_cv_prog_CC
4908 if test -n "$CC"; then
4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4910 printf "%s\n" "$CC" >&6; }
4911 else
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4913 printf "%s\n" "no" >&6; }
4918 if test -z "$CC"; then
4919 if test -n "$ac_tool_prefix"; then
4920 for ac_prog in cl.exe
4922 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4923 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 printf %s "checking for $ac_word... " >&6; }
4926 if test ${ac_cv_prog_CC+y}
4927 then :
4928 printf %s "(cached) " >&6
4929 else $as_nop
4930 if test -n "$CC"; then
4931 ac_cv_prog_CC="$CC" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 case $as_dir in #(((
4938 '') as_dir=./ ;;
4939 */) ;;
4940 *) as_dir=$as_dir/ ;;
4941 esac
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4946 break 2
4948 done
4949 done
4950 IFS=$as_save_IFS
4954 CC=$ac_cv_prog_CC
4955 if test -n "$CC"; then
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4957 printf "%s\n" "$CC" >&6; }
4958 else
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 printf "%s\n" "no" >&6; }
4964 test -n "$CC" && break
4965 done
4967 if test -z "$CC"; then
4968 ac_ct_CC=$CC
4969 for ac_prog in cl.exe
4971 # Extract the first word of "$ac_prog", so it can be a program name with args.
4972 set dummy $ac_prog; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_ac_ct_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else $as_nop
4979 if test -n "$ac_ct_CC"; then
4980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_ac_ct_CC="$ac_prog"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5004 if test -n "$ac_ct_CC"; then
5005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5006 printf "%s\n" "$ac_ct_CC" >&6; }
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 printf "%s\n" "no" >&6; }
5013 test -n "$ac_ct_CC" && break
5014 done
5016 if test "x$ac_ct_CC" = x; then
5017 CC=""
5018 else
5019 case $cross_compiling:$ac_tool_warned in
5020 yes:)
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5022 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5023 ac_tool_warned=yes ;;
5024 esac
5025 CC=$ac_ct_CC
5030 if test -z "$CC"; then
5031 if test -n "$ac_tool_prefix"; then
5032 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5033 set dummy ${ac_tool_prefix}clang; ac_word=$2
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 printf %s "checking for $ac_word... " >&6; }
5036 if test ${ac_cv_prog_CC+y}
5037 then :
5038 printf %s "(cached) " >&6
5039 else $as_nop
5040 if test -n "$CC"; then
5041 ac_cv_prog_CC="$CC" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 case $as_dir in #(((
5048 '') as_dir=./ ;;
5049 */) ;;
5050 *) as_dir=$as_dir/ ;;
5051 esac
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_CC="${ac_tool_prefix}clang"
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 CC=$ac_cv_prog_CC
5065 if test -n "$CC"; then
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5067 printf "%s\n" "$CC" >&6; }
5068 else
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 printf "%s\n" "no" >&6; }
5075 if test -z "$ac_cv_prog_CC"; then
5076 ac_ct_CC=$CC
5077 # Extract the first word of "clang", so it can be a program name with args.
5078 set dummy clang; ac_word=$2
5079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 printf %s "checking for $ac_word... " >&6; }
5081 if test ${ac_cv_prog_ac_ct_CC+y}
5082 then :
5083 printf %s "(cached) " >&6
5084 else $as_nop
5085 if test -n "$ac_ct_CC"; then
5086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5087 else
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH
5091 IFS=$as_save_IFS
5092 case $as_dir in #(((
5093 '') as_dir=./ ;;
5094 */) ;;
5095 *) as_dir=$as_dir/ ;;
5096 esac
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_ac_ct_CC="clang"
5100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5101 break 2
5103 done
5104 done
5105 IFS=$as_save_IFS
5109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5110 if test -n "$ac_ct_CC"; then
5111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5112 printf "%s\n" "$ac_ct_CC" >&6; }
5113 else
5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 printf "%s\n" "no" >&6; }
5118 if test "x$ac_ct_CC" = x; then
5119 CC=""
5120 else
5121 case $cross_compiling:$ac_tool_warned in
5122 yes:)
5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5124 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5125 ac_tool_warned=yes ;;
5126 esac
5127 CC=$ac_ct_CC
5129 else
5130 CC="$ac_cv_prog_CC"
5136 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5137 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5138 as_fn_error $? "no acceptable C compiler found in \$PATH
5139 See \`config.log' for more details" "$LINENO" 5; }
5141 # Provide some information about the compiler.
5142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5143 set X $ac_compile
5144 ac_compiler=$2
5145 for ac_option in --version -v -V -qversion -version; do
5146 { { ac_try="$ac_compiler $ac_option >&5"
5147 case "(($ac_try" in
5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5150 esac
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 printf "%s\n" "$ac_try_echo"; } >&5
5153 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5154 ac_status=$?
5155 if test -s conftest.err; then
5156 sed '10a\
5157 ... rest of stderr output deleted ...
5158 10q' conftest.err >conftest.er1
5159 cat conftest.er1 >&5
5161 rm -f conftest.er1 conftest.err
5162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5163 test $ac_status = 0; }
5164 done
5166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5167 /* end confdefs.h. */
5170 main (void)
5174 return 0;
5176 _ACEOF
5177 ac_clean_files_save=$ac_clean_files
5178 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5179 # Try to create an executable without -o first, disregard a.out.
5180 # It will help us diagnose broken compilers, and finding out an intuition
5181 # of exeext.
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5183 printf %s "checking whether the C compiler works... " >&6; }
5184 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5186 # The possible output files:
5187 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5189 ac_rmfiles=
5190 for ac_file in $ac_files
5192 case $ac_file in
5193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5194 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5195 esac
5196 done
5197 rm -f $ac_rmfiles
5199 if { { ac_try="$ac_link_default"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 printf "%s\n" "$ac_try_echo"; } >&5
5206 (eval "$ac_link_default") 2>&5
5207 ac_status=$?
5208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5209 test $ac_status = 0; }
5210 then :
5211 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5212 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5213 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5214 # so that the user can short-circuit this test for compilers unknown to
5215 # Autoconf.
5216 for ac_file in $ac_files ''
5218 test -f "$ac_file" || continue
5219 case $ac_file in
5220 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5222 [ab].out )
5223 # We found the default executable, but exeext='' is most
5224 # certainly right.
5225 break;;
5226 *.* )
5227 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5228 then :; else
5229 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5231 # We set ac_cv_exeext here because the later test for it is not
5232 # safe: cross compilers may not add the suffix if given an `-o'
5233 # argument, so we may need to know it at that point already.
5234 # Even if this section looks crufty: it has the advantage of
5235 # actually working.
5236 break;;
5238 break;;
5239 esac
5240 done
5241 test "$ac_cv_exeext" = no && ac_cv_exeext=
5243 else $as_nop
5244 ac_file=''
5246 if test -z "$ac_file"
5247 then :
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 printf "%s\n" "no" >&6; }
5250 printf "%s\n" "$as_me: failed program was:" >&5
5251 sed 's/^/| /' conftest.$ac_ext >&5
5253 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error 77 "C compiler cannot create executables
5256 See \`config.log' for more details" "$LINENO" 5; }
5257 else $as_nop
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5259 printf "%s\n" "yes" >&6; }
5261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5262 printf %s "checking for C compiler default output file name... " >&6; }
5263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5264 printf "%s\n" "$ac_file" >&6; }
5265 ac_exeext=$ac_cv_exeext
5267 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5268 ac_clean_files=$ac_clean_files_save
5269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5270 printf %s "checking for suffix of executables... " >&6; }
5271 if { { ac_try="$ac_link"
5272 case "(($ac_try" in
5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5274 *) ac_try_echo=$ac_try;;
5275 esac
5276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5277 printf "%s\n" "$ac_try_echo"; } >&5
5278 (eval "$ac_link") 2>&5
5279 ac_status=$?
5280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5281 test $ac_status = 0; }
5282 then :
5283 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5284 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5285 # work properly (i.e., refer to `conftest.exe'), while it won't with
5286 # `rm'.
5287 for ac_file in conftest.exe conftest conftest.*; do
5288 test -f "$ac_file" || continue
5289 case $ac_file in
5290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5291 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5292 break;;
5293 * ) break;;
5294 esac
5295 done
5296 else $as_nop
5297 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5298 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5299 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5300 See \`config.log' for more details" "$LINENO" 5; }
5302 rm -f conftest conftest$ac_cv_exeext
5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5304 printf "%s\n" "$ac_cv_exeext" >&6; }
5306 rm -f conftest.$ac_ext
5307 EXEEXT=$ac_cv_exeext
5308 ac_exeext=$EXEEXT
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5311 #include <stdio.h>
5313 main (void)
5315 FILE *f = fopen ("conftest.out", "w");
5316 return ferror (f) || fclose (f) != 0;
5319 return 0;
5321 _ACEOF
5322 ac_clean_files="$ac_clean_files conftest.out"
5323 # Check that the compiler produces executables we can run. If not, either
5324 # the compiler is broken, or we cross compile.
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5326 printf %s "checking whether we are cross compiling... " >&6; }
5327 if test "$cross_compiling" != yes; then
5328 { { ac_try="$ac_link"
5329 case "(($ac_try" in
5330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5331 *) ac_try_echo=$ac_try;;
5332 esac
5333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5334 printf "%s\n" "$ac_try_echo"; } >&5
5335 (eval "$ac_link") 2>&5
5336 ac_status=$?
5337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5338 test $ac_status = 0; }
5339 if { ac_try='./conftest$ac_cv_exeext'
5340 { { case "(($ac_try" in
5341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5342 *) ac_try_echo=$ac_try;;
5343 esac
5344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5345 printf "%s\n" "$ac_try_echo"; } >&5
5346 (eval "$ac_try") 2>&5
5347 ac_status=$?
5348 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5349 test $ac_status = 0; }; }; then
5350 cross_compiling=no
5351 else
5352 if test "$cross_compiling" = maybe; then
5353 cross_compiling=yes
5354 else
5355 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5356 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5357 as_fn_error 77 "cannot run C compiled programs.
5358 If you meant to cross compile, use \`--host'.
5359 See \`config.log' for more details" "$LINENO" 5; }
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5364 printf "%s\n" "$cross_compiling" >&6; }
5366 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5367 ac_clean_files=$ac_clean_files_save
5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5369 printf %s "checking for suffix of object files... " >&6; }
5370 if test ${ac_cv_objext+y}
5371 then :
5372 printf %s "(cached) " >&6
5373 else $as_nop
5374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5375 /* end confdefs.h. */
5378 main (void)
5382 return 0;
5384 _ACEOF
5385 rm -f conftest.o conftest.obj
5386 if { { ac_try="$ac_compile"
5387 case "(($ac_try" in
5388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5389 *) ac_try_echo=$ac_try;;
5390 esac
5391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5392 printf "%s\n" "$ac_try_echo"; } >&5
5393 (eval "$ac_compile") 2>&5
5394 ac_status=$?
5395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5396 test $ac_status = 0; }
5397 then :
5398 for ac_file in conftest.o conftest.obj conftest.*; do
5399 test -f "$ac_file" || continue;
5400 case $ac_file in
5401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5402 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5403 break;;
5404 esac
5405 done
5406 else $as_nop
5407 printf "%s\n" "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.$ac_ext >&5
5410 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5411 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5412 as_fn_error $? "cannot compute suffix of object files: cannot compile
5413 See \`config.log' for more details" "$LINENO" 5; }
5415 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5418 printf "%s\n" "$ac_cv_objext" >&6; }
5419 OBJEXT=$ac_cv_objext
5420 ac_objext=$OBJEXT
5421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5422 printf %s "checking whether the compiler supports GNU C... " >&6; }
5423 if test ${ac_cv_c_compiler_gnu+y}
5424 then :
5425 printf %s "(cached) " >&6
5426 else $as_nop
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 main (void)
5433 #ifndef __GNUC__
5434 choke me
5435 #endif
5438 return 0;
5440 _ACEOF
5441 if ac_fn_c_try_compile "$LINENO"
5442 then :
5443 ac_compiler_gnu=yes
5444 else $as_nop
5445 ac_compiler_gnu=no
5447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5448 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5452 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455 if test $ac_compiler_gnu = yes; then
5456 GCC=yes
5457 else
5458 GCC=
5460 ac_test_CFLAGS=${CFLAGS+y}
5461 ac_save_CFLAGS=$CFLAGS
5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5463 printf %s "checking whether $CC accepts -g... " >&6; }
5464 if test ${ac_cv_prog_cc_g+y}
5465 then :
5466 printf %s "(cached) " >&6
5467 else $as_nop
5468 ac_save_c_werror_flag=$ac_c_werror_flag
5469 ac_c_werror_flag=yes
5470 ac_cv_prog_cc_g=no
5471 CFLAGS="-g"
5472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5473 /* end confdefs.h. */
5476 main (void)
5480 return 0;
5482 _ACEOF
5483 if ac_fn_c_try_compile "$LINENO"
5484 then :
5485 ac_cv_prog_cc_g=yes
5486 else $as_nop
5487 CFLAGS=""
5488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5489 /* end confdefs.h. */
5492 main (void)
5496 return 0;
5498 _ACEOF
5499 if ac_fn_c_try_compile "$LINENO"
5500 then :
5502 else $as_nop
5503 ac_c_werror_flag=$ac_save_c_werror_flag
5504 CFLAGS="-g"
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5509 main (void)
5513 return 0;
5515 _ACEOF
5516 if ac_fn_c_try_compile "$LINENO"
5517 then :
5518 ac_cv_prog_cc_g=yes
5520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5522 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5525 ac_c_werror_flag=$ac_save_c_werror_flag
5527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5528 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5529 if test $ac_test_CFLAGS; then
5530 CFLAGS=$ac_save_CFLAGS
5531 elif test $ac_cv_prog_cc_g = yes; then
5532 if test "$GCC" = yes; then
5533 CFLAGS="-g -O2"
5534 else
5535 CFLAGS="-g"
5537 else
5538 if test "$GCC" = yes; then
5539 CFLAGS="-O2"
5540 else
5541 CFLAGS=
5544 ac_prog_cc_stdc=no
5545 if test x$ac_prog_cc_stdc = xno
5546 then :
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5548 printf %s "checking for $CC option to enable C11 features... " >&6; }
5549 if test ${ac_cv_prog_cc_c11+y}
5550 then :
5551 printf %s "(cached) " >&6
5552 else $as_nop
5553 ac_cv_prog_cc_c11=no
5554 ac_save_CC=$CC
5555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5556 /* end confdefs.h. */
5557 $ac_c_conftest_c11_program
5558 _ACEOF
5559 for ac_arg in '' -std=gnu11
5561 CC="$ac_save_CC $ac_arg"
5562 if ac_fn_c_try_compile "$LINENO"
5563 then :
5564 ac_cv_prog_cc_c11=$ac_arg
5566 rm -f core conftest.err conftest.$ac_objext conftest.beam
5567 test "x$ac_cv_prog_cc_c11" != "xno" && break
5568 done
5569 rm -f conftest.$ac_ext
5570 CC=$ac_save_CC
5573 if test "x$ac_cv_prog_cc_c11" = xno
5574 then :
5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5576 printf "%s\n" "unsupported" >&6; }
5577 else $as_nop
5578 if test "x$ac_cv_prog_cc_c11" = x
5579 then :
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5581 printf "%s\n" "none needed" >&6; }
5582 else $as_nop
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5584 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5585 CC="$CC $ac_cv_prog_cc_c11"
5587 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5588 ac_prog_cc_stdc=c11
5591 if test x$ac_prog_cc_stdc = xno
5592 then :
5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5594 printf %s "checking for $CC option to enable C99 features... " >&6; }
5595 if test ${ac_cv_prog_cc_c99+y}
5596 then :
5597 printf %s "(cached) " >&6
5598 else $as_nop
5599 ac_cv_prog_cc_c99=no
5600 ac_save_CC=$CC
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5603 $ac_c_conftest_c99_program
5604 _ACEOF
5605 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5607 CC="$ac_save_CC $ac_arg"
5608 if ac_fn_c_try_compile "$LINENO"
5609 then :
5610 ac_cv_prog_cc_c99=$ac_arg
5612 rm -f core conftest.err conftest.$ac_objext conftest.beam
5613 test "x$ac_cv_prog_cc_c99" != "xno" && break
5614 done
5615 rm -f conftest.$ac_ext
5616 CC=$ac_save_CC
5619 if test "x$ac_cv_prog_cc_c99" = xno
5620 then :
5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5622 printf "%s\n" "unsupported" >&6; }
5623 else $as_nop
5624 if test "x$ac_cv_prog_cc_c99" = x
5625 then :
5626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5627 printf "%s\n" "none needed" >&6; }
5628 else $as_nop
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5630 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5631 CC="$CC $ac_cv_prog_cc_c99"
5633 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5634 ac_prog_cc_stdc=c99
5637 if test x$ac_prog_cc_stdc = xno
5638 then :
5639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5640 printf %s "checking for $CC option to enable C89 features... " >&6; }
5641 if test ${ac_cv_prog_cc_c89+y}
5642 then :
5643 printf %s "(cached) " >&6
5644 else $as_nop
5645 ac_cv_prog_cc_c89=no
5646 ac_save_CC=$CC
5647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5649 $ac_c_conftest_c89_program
5650 _ACEOF
5651 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5653 CC="$ac_save_CC $ac_arg"
5654 if ac_fn_c_try_compile "$LINENO"
5655 then :
5656 ac_cv_prog_cc_c89=$ac_arg
5658 rm -f core conftest.err conftest.$ac_objext conftest.beam
5659 test "x$ac_cv_prog_cc_c89" != "xno" && break
5660 done
5661 rm -f conftest.$ac_ext
5662 CC=$ac_save_CC
5665 if test "x$ac_cv_prog_cc_c89" = xno
5666 then :
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5668 printf "%s\n" "unsupported" >&6; }
5669 else $as_nop
5670 if test "x$ac_cv_prog_cc_c89" = x
5671 then :
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5673 printf "%s\n" "none needed" >&6; }
5674 else $as_nop
5675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5676 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5677 CC="$CC $ac_cv_prog_cc_c89"
5679 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5680 ac_prog_cc_stdc=c89
5684 ac_ext=c
5685 ac_cpp='$CPP $CPPFLAGS'
5686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5696 ac_ext=cpp
5697 ac_cpp='$CXXCPP $CPPFLAGS'
5698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5701 if test -z "$CXX"; then
5702 if test -n "$CCC"; then
5703 CXX=$CCC
5704 else
5705 if test -n "$ac_tool_prefix"; then
5706 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5711 printf %s "checking for $ac_word... " >&6; }
5712 if test ${ac_cv_prog_CXX+y}
5713 then :
5714 printf %s "(cached) " >&6
5715 else $as_nop
5716 if test -n "$CXX"; then
5717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 case $as_dir in #(((
5724 '') as_dir=./ ;;
5725 */) ;;
5726 *) as_dir=$as_dir/ ;;
5727 esac
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5732 break 2
5734 done
5735 done
5736 IFS=$as_save_IFS
5740 CXX=$ac_cv_prog_CXX
5741 if test -n "$CXX"; then
5742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5743 printf "%s\n" "$CXX" >&6; }
5744 else
5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5746 printf "%s\n" "no" >&6; }
5750 test -n "$CXX" && break
5751 done
5753 if test -z "$CXX"; then
5754 ac_ct_CXX=$CXX
5755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5757 # Extract the first word of "$ac_prog", so it can be a program name with args.
5758 set dummy $ac_prog; ac_word=$2
5759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 printf %s "checking for $ac_word... " >&6; }
5761 if test ${ac_cv_prog_ac_ct_CXX+y}
5762 then :
5763 printf %s "(cached) " >&6
5764 else $as_nop
5765 if test -n "$ac_ct_CXX"; then
5766 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5767 else
5768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769 for as_dir in $PATH
5771 IFS=$as_save_IFS
5772 case $as_dir in #(((
5773 '') as_dir=./ ;;
5774 */) ;;
5775 *) as_dir=$as_dir/ ;;
5776 esac
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5779 ac_cv_prog_ac_ct_CXX="$ac_prog"
5780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5781 break 2
5783 done
5784 done
5785 IFS=$as_save_IFS
5789 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5790 if test -n "$ac_ct_CXX"; then
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5792 printf "%s\n" "$ac_ct_CXX" >&6; }
5793 else
5794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 printf "%s\n" "no" >&6; }
5799 test -n "$ac_ct_CXX" && break
5800 done
5802 if test "x$ac_ct_CXX" = x; then
5803 CXX="g++"
5804 else
5805 case $cross_compiling:$ac_tool_warned in
5806 yes:)
5807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5808 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5809 ac_tool_warned=yes ;;
5810 esac
5811 CXX=$ac_ct_CXX
5817 # Provide some information about the compiler.
5818 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5819 set X $ac_compile
5820 ac_compiler=$2
5821 for ac_option in --version -v -V -qversion; do
5822 { { ac_try="$ac_compiler $ac_option >&5"
5823 case "(($ac_try" in
5824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5825 *) ac_try_echo=$ac_try;;
5826 esac
5827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5828 printf "%s\n" "$ac_try_echo"; } >&5
5829 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5830 ac_status=$?
5831 if test -s conftest.err; then
5832 sed '10a\
5833 ... rest of stderr output deleted ...
5834 10q' conftest.err >conftest.er1
5835 cat conftest.er1 >&5
5837 rm -f conftest.er1 conftest.err
5838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5839 test $ac_status = 0; }
5840 done
5842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5843 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5844 if test ${ac_cv_cxx_compiler_gnu+y}
5845 then :
5846 printf %s "(cached) " >&6
5847 else $as_nop
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5852 main (void)
5854 #ifndef __GNUC__
5855 choke me
5856 #endif
5859 return 0;
5861 _ACEOF
5862 if ac_fn_cxx_try_compile "$LINENO"
5863 then :
5864 ac_compiler_gnu=yes
5865 else $as_nop
5866 ac_compiler_gnu=no
5868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5869 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5873 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5876 if test $ac_compiler_gnu = yes; then
5877 GXX=yes
5878 else
5879 GXX=
5881 ac_test_CXXFLAGS=${CXXFLAGS+y}
5882 ac_save_CXXFLAGS=$CXXFLAGS
5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5884 printf %s "checking whether $CXX accepts -g... " >&6; }
5885 if test ${ac_cv_prog_cxx_g+y}
5886 then :
5887 printf %s "(cached) " >&6
5888 else $as_nop
5889 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5890 ac_cxx_werror_flag=yes
5891 ac_cv_prog_cxx_g=no
5892 CXXFLAGS="-g"
5893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894 /* end confdefs.h. */
5897 main (void)
5901 return 0;
5903 _ACEOF
5904 if ac_fn_cxx_try_compile "$LINENO"
5905 then :
5906 ac_cv_prog_cxx_g=yes
5907 else $as_nop
5908 CXXFLAGS=""
5909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5913 main (void)
5917 return 0;
5919 _ACEOF
5920 if ac_fn_cxx_try_compile "$LINENO"
5921 then :
5923 else $as_nop
5924 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5925 CXXFLAGS="-g"
5926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h. */
5930 main (void)
5934 return 0;
5936 _ACEOF
5937 if ac_fn_cxx_try_compile "$LINENO"
5938 then :
5939 ac_cv_prog_cxx_g=yes
5941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5946 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5949 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5950 if test $ac_test_CXXFLAGS; then
5951 CXXFLAGS=$ac_save_CXXFLAGS
5952 elif test $ac_cv_prog_cxx_g = yes; then
5953 if test "$GXX" = yes; then
5954 CXXFLAGS="-g -O2"
5955 else
5956 CXXFLAGS="-g"
5958 else
5959 if test "$GXX" = yes; then
5960 CXXFLAGS="-O2"
5961 else
5962 CXXFLAGS=
5965 ac_prog_cxx_stdcxx=no
5966 if test x$ac_prog_cxx_stdcxx = xno
5967 then :
5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5969 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5970 if test ${ac_cv_prog_cxx_cxx11+y}
5971 then :
5972 printf %s "(cached) " >&6
5973 else $as_nop
5974 ac_cv_prog_cxx_cxx11=no
5975 ac_save_CXX=$CXX
5976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977 /* end confdefs.h. */
5978 $ac_cxx_conftest_cxx11_program
5979 _ACEOF
5980 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5982 CXX="$ac_save_CXX $ac_arg"
5983 if ac_fn_cxx_try_compile "$LINENO"
5984 then :
5985 ac_cv_prog_cxx_cxx11=$ac_arg
5987 rm -f core conftest.err conftest.$ac_objext conftest.beam
5988 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5989 done
5990 rm -f conftest.$ac_ext
5991 CXX=$ac_save_CXX
5994 if test "x$ac_cv_prog_cxx_cxx11" = xno
5995 then :
5996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5997 printf "%s\n" "unsupported" >&6; }
5998 else $as_nop
5999 if test "x$ac_cv_prog_cxx_cxx11" = x
6000 then :
6001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6002 printf "%s\n" "none needed" >&6; }
6003 else $as_nop
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
6005 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
6006 CXX="$CXX $ac_cv_prog_cxx_cxx11"
6008 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
6009 ac_prog_cxx_stdcxx=cxx11
6012 if test x$ac_prog_cxx_stdcxx = xno
6013 then :
6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
6015 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
6016 if test ${ac_cv_prog_cxx_cxx98+y}
6017 then :
6018 printf %s "(cached) " >&6
6019 else $as_nop
6020 ac_cv_prog_cxx_cxx98=no
6021 ac_save_CXX=$CXX
6022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6024 $ac_cxx_conftest_cxx98_program
6025 _ACEOF
6026 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
6028 CXX="$ac_save_CXX $ac_arg"
6029 if ac_fn_cxx_try_compile "$LINENO"
6030 then :
6031 ac_cv_prog_cxx_cxx98=$ac_arg
6033 rm -f core conftest.err conftest.$ac_objext conftest.beam
6034 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
6035 done
6036 rm -f conftest.$ac_ext
6037 CXX=$ac_save_CXX
6040 if test "x$ac_cv_prog_cxx_cxx98" = xno
6041 then :
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6043 printf "%s\n" "unsupported" >&6; }
6044 else $as_nop
6045 if test "x$ac_cv_prog_cxx_cxx98" = x
6046 then :
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6048 printf "%s\n" "none needed" >&6; }
6049 else $as_nop
6050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6051 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6052 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6054 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6055 ac_prog_cxx_stdcxx=cxx98
6059 ac_ext=c
6060 ac_cpp='$CPP $CPPFLAGS'
6061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6065 if test -n "$ac_tool_prefix"; then
6066 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6067 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s "checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_CPPBIN+y}
6071 then :
6072 printf %s "(cached) " >&6
6073 else $as_nop
6074 if test -n "$CPPBIN"; then
6075 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 case $as_dir in #(((
6082 '') as_dir=./ ;;
6083 */) ;;
6084 *) as_dir=$as_dir/ ;;
6085 esac
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 CPPBIN=$ac_cv_prog_CPPBIN
6099 if test -n "$CPPBIN"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6101 printf "%s\n" "$CPPBIN" >&6; }
6102 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6109 if test -z "$ac_cv_prog_CPPBIN"; then
6110 ac_ct_CPPBIN=$CPPBIN
6111 # Extract the first word of "cpp", so it can be a program name with args.
6112 set dummy cpp; ac_word=$2
6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 printf %s "checking for $ac_word... " >&6; }
6115 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6116 then :
6117 printf %s "(cached) " >&6
6118 else $as_nop
6119 if test -n "$ac_ct_CPPBIN"; then
6120 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 case $as_dir in #(((
6127 '') as_dir=./ ;;
6128 */) ;;
6129 *) as_dir=$as_dir/ ;;
6130 esac
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6133 ac_cv_prog_ac_ct_CPPBIN="cpp"
6134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6135 break 2
6137 done
6138 done
6139 IFS=$as_save_IFS
6143 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6144 if test -n "$ac_ct_CPPBIN"; then
6145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6146 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6147 else
6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6149 printf "%s\n" "no" >&6; }
6152 if test "x$ac_ct_CPPBIN" = x; then
6153 CPPBIN="cpp"
6154 else
6155 case $cross_compiling:$ac_tool_warned in
6156 yes:)
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6159 ac_tool_warned=yes ;;
6160 esac
6161 CPPBIN=$ac_ct_CPPBIN
6163 else
6164 CPPBIN="$ac_cv_prog_CPPBIN"
6168 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6170 if test -n "$ac_tool_prefix"; then
6171 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6172 set dummy ${ac_tool_prefix}ld; ac_word=$2
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 printf %s "checking for $ac_word... " >&6; }
6175 if test ${ac_cv_prog_LD+y}
6176 then :
6177 printf %s "(cached) " >&6
6178 else $as_nop
6179 if test -n "$LD"; then
6180 ac_cv_prog_LD="$LD" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 case $as_dir in #(((
6187 '') as_dir=./ ;;
6188 */) ;;
6189 *) as_dir=$as_dir/ ;;
6190 esac
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_LD="${ac_tool_prefix}ld"
6194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 LD=$ac_cv_prog_LD
6204 if test -n "$LD"; then
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6206 printf "%s\n" "$LD" >&6; }
6207 else
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 printf "%s\n" "no" >&6; }
6214 if test -z "$ac_cv_prog_LD"; then
6215 ac_ct_LD=$LD
6216 # Extract the first word of "ld", so it can be a program name with args.
6217 set dummy ld; ac_word=$2
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6219 printf %s "checking for $ac_word... " >&6; }
6220 if test ${ac_cv_prog_ac_ct_LD+y}
6221 then :
6222 printf %s "(cached) " >&6
6223 else $as_nop
6224 if test -n "$ac_ct_LD"; then
6225 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6226 else
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6228 for as_dir in $PATH
6230 IFS=$as_save_IFS
6231 case $as_dir in #(((
6232 '') as_dir=./ ;;
6233 */) ;;
6234 *) as_dir=$as_dir/ ;;
6235 esac
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6238 ac_cv_prog_ac_ct_LD="ld"
6239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6240 break 2
6242 done
6243 done
6244 IFS=$as_save_IFS
6248 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6249 if test -n "$ac_ct_LD"; then
6250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6251 printf "%s\n" "$ac_ct_LD" >&6; }
6252 else
6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6254 printf "%s\n" "no" >&6; }
6257 if test "x$ac_ct_LD" = x; then
6258 LD=""
6259 else
6260 case $cross_compiling:$ac_tool_warned in
6261 yes:)
6262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6263 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6264 ac_tool_warned=yes ;;
6265 esac
6266 LD=$ac_ct_LD
6268 else
6269 LD="$ac_cv_prog_LD"
6273 case $host in
6274 *-darwin*)
6275 with_fontconfig=${with_fontconfig:-no}
6277 *-mingw32*|*-cygwin*)
6278 enable_win16=${enable_win16:-no}
6279 with_mingw=${with_mingw:-no}
6281 esac
6284 case $host in
6285 x86_64*|amd64*)
6286 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6287 then
6288 CC="$CC -m32"
6289 CXX="$CXX -m32"
6291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6292 printf %s "checking whether $CC works... " >&6; }
6293 if test ${wine_cv_cc_m32+y}
6294 then :
6295 printf %s "(cached) " >&6
6296 else $as_nop
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6301 main (void)
6305 return 0;
6307 _ACEOF
6308 if ac_fn_c_try_link "$LINENO"
6309 then :
6310 wine_cv_cc_m32=yes
6311 else $as_nop
6312 wine_cv_cc_m32=no
6314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6315 conftest$ac_exeext conftest.$ac_ext
6317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6318 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6319 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
6320 host_cpu="i386"
6321 notice_platform="32-bit "
6322 TARGETFLAGS="$TARGETFLAGS -m32"
6323 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6324 export PKG_CONFIG_LIBDIR
6325 with_unwind=${with_unwind:-no}
6326 else
6327 CC="$CC -m64"
6328 CXX="$CXX -m64"
6329 host_cpu="x86_64"
6330 notice_platform="64-bit "
6331 TARGETFLAGS="$TARGETFLAGS -m64"
6334 arm*)
6335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6336 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6337 if test ${wine_cv_thumb2+y}
6338 then :
6339 printf %s "(cached) " >&6
6340 else $as_nop
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6345 main (void)
6347 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6349 return 0;
6351 _ACEOF
6352 if ac_fn_c_try_link "$LINENO"
6353 then :
6354 wine_cv_thumb2=yes
6355 else $as_nop
6356 wine_cv_thumb2=no
6358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6359 conftest$ac_exeext conftest.$ac_ext
6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6362 printf "%s\n" "$wine_cv_thumb2" >&6; }
6363 if test x"$wine_cv_thumb2" = xyes
6364 then
6365 CFLAGS="$CFLAGS -mthumb"
6366 TARGETFLAGS="$TARGETFLAGS -mthumb"
6367 else
6368 CFLAGS="$CFLAGS -marm"
6369 TARGETFLAGS="$TARGETFLAGS -marm"
6371 case $with_float_abi in
6372 soft|softfp|hard)
6373 float_abi=$with_float_abi ;;
6375 case $host_os in
6376 *eabihf)
6377 float_abi=hard ;;
6379 float_abi=softfp
6380 saved_CFLAGS=$CFLAGS
6381 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6383 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6384 if test ${wine_cv_float_abi+y}
6385 then :
6386 printf %s "(cached) " >&6
6387 else $as_nop
6388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389 /* end confdefs.h. */
6392 main (void)
6394 asm("vmrs r2,fpscr");
6396 return 0;
6398 _ACEOF
6399 if ac_fn_c_try_link "$LINENO"
6400 then :
6401 wine_cv_float_abi=yes
6402 else $as_nop
6403 wine_cv_float_abi=no
6405 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6406 conftest$ac_exeext conftest.$ac_ext
6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6409 printf "%s\n" "$wine_cv_float_abi" >&6; }
6410 if test $wine_cv_float_abi = no
6411 then
6412 float_abi=soft
6413 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6415 CFLAGS=$saved_CFLAGS
6416 esac
6418 esac
6419 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6420 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6422 i[3456789]86*)
6423 with_unwind=${with_unwind:-no}
6425 esac
6427 enable_win16=${enable_win16:-i386}
6428 enable_win64=${enable_win64:-no}
6429 enable_wow64=${enable_wow64:-aarch64,x86_64}
6430 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6431 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6432 enable_vcruntime140_1=${enable_vcruntime140_1:-x86_64,arm64ec}
6434 enable_winetest=${enable_winetest:-$enable_tests}
6436 if test "x$enable_win64" = "xyes"
6437 then
6438 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6439 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6442 case $build_os in
6443 cygwin*|mingw32*) toolsext=".exe"
6445 *) toolsext=""
6447 esac
6449 HOST_ARCH=unknown
6450 case "$host_cpu" in
6451 aarch64*) HOST_ARCH=aarch64 ;;
6452 arm*) HOST_ARCH=arm ;;
6453 i[3456789]86*) HOST_ARCH=i386 ;;
6454 x86_64) HOST_ARCH=x86_64 ;;
6455 esac
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6459 printf %s "checking for the directory containing the Wine tools... " >&6; }
6460 if test ${wine_cv_toolsdir+y}
6461 then :
6462 printf %s "(cached) " >&6
6463 else $as_nop
6464 wine_cv_toolsdir="$with_wine_tools"
6465 if test -z "$with_wine_tools"; then
6466 if test "$cross_compiling" = "yes"; then
6467 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6468 elif test -n "$with_wine64"; then
6469 wine_cv_toolsdir="$with_wine64"
6473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6474 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6475 if test -z "$wine_cv_toolsdir"; then
6476 wine_makedep=tools/makedep$toolsext
6477 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6478 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6479 enable_tools=${enable_tools:-no}
6480 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6481 else
6482 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6484 toolsdir=$wine_cv_toolsdir
6486 MAKEDEP=$wine_makedep
6488 RUNTESTFLAGS="-q -P wine"
6490 SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
6493 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6494 then
6495 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6498 for ac_prog in flex
6500 # Extract the first word of "$ac_prog", so it can be a program name with args.
6501 set dummy $ac_prog; ac_word=$2
6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 printf %s "checking for $ac_word... " >&6; }
6504 if test ${ac_cv_prog_FLEX+y}
6505 then :
6506 printf %s "(cached) " >&6
6507 else $as_nop
6508 if test -n "$FLEX"; then
6509 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6514 IFS=$as_save_IFS
6515 case $as_dir in #(((
6516 '') as_dir=./ ;;
6517 */) ;;
6518 *) as_dir=$as_dir/ ;;
6519 esac
6520 for ac_exec_ext in '' $ac_executable_extensions; do
6521 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6522 ac_cv_prog_FLEX="$ac_prog"
6523 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6524 break 2
6526 done
6527 done
6528 IFS=$as_save_IFS
6532 FLEX=$ac_cv_prog_FLEX
6533 if test -n "$FLEX"; then
6534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6535 printf "%s\n" "$FLEX" >&6; }
6536 else
6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6538 printf "%s\n" "no" >&6; }
6542 test -n "$FLEX" && break
6543 done
6544 test -n "$FLEX" || FLEX="none"
6546 if test "$FLEX" = "none"
6547 then
6548 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6551 printf %s "checking whether flex is recent enough... " >&6; }
6552 if test ${wine_cv_recent_flex+y}
6553 then :
6554 printf %s "(cached) " >&6
6555 else $as_nop
6556 cat >conftest.l <<EOF
6557 %top{
6558 #include "prediluvian.h"
6562 if $FLEX -t conftest.l >/dev/null 2>&5
6563 then
6564 wine_cv_recent_flex=yes
6565 else
6566 wine_cv_recent_flex=no
6569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6570 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6571 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
6573 for ac_prog in bison
6575 # Extract the first word of "$ac_prog", so it can be a program name with args.
6576 set dummy $ac_prog; ac_word=$2
6577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 printf %s "checking for $ac_word... " >&6; }
6579 if test ${ac_cv_prog_BISON+y}
6580 then :
6581 printf %s "(cached) " >&6
6582 else $as_nop
6583 if test -n "$BISON"; then
6584 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6585 else
6586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6587 for as_dir in $PATH
6589 IFS=$as_save_IFS
6590 case $as_dir in #(((
6591 '') as_dir=./ ;;
6592 */) ;;
6593 *) as_dir=$as_dir/ ;;
6594 esac
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6596 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6597 ac_cv_prog_BISON="$ac_prog"
6598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6599 break 2
6601 done
6602 done
6603 IFS=$as_save_IFS
6607 BISON=$ac_cv_prog_BISON
6608 if test -n "$BISON"; then
6609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6610 printf "%s\n" "$BISON" >&6; }
6611 else
6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6613 printf "%s\n" "no" >&6; }
6617 test -n "$BISON" && break
6618 done
6619 test -n "$BISON" || BISON="none"
6621 if test "$BISON" = "none"
6622 then
6623 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6626 printf %s "checking whether bison is recent enough... " >&6; }
6627 if test ${wine_cv_recent_bison+y}
6628 then :
6629 printf %s "(cached) " >&6
6630 else $as_nop
6631 cat >conftest.y <<EOF
6632 %define parse.error verbose
6634 empty: ;
6636 if $BISON conftest.y >/dev/null 2>&5
6637 then
6638 wine_cv_recent_bison=yes
6639 else
6640 wine_cv_recent_bison=no
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6644 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6645 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
6647 if test -n "$ac_tool_prefix"; then
6648 for ac_prog in ar gar
6650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6653 printf %s "checking for $ac_word... " >&6; }
6654 if test ${ac_cv_prog_AR+y}
6655 then :
6656 printf %s "(cached) " >&6
6657 else $as_nop
6658 if test -n "$AR"; then
6659 ac_cv_prog_AR="$AR" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6664 IFS=$as_save_IFS
6665 case $as_dir in #(((
6666 '') as_dir=./ ;;
6667 */) ;;
6668 *) as_dir=$as_dir/ ;;
6669 esac
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6673 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6674 break 2
6676 done
6677 done
6678 IFS=$as_save_IFS
6682 AR=$ac_cv_prog_AR
6683 if test -n "$AR"; then
6684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6685 printf "%s\n" "$AR" >&6; }
6686 else
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6688 printf "%s\n" "no" >&6; }
6692 test -n "$AR" && break
6693 done
6695 if test -z "$AR"; then
6696 ac_ct_AR=$AR
6697 for ac_prog in ar gar
6699 # Extract the first word of "$ac_prog", so it can be a program name with args.
6700 set dummy $ac_prog; ac_word=$2
6701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 printf %s "checking for $ac_word... " >&6; }
6703 if test ${ac_cv_prog_ac_ct_AR+y}
6704 then :
6705 printf %s "(cached) " >&6
6706 else $as_nop
6707 if test -n "$ac_ct_AR"; then
6708 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6709 else
6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 for as_dir in $PATH
6713 IFS=$as_save_IFS
6714 case $as_dir in #(((
6715 '') as_dir=./ ;;
6716 */) ;;
6717 *) as_dir=$as_dir/ ;;
6718 esac
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6721 ac_cv_prog_ac_ct_AR="$ac_prog"
6722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6723 break 2
6725 done
6726 done
6727 IFS=$as_save_IFS
6731 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6732 if test -n "$ac_ct_AR"; then
6733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6734 printf "%s\n" "$ac_ct_AR" >&6; }
6735 else
6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 printf "%s\n" "no" >&6; }
6741 test -n "$ac_ct_AR" && break
6742 done
6744 if test "x$ac_ct_AR" = x; then
6745 AR="ar"
6746 else
6747 case $cross_compiling:$ac_tool_warned in
6748 yes:)
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6750 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6751 ac_tool_warned=yes ;;
6752 esac
6753 AR=$ac_ct_AR
6757 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6759 set dummy ${ac_tool_prefix}strip; ac_word=$2
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 printf %s "checking for $ac_word... " >&6; }
6762 if test ${ac_cv_prog_STRIP+y}
6763 then :
6764 printf %s "(cached) " >&6
6765 else $as_nop
6766 if test -n "$STRIP"; then
6767 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6768 else
6769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 for as_dir in $PATH
6772 IFS=$as_save_IFS
6773 case $as_dir in #(((
6774 '') as_dir=./ ;;
6775 */) ;;
6776 *) as_dir=$as_dir/ ;;
6777 esac
6778 for ac_exec_ext in '' $ac_executable_extensions; do
6779 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6780 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6782 break 2
6784 done
6785 done
6786 IFS=$as_save_IFS
6790 STRIP=$ac_cv_prog_STRIP
6791 if test -n "$STRIP"; then
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6793 printf "%s\n" "$STRIP" >&6; }
6794 else
6795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6796 printf "%s\n" "no" >&6; }
6801 if test -z "$ac_cv_prog_STRIP"; then
6802 ac_ct_STRIP=$STRIP
6803 # Extract the first word of "strip", so it can be a program name with args.
6804 set dummy strip; ac_word=$2
6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 printf %s "checking for $ac_word... " >&6; }
6807 if test ${ac_cv_prog_ac_ct_STRIP+y}
6808 then :
6809 printf %s "(cached) " >&6
6810 else $as_nop
6811 if test -n "$ac_ct_STRIP"; then
6812 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6813 else
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 for as_dir in $PATH
6817 IFS=$as_save_IFS
6818 case $as_dir in #(((
6819 '') as_dir=./ ;;
6820 */) ;;
6821 *) as_dir=$as_dir/ ;;
6822 esac
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_ac_ct_STRIP="strip"
6826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6827 break 2
6829 done
6830 done
6831 IFS=$as_save_IFS
6835 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6836 if test -n "$ac_ct_STRIP"; then
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6838 printf "%s\n" "$ac_ct_STRIP" >&6; }
6839 else
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 printf "%s\n" "no" >&6; }
6844 if test "x$ac_ct_STRIP" = x; then
6845 STRIP="strip"
6846 else
6847 case $cross_compiling:$ac_tool_warned in
6848 yes:)
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6850 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6851 ac_tool_warned=yes ;;
6852 esac
6853 STRIP=$ac_ct_STRIP
6855 else
6856 STRIP="$ac_cv_prog_STRIP"
6859 if test -n "$ac_tool_prefix"; then
6860 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6861 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6863 printf %s "checking for $ac_word... " >&6; }
6864 if test ${ac_cv_prog_RANLIB+y}
6865 then :
6866 printf %s "(cached) " >&6
6867 else $as_nop
6868 if test -n "$RANLIB"; then
6869 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6870 else
6871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872 for as_dir in $PATH
6874 IFS=$as_save_IFS
6875 case $as_dir in #(((
6876 '') as_dir=./ ;;
6877 */) ;;
6878 *) as_dir=$as_dir/ ;;
6879 esac
6880 for ac_exec_ext in '' $ac_executable_extensions; do
6881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6882 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6884 break 2
6886 done
6887 done
6888 IFS=$as_save_IFS
6892 RANLIB=$ac_cv_prog_RANLIB
6893 if test -n "$RANLIB"; then
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6895 printf "%s\n" "$RANLIB" >&6; }
6896 else
6897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 printf "%s\n" "no" >&6; }
6903 if test -z "$ac_cv_prog_RANLIB"; then
6904 ac_ct_RANLIB=$RANLIB
6905 # Extract the first word of "ranlib", so it can be a program name with args.
6906 set dummy ranlib; ac_word=$2
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6908 printf %s "checking for $ac_word... " >&6; }
6909 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6910 then :
6911 printf %s "(cached) " >&6
6912 else $as_nop
6913 if test -n "$ac_ct_RANLIB"; then
6914 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6915 else
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917 for as_dir in $PATH
6919 IFS=$as_save_IFS
6920 case $as_dir in #(((
6921 '') as_dir=./ ;;
6922 */) ;;
6923 *) as_dir=$as_dir/ ;;
6924 esac
6925 for ac_exec_ext in '' $ac_executable_extensions; do
6926 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6927 ac_cv_prog_ac_ct_RANLIB="ranlib"
6928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6929 break 2
6931 done
6932 done
6933 IFS=$as_save_IFS
6937 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6938 if test -n "$ac_ct_RANLIB"; then
6939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6940 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6941 else
6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 printf "%s\n" "no" >&6; }
6946 if test "x$ac_ct_RANLIB" = x; then
6947 RANLIB=":"
6948 else
6949 case $cross_compiling:$ac_tool_warned in
6950 yes:)
6951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953 ac_tool_warned=yes ;;
6954 esac
6955 RANLIB=$ac_ct_RANLIB
6957 else
6958 RANLIB="$ac_cv_prog_RANLIB"
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6962 printf %s "checking whether ln -s works... " >&6; }
6963 LN_S=$as_ln_s
6964 if test "$LN_S" = "ln -s"; then
6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6966 printf "%s\n" "yes" >&6; }
6967 else
6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6969 printf "%s\n" "no, using $LN_S" >&6; }
6972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6973 printf %s "checking for grep that handles long lines and -e... " >&6; }
6974 if test ${ac_cv_path_GREP+y}
6975 then :
6976 printf %s "(cached) " >&6
6977 else $as_nop
6978 if test -z "$GREP"; then
6979 ac_path_GREP_found=false
6980 # Loop through the user's path and test for each of PROGNAME-LIST
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6984 IFS=$as_save_IFS
6985 case $as_dir in #(((
6986 '') as_dir=./ ;;
6987 */) ;;
6988 *) as_dir=$as_dir/ ;;
6989 esac
6990 for ac_prog in grep ggrep
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6994 as_fn_executable_p "$ac_path_GREP" || continue
6995 # Check for GNU ac_path_GREP and select it if it is found.
6996 # Check for GNU $ac_path_GREP
6997 case `"$ac_path_GREP" --version 2>&1` in
6998 *GNU*)
6999 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7001 ac_count=0
7002 printf %s 0123456789 >"conftest.in"
7003 while :
7005 cat "conftest.in" "conftest.in" >"conftest.tmp"
7006 mv "conftest.tmp" "conftest.in"
7007 cp "conftest.in" "conftest.nl"
7008 printf "%s\n" 'GREP' >> "conftest.nl"
7009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7011 as_fn_arith $ac_count + 1 && ac_count=$as_val
7012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7013 # Best one so far, save it but keep looking for a better one
7014 ac_cv_path_GREP="$ac_path_GREP"
7015 ac_path_GREP_max=$ac_count
7017 # 10*(2^10) chars as input seems more than enough
7018 test $ac_count -gt 10 && break
7019 done
7020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7021 esac
7023 $ac_path_GREP_found && break 3
7024 done
7025 done
7026 done
7027 IFS=$as_save_IFS
7028 if test -z "$ac_cv_path_GREP"; then
7029 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7031 else
7032 ac_cv_path_GREP=$GREP
7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7037 printf "%s\n" "$ac_cv_path_GREP" >&6; }
7038 GREP="$ac_cv_path_GREP"
7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7042 printf %s "checking for egrep... " >&6; }
7043 if test ${ac_cv_path_EGREP+y}
7044 then :
7045 printf %s "(cached) " >&6
7046 else $as_nop
7047 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7048 then ac_cv_path_EGREP="$GREP -E"
7049 else
7050 if test -z "$EGREP"; then
7051 ac_path_EGREP_found=false
7052 # Loop through the user's path and test for each of PROGNAME-LIST
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7056 IFS=$as_save_IFS
7057 case $as_dir in #(((
7058 '') as_dir=./ ;;
7059 */) ;;
7060 *) as_dir=$as_dir/ ;;
7061 esac
7062 for ac_prog in egrep
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7066 as_fn_executable_p "$ac_path_EGREP" || continue
7067 # Check for GNU ac_path_EGREP and select it if it is found.
7068 # Check for GNU $ac_path_EGREP
7069 case `"$ac_path_EGREP" --version 2>&1` in
7070 *GNU*)
7071 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7073 ac_count=0
7074 printf %s 0123456789 >"conftest.in"
7075 while :
7077 cat "conftest.in" "conftest.in" >"conftest.tmp"
7078 mv "conftest.tmp" "conftest.in"
7079 cp "conftest.in" "conftest.nl"
7080 printf "%s\n" 'EGREP' >> "conftest.nl"
7081 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7082 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7083 as_fn_arith $ac_count + 1 && ac_count=$as_val
7084 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7085 # Best one so far, save it but keep looking for a better one
7086 ac_cv_path_EGREP="$ac_path_EGREP"
7087 ac_path_EGREP_max=$ac_count
7089 # 10*(2^10) chars as input seems more than enough
7090 test $ac_count -gt 10 && break
7091 done
7092 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7093 esac
7095 $ac_path_EGREP_found && break 3
7096 done
7097 done
7098 done
7099 IFS=$as_save_IFS
7100 if test -z "$ac_cv_path_EGREP"; then
7101 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7103 else
7104 ac_cv_path_EGREP=$EGREP
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7110 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7111 EGREP="$ac_cv_path_EGREP"
7114 # Extract the first word of "ldconfig", so it can be a program name with args.
7115 set dummy ldconfig; ac_word=$2
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 printf %s "checking for $ac_word... " >&6; }
7118 if test ${ac_cv_path_LDCONFIG+y}
7119 then :
7120 printf %s "(cached) " >&6
7121 else $as_nop
7122 case $LDCONFIG in
7123 [\\/]* | ?:[\\/]*)
7124 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 for as_dir in /sbin /usr/sbin $PATH
7130 IFS=$as_save_IFS
7131 case $as_dir in #(((
7132 '') as_dir=./ ;;
7133 */) ;;
7134 *) as_dir=$as_dir/ ;;
7135 esac
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7138 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7140 break 2
7142 done
7143 done
7144 IFS=$as_save_IFS
7146 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7148 esac
7150 LDCONFIG=$ac_cv_path_LDCONFIG
7151 if test -n "$LDCONFIG"; then
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7153 printf "%s\n" "$LDCONFIG" >&6; }
7154 else
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 printf "%s\n" "no" >&6; }
7160 for ac_prog in msgfmt
7162 # Extract the first word of "$ac_prog", so it can be a program name with args.
7163 set dummy $ac_prog; ac_word=$2
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7165 printf %s "checking for $ac_word... " >&6; }
7166 if test ${ac_cv_prog_MSGFMT+y}
7167 then :
7168 printf %s "(cached) " >&6
7169 else $as_nop
7170 if test -n "$MSGFMT"; then
7171 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7172 else
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7174 for as_dir in $PATH
7176 IFS=$as_save_IFS
7177 case $as_dir in #(((
7178 '') as_dir=./ ;;
7179 */) ;;
7180 *) as_dir=$as_dir/ ;;
7181 esac
7182 for ac_exec_ext in '' $ac_executable_extensions; do
7183 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7184 ac_cv_prog_MSGFMT="$ac_prog"
7185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7186 break 2
7188 done
7189 done
7190 IFS=$as_save_IFS
7194 MSGFMT=$ac_cv_prog_MSGFMT
7195 if test -n "$MSGFMT"; then
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7197 printf "%s\n" "$MSGFMT" >&6; }
7198 else
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200 printf "%s\n" "no" >&6; }
7204 test -n "$MSGFMT" && break
7205 done
7206 test -n "$MSGFMT" || MSGFMT="false"
7208 if test ${ac_tool_prefix+y}
7209 then :
7210 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7211 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213 printf %s "checking for $ac_word... " >&6; }
7214 if test ${ac_cv_prog_PKG_CONFIG+y}
7215 then :
7216 printf %s "(cached) " >&6
7217 else $as_nop
7218 if test -n "$PKG_CONFIG"; then
7219 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7220 else
7221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7222 for as_dir in $PATH
7224 IFS=$as_save_IFS
7225 case $as_dir in #(((
7226 '') as_dir=./ ;;
7227 */) ;;
7228 *) as_dir=$as_dir/ ;;
7229 esac
7230 for ac_exec_ext in '' $ac_executable_extensions; do
7231 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7232 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7234 break 2
7236 done
7237 done
7238 IFS=$as_save_IFS
7242 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7243 if test -n "$PKG_CONFIG"; then
7244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7245 printf "%s\n" "$PKG_CONFIG" >&6; }
7246 else
7247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7248 printf "%s\n" "no" >&6; }
7253 if ${ac_cv_prog_PKG_CONFIG:+false} :
7254 then :
7255 if test "x$cross_compiling" = xyes
7256 then :
7258 else $as_nop
7259 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7260 # Extract the first word of "pkg-config", so it can be a program name with args.
7261 set dummy pkg-config; ac_word=$2
7262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 printf %s "checking for $ac_word... " >&6; }
7264 if test ${ac_cv_prog_PKG_CONFIG+y}
7265 then :
7266 printf %s "(cached) " >&6
7267 else $as_nop
7268 if test -n "$PKG_CONFIG"; then
7269 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7274 IFS=$as_save_IFS
7275 case $as_dir in #(((
7276 '') as_dir=./ ;;
7277 */) ;;
7278 *) as_dir=$as_dir/ ;;
7279 esac
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_PKG_CONFIG="pkg-config"
7283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7293 if test -n "$PKG_CONFIG"; then
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7295 printf "%s\n" "$PKG_CONFIG" >&6; }
7296 else
7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 printf "%s\n" "no" >&6; }
7303 else $as_nop
7304 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7307 if test "x$enable_maintainer_mode" != "xyes"
7308 then
7309 FONTFORGE=""
7310 RSVG=""
7311 CONVERT=""
7312 ICOTOOL=""
7313 else
7314 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7315 for ac_prog in fontforge
7317 # Extract the first word of "$ac_prog", so it can be a program name with args.
7318 set dummy $ac_prog; ac_word=$2
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 printf %s "checking for $ac_word... " >&6; }
7321 if test ${ac_cv_prog_FONTFORGE+y}
7322 then :
7323 printf %s "(cached) " >&6
7324 else $as_nop
7325 if test -n "$FONTFORGE"; then
7326 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7327 else
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7329 for as_dir in $PATH
7331 IFS=$as_save_IFS
7332 case $as_dir in #(((
7333 '') as_dir=./ ;;
7334 */) ;;
7335 *) as_dir=$as_dir/ ;;
7336 esac
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_FONTFORGE="$ac_prog"
7340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 FONTFORGE=$ac_cv_prog_FONTFORGE
7350 if test -n "$FONTFORGE"; then
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7352 printf "%s\n" "$FONTFORGE" >&6; }
7353 else
7354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 printf "%s\n" "no" >&6; }
7359 test -n "$FONTFORGE" && break
7360 done
7361 test -n "$FONTFORGE" || FONTFORGE="false"
7363 for ac_prog in rsvg-convert rsvg
7365 # Extract the first word of "$ac_prog", so it can be a program name with args.
7366 set dummy $ac_prog; ac_word=$2
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 printf %s "checking for $ac_word... " >&6; }
7369 if test ${ac_cv_prog_RSVG+y}
7370 then :
7371 printf %s "(cached) " >&6
7372 else $as_nop
7373 if test -n "$RSVG"; then
7374 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7375 else
7376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7377 for as_dir in $PATH
7379 IFS=$as_save_IFS
7380 case $as_dir in #(((
7381 '') as_dir=./ ;;
7382 */) ;;
7383 *) as_dir=$as_dir/ ;;
7384 esac
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_RSVG="$ac_prog"
7388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7389 break 2
7391 done
7392 done
7393 IFS=$as_save_IFS
7397 RSVG=$ac_cv_prog_RSVG
7398 if test -n "$RSVG"; then
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7400 printf "%s\n" "$RSVG" >&6; }
7401 else
7402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 printf "%s\n" "no" >&6; }
7407 test -n "$RSVG" && break
7408 done
7409 test -n "$RSVG" || RSVG="false"
7411 for ac_prog in convert
7413 # Extract the first word of "$ac_prog", so it can be a program name with args.
7414 set dummy $ac_prog; ac_word=$2
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 printf %s "checking for $ac_word... " >&6; }
7417 if test ${ac_cv_prog_CONVERT+y}
7418 then :
7419 printf %s "(cached) " >&6
7420 else $as_nop
7421 if test -n "$CONVERT"; then
7422 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7423 else
7424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7425 for as_dir in $PATH
7427 IFS=$as_save_IFS
7428 case $as_dir in #(((
7429 '') as_dir=./ ;;
7430 */) ;;
7431 *) as_dir=$as_dir/ ;;
7432 esac
7433 for ac_exec_ext in '' $ac_executable_extensions; do
7434 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7435 ac_cv_prog_CONVERT="$ac_prog"
7436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7437 break 2
7439 done
7440 done
7441 IFS=$as_save_IFS
7445 CONVERT=$ac_cv_prog_CONVERT
7446 if test -n "$CONVERT"; then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7448 printf "%s\n" "$CONVERT" >&6; }
7449 else
7450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7451 printf "%s\n" "no" >&6; }
7455 test -n "$CONVERT" && break
7456 done
7457 test -n "$CONVERT" || CONVERT="false"
7459 for ac_prog in icotool
7461 # Extract the first word of "$ac_prog", so it can be a program name with args.
7462 set dummy $ac_prog; ac_word=$2
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464 printf %s "checking for $ac_word... " >&6; }
7465 if test ${ac_cv_prog_ICOTOOL+y}
7466 then :
7467 printf %s "(cached) " >&6
7468 else $as_nop
7469 if test -n "$ICOTOOL"; then
7470 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7471 else
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7473 for as_dir in $PATH
7475 IFS=$as_save_IFS
7476 case $as_dir in #(((
7477 '') as_dir=./ ;;
7478 */) ;;
7479 *) as_dir=$as_dir/ ;;
7480 esac
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7483 ac_cv_prog_ICOTOOL="$ac_prog"
7484 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7485 break 2
7487 done
7488 done
7489 IFS=$as_save_IFS
7493 ICOTOOL=$ac_cv_prog_ICOTOOL
7494 if test -n "$ICOTOOL"; then
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7496 printf "%s\n" "$ICOTOOL" >&6; }
7497 else
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7499 printf "%s\n" "no" >&6; }
7503 test -n "$ICOTOOL" && break
7504 done
7505 test -n "$ICOTOOL" || ICOTOOL="false"
7507 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7508 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7510 if test "$CONVERT" = false
7511 then
7512 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7513 else
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7515 printf %s "checking for recent enough imagemagick... " >&6; }
7516 convert_version=`convert --version | head -n1`
7517 if test "x$convert_version" != "x"
7518 then
7519 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7520 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7521 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7522 then
7523 CONVERT=false
7526 if test "$CONVERT" = false
7527 then
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7529 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7530 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7531 else
7532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7533 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7537 if test "$ICOTOOL" = false
7538 then
7539 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7540 else
7541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7542 printf %s "checking for recent enough icotool... " >&6; }
7543 icotool_version=`icotool --version | head -n1`
7544 if test "x$icotool_version" != "x"
7545 then
7546 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7547 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7548 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7549 then
7550 ICOTOOL=false
7551 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7554 if test "$ICOTOOL" = false
7555 then
7556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7557 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7558 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7559 else
7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7561 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7565 with_gettext=yes
7566 with_gettextpo=yes
7568 enable_werror=yes
7571 test "x$with_gettext" != xno || MSGFMT=false
7572 if test "$MSGFMT" != "false"
7573 then
7574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7575 printf %s "checking whether msgfmt supports contexts... " >&6; }
7576 if test ${wine_cv_msgfmt_contexts+y}
7577 then :
7578 printf %s "(cached) " >&6
7579 else $as_nop
7580 cat >conftest.po <<EOF
7581 # comment
7582 msgctxt "ctxt"
7583 msgid "id"
7584 msgstr "str"
7586 if $MSGFMT -o /dev/null conftest.po 2>&5
7587 then
7588 wine_cv_msgfmt_contexts=yes
7589 else
7590 wine_cv_msgfmt_contexts=no
7593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7594 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7595 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7597 if test "$MSGFMT" = false
7598 then :
7599 case "x$with_gettext" in
7600 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7601 xno) ;;
7602 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7603 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7604 esac
7605 enable_po=${enable_po:-no}
7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7610 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7611 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7612 then :
7613 printf %s "(cached) " >&6
7614 else $as_nop
7615 ac_check_lib_save_LIBS=$LIBS
7616 LIBS="-li386 $LIBS"
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7620 /* Override any GCC internal prototype to avoid an error.
7621 Use char because int might match the return type of a GCC
7622 builtin and then its argument prototype would still apply. */
7623 char i386_set_ldt ();
7625 main (void)
7627 return i386_set_ldt ();
7629 return 0;
7631 _ACEOF
7632 if ac_fn_c_try_link "$LINENO"
7633 then :
7634 ac_cv_lib_i386_i386_set_ldt=yes
7635 else $as_nop
7636 ac_cv_lib_i386_i386_set_ldt=no
7638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7639 conftest$ac_exeext conftest.$ac_ext
7640 LIBS=$ac_check_lib_save_LIBS
7642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7643 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7644 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7645 then :
7646 I386_LIBS="-li386"
7651 OPENGL_LIBS=""
7655 # Check whether --enable-largefile was given.
7656 if test ${enable_largefile+y}
7657 then :
7658 enableval=$enable_largefile;
7661 if test "$enable_largefile" != no; then
7663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7664 printf %s "checking for special C compiler options needed for large files... " >&6; }
7665 if test ${ac_cv_sys_largefile_CC+y}
7666 then :
7667 printf %s "(cached) " >&6
7668 else $as_nop
7669 ac_cv_sys_largefile_CC=no
7670 if test "$GCC" != yes; then
7671 ac_save_CC=$CC
7672 while :; do
7673 # IRIX 6.2 and later do not support large files by default,
7674 # so use the C compiler's -n32 option if that helps.
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 /* Check that off_t can represent 2**63 - 1 correctly.
7679 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7680 since some C++ compilers masquerading as C compilers
7681 incorrectly reject 9223372036854775807. */
7682 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7683 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7684 && LARGE_OFF_T % 2147483647 == 1)
7685 ? 1 : -1];
7687 main (void)
7691 return 0;
7693 _ACEOF
7694 if ac_fn_c_try_compile "$LINENO"
7695 then :
7696 break
7698 rm -f core conftest.err conftest.$ac_objext conftest.beam
7699 CC="$CC -n32"
7700 if ac_fn_c_try_compile "$LINENO"
7701 then :
7702 ac_cv_sys_largefile_CC=' -n32'; break
7704 rm -f core conftest.err conftest.$ac_objext conftest.beam
7705 break
7706 done
7707 CC=$ac_save_CC
7708 rm -f conftest.$ac_ext
7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7712 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7713 if test "$ac_cv_sys_largefile_CC" != no; then
7714 CC=$CC$ac_cv_sys_largefile_CC
7717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7718 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7719 if test ${ac_cv_sys_file_offset_bits+y}
7720 then :
7721 printf %s "(cached) " >&6
7722 else $as_nop
7723 while :; do
7724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7725 /* end confdefs.h. */
7726 #include <sys/types.h>
7727 /* Check that off_t can represent 2**63 - 1 correctly.
7728 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7729 since some C++ compilers masquerading as C compilers
7730 incorrectly reject 9223372036854775807. */
7731 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7732 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7733 && LARGE_OFF_T % 2147483647 == 1)
7734 ? 1 : -1];
7736 main (void)
7740 return 0;
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"
7744 then :
7745 ac_cv_sys_file_offset_bits=no; break
7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 #define _FILE_OFFSET_BITS 64
7751 #include <sys/types.h>
7752 /* Check that off_t can represent 2**63 - 1 correctly.
7753 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7754 since some C++ compilers masquerading as C compilers
7755 incorrectly reject 9223372036854775807. */
7756 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7757 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7758 && LARGE_OFF_T % 2147483647 == 1)
7759 ? 1 : -1];
7761 main (void)
7765 return 0;
7767 _ACEOF
7768 if ac_fn_c_try_compile "$LINENO"
7769 then :
7770 ac_cv_sys_file_offset_bits=64; break
7772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7773 ac_cv_sys_file_offset_bits=unknown
7774 break
7775 done
7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7778 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7779 case $ac_cv_sys_file_offset_bits in #(
7780 no | unknown) ;;
7782 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7784 esac
7785 rm -rf conftest*
7786 if test $ac_cv_sys_file_offset_bits = unknown; then
7787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7788 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7789 if test ${ac_cv_sys_large_files+y}
7790 then :
7791 printf %s "(cached) " >&6
7792 else $as_nop
7793 while :; do
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7796 #include <sys/types.h>
7797 /* Check that off_t can represent 2**63 - 1 correctly.
7798 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7799 since some C++ compilers masquerading as C compilers
7800 incorrectly reject 9223372036854775807. */
7801 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7802 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7803 && LARGE_OFF_T % 2147483647 == 1)
7804 ? 1 : -1];
7806 main (void)
7810 return 0;
7812 _ACEOF
7813 if ac_fn_c_try_compile "$LINENO"
7814 then :
7815 ac_cv_sys_large_files=no; break
7817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h. */
7820 #define _LARGE_FILES 1
7821 #include <sys/types.h>
7822 /* Check that off_t can represent 2**63 - 1 correctly.
7823 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7824 since some C++ compilers masquerading as C compilers
7825 incorrectly reject 9223372036854775807. */
7826 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7827 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7828 && LARGE_OFF_T % 2147483647 == 1)
7829 ? 1 : -1];
7831 main (void)
7835 return 0;
7837 _ACEOF
7838 if ac_fn_c_try_compile "$LINENO"
7839 then :
7840 ac_cv_sys_large_files=1; break
7842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7843 ac_cv_sys_large_files=unknown
7844 break
7845 done
7847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7848 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7849 case $ac_cv_sys_large_files in #(
7850 no | unknown) ;;
7852 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7854 esac
7855 rm -rf conftest*
7860 ac_header= ac_cache=
7861 for ac_item in $ac_header_c_list
7863 if test $ac_cache; then
7864 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7865 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7866 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7868 ac_header= ac_cache=
7869 elif test $ac_header; then
7870 ac_cache=$ac_item
7871 else
7872 ac_header=$ac_item
7874 done
7883 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7884 then :
7886 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7889 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7890 if test "x$ac_cv_header_CL_cl_h" = xyes
7891 then :
7892 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7895 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7896 if test "x$ac_cv_header_EGL_egl_h" = xyes
7897 then :
7898 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7901 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7902 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7903 then :
7904 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7907 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7908 if test "x$ac_cv_header_arpa_inet_h" = xyes
7909 then :
7910 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7913 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7914 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7915 then :
7916 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7919 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7920 if test "x$ac_cv_header_asm_types_h" = xyes
7921 then :
7922 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7925 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7926 if test "x$ac_cv_header_asm_user_h" = xyes
7927 then :
7928 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7931 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7932 if test "x$ac_cv_header_elf_h" = xyes
7933 then :
7934 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7937 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7938 if test "x$ac_cv_header_float_h" = xyes
7939 then :
7940 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7943 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7944 if test "x$ac_cv_header_gettext_po_h" = xyes
7945 then :
7946 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7949 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7950 if test "x$ac_cv_header_libproc_h" = xyes
7951 then :
7952 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7955 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7956 if test "x$ac_cv_header_link_h" = xyes
7957 then :
7958 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7961 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7962 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7963 then :
7964 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7967 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7968 if test "x$ac_cv_header_linux_filter_h" = xyes
7969 then :
7970 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7973 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7974 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7975 then :
7976 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7979 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7980 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7981 then :
7982 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7985 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7986 if test "x$ac_cv_header_linux_input_h" = xyes
7987 then :
7988 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7991 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7992 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7993 then :
7994 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7997 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7998 if test "x$ac_cv_header_linux_major_h" = xyes
7999 then :
8000 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8003 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8004 if test "x$ac_cv_header_linux_param_h" = xyes
8005 then :
8006 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8009 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8010 if test "x$ac_cv_header_linux_serial_h" = xyes
8011 then :
8012 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8015 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8016 if test "x$ac_cv_header_linux_types_h" = xyes
8017 then :
8018 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8021 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8022 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8023 then :
8024 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8027 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
8028 if test "x$ac_cv_header_linux_wireless_h" = xyes
8029 then :
8030 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
8033 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8034 if test "x$ac_cv_header_lwp_h" = xyes
8035 then :
8036 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8039 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8040 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8041 then :
8042 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8045 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8046 if test "x$ac_cv_header_mach_mach_h" = xyes
8047 then :
8048 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8051 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8052 if test "x$ac_cv_header_machine_cpu_h" = xyes
8053 then :
8054 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8057 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8058 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8059 then :
8060 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8063 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8064 if test "x$ac_cv_header_mntent_h" = xyes
8065 then :
8066 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8069 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8070 if test "x$ac_cv_header_netdb_h" = xyes
8071 then :
8072 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8075 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8076 if test "x$ac_cv_header_netinet_in_h" = xyes
8077 then :
8078 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8081 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8082 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8083 then :
8084 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8087 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8088 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8089 then :
8090 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8093 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8094 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8095 then :
8096 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8099 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8100 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8101 then :
8102 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8105 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8106 if test "x$ac_cv_header_port_h" = xyes
8107 then :
8108 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8111 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8112 if test "x$ac_cv_header_pwd_h" = xyes
8113 then :
8114 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8117 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8118 if test "x$ac_cv_header_sched_h" = xyes
8119 then :
8120 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8123 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8124 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8125 then :
8126 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8129 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8130 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8131 then :
8132 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8135 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8136 if test "x$ac_cv_header_scsi_sg_h" = xyes
8137 then :
8138 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8141 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8142 if test "x$ac_cv_header_stdint_h" = xyes
8143 then :
8144 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8147 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8148 if test "x$ac_cv_header_sys_attr_h" = xyes
8149 then :
8150 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8153 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8154 if test "x$ac_cv_header_sys_auxv_h" = xyes
8155 then :
8156 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8159 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8160 if test "x$ac_cv_header_sys_cdio_h" = xyes
8161 then :
8162 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8165 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8166 if test "x$ac_cv_header_sys_epoll_h" = xyes
8167 then :
8168 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8171 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8172 if test "x$ac_cv_header_sys_event_h" = xyes
8173 then :
8174 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8177 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8178 if test "x$ac_cv_header_sys_extattr_h" = xyes
8179 then :
8180 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8183 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8184 if test "x$ac_cv_header_sys_filio_h" = xyes
8185 then :
8186 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8189 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_sys_ipc_h" = xyes
8191 then :
8192 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8195 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8196 if test "x$ac_cv_header_sys_link_h" = xyes
8197 then :
8198 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8201 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8202 if test "x$ac_cv_header_sys_modem_h" = xyes
8203 then :
8204 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8207 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8208 if test "x$ac_cv_header_sys_mtio_h" = xyes
8209 then :
8210 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8213 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_sys_param_h" = xyes
8215 then :
8216 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8219 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8220 if test "x$ac_cv_header_sys_prctl_h" = xyes
8221 then :
8222 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8225 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8226 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8227 then :
8228 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8231 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8232 if test "x$ac_cv_header_sys_queue_h" = xyes
8233 then :
8234 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8237 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8238 if test "x$ac_cv_header_sys_random_h" = xyes
8239 then :
8240 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8243 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8244 if test "x$ac_cv_header_sys_resource_h" = xyes
8245 then :
8246 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8249 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8250 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8251 then :
8252 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8255 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8256 if test "x$ac_cv_header_sys_shm_h" = xyes
8257 then :
8258 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8261 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8262 if test "x$ac_cv_header_sys_signal_h" = xyes
8263 then :
8264 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8267 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8268 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8269 then :
8270 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8273 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8274 if test "x$ac_cv_header_sys_sockio_h" = xyes
8275 then :
8276 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8279 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8280 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8281 then :
8282 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8285 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8286 if test "x$ac_cv_header_sys_strtio_h" = xyes
8287 then :
8288 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8291 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8292 if test "x$ac_cv_header_sys_syscall_h" = xyes
8293 then :
8294 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8297 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8298 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8299 then :
8300 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8303 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8304 if test "x$ac_cv_header_sys_times_h" = xyes
8305 then :
8306 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8309 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8310 if test "x$ac_cv_header_sys_uio_h" = xyes
8311 then :
8312 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8315 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_user_h" = xyes
8317 then :
8318 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8321 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8322 if test "x$ac_cv_header_sys_utsname_h" = xyes
8323 then :
8324 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8327 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8328 if test "x$ac_cv_header_sys_vnode_h" = xyes
8329 then :
8330 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8333 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_xattr_h" = xyes
8335 then :
8336 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8339 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8340 if test "x$ac_cv_header_syscall_h" = xyes
8341 then :
8342 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8345 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8346 if test "x$ac_cv_header_utime_h" = xyes
8347 then :
8348 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8351 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8352 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8358 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8359 then :
8360 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8364 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8365 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8366 then :
8368 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8372 if test $ac_cv_header_sys_mkdev_h = no; then
8373 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8375 then :
8377 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8383 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8384 if test ${ac_cv_header_stat_broken+y}
8385 then :
8386 printf %s "(cached) " >&6
8387 else $as_nop
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8390 #include <sys/types.h>
8391 #include <sys/stat.h>
8393 #if defined S_ISBLK && defined S_IFDIR
8394 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8395 #endif
8397 #if defined S_ISBLK && defined S_IFCHR
8398 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8399 #endif
8401 #if defined S_ISLNK && defined S_IFREG
8402 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8403 #endif
8405 #if defined S_ISSOCK && defined S_IFREG
8406 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8407 #endif
8409 _ACEOF
8410 if ac_fn_c_try_compile "$LINENO"
8411 then :
8412 ac_cv_header_stat_broken=no
8413 else $as_nop
8414 ac_cv_header_stat_broken=yes
8416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8419 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8420 if test $ac_cv_header_stat_broken = yes; then
8422 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8431 #endif
8433 if test "x$ac_cv_header_sys_conf_h" = xyes
8434 then :
8435 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8438 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8439 #ifdef HAVE_SYS_PARAM_H
8440 # include <sys/param.h>
8441 #endif
8443 if test "x$ac_cv_header_sys_mount_h" = xyes
8444 then :
8445 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8448 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8449 #ifdef HAVE_SYS_PARAM_H
8450 # include <sys/param.h>
8451 #endif
8453 if test "x$ac_cv_header_sys_statfs_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8459 #ifdef HAVE_SYS_PARAM_H
8460 # include <sys/param.h>
8461 #endif
8463 if test "x$ac_cv_header_sys_user_h" = xyes
8464 then :
8465 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8468 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8469 #ifdef HAVE_SYS_PARAM_H
8470 # include <sys/param.h>
8471 #endif
8473 if test "x$ac_cv_header_sys_vfs_h" = xyes
8474 then :
8475 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8480 saved_sysctl_h_CFLAGS=$CFLAGS
8481 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8482 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8483 #ifdef HAVE_SYS_PARAM_H
8484 # include <sys/param.h>
8485 #endif
8487 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8488 then :
8489 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8493 CFLAGS=$saved_sysctl_h_CFLAGS
8495 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8496 #include <sys/socket.h>
8497 #ifdef HAVE_SYS_SOCKETVAR_H
8498 # include <sys/socketvar.h>
8499 #endif
8500 #ifdef HAVE_NET_ROUTE_H
8501 # include <net/route.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IN_H
8504 # include <netinet/in.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IN_SYSTM_H
8507 # include <netinet/in_systm.h>
8508 #endif
8509 #ifdef HAVE_NET_IF_H
8510 # include <net/if.h>
8511 #endif
8512 #ifdef HAVE_NETINET_IP_H
8513 # include <netinet/ip.h>
8514 #endif
8516 if test "x$ac_cv_header_netinet_ip_h" = xyes
8517 then :
8518 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8521 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8522 #include <sys/socket.h>
8523 #ifdef HAVE_SYS_SOCKETVAR_H
8524 # include <sys/socketvar.h>
8525 #endif
8526 #ifdef HAVE_NET_ROUTE_H
8527 # include <net/route.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IN_H
8530 # include <netinet/in.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IN_SYSTM_H
8533 # include <netinet/in_systm.h>
8534 #endif
8535 #ifdef HAVE_NET_IF_H
8536 # include <net/if.h>
8537 #endif
8538 #ifdef HAVE_NETINET_IP_H
8539 # include <netinet/ip.h>
8540 #endif
8542 if test "x$ac_cv_header_net_if_h" = xyes
8543 then :
8544 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8547 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8548 #include <sys/socket.h>
8549 #ifdef HAVE_SYS_SOCKETVAR_H
8550 # include <sys/socketvar.h>
8551 #endif
8552 #ifdef HAVE_NET_ROUTE_H
8553 # include <net/route.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IN_H
8556 # include <netinet/in.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IN_SYSTM_H
8559 # include <netinet/in_systm.h>
8560 #endif
8561 #ifdef HAVE_NET_IF_H
8562 # include <net/if.h>
8563 #endif
8564 #ifdef HAVE_NETINET_IP_H
8565 # include <netinet/ip.h>
8566 #endif
8568 if test "x$ac_cv_header_net_if_arp_h" = xyes
8569 then :
8570 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8573 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8574 #include <sys/socket.h>
8575 #ifdef HAVE_SYS_SOCKETVAR_H
8576 # include <sys/socketvar.h>
8577 #endif
8578 #ifdef HAVE_NET_ROUTE_H
8579 # include <net/route.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IN_H
8582 # include <netinet/in.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IN_SYSTM_H
8585 # include <netinet/in_systm.h>
8586 #endif
8587 #ifdef HAVE_NET_IF_H
8588 # include <net/if.h>
8589 #endif
8590 #ifdef HAVE_NETINET_IP_H
8591 # include <netinet/ip.h>
8592 #endif
8594 if test "x$ac_cv_header_net_if_dl_h" = xyes
8595 then :
8596 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8599 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8600 #include <sys/socket.h>
8601 #ifdef HAVE_SYS_SOCKETVAR_H
8602 # include <sys/socketvar.h>
8603 #endif
8604 #ifdef HAVE_NET_ROUTE_H
8605 # include <net/route.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IN_H
8608 # include <netinet/in.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IN_SYSTM_H
8611 # include <netinet/in_systm.h>
8612 #endif
8613 #ifdef HAVE_NET_IF_H
8614 # include <net/if.h>
8615 #endif
8616 #ifdef HAVE_NETINET_IP_H
8617 # include <netinet/ip.h>
8618 #endif
8620 if test "x$ac_cv_header_net_if_types_h" = xyes
8621 then :
8622 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8625 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8626 #include <sys/socket.h>
8627 #ifdef HAVE_SYS_SOCKETVAR_H
8628 # include <sys/socketvar.h>
8629 #endif
8630 #ifdef HAVE_NET_ROUTE_H
8631 # include <net/route.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IN_H
8634 # include <netinet/in.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IN_SYSTM_H
8637 # include <netinet/in_systm.h>
8638 #endif
8639 #ifdef HAVE_NET_IF_H
8640 # include <net/if.h>
8641 #endif
8642 #ifdef HAVE_NETINET_IP_H
8643 # include <netinet/ip.h>
8644 #endif
8646 if test "x$ac_cv_header_net_route_h" = xyes
8647 then :
8648 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8651 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8652 #include <sys/socket.h>
8653 #ifdef HAVE_SYS_SOCKETVAR_H
8654 # include <sys/socketvar.h>
8655 #endif
8656 #ifdef HAVE_NET_ROUTE_H
8657 # include <net/route.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IN_H
8660 # include <netinet/in.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IN_SYSTM_H
8663 # include <netinet/in_systm.h>
8664 #endif
8665 #ifdef HAVE_NET_IF_H
8666 # include <net/if.h>
8667 #endif
8668 #ifdef HAVE_NETINET_IP_H
8669 # include <netinet/ip.h>
8670 #endif
8672 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8673 then :
8674 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8677 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8678 #include <sys/socket.h>
8679 #ifdef HAVE_SYS_SOCKETVAR_H
8680 # include <sys/socketvar.h>
8681 #endif
8682 #ifdef HAVE_NET_ROUTE_H
8683 # include <net/route.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IN_H
8686 # include <netinet/in.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IN_SYSTM_H
8689 # include <netinet/in_systm.h>
8690 #endif
8691 #ifdef HAVE_NET_IF_H
8692 # include <net/if.h>
8693 #endif
8694 #ifdef HAVE_NETINET_IP_H
8695 # include <netinet/ip.h>
8696 #endif
8698 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8699 then :
8700 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8703 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8704 #include <sys/socket.h>
8705 #ifdef HAVE_SYS_SOCKETVAR_H
8706 # include <sys/socketvar.h>
8707 #endif
8708 #ifdef HAVE_NET_ROUTE_H
8709 # include <net/route.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IN_H
8712 # include <netinet/in.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IN_SYSTM_H
8715 # include <netinet/in_systm.h>
8716 #endif
8717 #ifdef HAVE_NET_IF_H
8718 # include <net/if.h>
8719 #endif
8720 #ifdef HAVE_NETINET_IP_H
8721 # include <netinet/ip.h>
8722 #endif
8724 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8725 then :
8726 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8729 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8730 #include <sys/socket.h>
8731 #ifdef HAVE_SYS_SOCKETVAR_H
8732 # include <sys/socketvar.h>
8733 #endif
8734 #ifdef HAVE_NET_ROUTE_H
8735 # include <net/route.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IN_H
8738 # include <netinet/in.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IN_SYSTM_H
8741 # include <netinet/in_systm.h>
8742 #endif
8743 #ifdef HAVE_NET_IF_H
8744 # include <net/if.h>
8745 #endif
8746 #ifdef HAVE_NETINET_IP_H
8747 # include <netinet/ip.h>
8748 #endif
8750 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8751 then :
8752 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8755 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8756 #include <sys/socket.h>
8757 #ifdef HAVE_SYS_SOCKETVAR_H
8758 # include <sys/socketvar.h>
8759 #endif
8760 #ifdef HAVE_NET_ROUTE_H
8761 # include <net/route.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IN_H
8764 # include <netinet/in.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IN_SYSTM_H
8767 # include <netinet/in_systm.h>
8768 #endif
8769 #ifdef HAVE_NET_IF_H
8770 # include <net/if.h>
8771 #endif
8772 #ifdef HAVE_NETINET_IP_H
8773 # include <netinet/ip.h>
8774 #endif
8776 if test "x$ac_cv_header_netinet_udp_h" = xyes
8777 then :
8778 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8782 #include <sys/socket.h>
8783 #ifdef HAVE_SYS_SOCKETVAR_H
8784 # include <sys/socketvar.h>
8785 #endif
8786 #ifdef HAVE_NET_ROUTE_H
8787 # include <net/route.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IN_H
8790 # include <netinet/in.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IN_SYSTM_H
8793 # include <netinet/in_systm.h>
8794 #endif
8795 #ifdef HAVE_NET_IF_H
8796 # include <net/if.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IP_H
8799 # include <netinet/ip.h>
8800 #endif
8802 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8803 then :
8804 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8807 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8808 #include <sys/socket.h>
8809 #ifdef HAVE_SYS_SOCKETVAR_H
8810 # include <sys/socketvar.h>
8811 #endif
8812 #ifdef HAVE_NET_ROUTE_H
8813 # include <net/route.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IN_H
8816 # include <netinet/in.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_SYSTM_H
8819 # include <netinet/in_systm.h>
8820 #endif
8821 #ifdef HAVE_NET_IF_H
8822 # include <net/if.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IP_H
8825 # include <netinet/ip.h>
8826 #endif
8828 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8829 then :
8830 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8833 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8834 #include <sys/socket.h>
8835 #ifdef HAVE_SYS_SOCKETVAR_H
8836 # include <sys/socketvar.h>
8837 #endif
8838 #ifdef HAVE_NET_ROUTE_H
8839 # include <net/route.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8846 #endif
8847 #ifdef HAVE_NET_IF_H
8848 # include <net/if.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_H
8851 # include <netinet/ip.h>
8852 #endif
8854 if test "x$ac_cv_header_sys_un_h" = xyes
8855 then :
8856 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8861 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8862 #include <sys/socket.h>
8863 #ifdef HAVE_SYS_SOCKETVAR_H
8864 # include <sys/socketvar.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IN_H
8867 # include <netinet/in.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IN_SYSTM_H
8870 # include <netinet/in_systm.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IP_H
8873 # include <netinet/ip.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IP_VAR_H
8876 # include <netinet/ip_var.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IP_ICMP_H
8879 # include <netinet/ip_icmp.h>
8880 #endif
8881 #ifdef HAVE_NETINET_UDP_H
8882 # include <netinet/udp.h>
8883 #endif
8884 #ifdef HAVE_NETINET_TCP_H
8885 # include <netinet/tcp.h>
8886 #endif
8888 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8889 then :
8890 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8893 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8894 #include <sys/socket.h>
8895 #ifdef HAVE_SYS_SOCKETVAR_H
8896 # include <sys/socketvar.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IN_H
8899 # include <netinet/in.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IN_SYSTM_H
8902 # include <netinet/in_systm.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_H
8905 # include <netinet/ip.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IP_VAR_H
8908 # include <netinet/ip_var.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_ICMP_H
8911 # include <netinet/ip_icmp.h>
8912 #endif
8913 #ifdef HAVE_NETINET_UDP_H
8914 # include <netinet/udp.h>
8915 #endif
8916 #ifdef HAVE_NETINET_TCP_H
8917 # include <netinet/tcp.h>
8918 #endif
8920 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8921 then :
8922 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8925 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8926 #include <sys/socket.h>
8927 #ifdef HAVE_SYS_SOCKETVAR_H
8928 # include <sys/socketvar.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IN_H
8931 # include <netinet/in.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IN_SYSTM_H
8934 # include <netinet/in_systm.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_H
8937 # include <netinet/ip.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IP_VAR_H
8940 # include <netinet/ip_var.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IP_ICMP_H
8943 # include <netinet/ip_icmp.h>
8944 #endif
8945 #ifdef HAVE_NETINET_UDP_H
8946 # include <netinet/udp.h>
8947 #endif
8948 #ifdef HAVE_NETINET_TCP_H
8949 # include <netinet/tcp.h>
8950 #endif
8952 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8953 then :
8954 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8957 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8958 #include <sys/socket.h>
8959 #ifdef HAVE_SYS_SOCKETVAR_H
8960 # include <sys/socketvar.h>
8961 #endif
8962 #ifdef HAVE_NETINET_IN_H
8963 # include <netinet/in.h>
8964 #endif
8965 #ifdef HAVE_NETINET_IN_SYSTM_H
8966 # include <netinet/in_systm.h>
8967 #endif
8968 #ifdef HAVE_NETINET_IP_H
8969 # include <netinet/ip.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IP_VAR_H
8972 # include <netinet/ip_var.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IP_ICMP_H
8975 # include <netinet/ip_icmp.h>
8976 #endif
8977 #ifdef HAVE_NETINET_UDP_H
8978 # include <netinet/udp.h>
8979 #endif
8980 #ifdef HAVE_NETINET_TCP_H
8981 # include <netinet/tcp.h>
8982 #endif
8984 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8985 then :
8986 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8991 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8992 #include <sys/socket.h>
8993 #ifdef HAVE_ASM_TYPES_H
8994 # include <asm/types.h>
8995 #endif
8996 #ifdef HAVE_LINUX_TYPES_H
8997 # include <linux/types.h>
8998 #endif
9000 if test "x$ac_cv_header_linux_ipx_h" = xyes
9001 then :
9002 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9005 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9006 #include <sys/socket.h>
9007 #ifdef HAVE_ASM_TYPES_H
9008 # include <asm/types.h>
9009 #endif
9010 #ifdef HAVE_LINUX_TYPES_H
9011 # include <linux/types.h>
9012 #endif
9014 if test "x$ac_cv_header_linux_irda_h" = xyes
9015 then :
9016 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9019 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9020 #include <sys/socket.h>
9021 #ifdef HAVE_ASM_TYPES_H
9022 # include <asm/types.h>
9023 #endif
9024 #ifdef HAVE_LINUX_TYPES_H
9025 # include <linux/types.h>
9026 #endif
9028 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9036 #include <sys/socket.h>
9037 #ifdef HAVE_NETINET_IN_H
9038 # include <netinet/in.h>
9039 #endif
9040 #ifdef HAVE_ARPA_NAMESER_H
9041 # include <arpa/nameser.h>
9042 #endif
9044 if test "x$ac_cv_header_resolv_h" = xyes
9045 then :
9046 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9051 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9053 if test "x$ac_cv_header_ifaddrs_h" = xyes
9054 then :
9055 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9062 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9070 #ifdef HAVE_SYS_UCONTEXT_H
9071 #include <sys/ucontext.h>
9072 #endif
9074 if test "x$ac_cv_header_sys_thr_h" = xyes
9075 then :
9076 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9081 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h>
9083 if test "x$ac_cv_header_pthread_np_h" = xyes
9084 then :
9085 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9091 #include <sys/types.h>
9092 #ifdef HAVE_ASM_TYPES_H
9093 #include <asm/types.h>
9094 #endif
9096 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9097 then :
9098 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9103 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9104 #include <sys/param.h>
9105 #endif
9106 #include <sys/socket.h>
9107 #ifdef HAVE_SYS_QUEUE_H
9108 #include <sys/queue.h>
9109 #endif
9111 if test "x$ac_cv_header_libprocstat_h" = xyes
9112 then :
9113 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9118 if test "x$ac_cv_header_sys_xattr_h" = xyes
9119 then
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9121 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9122 if test ${wine_cv_xattr_extra_args+y}
9123 then :
9124 printf %s "(cached) " >&6
9125 else $as_nop
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */
9128 #include <sys/xattr.h>
9130 main (void)
9132 getxattr("", "", "", 0, 0, 0);
9134 return 0;
9136 _ACEOF
9137 if ac_fn_c_try_compile "$LINENO"
9138 then :
9139 wine_cv_xattr_extra_args=yes
9140 else $as_nop
9141 wine_cv_xattr_extra_args=no
9143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9146 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9147 test $wine_cv_xattr_extra_args != yes ||
9148 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9153 DLLFLAGS=""
9155 LDDLLFLAGS=""
9157 LDEXECFLAGS=""
9159 EXTRACFLAGS=""
9161 UNIXDLLFLAGS="-fPIC"
9163 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9165 TOP_INSTALL_LIB=""
9167 TOP_INSTALL_DEV=""
9169 WINELOADER_LDFLAGS=""
9171 WINEPRELOADER_LDFLAGS=""
9173 DLLEXT=".so"
9175 LIBEXT="so"
9176 # Extract the first word of "ldd", so it can be a program name with args.
9177 set dummy ldd; ac_word=$2
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179 printf %s "checking for $ac_word... " >&6; }
9180 if test ${ac_cv_path_LDD+y}
9181 then :
9182 printf %s "(cached) " >&6
9183 else $as_nop
9184 case $LDD in
9185 [\\/]* | ?:[\\/]*)
9186 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9190 as_dummy="/sbin:/usr/sbin:$PATH"
9191 for as_dir in $as_dummy
9193 IFS=$as_save_IFS
9194 case $as_dir in #(((
9195 '') as_dir=./ ;;
9196 */) ;;
9197 *) as_dir=$as_dir/ ;;
9198 esac
9199 for ac_exec_ext in '' $ac_executable_extensions; do
9200 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9201 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9203 break 2
9205 done
9206 done
9207 IFS=$as_save_IFS
9209 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9211 esac
9213 LDD=$ac_cv_path_LDD
9214 if test -n "$LDD"; then
9215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9216 printf "%s\n" "$LDD" >&6; }
9217 else
9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 printf "%s\n" "no" >&6; }
9223 if test -n "$ac_tool_prefix"; then
9224 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9225 set dummy ${ac_tool_prefix}otool; ac_word=$2
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9227 printf %s "checking for $ac_word... " >&6; }
9228 if test ${ac_cv_prog_OTOOL+y}
9229 then :
9230 printf %s "(cached) " >&6
9231 else $as_nop
9232 if test -n "$OTOOL"; then
9233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9234 else
9235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 for as_dir in $PATH
9238 IFS=$as_save_IFS
9239 case $as_dir in #(((
9240 '') as_dir=./ ;;
9241 */) ;;
9242 *) as_dir=$as_dir/ ;;
9243 esac
9244 for ac_exec_ext in '' $ac_executable_extensions; do
9245 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9246 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9248 break 2
9250 done
9251 done
9252 IFS=$as_save_IFS
9256 OTOOL=$ac_cv_prog_OTOOL
9257 if test -n "$OTOOL"; then
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9259 printf "%s\n" "$OTOOL" >&6; }
9260 else
9261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9262 printf "%s\n" "no" >&6; }
9267 if test -z "$ac_cv_prog_OTOOL"; then
9268 ac_ct_OTOOL=$OTOOL
9269 # Extract the first word of "otool", so it can be a program name with args.
9270 set dummy otool; ac_word=$2
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9272 printf %s "checking for $ac_word... " >&6; }
9273 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9274 then :
9275 printf %s "(cached) " >&6
9276 else $as_nop
9277 if test -n "$ac_ct_OTOOL"; then
9278 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9279 else
9280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9281 for as_dir in $PATH
9283 IFS=$as_save_IFS
9284 case $as_dir in #(((
9285 '') as_dir=./ ;;
9286 */) ;;
9287 *) as_dir=$as_dir/ ;;
9288 esac
9289 for ac_exec_ext in '' $ac_executable_extensions; do
9290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9291 ac_cv_prog_ac_ct_OTOOL="otool"
9292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9293 break 2
9295 done
9296 done
9297 IFS=$as_save_IFS
9301 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9302 if test -n "$ac_ct_OTOOL"; then
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9304 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9305 else
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307 printf "%s\n" "no" >&6; }
9310 if test "x$ac_ct_OTOOL" = x; then
9311 OTOOL="otool"
9312 else
9313 case $cross_compiling:$ac_tool_warned in
9314 yes:)
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9316 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9317 ac_tool_warned=yes ;;
9318 esac
9319 OTOOL=$ac_ct_OTOOL
9321 else
9322 OTOOL="$ac_cv_prog_OTOOL"
9325 if test -n "$ac_tool_prefix"; then
9326 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9327 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9329 printf %s "checking for $ac_word... " >&6; }
9330 if test ${ac_cv_prog_READELF+y}
9331 then :
9332 printf %s "(cached) " >&6
9333 else $as_nop
9334 if test -n "$READELF"; then
9335 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9336 else
9337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9338 for as_dir in $PATH
9340 IFS=$as_save_IFS
9341 case $as_dir in #(((
9342 '') as_dir=./ ;;
9343 */) ;;
9344 *) as_dir=$as_dir/ ;;
9345 esac
9346 for ac_exec_ext in '' $ac_executable_extensions; do
9347 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9348 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9349 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9350 break 2
9352 done
9353 done
9354 IFS=$as_save_IFS
9358 READELF=$ac_cv_prog_READELF
9359 if test -n "$READELF"; then
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9361 printf "%s\n" "$READELF" >&6; }
9362 else
9363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9364 printf "%s\n" "no" >&6; }
9369 if test -z "$ac_cv_prog_READELF"; then
9370 ac_ct_READELF=$READELF
9371 # Extract the first word of "readelf", so it can be a program name with args.
9372 set dummy readelf; ac_word=$2
9373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9374 printf %s "checking for $ac_word... " >&6; }
9375 if test ${ac_cv_prog_ac_ct_READELF+y}
9376 then :
9377 printf %s "(cached) " >&6
9378 else $as_nop
9379 if test -n "$ac_ct_READELF"; then
9380 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9381 else
9382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9383 for as_dir in $PATH
9385 IFS=$as_save_IFS
9386 case $as_dir in #(((
9387 '') as_dir=./ ;;
9388 */) ;;
9389 *) as_dir=$as_dir/ ;;
9390 esac
9391 for ac_exec_ext in '' $ac_executable_extensions; do
9392 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9393 ac_cv_prog_ac_ct_READELF="readelf"
9394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9395 break 2
9397 done
9398 done
9399 IFS=$as_save_IFS
9403 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9404 if test -n "$ac_ct_READELF"; then
9405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9406 printf "%s\n" "$ac_ct_READELF" >&6; }
9407 else
9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9409 printf "%s\n" "no" >&6; }
9412 if test "x$ac_ct_READELF" = x; then
9413 READELF="true"
9414 else
9415 case $cross_compiling:$ac_tool_warned in
9416 yes:)
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9418 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9419 ac_tool_warned=yes ;;
9420 esac
9421 READELF=$ac_ct_READELF
9423 else
9424 READELF="$ac_cv_prog_READELF"
9427 wine_rules="all:"
9428 SUBDIRS=""
9430 DISABLED_SUBDIRS=""
9432 CONFIGURE_TARGETS=""
9435 wine_fn_config_makefile ()
9437 as_fn_append SUBDIRS " \\$as_nl $1"
9438 eval enable=\$$2
9439 case "$enable" in
9440 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9441 *aarch64*|*arm*|*i386*|*x86_64*)
9442 if test -n "$PE_ARCHS"
9443 then
9444 for i in $PE_ARCHS
9446 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9447 done
9448 else
9449 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9450 fi;;
9451 esac
9454 wine_fn_config_symlink ()
9456 ac_links=$@
9457 as_fn_append wine_rules "
9458 $ac_links:
9459 @./config.status \$@"
9460 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9463 case $host_os in
9464 cygwin*|mingw32*)
9465 LIBEXT="dll"
9466 DLLEXT=""
9467 EXTRACFLAGS="-D__WINE_PE_BUILD"
9468 if test "x$HOST_ARCH" = xi386
9469 then :
9470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9471 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9472 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9473 then :
9474 printf %s "(cached) " >&6
9475 else $as_nop
9476 ac_wine_try_cflags_saved=$CFLAGS
9477 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9480 int main(int argc, char **argv) { return 0; }
9481 _ACEOF
9482 if ac_fn_c_try_link "$LINENO"
9483 then :
9484 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9485 else $as_nop
9486 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9489 conftest$ac_exeext conftest.$ac_ext
9490 CFLAGS=$ac_wine_try_cflags_saved
9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9493 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9494 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9495 then :
9496 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9499 enable_loader=${enable_loader:-no}
9500 enable_server=${enable_server:-no}
9501 with_x=${with_x:-no}
9502 with_pthread=${with_pthread:-no}
9505 darwin*|macosx*)
9506 LIBEXT="dylib"
9507 DLLFLAGS="$DLLFLAGS -fPIC"
9508 LDDLLFLAGS="-fPIC"
9509 enable_winemac_drv=${enable_winemac_drv:-yes}
9510 CARBON_LIBS="-framework Carbon"
9512 COREFOUNDATION_LIBS="-framework CoreFoundation"
9514 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9516 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9518 METAL_LIBS="-framework Metal"
9520 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9522 CORESERVICES_LIBS="-framework CoreServices"
9524 APPKIT_LIBS="-framework AppKit"
9526 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9528 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9531 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9533 case $HOST_ARCH in
9534 i386|x86_64) wine_can_build_preloader=yes ;;
9535 *) wine_can_build_preloader=no ;;
9536 esac
9538 if test "$wine_can_build_preloader" = "yes"
9539 then
9540 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"
9541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9542 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9543 if test ${ac_cv_cflags__Wl__no_pie+y}
9544 then :
9545 printf %s "(cached) " >&6
9546 else $as_nop
9547 ac_wine_try_cflags_saved=$CFLAGS
9548 CFLAGS="$CFLAGS -Wl,-no_pie"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551 int main(int argc, char **argv) { return 0; }
9552 _ACEOF
9553 if ac_fn_c_try_link "$LINENO"
9554 then :
9555 ac_cv_cflags__Wl__no_pie=yes
9556 else $as_nop
9557 ac_cv_cflags__Wl__no_pie=no
9559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9560 conftest$ac_exeext conftest.$ac_ext
9561 CFLAGS=$ac_wine_try_cflags_saved
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9564 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9565 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9566 then :
9567 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9569 case $HOST_ARCH in
9570 i386)
9571 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9573 x86_64)
9574 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9576 esac
9577 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9578 else
9579 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9582 if test "x$with_coreaudio" != "xno";
9583 then
9584 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9586 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9588 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9589 then
9590 OPENCL_LIBS="-framework OpenCL"
9592 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9596 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9597 ac_ext=m
9598 ac_cpp='$OBJCPP $CPPFLAGS'
9599 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9600 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9601 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9603 ac_ext=m
9604 ac_cpp='$OBJCPP $CPPFLAGS'
9605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9608 if test -n "$ac_tool_prefix"; then
9609 for ac_prog in gcc objcc objc cc CC clang
9611 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9612 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9614 printf %s "checking for $ac_word... " >&6; }
9615 if test ${ac_cv_prog_OBJC+y}
9616 then :
9617 printf %s "(cached) " >&6
9618 else $as_nop
9619 if test -n "$OBJC"; then
9620 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9621 else
9622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9623 for as_dir in $PATH
9625 IFS=$as_save_IFS
9626 case $as_dir in #(((
9627 '') as_dir=./ ;;
9628 */) ;;
9629 *) as_dir=$as_dir/ ;;
9630 esac
9631 for ac_exec_ext in '' $ac_executable_extensions; do
9632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9633 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9635 break 2
9637 done
9638 done
9639 IFS=$as_save_IFS
9643 OBJC=$ac_cv_prog_OBJC
9644 if test -n "$OBJC"; then
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9646 printf "%s\n" "$OBJC" >&6; }
9647 else
9648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9649 printf "%s\n" "no" >&6; }
9653 test -n "$OBJC" && break
9654 done
9656 if test -z "$OBJC"; then
9657 ac_ct_OBJC=$OBJC
9658 for ac_prog in gcc objcc objc cc CC clang
9660 # Extract the first word of "$ac_prog", so it can be a program name with args.
9661 set dummy $ac_prog; ac_word=$2
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9663 printf %s "checking for $ac_word... " >&6; }
9664 if test ${ac_cv_prog_ac_ct_OBJC+y}
9665 then :
9666 printf %s "(cached) " >&6
9667 else $as_nop
9668 if test -n "$ac_ct_OBJC"; then
9669 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9674 IFS=$as_save_IFS
9675 case $as_dir in #(((
9676 '') as_dir=./ ;;
9677 */) ;;
9678 *) as_dir=$as_dir/ ;;
9679 esac
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9682 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9684 break 2
9686 done
9687 done
9688 IFS=$as_save_IFS
9692 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9693 if test -n "$ac_ct_OBJC"; then
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9695 printf "%s\n" "$ac_ct_OBJC" >&6; }
9696 else
9697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9698 printf "%s\n" "no" >&6; }
9702 test -n "$ac_ct_OBJC" && break
9703 done
9705 if test "x$ac_ct_OBJC" = x; then
9706 OBJC="gcc"
9707 else
9708 case $cross_compiling:$ac_tool_warned in
9709 yes:)
9710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9711 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9712 ac_tool_warned=yes ;;
9713 esac
9714 OBJC=$ac_ct_OBJC
9718 # Provide some information about the compiler.
9719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9720 set X $ac_compile
9721 ac_compiler=$2
9722 for ac_option in --version -v -V -qversion; do
9723 { { ac_try="$ac_compiler $ac_option >&5"
9724 case "(($ac_try" in
9725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9727 esac
9728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9729 printf "%s\n" "$ac_try_echo"; } >&5
9730 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9731 ac_status=$?
9732 if test -s conftest.err; then
9733 sed '10a\
9734 ... rest of stderr output deleted ...
9735 10q' conftest.err >conftest.er1
9736 cat conftest.er1 >&5
9738 rm -f conftest.er1 conftest.err
9739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9740 test $ac_status = 0; }
9741 done
9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9744 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9745 if test ${ac_cv_objc_compiler_gnu+y}
9746 then :
9747 printf %s "(cached) " >&6
9748 else $as_nop
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9753 main (void)
9755 #ifndef __GNUC__
9756 choke me
9757 #endif
9760 return 0;
9762 _ACEOF
9763 if ac_fn_objc_try_compile "$LINENO"
9764 then :
9765 ac_compiler_gnu=yes
9766 else $as_nop
9767 ac_compiler_gnu=no
9769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9770 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9774 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9775 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9777 if test $ac_compiler_gnu = yes; then
9778 GOBJC=yes
9779 else
9780 GOBJC=
9782 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9783 ac_save_OBJCFLAGS=$OBJCFLAGS
9784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9785 printf %s "checking whether $OBJC accepts -g... " >&6; }
9786 if test ${ac_cv_prog_objc_g+y}
9787 then :
9788 printf %s "(cached) " >&6
9789 else $as_nop
9790 ac_save_objc_werror_flag=$ac_objc_werror_flag
9791 ac_objc_werror_flag=yes
9792 ac_cv_prog_objc_g=no
9793 OBJCFLAGS="-g"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9798 main (void)
9802 return 0;
9804 _ACEOF
9805 if ac_fn_objc_try_compile "$LINENO"
9806 then :
9807 ac_cv_prog_objc_g=yes
9808 else $as_nop
9809 OBJCFLAGS=""
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9814 main (void)
9818 return 0;
9820 _ACEOF
9821 if ac_fn_objc_try_compile "$LINENO"
9822 then :
9824 else $as_nop
9825 ac_objc_werror_flag=$ac_save_objc_werror_flag
9826 OBJCFLAGS="-g"
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9831 main (void)
9835 return 0;
9837 _ACEOF
9838 if ac_fn_objc_try_compile "$LINENO"
9839 then :
9840 ac_cv_prog_objc_g=yes
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9847 ac_objc_werror_flag=$ac_save_objc_werror_flag
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9850 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9851 if test $ac_test_OBJCFLAGS; then
9852 OBJCFLAGS=$ac_save_OBJCFLAGS
9853 elif test $ac_cv_prog_objc_g = yes; then
9854 if test "$GOBJC" = yes; then
9855 OBJCFLAGS="-g -O2"
9856 else
9857 OBJCFLAGS="-g"
9859 else
9860 if test "$GOBJC" = yes; then
9861 OBJCFLAGS="-O2"
9862 else
9863 OBJCFLAGS=
9866 ac_ext=m
9867 ac_cpp='$OBJCPP $CPPFLAGS'
9868 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9869 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9870 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 #include <Metal/Metal.h>
9877 main (void)
9879 id<MTLDevice> device; device.registryID;
9881 return 0;
9883 _ACEOF
9884 if ac_fn_objc_try_compile "$LINENO"
9885 then :
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9887 printf "%s\n" "yes" >&6; }
9889 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9891 else $as_nop
9892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 printf "%s\n" "no" >&6; }
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9896 ac_ext=c
9897 ac_cpp='$CPP $CPPFLAGS'
9898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9903 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9904 WINELOADER_DEPENDS="wine_info.plist"
9908 linux-android*)
9910 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9912 DLLFLAGS="$DLLFLAGS -fPIC"
9913 LDDLLFLAGS="-fPIC"
9914 LDEXECFLAGS="-Wl,-pie"
9915 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9917 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9918 if test ${ac_cv_cflags__Wl__z_defs+y}
9919 then :
9920 printf %s "(cached) " >&6
9921 else $as_nop
9922 ac_wine_try_cflags_saved=$CFLAGS
9923 CFLAGS="$CFLAGS -Wl,-z,defs"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int main(int argc, char **argv) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"
9929 then :
9930 ac_cv_cflags__Wl__z_defs=yes
9931 else $as_nop
9932 ac_cv_cflags__Wl__z_defs=no
9934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9935 conftest$ac_exeext conftest.$ac_ext
9936 CFLAGS=$ac_wine_try_cflags_saved
9938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9939 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9940 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9941 then :
9942 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9945 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9946 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9947 then :
9948 printf %s "(cached) " >&6
9949 else $as_nop
9950 ac_wine_try_cflags_saved=$CFLAGS
9951 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9953 /* end confdefs.h. */
9954 int main(int argc, char **argv) { return 0; }
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"
9957 then :
9958 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9959 else $as_nop
9960 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9963 conftest$ac_exeext conftest.$ac_ext
9964 CFLAGS=$ac_wine_try_cflags_saved
9966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9967 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9968 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9969 then :
9970 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9972 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9975 printf %s "checking for -lEGL... " >&6; }
9976 if test ${ac_cv_lib_soname_EGL+y}
9977 then :
9978 printf %s "(cached) " >&6
9979 else $as_nop
9980 ac_check_soname_save_LIBS=$LIBS
9981 LIBS="-lEGL $LIBS"
9982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9983 /* end confdefs.h. */
9985 /* Override any GCC internal prototype to avoid an error.
9986 Use char because int might match the return type of a GCC
9987 builtin and then its argument prototype would still apply. */
9988 char eglGetProcAddress ();
9990 main (void)
9992 return eglGetProcAddress ();
9994 return 0;
9996 _ACEOF
9997 if ac_fn_c_try_link "$LINENO"
9998 then :
9999 case "$LIBEXT" in
10000 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10001 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'` ;;
10002 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10003 if ${ac_cv_lib_soname_EGL:+false} :
10004 then :
10005 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10006 fi ;;
10007 esac
10008 else $as_nop
10009 ac_cv_lib_soname_EGL=
10011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10012 conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_soname_save_LIBS
10015 if ${ac_cv_lib_soname_EGL:+false} :
10016 then :
10017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10018 printf "%s\n" "not found" >&6; }
10020 else $as_nop
10021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10022 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10024 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10029 printf %s "checking for -lGLESv2... " >&6; }
10030 if test ${ac_cv_lib_soname_GLESv2+y}
10031 then :
10032 printf %s "(cached) " >&6
10033 else $as_nop
10034 ac_check_soname_save_LIBS=$LIBS
10035 LIBS="-lGLESv2 $LIBS"
10036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10037 /* end confdefs.h. */
10039 /* Override any GCC internal prototype to avoid an error.
10040 Use char because int might match the return type of a GCC
10041 builtin and then its argument prototype would still apply. */
10042 char glFlush ();
10044 main (void)
10046 return glFlush ();
10048 return 0;
10050 _ACEOF
10051 if ac_fn_c_try_link "$LINENO"
10052 then :
10053 case "$LIBEXT" in
10054 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10055 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'` ;;
10056 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10057 if ${ac_cv_lib_soname_GLESv2:+false} :
10058 then :
10059 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10060 fi ;;
10061 esac
10062 else $as_nop
10063 ac_cv_lib_soname_GLESv2=
10065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if ${ac_cv_lib_soname_GLESv2:+false} :
10070 then :
10071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10072 printf "%s\n" "not found" >&6; }
10074 else $as_nop
10075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10076 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10078 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10083 if test "x$exec_prefix" = xNONE
10084 then
10085 case $HOST_ARCH in
10086 i386) exec_prefix='${prefix}/x86' ;;
10087 x86_64) exec_prefix='${prefix}/x86_64' ;;
10088 arm) exec_prefix='${prefix}/armeabi-v7a' ;;
10089 aarch64) exec_prefix='${prefix}/arm64-v8a' ;;
10090 esac
10096 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10098 test "$ac_cv_sys_file_offset_bits" = 64 &&
10099 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10101 if test $HOST_ARCH = i386
10102 then
10103 DLLFLAGS="$DLLFLAGS -fno-PIC"
10104 LDDLLFLAGS="-fno-PIC"
10105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10106 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10107 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10108 then :
10109 printf %s "(cached) " >&6
10110 else $as_nop
10111 ac_wine_try_cflags_saved=$CFLAGS
10112 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10115 int main(int argc, char **argv) { return 0; }
10116 _ACEOF
10117 if ac_fn_c_try_link "$LINENO"
10118 then :
10119 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10120 else $as_nop
10121 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10124 conftest$ac_exeext conftest.$ac_ext
10125 CFLAGS=$ac_wine_try_cflags_saved
10127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10128 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10129 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10130 then :
10131 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10133 else
10134 DLLFLAGS="$DLLFLAGS -fPIC"
10135 LDDLLFLAGS="-fPIC"
10138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -Wl,-z,defs works correctly" >&5
10139 printf %s "checking whether -Wl,-z,defs works correctly... " >&6; }
10140 if test ${ac_cv_wl_z_defs+y}
10141 then :
10142 printf %s "(cached) " >&6
10143 else $as_nop
10144 ac_save_CFLAGS="$CFLAGS"
10145 CFLAGS="$CFLAGS $UNIXDLLFLAGS $UNIXLDFLAGS -Wl,-z,defs"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147 /* end confdefs.h. */
10148 extern char **environ; char **envp; void myfunc(void) { envp = environ; }
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"
10151 then :
10152 ac_cv_wl_z_defs=yes
10153 else $as_nop
10154 ac_cv_wl_z_defs=no
10156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10157 conftest$ac_exeext conftest.$ac_ext
10158 CFLAGS=$ac_save_CFLAGS
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_wl_z_defs" >&5
10161 printf "%s\n" "$ac_cv_wl_z_defs" >&6; }
10162 test $ac_cv_wl_z_defs != yes || as_fn_append UNIXLDFLAGS " -Wl,-z,defs"
10164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10165 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10166 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10167 then :
10168 printf %s "(cached) " >&6
10169 else $as_nop
10170 ac_wine_try_cflags_saved=$CFLAGS
10171 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10174 int main(int argc, char **argv) { return 0; }
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"
10177 then :
10178 ac_cv_cflags__Wl___export_dynamic=yes
10179 else $as_nop
10180 ac_cv_cflags__Wl___export_dynamic=no
10182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10183 conftest$ac_exeext conftest.$ac_ext
10184 CFLAGS=$ac_wine_try_cflags_saved
10186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10187 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10188 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10189 then :
10190 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10192 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10194 case $host_os in
10195 linux*)
10196 as_fn_append WINELOADER_LDFLAGS " -pie"
10197 case $HOST_ARCH in
10198 i386|arm)
10199 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10202 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10203 if test ${ac_cv_cflags__static_pie+y}
10204 then :
10205 printf %s "(cached) " >&6
10206 else $as_nop
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 CFLAGS="$CFLAGS -static-pie"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int main(int argc, char **argv) { return 0; }
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"
10214 then :
10215 ac_cv_cflags__static_pie=yes
10216 else $as_nop
10217 ac_cv_cflags__static_pie=no
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 CFLAGS=$ac_wine_try_cflags_saved
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10224 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10225 if test "x$ac_cv_cflags__static_pie" = xyes
10226 then :
10227 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10228 else $as_nop
10229 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10232 esac
10235 case $HOST_ARCH in
10236 i386|arm)
10237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10238 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10239 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10240 then :
10241 printf %s "(cached) " >&6
10242 else $as_nop
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"
10250 then :
10251 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10252 else $as_nop
10253 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10256 conftest$ac_exeext conftest.$ac_ext
10257 CFLAGS=$ac_wine_try_cflags_saved
10259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10260 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10261 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10262 then :
10263 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10264 else $as_nop
10265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10266 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10267 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10268 then :
10269 printf %s "(cached) " >&6
10270 else $as_nop
10271 ac_wine_try_cflags_saved=$CFLAGS
10272 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10275 int main(int argc, char **argv) { return 0; }
10276 _ACEOF
10277 if ac_fn_c_try_link "$LINENO"
10278 then :
10279 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10280 else $as_nop
10281 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10284 conftest$ac_exeext conftest.$ac_ext
10285 CFLAGS=$ac_wine_try_cflags_saved
10287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10288 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10289 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10290 then :
10291 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10296 as_fn_append WINELOADER_LDFLAGS " -pie"
10298 esac
10300 esac
10302 esac
10304 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10305 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10306 enable_winemac_drv=${enable_winemac_drv:-no}
10308 PE_ARCHS=""
10310 cross_archs=
10311 if test ${enable_archs+y}
10312 then :
10313 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10314 ac_save_IFS=$IFS
10315 IFS=' ,'
10316 set x $enable_archs
10317 IFS=$ac_save_IFS
10318 shift
10319 for arch
10321 case $arch in
10322 i386|x86_64|arm|aarch64|arm64ec) cross_archs="$cross_archs $arch" ;;
10323 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10324 esac
10325 done
10326 else $as_nop
10327 if test "x$with_mingw" != xno
10328 then
10329 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10333 for wine_arch in $cross_archs
10335 case "x$with_mingw" in
10336 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10337 esac
10338 if eval \${${wine_arch}_CC:+false} :
10339 then :
10340 case $wine_arch in
10341 aarch64)
10342 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10344 # Extract the first word of "$ac_prog", so it can be a program name with args.
10345 set dummy $ac_prog; ac_word=$2
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10347 printf %s "checking for $ac_word... " >&6; }
10348 if test ${ac_cv_prog_aarch64_CC+y}
10349 then :
10350 printf %s "(cached) " >&6
10351 else $as_nop
10352 if test -n "$aarch64_CC"; then
10353 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10354 else
10355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356 for as_dir in $PATH
10358 IFS=$as_save_IFS
10359 case $as_dir in #(((
10360 '') as_dir=./ ;;
10361 */) ;;
10362 *) as_dir=$as_dir/ ;;
10363 esac
10364 for ac_exec_ext in '' $ac_executable_extensions; do
10365 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10366 ac_cv_prog_aarch64_CC="$ac_prog"
10367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10368 break 2
10370 done
10371 done
10372 IFS=$as_save_IFS
10376 aarch64_CC=$ac_cv_prog_aarch64_CC
10377 if test -n "$aarch64_CC"; then
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10379 printf "%s\n" "$aarch64_CC" >&6; }
10380 else
10381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10382 printf "%s\n" "no" >&6; }
10386 test -n "$aarch64_CC" && break
10387 done
10388 test -n "$aarch64_CC" || aarch64_CC="false"
10391 arm64ec)
10392 for ac_prog in arm64ec-w64-mingw32-clang arm64ec-w64-mingw32-gcc clang
10394 # Extract the first word of "$ac_prog", so it can be a program name with args.
10395 set dummy $ac_prog; ac_word=$2
10396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10397 printf %s "checking for $ac_word... " >&6; }
10398 if test ${ac_cv_prog_arm64ec_CC+y}
10399 then :
10400 printf %s "(cached) " >&6
10401 else $as_nop
10402 if test -n "$arm64ec_CC"; then
10403 ac_cv_prog_arm64ec_CC="$arm64ec_CC" # Let the user override the test.
10404 else
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10408 IFS=$as_save_IFS
10409 case $as_dir in #(((
10410 '') as_dir=./ ;;
10411 */) ;;
10412 *) as_dir=$as_dir/ ;;
10413 esac
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_arm64ec_CC="$ac_prog"
10417 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10418 break 2
10420 done
10421 done
10422 IFS=$as_save_IFS
10426 arm64ec_CC=$ac_cv_prog_arm64ec_CC
10427 if test -n "$arm64ec_CC"; then
10428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm64ec_CC" >&5
10429 printf "%s\n" "$arm64ec_CC" >&6; }
10430 else
10431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10432 printf "%s\n" "no" >&6; }
10436 test -n "$arm64ec_CC" && break
10437 done
10438 test -n "$arm64ec_CC" || arm64ec_CC="false"
10441 arm)
10442 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10444 # Extract the first word of "$ac_prog", so it can be a program name with args.
10445 set dummy $ac_prog; ac_word=$2
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10447 printf %s "checking for $ac_word... " >&6; }
10448 if test ${ac_cv_prog_arm_CC+y}
10449 then :
10450 printf %s "(cached) " >&6
10451 else $as_nop
10452 if test -n "$arm_CC"; then
10453 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10454 else
10455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10456 for as_dir in $PATH
10458 IFS=$as_save_IFS
10459 case $as_dir in #(((
10460 '') as_dir=./ ;;
10461 */) ;;
10462 *) as_dir=$as_dir/ ;;
10463 esac
10464 for ac_exec_ext in '' $ac_executable_extensions; do
10465 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10466 ac_cv_prog_arm_CC="$ac_prog"
10467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10468 break 2
10470 done
10471 done
10472 IFS=$as_save_IFS
10476 arm_CC=$ac_cv_prog_arm_CC
10477 if test -n "$arm_CC"; then
10478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10479 printf "%s\n" "$arm_CC" >&6; }
10480 else
10481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10482 printf "%s\n" "no" >&6; }
10486 test -n "$arm_CC" && break
10487 done
10488 test -n "$arm_CC" || arm_CC="false"
10491 i386)
10492 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 "
10493 for ac_prog in $ac_prefix_list clang
10495 # Extract the first word of "$ac_prog", so it can be a program name with args.
10496 set dummy $ac_prog; ac_word=$2
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10498 printf %s "checking for $ac_word... " >&6; }
10499 if test ${ac_cv_prog_i386_CC+y}
10500 then :
10501 printf %s "(cached) " >&6
10502 else $as_nop
10503 if test -n "$i386_CC"; then
10504 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10505 else
10506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10507 for as_dir in $PATH
10509 IFS=$as_save_IFS
10510 case $as_dir in #(((
10511 '') as_dir=./ ;;
10512 */) ;;
10513 *) as_dir=$as_dir/ ;;
10514 esac
10515 for ac_exec_ext in '' $ac_executable_extensions; do
10516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10517 ac_cv_prog_i386_CC="$ac_prog"
10518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10519 break 2
10521 done
10522 done
10523 IFS=$as_save_IFS
10527 i386_CC=$ac_cv_prog_i386_CC
10528 if test -n "$i386_CC"; then
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10530 printf "%s\n" "$i386_CC" >&6; }
10531 else
10532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 printf "%s\n" "no" >&6; }
10537 test -n "$i386_CC" && break
10538 done
10539 test -n "$i386_CC" || i386_CC="false"
10542 x86_64)
10543 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10544 for ac_prog in $ac_prefix_list clang
10546 # Extract the first word of "$ac_prog", so it can be a program name with args.
10547 set dummy $ac_prog; ac_word=$2
10548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10549 printf %s "checking for $ac_word... " >&6; }
10550 if test ${ac_cv_prog_x86_64_CC+y}
10551 then :
10552 printf %s "(cached) " >&6
10553 else $as_nop
10554 if test -n "$x86_64_CC"; then
10555 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10556 else
10557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10558 for as_dir in $PATH
10560 IFS=$as_save_IFS
10561 case $as_dir in #(((
10562 '') as_dir=./ ;;
10563 */) ;;
10564 *) as_dir=$as_dir/ ;;
10565 esac
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10568 ac_cv_prog_x86_64_CC="$ac_prog"
10569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10570 break 2
10572 done
10573 done
10574 IFS=$as_save_IFS
10578 x86_64_CC=$ac_cv_prog_x86_64_CC
10579 if test -n "$x86_64_CC"; then
10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10581 printf "%s\n" "$x86_64_CC" >&6; }
10582 else
10583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10584 printf "%s\n" "no" >&6; }
10588 test -n "$x86_64_CC" && break
10589 done
10590 test -n "$x86_64_CC" || x86_64_CC="false"
10593 esac
10596 saved_CC=$CC
10597 saved_CFLAGS=$CFLAGS
10598 saved_LDFLAGS=$LDFLAGS
10600 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10601 LDFLAGS=$CROSSLDFLAGS
10602 eval CC=\$${wine_arch}_CC
10603 eval ${wine_arch}_CFLAGS=\$CFLAGS
10604 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10605 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10607 target=""
10608 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10610 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10611 then :
10613 else $as_nop
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10615 printf %s "checking whether $CC works... " >&6; }
10616 if eval test \${$as_wine_cv_crosscc+y}
10617 then :
10618 printf %s "(cached) " >&6
10619 else $as_nop
10620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10621 /* end confdefs.h. */
10624 main (void)
10628 return 0;
10630 _ACEOF
10631 if ac_fn_c_try_compile "$LINENO"
10632 then :
10633 eval "$as_wine_cv_crosscc=yes"
10634 else $as_nop
10635 eval "$as_wine_cv_crosscc=no"
10637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10639 eval ac_res=\$$as_wine_cv_crosscc
10640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10641 printf "%s\n" "$ac_res" >&6; }
10643 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10644 then :
10645 set x $CC
10646 shift
10647 while test $# -ge 1
10649 case "$1" in
10650 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10651 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10652 esac
10653 shift
10654 done
10656 llvm_target=$target
10657 if test -z "$llvm_target"
10658 then
10659 case $wine_arch in
10660 i386) llvm_target=i686-windows ;;
10661 arm) llvm_target=armv7-windows ;;
10662 *) llvm_target=$wine_arch-windows ;;
10663 esac
10665 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10666 llvm_extra_ldflags=""
10667 case $llvm_target in
10668 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10669 esac
10670 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags --no-default-config" | $as_tr_sh`
10671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config" >&5
10672 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags --no-default-config... " >&6; }
10673 if eval test \${$as_ac_var+y}
10674 then :
10675 printf %s "(cached) " >&6
10676 else $as_nop
10677 ac_wine_try_cflags_saved=$CFLAGS
10678 ac_wine_try_cflags_saved_exeext=$ac_exeext
10679 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags --no-default-config"
10680 ac_exeext=".exe"
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10683 void *__os_arm64x_dispatch_ret = 0;
10684 int __cdecl mainCRTStartup(void) { return 0; }
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"
10687 then :
10688 eval "$as_ac_var=yes"
10689 else $as_nop
10690 eval "$as_ac_var=no"
10692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10693 conftest$ac_exeext conftest.$ac_ext
10694 CFLAGS=$ac_wine_try_cflags_saved
10695 ac_exeext=$ac_wine_try_cflags_saved_exeext
10697 eval ac_res=\$$as_ac_var
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10699 printf "%s\n" "$ac_res" >&6; }
10700 if eval test \"x\$"$as_ac_var"\" = x"yes"
10701 then :
10702 llvm_extra_cflags="$llvm_extra_cflags --no-default-config"
10703 llvm_extra_ldflags="--no-default-config"
10704 else $as_nop
10705 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10707 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10708 if eval test \${$as_ac_var+y}
10709 then :
10710 printf %s "(cached) " >&6
10711 else $as_nop
10712 ac_wine_try_cflags_saved=$CFLAGS
10713 ac_wine_try_cflags_saved_exeext=$ac_exeext
10714 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10715 ac_exeext=".exe"
10716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10717 /* end confdefs.h. */
10718 void *__os_arm64x_dispatch_ret = 0;
10719 int __cdecl mainCRTStartup(void) { return 0; }
10720 _ACEOF
10721 if ac_fn_c_try_link "$LINENO"
10722 then :
10723 eval "$as_ac_var=yes"
10724 else $as_nop
10725 eval "$as_ac_var=no"
10727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10728 conftest$ac_exeext conftest.$ac_ext
10729 CFLAGS=$ac_wine_try_cflags_saved
10730 ac_exeext=$ac_wine_try_cflags_saved_exeext
10732 eval ac_res=\$$as_ac_var
10733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10734 printf "%s\n" "$ac_res" >&6; }
10735 if eval test \"x\$"$as_ac_var"\" = x"yes"
10736 then :
10738 else $as_nop
10739 llvm_extra_cflags=""
10740 fi }
10741 fi }
10742 if test -n "$llvm_extra_cflags"
10743 then
10744 target=$llvm_target
10745 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10746 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10747 as_fn_append ${wine_arch}_LDFLAGS " $llvm_extra_ldflags"
10748 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10750 eval "${wine_arch}_TARGET=\$target"
10754 if test -z "$target"
10755 then
10756 if test ${enable_archs+y}
10757 then :
10758 as_fn_error $? "MinGW $wine_arch compiler not found.
10759 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10761 CC=$saved_CC
10762 CFLAGS=$saved_CFLAGS
10763 LDFLAGS=$saved_LDFLAGS
10764 continue
10767 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10770 printf %s "checking for $CC option to enable C99 features... " >&6; }
10771 if eval test \${$as_wine_cv_crosscc_c99+y}
10772 then :
10773 printf %s "(cached) " >&6
10774 else $as_nop
10775 eval "$as_wine_cv_crosscc_c99=no"
10776 for arg in '' '-std=gnu99' '-D__STDC__'
10778 test -z "$arg" || CC="$CC $arg"
10779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10781 $ac_c_conftest_c99_program
10782 _ACEOF
10783 if ac_fn_c_try_compile "$LINENO"
10784 then :
10785 eval "$as_wine_cv_crosscc_c99=\$arg"
10786 else $as_nop
10787 eval "$as_wine_cv_crosscc_c99=no"
10789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10790 eval CC=\$${wine_arch}_CC
10791 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10792 then :
10794 else $as_nop
10795 break
10797 done
10800 eval res=\$$as_wine_cv_crosscc_c99
10802 case "x$res" in
10803 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10804 printf "%s\n" "none needed" >&6; } ;;
10805 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10806 printf "%s\n" "unsupported" >&6; }
10807 CC=$saved_CC
10808 CFLAGS=$saved_CFLAGS
10809 LDFLAGS=$saved_LDFLAGS
10810 if test ${enable_archs+y}
10811 then :
10812 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10813 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10815 continue
10817 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10818 printf "%s\n" "$res" >&6; }
10819 as_fn_append ${wine_arch}_CC " $res" ;;
10820 esac
10822 if test "x$wine_arch" = xi386
10823 then :
10825 else $as_nop
10826 as_wine_cv_seh_support=`printf "%s\n" "ac_cv_${wine_arch}_seh_support" | $as_tr_sh`
10828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports SEH directives" >&5
10829 printf %s "checking whether $CC supports SEH directives... " >&6; }
10830 if eval test \${$as_wine_cv_seh_support+y}
10831 then :
10832 printf %s "(cached) " >&6
10833 else $as_nop
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 asm(".text\nac_test:\t.seh_proc ac_test\n\tnop\n\t.seh_stackalloc 16\n\t.seh_endprologue\n\t.seh_endproc");
10838 main (void)
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_compile "$LINENO"
10846 then :
10847 eval "$as_wine_cv_seh_support=yes"
10848 else $as_nop
10849 eval "$as_wine_cv_seh_support=no"
10851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10853 eval ac_res=\$$as_wine_cv_seh_support
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10855 printf "%s\n" "$ac_res" >&6; }
10856 eval res=\$$as_wine_cv_seh_support
10858 if test "x$res" = xyes
10859 then :
10861 else $as_nop
10862 if test ${enable_archs+y}
10863 then :
10864 as_fn_error $? "The $wine_arch cross-compiler doesn't support SEH directives.
10865 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10867 continue
10871 as_fn_append PE_ARCHS " $wine_arch"
10872 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10874 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10875 if eval test \${$as_ac_var+y}
10876 then :
10877 printf %s "(cached) " >&6
10878 else $as_nop
10879 ac_wine_try_cflags_saved=$CFLAGS
10880 ac_wine_try_cflags_saved_exeext=$ac_exeext
10881 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10882 ac_exeext=".exe"
10883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10885 void *__os_arm64x_dispatch_ret = 0;
10886 int __cdecl mainCRTStartup(void) { return 0; }
10887 _ACEOF
10888 if ac_fn_c_try_link "$LINENO"
10889 then :
10890 eval "$as_ac_var=yes"
10891 else $as_nop
10892 eval "$as_ac_var=no"
10894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10895 conftest$ac_exeext conftest.$ac_ext
10896 CFLAGS=$ac_wine_try_cflags_saved
10897 ac_exeext=$ac_wine_try_cflags_saved_exeext
10899 eval ac_res=\$$as_ac_var
10900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10901 printf "%s\n" "$ac_res" >&6; }
10902 if eval test \"x\$"$as_ac_var"\" = x"yes"
10903 then :
10904 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10905 fi }
10906 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10908 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10909 if eval test \${$as_ac_var+y}
10910 then :
10911 printf %s "(cached) " >&6
10912 else $as_nop
10913 ac_wine_try_cflags_saved=$CFLAGS
10914 ac_wine_try_cflags_saved_exeext=$ac_exeext
10915 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10916 ac_exeext=".exe"
10917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918 /* end confdefs.h. */
10919 void *__os_arm64x_dispatch_ret = 0;
10920 int __cdecl mainCRTStartup(void) { return 0; }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"
10923 then :
10924 eval "$as_ac_var=yes"
10925 else $as_nop
10926 eval "$as_ac_var=no"
10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10929 conftest$ac_exeext conftest.$ac_ext
10930 CFLAGS=$ac_wine_try_cflags_saved
10931 ac_exeext=$ac_wine_try_cflags_saved_exeext
10933 eval ac_res=\$$as_ac_var
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10935 printf "%s\n" "$ac_res" >&6; }
10936 if eval test \"x\$"$as_ac_var"\" = x"yes"
10937 then :
10938 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10939 fi }
10940 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10942 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10943 if eval test \${$as_ac_var+y}
10944 then :
10945 printf %s "(cached) " >&6
10946 else $as_nop
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_exeext=$ac_exeext
10949 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10950 ac_exeext=".exe"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10953 void *__os_arm64x_dispatch_ret = 0;
10954 int __cdecl mainCRTStartup(void) { return 0; }
10955 _ACEOF
10956 if ac_fn_c_try_link "$LINENO"
10957 then :
10958 eval "$as_ac_var=yes"
10959 else $as_nop
10960 eval "$as_ac_var=no"
10962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10963 conftest$ac_exeext conftest.$ac_ext
10964 CFLAGS=$ac_wine_try_cflags_saved
10965 ac_exeext=$ac_wine_try_cflags_saved_exeext
10967 eval ac_res=\$$as_ac_var
10968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10969 printf "%s\n" "$ac_res" >&6; }
10970 if eval test \"x\$"$as_ac_var"\" = x"yes"
10971 then :
10972 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10973 fi }
10974 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10976 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10977 if eval test \${$as_ac_var+y}
10978 then :
10979 printf %s "(cached) " >&6
10980 else $as_nop
10981 ac_wine_try_cflags_saved=$CFLAGS
10982 ac_wine_try_cflags_saved_exeext=$ac_exeext
10983 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10984 ac_exeext=".exe"
10985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10986 /* end confdefs.h. */
10987 void *__os_arm64x_dispatch_ret = 0;
10988 int __cdecl mainCRTStartup(void) { return 0; }
10989 _ACEOF
10990 if ac_fn_c_try_link "$LINENO"
10991 then :
10992 eval "$as_ac_var=yes"
10993 else $as_nop
10994 eval "$as_ac_var=no"
10996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10997 conftest$ac_exeext conftest.$ac_ext
10998 CFLAGS=$ac_wine_try_cflags_saved
10999 ac_exeext=$ac_wine_try_cflags_saved_exeext
11001 eval ac_res=\$$as_ac_var
11002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11003 printf "%s\n" "$ac_res" >&6; }
11004 if eval test \"x\$"$as_ac_var"\" = x"yes"
11005 then :
11006 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11007 fi }
11008 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11010 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11011 if eval test \${$as_ac_var+y}
11012 then :
11013 printf %s "(cached) " >&6
11014 else $as_nop
11015 ac_wine_try_cflags_saved=$CFLAGS
11016 ac_wine_try_cflags_saved_exeext=$ac_exeext
11017 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
11018 ac_exeext=".exe"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11021 void *__os_arm64x_dispatch_ret = 0;
11022 int __cdecl mainCRTStartup(void) { return 0; }
11023 _ACEOF
11024 if ac_fn_c_try_link "$LINENO"
11025 then :
11026 eval "$as_ac_var=yes"
11027 else $as_nop
11028 eval "$as_ac_var=no"
11030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11031 conftest$ac_exeext conftest.$ac_ext
11032 CFLAGS=$ac_wine_try_cflags_saved
11033 ac_exeext=$ac_wine_try_cflags_saved_exeext
11035 eval ac_res=\$$as_ac_var
11036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11037 printf "%s\n" "$ac_res" >&6; }
11038 if eval test \"x\$"$as_ac_var"\" = x"yes"
11039 then :
11040 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11041 fi }
11042 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11044 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11045 if eval test \${$as_ac_var+y}
11046 then :
11047 printf %s "(cached) " >&6
11048 else $as_nop
11049 ac_wine_try_cflags_saved=$CFLAGS
11050 ac_wine_try_cflags_saved_exeext=$ac_exeext
11051 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11052 ac_exeext=".exe"
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11055 void *__os_arm64x_dispatch_ret = 0;
11056 int __cdecl mainCRTStartup(void) { return 0; }
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"
11059 then :
11060 eval "$as_ac_var=yes"
11061 else $as_nop
11062 eval "$as_ac_var=no"
11064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11065 conftest$ac_exeext conftest.$ac_ext
11066 CFLAGS=$ac_wine_try_cflags_saved
11067 ac_exeext=$ac_wine_try_cflags_saved_exeext
11069 eval ac_res=\$$as_ac_var
11070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11071 printf "%s\n" "$ac_res" >&6; }
11072 if eval test \"x\$"$as_ac_var"\" = x"yes"
11073 then :
11074 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11075 fi }
11076 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11078 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11079 if eval test \${$as_ac_var+y}
11080 then :
11081 printf %s "(cached) " >&6
11082 else $as_nop
11083 ac_wine_try_cflags_saved=$CFLAGS
11084 ac_wine_try_cflags_saved_exeext=$ac_exeext
11085 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11086 ac_exeext=".exe"
11087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11088 /* end confdefs.h. */
11089 void *__os_arm64x_dispatch_ret = 0;
11090 int __cdecl mainCRTStartup(void) { return 0; }
11091 _ACEOF
11092 if ac_fn_c_try_link "$LINENO"
11093 then :
11094 eval "$as_ac_var=yes"
11095 else $as_nop
11096 eval "$as_ac_var=no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11099 conftest$ac_exeext conftest.$ac_ext
11100 CFLAGS=$ac_wine_try_cflags_saved
11101 ac_exeext=$ac_wine_try_cflags_saved_exeext
11103 eval ac_res=\$$as_ac_var
11104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11105 printf "%s\n" "$ac_res" >&6; }
11106 if eval test \"x\$"$as_ac_var"\" = x"yes"
11107 then :
11108 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11109 fi }
11110 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11112 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11113 if eval test \${$as_ac_var+y}
11114 then :
11115 printf %s "(cached) " >&6
11116 else $as_nop
11117 ac_wine_try_cflags_saved=$CFLAGS
11118 ac_wine_try_cflags_saved_exeext=$ac_exeext
11119 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11120 ac_exeext=".exe"
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11123 void *__os_arm64x_dispatch_ret = 0;
11124 int __cdecl mainCRTStartup(void) { return 0; }
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"
11127 then :
11128 eval "$as_ac_var=yes"
11129 else $as_nop
11130 eval "$as_ac_var=no"
11132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11133 conftest$ac_exeext conftest.$ac_ext
11134 CFLAGS=$ac_wine_try_cflags_saved
11135 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 then :
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11143 fi }
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11146 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11147 if eval test \${$as_ac_var+y}
11148 then :
11149 printf %s "(cached) " >&6
11150 else $as_nop
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11154 ac_exeext=".exe"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 void *__os_arm64x_dispatch_ret = 0;
11158 int __cdecl mainCRTStartup(void) { return 0; }
11159 _ACEOF
11160 if ac_fn_c_try_link "$LINENO"
11161 then :
11162 eval "$as_ac_var=yes"
11163 else $as_nop
11164 eval "$as_ac_var=no"
11166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11167 conftest$ac_exeext conftest.$ac_ext
11168 CFLAGS=$ac_wine_try_cflags_saved
11169 ac_exeext=$ac_wine_try_cflags_saved_exeext
11171 eval ac_res=\$$as_ac_var
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11173 printf "%s\n" "$ac_res" >&6; }
11174 if eval test \"x\$"$as_ac_var"\" = x"yes"
11175 then :
11176 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11177 fi }
11178 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11180 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11181 if eval test \${$as_ac_var+y}
11182 then :
11183 printf %s "(cached) " >&6
11184 else $as_nop
11185 ac_wine_try_cflags_saved=$CFLAGS
11186 ac_wine_try_cflags_saved_exeext=$ac_exeext
11187 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11188 ac_exeext=".exe"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11191 void *__os_arm64x_dispatch_ret = 0;
11192 int __cdecl mainCRTStartup(void) { return 0; }
11193 _ACEOF
11194 if ac_fn_c_try_link "$LINENO"
11195 then :
11196 eval "$as_ac_var=yes"
11197 else $as_nop
11198 eval "$as_ac_var=no"
11200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11201 conftest$ac_exeext conftest.$ac_ext
11202 CFLAGS=$ac_wine_try_cflags_saved
11203 ac_exeext=$ac_wine_try_cflags_saved_exeext
11205 eval ac_res=\$$as_ac_var
11206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11207 printf "%s\n" "$ac_res" >&6; }
11208 if eval test \"x\$"$as_ac_var"\" = x"yes"
11209 then :
11210 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11211 fi }
11212 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11214 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11215 if eval test \${$as_ac_var+y}
11216 then :
11217 printf %s "(cached) " >&6
11218 else $as_nop
11219 ac_wine_try_cflags_saved=$CFLAGS
11220 ac_wine_try_cflags_saved_exeext=$ac_exeext
11221 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11222 ac_exeext=".exe"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225 void *__os_arm64x_dispatch_ret = 0;
11226 int __cdecl mainCRTStartup(void) { return 0; }
11227 _ACEOF
11228 if ac_fn_c_try_link "$LINENO"
11229 then :
11230 eval "$as_ac_var=yes"
11231 else $as_nop
11232 eval "$as_ac_var=no"
11234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11235 conftest$ac_exeext conftest.$ac_ext
11236 CFLAGS=$ac_wine_try_cflags_saved
11237 ac_exeext=$ac_wine_try_cflags_saved_exeext
11239 eval ac_res=\$$as_ac_var
11240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11241 printf "%s\n" "$ac_res" >&6; }
11242 if eval test \"x\$"$as_ac_var"\" = x"yes"
11243 then :
11244 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11245 fi }
11246 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11248 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11249 if eval test \${$as_ac_var+y}
11250 then :
11251 printf %s "(cached) " >&6
11252 else $as_nop
11253 ac_wine_try_cflags_saved=$CFLAGS
11254 ac_wine_try_cflags_saved_exeext=$ac_exeext
11255 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11256 ac_exeext=".exe"
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11258 /* end confdefs.h. */
11259 void *__os_arm64x_dispatch_ret = 0;
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 eval "$as_ac_var=yes"
11265 else $as_nop
11266 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 ac_exeext=$ac_wine_try_cflags_saved_exeext
11273 eval ac_res=\$$as_ac_var
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11275 printf "%s\n" "$ac_res" >&6; }
11276 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 then :
11278 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11279 fi }
11280 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11282 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11283 if eval test \${$as_ac_var+y}
11284 then :
11285 printf %s "(cached) " >&6
11286 else $as_nop
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_exeext=$ac_exeext
11289 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11290 ac_exeext=".exe"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293 void *__os_arm64x_dispatch_ret = 0;
11294 int __cdecl mainCRTStartup(void) { return 0; }
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"
11297 then :
11298 eval "$as_ac_var=yes"
11299 else $as_nop
11300 eval "$as_ac_var=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 ac_exeext=$ac_wine_try_cflags_saved_exeext
11307 eval ac_res=\$$as_ac_var
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11309 printf "%s\n" "$ac_res" >&6; }
11310 if eval test \"x\$"$as_ac_var"\" = x"yes"
11311 then :
11312 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11313 fi }
11314 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11316 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11317 if eval test \${$as_ac_var+y}
11318 then :
11319 printf %s "(cached) " >&6
11320 else $as_nop
11321 ac_wine_try_cflags_saved=$CFLAGS
11322 ac_wine_try_cflags_saved_exeext=$ac_exeext
11323 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11324 ac_exeext=".exe"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327 void *__os_arm64x_dispatch_ret = 0;
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 eval "$as_ac_var=yes"
11333 else $as_nop
11334 eval "$as_ac_var=no"
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 eval ac_res=\$$as_ac_var
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11343 printf "%s\n" "$ac_res" >&6; }
11344 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 then :
11346 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11347 fi }
11348 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11350 printf %s "checking whether $CC supports -Wvla... " >&6; }
11351 if eval test \${$as_ac_var+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11358 ac_exeext=".exe"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 void *__os_arm64x_dispatch_ret = 0;
11362 int __cdecl mainCRTStartup(void) { return 0; }
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"
11365 then :
11366 eval "$as_ac_var=yes"
11367 else $as_nop
11368 eval "$as_ac_var=no"
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11371 conftest$ac_exeext conftest.$ac_ext
11372 CFLAGS=$ac_wine_try_cflags_saved
11373 ac_exeext=$ac_wine_try_cflags_saved_exeext
11375 eval ac_res=\$$as_ac_var
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11377 printf "%s\n" "$ac_res" >&6; }
11378 if eval test \"x\$"$as_ac_var"\" = x"yes"
11379 then :
11380 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11381 fi }
11382 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11384 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11385 if eval test \${$as_ac_var+y}
11386 then :
11387 printf %s "(cached) " >&6
11388 else $as_nop
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_exeext=$ac_exeext
11391 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11392 ac_exeext=".exe"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 void *__os_arm64x_dispatch_ret = 0;
11396 int __cdecl mainCRTStartup(void) { return 0; }
11397 _ACEOF
11398 if ac_fn_c_try_link "$LINENO"
11399 then :
11400 eval "$as_ac_var=yes"
11401 else $as_nop
11402 eval "$as_ac_var=no"
11404 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11405 conftest$ac_exeext conftest.$ac_ext
11406 CFLAGS=$ac_wine_try_cflags_saved
11407 ac_exeext=$ac_wine_try_cflags_saved_exeext
11409 eval ac_res=\$$as_ac_var
11410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11411 printf "%s\n" "$ac_res" >&6; }
11412 if eval test \"x\$"$as_ac_var"\" = x"yes"
11413 then :
11414 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11415 fi }
11416 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11418 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11419 if eval test \${$as_ac_var+y}
11420 then :
11421 printf %s "(cached) " >&6
11422 else $as_nop
11423 ac_wine_try_cflags_saved=$CFLAGS
11424 ac_wine_try_cflags_saved_exeext=$ac_exeext
11425 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11426 ac_exeext=".exe"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11429 void *__os_arm64x_dispatch_ret = 0;
11430 int __cdecl mainCRTStartup(void) { return 0; }
11431 _ACEOF
11432 if ac_fn_c_try_link "$LINENO"
11433 then :
11434 eval "$as_ac_var=yes"
11435 else $as_nop
11436 eval "$as_ac_var=no"
11438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11439 conftest$ac_exeext conftest.$ac_ext
11440 CFLAGS=$ac_wine_try_cflags_saved
11441 ac_exeext=$ac_wine_try_cflags_saved_exeext
11443 eval ac_res=\$$as_ac_var
11444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11445 printf "%s\n" "$ac_res" >&6; }
11446 if eval test \"x\$"$as_ac_var"\" = x"yes"
11447 then :
11448 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11449 fi }
11450 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11452 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11453 if eval test \${$as_ac_var+y}
11454 then :
11455 printf %s "(cached) " >&6
11456 else $as_nop
11457 ac_wine_try_cflags_saved=$CFLAGS
11458 ac_wine_try_cflags_saved_exeext=$ac_exeext
11459 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11460 ac_exeext=".exe"
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11463 void *__os_arm64x_dispatch_ret = 0;
11464 int __cdecl mainCRTStartup(void) { return 0; }
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"
11467 then :
11468 eval "$as_ac_var=yes"
11469 else $as_nop
11470 eval "$as_ac_var=no"
11472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11473 conftest$ac_exeext conftest.$ac_ext
11474 CFLAGS=$ac_wine_try_cflags_saved
11475 ac_exeext=$ac_wine_try_cflags_saved_exeext
11477 eval ac_res=\$$as_ac_var
11478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11479 printf "%s\n" "$ac_res" >&6; }
11480 if eval test \"x\$"$as_ac_var"\" = x"yes"
11481 then :
11482 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11483 fi }
11484 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11486 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11487 if eval test \${$as_ac_var+y}
11488 then :
11489 printf %s "(cached) " >&6
11490 else $as_nop
11491 ac_wine_try_cflags_saved=$CFLAGS
11492 ac_wine_try_cflags_saved_exeext=$ac_exeext
11493 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11494 ac_exeext=".exe"
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11497 void *__os_arm64x_dispatch_ret = 0;
11498 int __cdecl mainCRTStartup(void) { return 0; }
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"
11501 then :
11502 eval "$as_ac_var=yes"
11503 else $as_nop
11504 eval "$as_ac_var=no"
11506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11507 conftest$ac_exeext conftest.$ac_ext
11508 CFLAGS=$ac_wine_try_cflags_saved
11509 ac_exeext=$ac_wine_try_cflags_saved_exeext
11511 eval ac_res=\$$as_ac_var
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11513 printf "%s\n" "$ac_res" >&6; }
11514 if eval test \"x\$"$as_ac_var"\" = x"yes"
11515 then :
11516 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11517 fi }
11519 case $wine_arch in
11520 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11522 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11523 if eval test \${$as_ac_var+y}
11524 then :
11525 printf %s "(cached) " >&6
11526 else $as_nop
11527 ac_wine_try_cflags_saved=$CFLAGS
11528 ac_wine_try_cflags_saved_exeext=$ac_exeext
11529 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11530 ac_exeext=".exe"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533 void *__os_arm64x_dispatch_ret = 0;
11534 int __cdecl mainCRTStartup(void) { return 0; }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"
11537 then :
11538 eval "$as_ac_var=yes"
11539 else $as_nop
11540 eval "$as_ac_var=no"
11542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11543 conftest$ac_exeext conftest.$ac_ext
11544 CFLAGS=$ac_wine_try_cflags_saved
11545 ac_exeext=$ac_wine_try_cflags_saved_exeext
11547 eval ac_res=\$$as_ac_var
11548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11549 printf "%s\n" "$ac_res" >&6; }
11550 if eval test \"x\$"$as_ac_var"\" = x"yes"
11551 then :
11552 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11553 fi }
11554 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mpreferred-stack-boundary=2" | $as_tr_sh`
11555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mpreferred-stack-boundary=2" >&5
11556 printf %s "checking whether $CC supports -mpreferred-stack-boundary=2... " >&6; }
11557 if eval test \${$as_ac_var+y}
11558 then :
11559 printf %s "(cached) " >&6
11560 else $as_nop
11561 ac_wine_try_cflags_saved=$CFLAGS
11562 ac_wine_try_cflags_saved_exeext=$ac_exeext
11563 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mpreferred-stack-boundary=2"
11564 ac_exeext=".exe"
11565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11566 /* end confdefs.h. */
11567 void *__os_arm64x_dispatch_ret = 0;
11568 int __cdecl mainCRTStartup(void) { return 0; }
11569 _ACEOF
11570 if ac_fn_c_try_link "$LINENO"
11571 then :
11572 eval "$as_ac_var=yes"
11573 else $as_nop
11574 eval "$as_ac_var=no"
11576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11577 conftest$ac_exeext conftest.$ac_ext
11578 CFLAGS=$ac_wine_try_cflags_saved
11579 ac_exeext=$ac_wine_try_cflags_saved_exeext
11581 eval ac_res=\$$as_ac_var
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11583 printf "%s\n" "$ac_res" >&6; }
11584 if eval test \"x\$"$as_ac_var"\" = x"yes"
11585 then :
11586 as_fn_append ${wine_arch}_EXTRACFLAGS " -mpreferred-stack-boundary=2"
11587 fi }
11588 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11590 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11591 if eval test \${$as_ac_var+y}
11592 then :
11593 printf %s "(cached) " >&6
11594 else $as_nop
11595 ac_wine_try_cflags_saved=$CFLAGS
11596 ac_wine_try_cflags_saved_exeext=$ac_exeext
11597 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11598 ac_exeext=".exe"
11599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11600 /* end confdefs.h. */
11601 void *__os_arm64x_dispatch_ret = 0;
11602 int __cdecl mainCRTStartup(void) { return 0; }
11603 _ACEOF
11604 if ac_fn_c_try_link "$LINENO"
11605 then :
11606 eval "$as_ac_var=yes"
11607 else $as_nop
11608 eval "$as_ac_var=no"
11610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11611 conftest$ac_exeext conftest.$ac_ext
11612 CFLAGS=$ac_wine_try_cflags_saved
11613 ac_exeext=$ac_wine_try_cflags_saved_exeext
11615 eval ac_res=\$$as_ac_var
11616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11617 printf "%s\n" "$ac_res" >&6; }
11618 if eval test \"x\$"$as_ac_var"\" = x"yes"
11619 then :
11620 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11621 fi } ;;
11622 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11624 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11625 if eval test \${$as_ac_var+y}
11626 then :
11627 printf %s "(cached) " >&6
11628 else $as_nop
11629 ac_wine_try_cflags_saved=$CFLAGS
11630 ac_wine_try_cflags_saved_exeext=$ac_exeext
11631 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11632 ac_exeext=".exe"
11633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11635 void *__os_arm64x_dispatch_ret = 0;
11636 int __cdecl mainCRTStartup(void) { return 0; }
11637 _ACEOF
11638 if ac_fn_c_try_link "$LINENO"
11639 then :
11640 eval "$as_ac_var=yes"
11641 else $as_nop
11642 eval "$as_ac_var=no"
11644 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11645 conftest$ac_exeext conftest.$ac_ext
11646 CFLAGS=$ac_wine_try_cflags_saved
11647 ac_exeext=$ac_wine_try_cflags_saved_exeext
11649 eval ac_res=\$$as_ac_var
11650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11651 printf "%s\n" "$ac_res" >&6; }
11652 if eval test \"x\$"$as_ac_var"\" = x"yes"
11653 then :
11654 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11655 fi }
11656 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11658 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11659 if eval test \${$as_ac_var+y}
11660 then :
11661 printf %s "(cached) " >&6
11662 else $as_nop
11663 ac_wine_try_cflags_saved=$CFLAGS
11664 ac_wine_try_cflags_saved_exeext=$ac_exeext
11665 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11666 ac_exeext=".exe"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11669 void *__os_arm64x_dispatch_ret = 0;
11670 int __cdecl mainCRTStartup(void) { return 0; }
11671 _ACEOF
11672 if ac_fn_c_try_link "$LINENO"
11673 then :
11674 eval "$as_ac_var=yes"
11675 else $as_nop
11676 eval "$as_ac_var=no"
11678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11679 conftest$ac_exeext conftest.$ac_ext
11680 CFLAGS=$ac_wine_try_cflags_saved
11681 ac_exeext=$ac_wine_try_cflags_saved_exeext
11683 eval ac_res=\$$as_ac_var
11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11685 printf "%s\n" "$ac_res" >&6; }
11686 if eval test \"x\$"$as_ac_var"\" = x"yes"
11687 then :
11688 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11689 fi }
11690 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11692 printf %s "checking whether $CC supports -mcx16... " >&6; }
11693 if eval test \${$as_ac_var+y}
11694 then :
11695 printf %s "(cached) " >&6
11696 else $as_nop
11697 ac_wine_try_cflags_saved=$CFLAGS
11698 ac_wine_try_cflags_saved_exeext=$ac_exeext
11699 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11700 ac_exeext=".exe"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11703 void *__os_arm64x_dispatch_ret = 0;
11704 int __cdecl mainCRTStartup(void) { return 0; }
11705 _ACEOF
11706 if ac_fn_c_try_link "$LINENO"
11707 then :
11708 eval "$as_ac_var=yes"
11709 else $as_nop
11710 eval "$as_ac_var=no"
11712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11713 conftest$ac_exeext conftest.$ac_ext
11714 CFLAGS=$ac_wine_try_cflags_saved
11715 ac_exeext=$ac_wine_try_cflags_saved_exeext
11717 eval ac_res=\$$as_ac_var
11718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11719 printf "%s\n" "$ac_res" >&6; }
11720 if eval test \"x\$"$as_ac_var"\" = x"yes"
11721 then :
11722 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11723 fi }
11724 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11726 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11727 if eval test \${$as_ac_var+y}
11728 then :
11729 printf %s "(cached) " >&6
11730 else $as_nop
11731 ac_wine_try_cflags_saved=$CFLAGS
11732 ac_wine_try_cflags_saved_exeext=$ac_exeext
11733 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11734 ac_exeext=".exe"
11735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736 /* end confdefs.h. */
11737 void *__os_arm64x_dispatch_ret = 0;
11738 int __cdecl mainCRTStartup(void) { return 0; }
11739 _ACEOF
11740 if ac_fn_c_try_link "$LINENO"
11741 then :
11742 eval "$as_ac_var=yes"
11743 else $as_nop
11744 eval "$as_ac_var=no"
11746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11747 conftest$ac_exeext conftest.$ac_ext
11748 CFLAGS=$ac_wine_try_cflags_saved
11749 ac_exeext=$ac_wine_try_cflags_saved_exeext
11751 eval ac_res=\$$as_ac_var
11752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11753 printf "%s\n" "$ac_res" >&6; }
11754 if eval test \"x\$"$as_ac_var"\" = x"yes"
11755 then :
11756 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11757 fi } ;;
11758 esac
11760 wine_crossdebug=$CROSSDEBUG
11761 if test -z "$wine_crossdebug"
11762 then
11763 for ac_flag in $CFLAGS; do
11764 case $ac_flag in
11765 -gdwarf*) wine_crossdebug=dwarf ;;
11766 -gcodeview) wine_crossdebug=pdb ;;
11767 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11768 esac
11769 done
11772 ac_debug_format_seen=""
11773 for ac_flag in $CFLAGS; do
11774 case $ac_flag in
11775 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11776 esac
11777 done
11778 if test "x$ac_debug_format_seen" = x
11779 then
11780 case $wine_crossdebug in
11781 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11783 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11784 if eval test \${$as_ac_var+y}
11785 then :
11786 printf %s "(cached) " >&6
11787 else $as_nop
11788 ac_wine_try_cflags_saved=$CFLAGS
11789 ac_wine_try_cflags_saved_exeext=$ac_exeext
11790 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11791 ac_exeext=".exe"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11794 void *__os_arm64x_dispatch_ret = 0;
11795 int __cdecl mainCRTStartup(void) { return 0; }
11796 _ACEOF
11797 if ac_fn_c_try_link "$LINENO"
11798 then :
11799 eval "$as_ac_var=yes"
11800 else $as_nop
11801 eval "$as_ac_var=no"
11803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11804 conftest$ac_exeext conftest.$ac_ext
11805 CFLAGS=$ac_wine_try_cflags_saved
11806 ac_exeext=$ac_wine_try_cflags_saved_exeext
11808 eval ac_res=\$$as_ac_var
11809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11810 printf "%s\n" "$ac_res" >&6; }
11811 if eval test \"x\$"$as_ac_var"\" = x"yes"
11812 then :
11813 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11814 fi } ;;
11815 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11817 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11818 if eval test \${$as_ac_var+y}
11819 then :
11820 printf %s "(cached) " >&6
11821 else $as_nop
11822 ac_wine_try_cflags_saved=$CFLAGS
11823 ac_wine_try_cflags_saved_exeext=$ac_exeext
11824 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11825 ac_exeext=".exe"
11826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11828 void *__os_arm64x_dispatch_ret = 0;
11829 int __cdecl mainCRTStartup(void) { return 0; }
11830 _ACEOF
11831 if ac_fn_c_try_link "$LINENO"
11832 then :
11833 eval "$as_ac_var=yes"
11834 else $as_nop
11835 eval "$as_ac_var=no"
11837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11838 conftest$ac_exeext conftest.$ac_ext
11839 CFLAGS=$ac_wine_try_cflags_saved
11840 ac_exeext=$ac_wine_try_cflags_saved_exeext
11842 eval ac_res=\$$as_ac_var
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11844 printf "%s\n" "$ac_res" >&6; }
11845 if eval test \"x\$"$as_ac_var"\" = x"yes"
11846 then :
11847 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11848 fi } ;;
11849 esac
11851 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11853 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11855 printf %s "checking whether $CC supports -Werror... " >&6; }
11856 if eval test \${$as_ac_var+y}
11857 then :
11858 printf %s "(cached) " >&6
11859 else $as_nop
11860 ac_wine_try_cflags_saved=$CFLAGS
11861 ac_wine_try_cflags_saved_exeext=$ac_exeext
11862 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11863 ac_exeext=".exe"
11864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11866 void *__os_arm64x_dispatch_ret = 0;
11867 int __cdecl mainCRTStartup(void) { return 0; }
11868 _ACEOF
11869 if ac_fn_c_try_link "$LINENO"
11870 then :
11871 eval "$as_ac_var=yes"
11872 else $as_nop
11873 eval "$as_ac_var=no"
11875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11876 conftest$ac_exeext conftest.$ac_ext
11877 CFLAGS=$ac_wine_try_cflags_saved
11878 ac_exeext=$ac_wine_try_cflags_saved_exeext
11880 eval ac_res=\$$as_ac_var
11881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11882 printf "%s\n" "$ac_res" >&6; }
11883 if eval test \"x\$"$as_ac_var"\" = x"yes"
11884 then :
11885 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11886 fi }
11887 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11889 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11890 if eval test \${$as_ac_var+y}
11891 then :
11892 printf %s "(cached) " >&6
11893 else $as_nop
11894 ac_wine_try_cflags_saved=$CFLAGS
11895 ac_wine_try_cflags_saved_exeext=$ac_exeext
11896 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11897 ac_exeext=".exe"
11898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 void *__os_arm64x_dispatch_ret = 0;
11901 int __cdecl mainCRTStartup(void) { return 0; }
11902 _ACEOF
11903 if ac_fn_c_try_link "$LINENO"
11904 then :
11905 eval "$as_ac_var=yes"
11906 else $as_nop
11907 eval "$as_ac_var=no"
11909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11910 conftest$ac_exeext conftest.$ac_ext
11911 CFLAGS=$ac_wine_try_cflags_saved
11912 ac_exeext=$ac_wine_try_cflags_saved_exeext
11914 eval ac_res=\$$as_ac_var
11915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11916 printf "%s\n" "$ac_res" >&6; }
11917 if eval test \"x\$"$as_ac_var"\" = x"yes"
11918 then :
11919 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11920 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11921 fi }
11923 CC=$saved_CC
11924 CFLAGS=$saved_CFLAGS
11925 LDFLAGS=$saved_LDFLAGS
11926 done
11928 if test $HOST_ARCH = aarch64
11929 then
11930 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11931 DLLEXT=""
11935 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11936 then
11937 if test "x$HOST_ARCH" = xi386
11938 then :
11939 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11940 else $as_nop
11941 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11943 for ac_prog in $ac_prefix_list
11945 # Extract the first word of "$ac_prog", so it can be a program name with args.
11946 set dummy $ac_prog; ac_word=$2
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11948 printf %s "checking for $ac_word... " >&6; }
11949 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11950 then :
11951 printf %s "(cached) " >&6
11952 else $as_nop
11953 if test -n "$MINGW_PKG_CONFIG"; then
11954 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11955 else
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11959 IFS=$as_save_IFS
11960 case $as_dir in #(((
11961 '') as_dir=./ ;;
11962 */) ;;
11963 *) as_dir=$as_dir/ ;;
11964 esac
11965 for ac_exec_ext in '' $ac_executable_extensions; do
11966 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11967 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11969 break 2
11971 done
11972 done
11973 IFS=$as_save_IFS
11977 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11978 if test -n "$MINGW_PKG_CONFIG"; then
11979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11980 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11981 else
11982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983 printf "%s\n" "no" >&6; }
11987 test -n "$MINGW_PKG_CONFIG" && break
11988 done
11989 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11991 if ${FAUDIO_PE_CFLAGS:+false} :
11992 then :
11993 if test ${MINGW_PKG_CONFIG+y}
11994 then :
11995 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11998 if ${FAUDIO_PE_LIBS:+false} :
11999 then :
12000 if test ${MINGW_PKG_CONFIG+y}
12001 then :
12002 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12005 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12006 ac_save_CPPFLAGS=$CPPFLAGS
12007 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12009 printf %s "checking for MinGW FAudio.h... " >&6; }
12010 if test ${ac_cv_mingw_header_FAudio_h+y}
12011 then :
12012 printf %s "(cached) " >&6
12013 else $as_nop
12014 ac_wine_check_headers_saved_cc=$CC
12015 ac_wine_check_headers_saved_exeext=$ac_exeext
12016 eval CC=\$${wine_arch}_CC
12017 ac_exeext=".exe"
12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12021 #include <FAudio.h>
12023 main (void)
12027 return 0;
12029 _ACEOF
12030 if ac_fn_c_try_compile "$LINENO"
12031 then :
12032 ac_cv_mingw_header_FAudio_h=yes
12033 else $as_nop
12034 ac_cv_mingw_header_FAudio_h=no
12036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12037 CC=$ac_wine_check_headers_saved_cc
12038 ac_exeext=$ac_wine_check_headers_saved_exeext
12040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12041 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12042 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12043 then :
12044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12045 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12046 if test ${ac_cv_mingw_lib_FAudio+y}
12047 then :
12048 printf %s "(cached) " >&6
12049 else $as_nop
12050 ac_wine_check_headers_saved_cc=$CC
12051 ac_wine_check_headers_saved_exeext=$ac_exeext
12052 ac_wine_check_headers_saved_libs=$LIBS
12053 eval CC=\$${wine_arch}_CC
12054 ac_exeext=".exe"
12055 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 char FAudio_CommitOperationSet ();
12064 main (void)
12066 return FAudio_CommitOperationSet ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"
12072 then :
12073 ac_cv_mingw_lib_FAudio=yes
12074 else $as_nop
12075 ac_cv_mingw_lib_FAudio=no
12077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12078 conftest$ac_exeext conftest.$ac_ext
12079 CC=$ac_wine_check_headers_saved_cc
12080 ac_exeext=$ac_wine_check_headers_saved_exeext
12081 LIBS=$ac_wine_check_headers_saved_libs
12083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12084 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12085 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12086 then :
12088 else $as_nop
12089 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12091 else $as_nop
12092 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12094 CPPFLAGS=$ac_save_CPPFLAGS
12096 if test "x$FAUDIO_PE_LIBS" = "x"
12097 then
12098 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12101 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12102 then :
12103 if test ${MINGW_PKG_CONFIG+y}
12104 then :
12105 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12108 if ${FLUIDSYNTH_PE_LIBS:+false} :
12109 then :
12110 if test ${MINGW_PKG_CONFIG+y}
12111 then :
12112 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12115 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12116 ac_save_CPPFLAGS=$CPPFLAGS
12117 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12119 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12120 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12121 then :
12122 printf %s "(cached) " >&6
12123 else $as_nop
12124 ac_wine_check_headers_saved_cc=$CC
12125 ac_wine_check_headers_saved_exeext=$ac_exeext
12126 eval CC=\$${wine_arch}_CC
12127 ac_exeext=".exe"
12128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12129 /* end confdefs.h. */
12131 #include <fluidsynth.h>
12133 main (void)
12137 return 0;
12139 _ACEOF
12140 if ac_fn_c_try_compile "$LINENO"
12141 then :
12142 ac_cv_mingw_header_fluidsynth_h=yes
12143 else $as_nop
12144 ac_cv_mingw_header_fluidsynth_h=no
12146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12147 CC=$ac_wine_check_headers_saved_cc
12148 ac_exeext=$ac_wine_check_headers_saved_exeext
12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12151 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12152 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12153 then :
12154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12155 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12156 if test ${ac_cv_mingw_lib_fluidsynth+y}
12157 then :
12158 printf %s "(cached) " >&6
12159 else $as_nop
12160 ac_wine_check_headers_saved_cc=$CC
12161 ac_wine_check_headers_saved_exeext=$ac_exeext
12162 ac_wine_check_headers_saved_libs=$LIBS
12163 eval CC=\$${wine_arch}_CC
12164 ac_exeext=".exe"
12165 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 char new_fluid_synth ();
12174 main (void)
12176 return new_fluid_synth ();
12178 return 0;
12180 _ACEOF
12181 if ac_fn_c_try_link "$LINENO"
12182 then :
12183 ac_cv_mingw_lib_fluidsynth=yes
12184 else $as_nop
12185 ac_cv_mingw_lib_fluidsynth=no
12187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12188 conftest$ac_exeext conftest.$ac_ext
12189 CC=$ac_wine_check_headers_saved_cc
12190 ac_exeext=$ac_wine_check_headers_saved_exeext
12191 LIBS=$ac_wine_check_headers_saved_libs
12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12194 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12195 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12196 then :
12198 else $as_nop
12199 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12201 else $as_nop
12202 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12204 CPPFLAGS=$ac_save_CPPFLAGS
12206 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12207 then
12208 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12211 if ${JPEG_PE_CFLAGS:+false} :
12212 then :
12213 if test ${MINGW_PKG_CONFIG+y}
12214 then :
12215 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12218 if ${JPEG_PE_LIBS:+false} :
12219 then :
12220 if test ${MINGW_PKG_CONFIG+y}
12221 then :
12222 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12226 ac_save_CPPFLAGS=$CPPFLAGS
12227 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12229 printf %s "checking for MinGW jpeglib.h... " >&6; }
12230 if test ${ac_cv_mingw_header_jpeglib_h+y}
12231 then :
12232 printf %s "(cached) " >&6
12233 else $as_nop
12234 ac_wine_check_headers_saved_cc=$CC
12235 ac_wine_check_headers_saved_exeext=$ac_exeext
12236 eval CC=\$${wine_arch}_CC
12237 ac_exeext=".exe"
12238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12240 #include <stddef.h>
12241 #include <stdio.h>
12242 #include <jpeglib.h>
12244 main (void)
12248 return 0;
12250 _ACEOF
12251 if ac_fn_c_try_compile "$LINENO"
12252 then :
12253 ac_cv_mingw_header_jpeglib_h=yes
12254 else $as_nop
12255 ac_cv_mingw_header_jpeglib_h=no
12257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12258 CC=$ac_wine_check_headers_saved_cc
12259 ac_exeext=$ac_wine_check_headers_saved_exeext
12261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12262 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12263 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12264 then :
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12266 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12267 if test ${ac_cv_mingw_lib_jpeg+y}
12268 then :
12269 printf %s "(cached) " >&6
12270 else $as_nop
12271 ac_wine_check_headers_saved_cc=$CC
12272 ac_wine_check_headers_saved_exeext=$ac_exeext
12273 ac_wine_check_headers_saved_libs=$LIBS
12274 eval CC=\$${wine_arch}_CC
12275 ac_exeext=".exe"
12276 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12280 /* Override any GCC internal prototype to avoid an error.
12281 Use char because int might match the return type of a GCC
12282 builtin and then its argument prototype would still apply. */
12283 char jpeg_start_decompress ();
12285 main (void)
12287 return jpeg_start_decompress ();
12289 return 0;
12291 _ACEOF
12292 if ac_fn_c_try_link "$LINENO"
12293 then :
12294 ac_cv_mingw_lib_jpeg=yes
12295 else $as_nop
12296 ac_cv_mingw_lib_jpeg=no
12298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12299 conftest$ac_exeext conftest.$ac_ext
12300 CC=$ac_wine_check_headers_saved_cc
12301 ac_exeext=$ac_wine_check_headers_saved_exeext
12302 LIBS=$ac_wine_check_headers_saved_libs
12304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12305 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12306 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12307 then :
12309 else $as_nop
12310 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12312 else $as_nop
12313 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12315 CPPFLAGS=$ac_save_CPPFLAGS
12317 if test "x$JPEG_PE_LIBS" = "x"
12318 then
12319 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12322 if ${LCMS2_PE_CFLAGS:+false} :
12323 then :
12324 if test ${MINGW_PKG_CONFIG+y}
12325 then :
12326 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12329 if ${LCMS2_PE_LIBS:+false} :
12330 then :
12331 if test ${MINGW_PKG_CONFIG+y}
12332 then :
12333 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12336 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12337 ac_save_CPPFLAGS=$CPPFLAGS
12338 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12340 printf %s "checking for MinGW lcms2.h... " >&6; }
12341 if test ${ac_cv_mingw_header_lcms2_h+y}
12342 then :
12343 printf %s "(cached) " >&6
12344 else $as_nop
12345 ac_wine_check_headers_saved_cc=$CC
12346 ac_wine_check_headers_saved_exeext=$ac_exeext
12347 eval CC=\$${wine_arch}_CC
12348 ac_exeext=".exe"
12349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12350 /* end confdefs.h. */
12352 #include <lcms2.h>
12354 main (void)
12358 return 0;
12360 _ACEOF
12361 if ac_fn_c_try_compile "$LINENO"
12362 then :
12363 ac_cv_mingw_header_lcms2_h=yes
12364 else $as_nop
12365 ac_cv_mingw_header_lcms2_h=no
12367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12368 CC=$ac_wine_check_headers_saved_cc
12369 ac_exeext=$ac_wine_check_headers_saved_exeext
12371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12372 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12373 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12374 then :
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12376 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12377 if test ${ac_cv_mingw_lib_lcms2+y}
12378 then :
12379 printf %s "(cached) " >&6
12380 else $as_nop
12381 ac_wine_check_headers_saved_cc=$CC
12382 ac_wine_check_headers_saved_exeext=$ac_exeext
12383 ac_wine_check_headers_saved_libs=$LIBS
12384 eval CC=\$${wine_arch}_CC
12385 ac_exeext=".exe"
12386 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12390 /* Override any GCC internal prototype to avoid an error.
12391 Use char because int might match the return type of a GCC
12392 builtin and then its argument prototype would still apply. */
12393 char cmsOpenProfileFromFile ();
12395 main (void)
12397 return cmsOpenProfileFromFile ();
12399 return 0;
12401 _ACEOF
12402 if ac_fn_c_try_link "$LINENO"
12403 then :
12404 ac_cv_mingw_lib_lcms2=yes
12405 else $as_nop
12406 ac_cv_mingw_lib_lcms2=no
12408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12409 conftest$ac_exeext conftest.$ac_ext
12410 CC=$ac_wine_check_headers_saved_cc
12411 ac_exeext=$ac_wine_check_headers_saved_exeext
12412 LIBS=$ac_wine_check_headers_saved_libs
12414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12415 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12416 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12417 then :
12419 else $as_nop
12420 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12422 else $as_nop
12423 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12425 CPPFLAGS=$ac_save_CPPFLAGS
12427 if test "x$LCMS2_PE_LIBS" = "x"
12428 then
12429 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12432 if ${MPG123_PE_CFLAGS:+false} :
12433 then :
12434 if test ${MINGW_PKG_CONFIG+y}
12435 then :
12436 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12439 if ${MPG123_PE_LIBS:+false} :
12440 then :
12441 if test ${MINGW_PKG_CONFIG+y}
12442 then :
12443 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12446 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12447 ac_save_CPPFLAGS=$CPPFLAGS
12448 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12450 printf %s "checking for MinGW mpg123.h... " >&6; }
12451 if test ${ac_cv_mingw_header_mpg123_h+y}
12452 then :
12453 printf %s "(cached) " >&6
12454 else $as_nop
12455 ac_wine_check_headers_saved_cc=$CC
12456 ac_wine_check_headers_saved_exeext=$ac_exeext
12457 eval CC=\$${wine_arch}_CC
12458 ac_exeext=".exe"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 #include <mpg123.h>
12464 main (void)
12468 return 0;
12470 _ACEOF
12471 if ac_fn_c_try_compile "$LINENO"
12472 then :
12473 ac_cv_mingw_header_mpg123_h=yes
12474 else $as_nop
12475 ac_cv_mingw_header_mpg123_h=no
12477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12478 CC=$ac_wine_check_headers_saved_cc
12479 ac_exeext=$ac_wine_check_headers_saved_exeext
12481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12482 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12483 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12484 then :
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12486 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12487 if test ${ac_cv_mingw_lib_mpg123+y}
12488 then :
12489 printf %s "(cached) " >&6
12490 else $as_nop
12491 ac_wine_check_headers_saved_cc=$CC
12492 ac_wine_check_headers_saved_exeext=$ac_exeext
12493 ac_wine_check_headers_saved_libs=$LIBS
12494 eval CC=\$${wine_arch}_CC
12495 ac_exeext=".exe"
12496 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12500 /* Override any GCC internal prototype to avoid an error.
12501 Use char because int might match the return type of a GCC
12502 builtin and then its argument prototype would still apply. */
12503 char mpg123_feed ();
12505 main (void)
12507 return mpg123_feed ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"
12513 then :
12514 ac_cv_mingw_lib_mpg123=yes
12515 else $as_nop
12516 ac_cv_mingw_lib_mpg123=no
12518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12519 conftest$ac_exeext conftest.$ac_ext
12520 CC=$ac_wine_check_headers_saved_cc
12521 ac_exeext=$ac_wine_check_headers_saved_exeext
12522 LIBS=$ac_wine_check_headers_saved_libs
12524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12525 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12526 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12527 then :
12529 else $as_nop
12530 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12532 else $as_nop
12533 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12535 CPPFLAGS=$ac_save_CPPFLAGS
12537 if test "x$MPG123_PE_LIBS" = "x"
12538 then
12539 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12542 if ${PNG_PE_CFLAGS:+false} :
12543 then :
12544 if test ${MINGW_PKG_CONFIG+y}
12545 then :
12546 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12549 if ${PNG_PE_LIBS:+false} :
12550 then :
12551 if test ${MINGW_PKG_CONFIG+y}
12552 then :
12553 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12557 ac_save_CPPFLAGS=$CPPFLAGS
12558 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12560 printf %s "checking for MinGW png.h... " >&6; }
12561 if test ${ac_cv_mingw_header_png_h+y}
12562 then :
12563 printf %s "(cached) " >&6
12564 else $as_nop
12565 ac_wine_check_headers_saved_cc=$CC
12566 ac_wine_check_headers_saved_exeext=$ac_exeext
12567 eval CC=\$${wine_arch}_CC
12568 ac_exeext=".exe"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 #include <png.h>
12574 main (void)
12578 return 0;
12580 _ACEOF
12581 if ac_fn_c_try_compile "$LINENO"
12582 then :
12583 ac_cv_mingw_header_png_h=yes
12584 else $as_nop
12585 ac_cv_mingw_header_png_h=no
12587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12588 CC=$ac_wine_check_headers_saved_cc
12589 ac_exeext=$ac_wine_check_headers_saved_exeext
12591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12592 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12593 if test "x$ac_cv_mingw_header_png_h" = xyes
12594 then :
12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12596 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12597 if test ${ac_cv_mingw_lib_png+y}
12598 then :
12599 printf %s "(cached) " >&6
12600 else $as_nop
12601 ac_wine_check_headers_saved_cc=$CC
12602 ac_wine_check_headers_saved_exeext=$ac_exeext
12603 ac_wine_check_headers_saved_libs=$LIBS
12604 eval CC=\$${wine_arch}_CC
12605 ac_exeext=".exe"
12606 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12608 /* end confdefs.h. */
12610 /* Override any GCC internal prototype to avoid an error.
12611 Use char because int might match the return type of a GCC
12612 builtin and then its argument prototype would still apply. */
12613 char png_create_read_struct ();
12615 main (void)
12617 return png_create_read_struct ();
12619 return 0;
12621 _ACEOF
12622 if ac_fn_c_try_link "$LINENO"
12623 then :
12624 ac_cv_mingw_lib_png=yes
12625 else $as_nop
12626 ac_cv_mingw_lib_png=no
12628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12629 conftest$ac_exeext conftest.$ac_ext
12630 CC=$ac_wine_check_headers_saved_cc
12631 ac_exeext=$ac_wine_check_headers_saved_exeext
12632 LIBS=$ac_wine_check_headers_saved_libs
12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12635 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12636 if test "x$ac_cv_mingw_lib_png" = xyes
12637 then :
12639 else $as_nop
12640 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12642 else $as_nop
12643 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12645 CPPFLAGS=$ac_save_CPPFLAGS
12647 if test "x$PNG_PE_LIBS" = "x"
12648 then
12649 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12652 if ${TIFF_PE_CFLAGS:+false} :
12653 then :
12654 if test ${MINGW_PKG_CONFIG+y}
12655 then :
12656 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12659 if ${TIFF_PE_LIBS:+false} :
12660 then :
12661 if test ${MINGW_PKG_CONFIG+y}
12662 then :
12663 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12667 ac_save_CPPFLAGS=$CPPFLAGS
12668 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12670 printf %s "checking for MinGW tiffio.h... " >&6; }
12671 if test ${ac_cv_mingw_header_tiffio_h+y}
12672 then :
12673 printf %s "(cached) " >&6
12674 else $as_nop
12675 ac_wine_check_headers_saved_cc=$CC
12676 ac_wine_check_headers_saved_exeext=$ac_exeext
12677 eval CC=\$${wine_arch}_CC
12678 ac_exeext=".exe"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 #include <tiffio.h>
12684 main (void)
12688 return 0;
12690 _ACEOF
12691 if ac_fn_c_try_compile "$LINENO"
12692 then :
12693 ac_cv_mingw_header_tiffio_h=yes
12694 else $as_nop
12695 ac_cv_mingw_header_tiffio_h=no
12697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12698 CC=$ac_wine_check_headers_saved_cc
12699 ac_exeext=$ac_wine_check_headers_saved_exeext
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12702 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12703 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12704 then :
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12706 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12707 if test ${ac_cv_mingw_lib_tiff+y}
12708 then :
12709 printf %s "(cached) " >&6
12710 else $as_nop
12711 ac_wine_check_headers_saved_cc=$CC
12712 ac_wine_check_headers_saved_exeext=$ac_exeext
12713 ac_wine_check_headers_saved_libs=$LIBS
12714 eval CC=\$${wine_arch}_CC
12715 ac_exeext=".exe"
12716 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12723 char TIFFClientOpen ();
12725 main (void)
12727 return TIFFClientOpen ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"
12733 then :
12734 ac_cv_mingw_lib_tiff=yes
12735 else $as_nop
12736 ac_cv_mingw_lib_tiff=no
12738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12739 conftest$ac_exeext conftest.$ac_ext
12740 CC=$ac_wine_check_headers_saved_cc
12741 ac_exeext=$ac_wine_check_headers_saved_exeext
12742 LIBS=$ac_wine_check_headers_saved_libs
12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12745 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12746 if test "x$ac_cv_mingw_lib_tiff" = xyes
12747 then :
12749 else $as_nop
12750 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12752 else $as_nop
12753 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12755 CPPFLAGS=$ac_save_CPPFLAGS
12757 if test "x$TIFF_PE_LIBS" = "x"
12758 then
12759 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12762 if ${XML2_PE_CFLAGS:+false} :
12763 then :
12764 if test ${MINGW_PKG_CONFIG+y}
12765 then :
12766 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12769 if ${XML2_PE_LIBS:+false} :
12770 then :
12771 if test ${MINGW_PKG_CONFIG+y}
12772 then :
12773 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12776 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12777 ac_save_CPPFLAGS=$CPPFLAGS
12778 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12780 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12781 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12782 then :
12783 printf %s "(cached) " >&6
12784 else $as_nop
12785 ac_wine_check_headers_saved_cc=$CC
12786 ac_wine_check_headers_saved_exeext=$ac_exeext
12787 eval CC=\$${wine_arch}_CC
12788 ac_exeext=".exe"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 #include <libxml/parser.h>
12794 main (void)
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_compile "$LINENO"
12802 then :
12803 ac_cv_mingw_header_libxml_parser_h=yes
12804 else $as_nop
12805 ac_cv_mingw_header_libxml_parser_h=no
12807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12808 CC=$ac_wine_check_headers_saved_cc
12809 ac_exeext=$ac_wine_check_headers_saved_exeext
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12812 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12813 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12814 then :
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12818 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12819 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12820 then :
12821 printf %s "(cached) " >&6
12822 else $as_nop
12823 ac_wine_check_headers_saved_cc=$CC
12824 ac_wine_check_headers_saved_exeext=$ac_exeext
12825 eval CC=\$${wine_arch}_CC
12826 ac_exeext=".exe"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 #include <libxml/xmlsave.h>
12832 main (void)
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_compile "$LINENO"
12840 then :
12841 ac_cv_mingw_header_libxml_xmlsave_h=yes
12842 else $as_nop
12843 ac_cv_mingw_header_libxml_xmlsave_h=no
12845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12846 CC=$ac_wine_check_headers_saved_cc
12847 ac_exeext=$ac_wine_check_headers_saved_exeext
12849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12850 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12851 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12852 then :
12855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12856 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12857 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12858 then :
12859 printf %s "(cached) " >&6
12860 else $as_nop
12861 ac_wine_check_headers_saved_cc=$CC
12862 ac_wine_check_headers_saved_exeext=$ac_exeext
12863 eval CC=\$${wine_arch}_CC
12864 ac_exeext=".exe"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 #include <libxml/SAX2.h>
12870 main (void)
12874 return 0;
12876 _ACEOF
12877 if ac_fn_c_try_compile "$LINENO"
12878 then :
12879 ac_cv_mingw_header_libxml_SAX2_h=yes
12880 else $as_nop
12881 ac_cv_mingw_header_libxml_SAX2_h=no
12883 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12884 CC=$ac_wine_check_headers_saved_cc
12885 ac_exeext=$ac_wine_check_headers_saved_exeext
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12888 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12889 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12890 then :
12893 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"
12894 then
12895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12896 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12897 if test ${ac_cv_mingw_lib_xml2+y}
12898 then :
12899 printf %s "(cached) " >&6
12900 else $as_nop
12901 ac_wine_check_headers_saved_cc=$CC
12902 ac_wine_check_headers_saved_exeext=$ac_exeext
12903 ac_wine_check_headers_saved_libs=$LIBS
12904 eval CC=\$${wine_arch}_CC
12905 ac_exeext=".exe"
12906 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12913 char xmlFirstElementChild ();
12915 main (void)
12917 return xmlFirstElementChild ();
12919 return 0;
12921 _ACEOF
12922 if ac_fn_c_try_link "$LINENO"
12923 then :
12924 ac_cv_mingw_lib_xml2=yes
12925 else $as_nop
12926 ac_cv_mingw_lib_xml2=no
12928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12929 conftest$ac_exeext conftest.$ac_ext
12930 CC=$ac_wine_check_headers_saved_cc
12931 ac_exeext=$ac_wine_check_headers_saved_exeext
12932 LIBS=$ac_wine_check_headers_saved_libs
12934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12935 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12936 if test "x$ac_cv_mingw_lib_xml2" = xyes
12937 then :
12939 else $as_nop
12940 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12942 else
12943 XML2_PE_CFLAGS=""
12944 XML2_PE_LIBS=""
12946 CPPFLAGS=$ac_save_CPPFLAGS
12948 if test "x$XML2_PE_LIBS" = "x"
12949 then
12950 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12953 if ${XSLT_PE_CFLAGS:+false} :
12954 then :
12955 if test ${MINGW_PKG_CONFIG+y}
12956 then :
12957 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12960 if ${XSLT_PE_LIBS:+false} :
12961 then :
12962 if test ${MINGW_PKG_CONFIG+y}
12963 then :
12964 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12967 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12968 ac_save_CPPFLAGS=$CPPFLAGS
12969 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12971 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12972 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12973 then :
12974 printf %s "(cached) " >&6
12975 else $as_nop
12976 ac_wine_check_headers_saved_cc=$CC
12977 ac_wine_check_headers_saved_exeext=$ac_exeext
12978 eval CC=\$${wine_arch}_CC
12979 ac_exeext=".exe"
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12983 #include <libxslt/pattern.h>
12985 main (void)
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_compile "$LINENO"
12993 then :
12994 ac_cv_mingw_header_libxslt_pattern_h=yes
12995 else $as_nop
12996 ac_cv_mingw_header_libxslt_pattern_h=no
12998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12999 CC=$ac_wine_check_headers_saved_cc
13000 ac_exeext=$ac_wine_check_headers_saved_exeext
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
13003 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
13004 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
13005 then :
13008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
13009 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
13010 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
13011 then :
13012 printf %s "(cached) " >&6
13013 else $as_nop
13014 ac_wine_check_headers_saved_cc=$CC
13015 ac_wine_check_headers_saved_exeext=$ac_exeext
13016 eval CC=\$${wine_arch}_CC
13017 ac_exeext=".exe"
13018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13019 /* end confdefs.h. */
13021 #include <libxslt/transform.h>
13023 main (void)
13027 return 0;
13029 _ACEOF
13030 if ac_fn_c_try_compile "$LINENO"
13031 then :
13032 ac_cv_mingw_header_libxslt_transform_h=yes
13033 else $as_nop
13034 ac_cv_mingw_header_libxslt_transform_h=no
13036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13037 CC=$ac_wine_check_headers_saved_cc
13038 ac_exeext=$ac_wine_check_headers_saved_exeext
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
13041 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
13042 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
13043 then :
13046 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
13047 then
13048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
13049 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
13050 if test ${ac_cv_mingw_lib_xslt+y}
13051 then :
13052 printf %s "(cached) " >&6
13053 else $as_nop
13054 ac_wine_check_headers_saved_cc=$CC
13055 ac_wine_check_headers_saved_exeext=$ac_exeext
13056 ac_wine_check_headers_saved_libs=$LIBS
13057 eval CC=\$${wine_arch}_CC
13058 ac_exeext=".exe"
13059 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
13060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13061 /* end confdefs.h. */
13063 /* Override any GCC internal prototype to avoid an error.
13064 Use char because int might match the return type of a GCC
13065 builtin and then its argument prototype would still apply. */
13066 char xsltCompilePattern ();
13068 main (void)
13070 return xsltCompilePattern ();
13072 return 0;
13074 _ACEOF
13075 if ac_fn_c_try_link "$LINENO"
13076 then :
13077 ac_cv_mingw_lib_xslt=yes
13078 else $as_nop
13079 ac_cv_mingw_lib_xslt=no
13081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13082 conftest$ac_exeext conftest.$ac_ext
13083 CC=$ac_wine_check_headers_saved_cc
13084 ac_exeext=$ac_wine_check_headers_saved_exeext
13085 LIBS=$ac_wine_check_headers_saved_libs
13087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13088 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13089 if test "x$ac_cv_mingw_lib_xslt" = xyes
13090 then :
13092 else $as_nop
13093 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13095 else
13096 XSLT_PE_CFLAGS=""
13097 XSLT_PE_LIBS=""
13099 CPPFLAGS=$ac_save_CPPFLAGS
13101 if test "x$XSLT_PE_LIBS" = "x"
13102 then
13103 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13106 if ${VKD3D_PE_CFLAGS:+false} :
13107 then :
13108 if test ${MINGW_PKG_CONFIG+y}
13109 then :
13110 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13113 if ${VKD3D_PE_LIBS:+false} :
13114 then :
13115 if test ${MINGW_PKG_CONFIG+y}
13116 then :
13117 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13120 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13121 ac_save_CPPFLAGS=$CPPFLAGS
13122 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13124 printf %s "checking for MinGW vkd3d.h... " >&6; }
13125 if test ${ac_cv_mingw_header_vkd3d_h+y}
13126 then :
13127 printf %s "(cached) " >&6
13128 else $as_nop
13129 ac_wine_check_headers_saved_cc=$CC
13130 ac_wine_check_headers_saved_exeext=$ac_exeext
13131 eval CC=\$${wine_arch}_CC
13132 ac_exeext=".exe"
13133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 #include <vkd3d.h>
13138 main (void)
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_compile "$LINENO"
13146 then :
13147 ac_cv_mingw_header_vkd3d_h=yes
13148 else $as_nop
13149 ac_cv_mingw_header_vkd3d_h=no
13151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13152 CC=$ac_wine_check_headers_saved_cc
13153 ac_exeext=$ac_wine_check_headers_saved_exeext
13155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13156 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13157 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13158 then :
13161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13162 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13163 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13164 then :
13165 printf %s "(cached) " >&6
13166 else $as_nop
13167 ac_wine_check_headers_saved_cc=$CC
13168 ac_wine_check_headers_saved_exeext=$ac_exeext
13169 eval CC=\$${wine_arch}_CC
13170 ac_exeext=".exe"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 #include <vkd3d_shader.h>
13176 main (void)
13180 return 0;
13182 _ACEOF
13183 if ac_fn_c_try_compile "$LINENO"
13184 then :
13185 ac_cv_mingw_header_vkd3d_shader_h=yes
13186 else $as_nop
13187 ac_cv_mingw_header_vkd3d_shader_h=no
13189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13190 CC=$ac_wine_check_headers_saved_cc
13191 ac_exeext=$ac_wine_check_headers_saved_exeext
13193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13194 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13195 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13196 then :
13199 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13200 then
13201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13202 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13203 if test ${ac_cv_mingw_lib_vkd3d+y}
13204 then :
13205 printf %s "(cached) " >&6
13206 else $as_nop
13207 ac_wine_check_headers_saved_cc=$CC
13208 ac_wine_check_headers_saved_exeext=$ac_exeext
13209 ac_wine_check_headers_saved_libs=$LIBS
13210 eval CC=\$${wine_arch}_CC
13211 ac_exeext=".exe"
13212 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13214 /* end confdefs.h. */
13216 /* Override any GCC internal prototype to avoid an error.
13217 Use char because int might match the return type of a GCC
13218 builtin and then its argument prototype would still apply. */
13219 char vkd3d_set_log_callback ();
13221 main (void)
13223 return vkd3d_set_log_callback ();
13225 return 0;
13227 _ACEOF
13228 if ac_fn_c_try_link "$LINENO"
13229 then :
13230 ac_cv_mingw_lib_vkd3d=yes
13231 else $as_nop
13232 ac_cv_mingw_lib_vkd3d=no
13234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13235 conftest$ac_exeext conftest.$ac_ext
13236 CC=$ac_wine_check_headers_saved_cc
13237 ac_exeext=$ac_wine_check_headers_saved_exeext
13238 LIBS=$ac_wine_check_headers_saved_libs
13240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13241 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13242 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13243 then :
13245 else $as_nop
13248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13249 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13250 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13251 then :
13252 printf %s "(cached) " >&6
13253 else $as_nop
13254 ac_wine_check_headers_saved_cc=$CC
13255 ac_wine_check_headers_saved_exeext=$ac_exeext
13256 ac_wine_check_headers_saved_libs=$LIBS
13257 eval CC=\$${wine_arch}_CC
13258 ac_exeext=".exe"
13259 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13261 /* end confdefs.h. */
13263 /* Override any GCC internal prototype to avoid an error.
13264 Use char because int might match the return type of a GCC
13265 builtin and then its argument prototype would still apply. */
13266 char vkd3d_shader_serialize_dxbc ();
13268 main (void)
13270 return vkd3d_shader_serialize_dxbc ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"
13276 then :
13277 ac_cv_mingw_lib_vkd3d_shader=yes
13278 else $as_nop
13279 ac_cv_mingw_lib_vkd3d_shader=no
13281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13282 conftest$ac_exeext conftest.$ac_ext
13283 CC=$ac_wine_check_headers_saved_cc
13284 ac_exeext=$ac_wine_check_headers_saved_exeext
13285 LIBS=$ac_wine_check_headers_saved_libs
13287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13288 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13289 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13290 then :
13292 else $as_nop
13295 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13296 then
13297 VKD3D_PE_CFLAGS=""
13298 VKD3D_PE_LIBS=""
13300 else
13301 VKD3D_PE_CFLAGS=""
13302 VKD3D_PE_LIBS=""
13304 CPPFLAGS=$ac_save_CPPFLAGS
13306 if test "x$VKD3D_PE_LIBS" = "x"
13307 then
13308 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13311 if ${ZLIB_PE_CFLAGS:+false} :
13312 then :
13313 if test ${MINGW_PKG_CONFIG+y}
13314 then :
13315 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13318 if ${ZLIB_PE_LIBS:+false} :
13319 then :
13320 if test ${MINGW_PKG_CONFIG+y}
13321 then :
13322 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13325 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13326 ac_save_CPPFLAGS=$CPPFLAGS
13327 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13329 printf %s "checking for MinGW zlib.h... " >&6; }
13330 if test ${ac_cv_mingw_header_zlib_h+y}
13331 then :
13332 printf %s "(cached) " >&6
13333 else $as_nop
13334 ac_wine_check_headers_saved_cc=$CC
13335 ac_wine_check_headers_saved_exeext=$ac_exeext
13336 eval CC=\$${wine_arch}_CC
13337 ac_exeext=".exe"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 #include <zlib.h>
13343 main (void)
13347 return 0;
13349 _ACEOF
13350 if ac_fn_c_try_compile "$LINENO"
13351 then :
13352 ac_cv_mingw_header_zlib_h=yes
13353 else $as_nop
13354 ac_cv_mingw_header_zlib_h=no
13356 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13357 CC=$ac_wine_check_headers_saved_cc
13358 ac_exeext=$ac_wine_check_headers_saved_exeext
13360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13361 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13362 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13363 then :
13364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13365 printf %s "checking for inflate in MinGW -lz... " >&6; }
13366 if test ${ac_cv_mingw_lib_z+y}
13367 then :
13368 printf %s "(cached) " >&6
13369 else $as_nop
13370 ac_wine_check_headers_saved_cc=$CC
13371 ac_wine_check_headers_saved_exeext=$ac_exeext
13372 ac_wine_check_headers_saved_libs=$LIBS
13373 eval CC=\$${wine_arch}_CC
13374 ac_exeext=".exe"
13375 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13377 /* end confdefs.h. */
13379 /* Override any GCC internal prototype to avoid an error.
13380 Use char because int might match the return type of a GCC
13381 builtin and then its argument prototype would still apply. */
13382 char inflate ();
13384 main (void)
13386 return inflate ();
13388 return 0;
13390 _ACEOF
13391 if ac_fn_c_try_link "$LINENO"
13392 then :
13393 ac_cv_mingw_lib_z=yes
13394 else $as_nop
13395 ac_cv_mingw_lib_z=no
13397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13398 conftest$ac_exeext conftest.$ac_ext
13399 CC=$ac_wine_check_headers_saved_cc
13400 ac_exeext=$ac_wine_check_headers_saved_exeext
13401 LIBS=$ac_wine_check_headers_saved_libs
13403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13404 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13405 if test "x$ac_cv_mingw_lib_z" = xyes
13406 then :
13408 else $as_nop
13409 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13411 else $as_nop
13412 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13414 CPPFLAGS=$ac_save_CPPFLAGS
13416 if test "x$ZLIB_PE_LIBS" = "x"
13417 then
13418 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13422 if ${FAUDIO_PE_LIBS:+false} :
13423 then :
13424 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13425 if ${FAUDIO_PE_CFLAGS:+false} :
13426 then :
13427 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13428 else $as_nop
13429 enable_faudio=no
13431 else $as_nop
13432 enable_faudio=no
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13437 if ${FLUIDSYNTH_PE_LIBS:+false} :
13438 then :
13439 FLUIDSYNTH_PE_LIBS="fluidsynth"
13440 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13441 then :
13442 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13443 else $as_nop
13444 enable_fluidsynth=no
13446 else $as_nop
13447 enable_fluidsynth=no
13449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13452 if ${GSM_PE_LIBS:+false} :
13453 then :
13454 GSM_PE_LIBS=gsm
13455 if ${GSM_PE_CFLAGS:+false} :
13456 then :
13457 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13458 else $as_nop
13459 enable_gsm=no
13461 else $as_nop
13462 enable_gsm=no
13464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13467 if ${JPEG_PE_LIBS:+false} :
13468 then :
13469 JPEG_PE_LIBS=jpeg
13470 if ${JPEG_PE_CFLAGS:+false} :
13471 then :
13472 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13473 else $as_nop
13474 enable_jpeg=no
13476 else $as_nop
13477 enable_jpeg=no
13479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13482 if ${JXR_PE_LIBS:+false} :
13483 then :
13484 JXR_PE_LIBS=jxr
13485 if ${JXR_PE_CFLAGS:+false} :
13486 then :
13487 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13488 else $as_nop
13489 enable_jxr=no
13491 else $as_nop
13492 enable_jxr=no
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13497 if ${LCMS2_PE_LIBS:+false} :
13498 then :
13499 LCMS2_PE_LIBS=lcms2
13500 if ${LCMS2_PE_CFLAGS:+false} :
13501 then :
13502 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13503 else $as_nop
13504 enable_lcms2=no
13506 else $as_nop
13507 enable_lcms2=no
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13512 if ${LDAP_PE_LIBS:+false} :
13513 then :
13514 LDAP_PE_LIBS=ldap
13515 if ${LDAP_PE_CFLAGS:+false} :
13516 then :
13517 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13518 else $as_nop
13519 enable_ldap=no
13521 else $as_nop
13522 enable_ldap=no
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13527 if ${MPG123_PE_LIBS:+false} :
13528 then :
13529 MPG123_PE_LIBS=mpg123
13530 if ${MPG123_PE_CFLAGS:+false} :
13531 then :
13532 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13533 else $as_nop
13534 enable_mpg123=no
13536 else $as_nop
13537 enable_mpg123=no
13539 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13542 if ${MUSL_PE_LIBS:+false} :
13543 then :
13544 MUSL_PE_LIBS=musl
13545 if ${MUSL_PE_CFLAGS:+false} :
13546 then :
13547 MUSL_PE_CFLAGS=
13548 else $as_nop
13549 enable_musl=no
13551 else $as_nop
13552 enable_musl=no
13554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13555 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13557 if ${PNG_PE_LIBS:+false} :
13558 then :
13559 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13560 if ${PNG_PE_CFLAGS:+false} :
13561 then :
13562 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13563 else $as_nop
13564 enable_png=no
13566 else $as_nop
13567 enable_png=no
13569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13572 if ${TIFF_PE_LIBS:+false} :
13573 then :
13574 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13575 if ${TIFF_PE_CFLAGS:+false} :
13576 then :
13577 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13578 else $as_nop
13579 enable_tiff=no
13581 else $as_nop
13582 enable_tiff=no
13584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13585 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13587 if ${VKD3D_PE_LIBS:+false} :
13588 then :
13589 VKD3D_PE_LIBS=vkd3d
13590 if ${VKD3D_PE_CFLAGS:+false} :
13591 then :
13592 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13593 else $as_nop
13594 enable_vkd3d=no
13596 else $as_nop
13597 enable_vkd3d=no
13599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13602 if ${XML2_PE_LIBS:+false} :
13603 then :
13604 XML2_PE_LIBS=xml2
13605 if ${XML2_PE_CFLAGS:+false} :
13606 then :
13607 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13608 else $as_nop
13609 enable_xml2=no
13611 else $as_nop
13612 enable_xml2=no
13614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13617 if ${XSLT_PE_LIBS:+false} :
13618 then :
13619 XSLT_PE_LIBS=xslt
13620 if ${XSLT_PE_CFLAGS:+false} :
13621 then :
13622 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13623 else $as_nop
13624 enable_xslt=no
13626 else $as_nop
13627 enable_xslt=no
13629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13632 if ${ZLIB_PE_LIBS:+false} :
13633 then :
13634 ZLIB_PE_LIBS=z
13635 if ${ZLIB_PE_CFLAGS:+false} :
13636 then :
13637 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13638 else $as_nop
13639 enable_zlib=no
13641 else $as_nop
13642 enable_zlib=no
13644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13647 if ${ZYDIS_PE_LIBS:+false} :
13648 then :
13649 ZYDIS_PE_LIBS=zydis
13650 if ${ZYDIS_PE_CFLAGS:+false} :
13651 then :
13652 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13653 else $as_nop
13654 enable_zydis=no
13656 else $as_nop
13657 enable_zydis=no
13659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13660 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13664 if test "x$with_pthread" = xno
13665 then :
13667 else $as_nop
13668 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13669 if test "x$ac_cv_func_pthread_create" = xyes
13670 then :
13672 else $as_nop
13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13674 printf %s "checking for pthread_create in -lpthread... " >&6; }
13675 if test ${ac_cv_lib_pthread_pthread_create+y}
13676 then :
13677 printf %s "(cached) " >&6
13678 else $as_nop
13679 ac_check_lib_save_LIBS=$LIBS
13680 LIBS="-lpthread $LIBS"
13681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13682 /* end confdefs.h. */
13684 /* Override any GCC internal prototype to avoid an error.
13685 Use char because int might match the return type of a GCC
13686 builtin and then its argument prototype would still apply. */
13687 char pthread_create ();
13689 main (void)
13691 return pthread_create ();
13693 return 0;
13695 _ACEOF
13696 if ac_fn_c_try_link "$LINENO"
13697 then :
13698 ac_cv_lib_pthread_pthread_create=yes
13699 else $as_nop
13700 ac_cv_lib_pthread_pthread_create=no
13702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13703 conftest$ac_exeext conftest.$ac_ext
13704 LIBS=$ac_check_lib_save_LIBS
13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13707 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13708 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13709 then :
13710 PTHREAD_LIBS="-lpthread"
13717 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13718 then :
13719 case "x$with_pthread" in
13720 xno) ;;
13721 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13722 Wine cannot support threads without libpthread.
13723 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13724 esac
13729 ac_ext=c
13730 ac_cpp='$CPP $CPPFLAGS'
13731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13735 printf %s "checking how to run the C preprocessor... " >&6; }
13736 # On Suns, sometimes $CPP names a directory.
13737 if test -n "$CPP" && test -d "$CPP"; then
13738 CPP=
13740 if test -z "$CPP"; then
13741 if test ${ac_cv_prog_CPP+y}
13742 then :
13743 printf %s "(cached) " >&6
13744 else $as_nop
13745 # Double quotes because $CC needs to be expanded
13746 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13748 ac_preproc_ok=false
13749 for ac_c_preproc_warn_flag in '' yes
13751 # Use a header file that comes with gcc, so configuring glibc
13752 # with a fresh cross-compiler works.
13753 # On the NeXT, cc -E runs the code through the compiler's parser,
13754 # not just through cpp. "Syntax error" is here to catch this case.
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13757 #include <limits.h>
13758 Syntax error
13759 _ACEOF
13760 if ac_fn_c_try_cpp "$LINENO"
13761 then :
13763 else $as_nop
13764 # Broken: fails on valid input.
13765 continue
13767 rm -f conftest.err conftest.i conftest.$ac_ext
13769 # OK, works on sane cases. Now check whether nonexistent headers
13770 # can be detected and how.
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 #include <ac_nonexistent.h>
13774 _ACEOF
13775 if ac_fn_c_try_cpp "$LINENO"
13776 then :
13777 # Broken: success on invalid input.
13778 continue
13779 else $as_nop
13780 # Passes both tests.
13781 ac_preproc_ok=:
13782 break
13784 rm -f conftest.err conftest.i conftest.$ac_ext
13786 done
13787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13788 rm -f conftest.i conftest.err conftest.$ac_ext
13789 if $ac_preproc_ok
13790 then :
13791 break
13794 done
13795 ac_cv_prog_CPP=$CPP
13798 CPP=$ac_cv_prog_CPP
13799 else
13800 ac_cv_prog_CPP=$CPP
13802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13803 printf "%s\n" "$CPP" >&6; }
13804 ac_preproc_ok=false
13805 for ac_c_preproc_warn_flag in '' yes
13807 # Use a header file that comes with gcc, so configuring glibc
13808 # with a fresh cross-compiler works.
13809 # On the NeXT, cc -E runs the code through the compiler's parser,
13810 # not just through cpp. "Syntax error" is here to catch this case.
13811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13812 /* end confdefs.h. */
13813 #include <limits.h>
13814 Syntax error
13815 _ACEOF
13816 if ac_fn_c_try_cpp "$LINENO"
13817 then :
13819 else $as_nop
13820 # Broken: fails on valid input.
13821 continue
13823 rm -f conftest.err conftest.i conftest.$ac_ext
13825 # OK, works on sane cases. Now check whether nonexistent headers
13826 # can be detected and how.
13827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13828 /* end confdefs.h. */
13829 #include <ac_nonexistent.h>
13830 _ACEOF
13831 if ac_fn_c_try_cpp "$LINENO"
13832 then :
13833 # Broken: success on invalid input.
13834 continue
13835 else $as_nop
13836 # Passes both tests.
13837 ac_preproc_ok=:
13838 break
13840 rm -f conftest.err conftest.i conftest.$ac_ext
13842 done
13843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13844 rm -f conftest.i conftest.err conftest.$ac_ext
13845 if $ac_preproc_ok
13846 then :
13848 else $as_nop
13849 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13850 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13851 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13852 See \`config.log' for more details" "$LINENO" 5; }
13855 ac_ext=c
13856 ac_cpp='$CPP $CPPFLAGS'
13857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13863 printf %s "checking for X... " >&6; }
13866 # Check whether --with-x was given.
13867 if test ${with_x+y}
13868 then :
13869 withval=$with_x;
13872 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13873 if test "x$with_x" = xno; then
13874 # The user explicitly disabled X.
13875 have_x=disabled
13876 else
13877 case $x_includes,$x_libraries in #(
13878 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13879 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13880 then :
13881 printf %s "(cached) " >&6
13882 else $as_nop
13883 # One or both of the vars are not set, and there is no cached value.
13884 ac_x_includes=no
13885 ac_x_libraries=no
13886 # Do we need to do anything special at all?
13887 ac_save_LIBS=$LIBS
13888 LIBS="-lX11 $LIBS"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13891 #include <X11/Xlib.h>
13893 main (void)
13895 XrmInitialize ()
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"
13901 then :
13902 # We can compile and link X programs with no special options.
13903 ac_x_includes=
13904 ac_x_libraries=
13906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS="$ac_save_LIBS"
13909 # If that didn't work, only try xmkmf and file system searches
13910 # for native compilation.
13911 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13912 then :
13913 rm -f -r conftest.dir
13914 if mkdir conftest.dir; then
13915 cd conftest.dir
13916 cat >Imakefile <<'_ACEOF'
13917 incroot:
13918 @echo incroot='${INCROOT}'
13919 usrlibdir:
13920 @echo usrlibdir='${USRLIBDIR}'
13921 libdir:
13922 @echo libdir='${LIBDIR}'
13923 _ACEOF
13924 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13925 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13926 for ac_var in incroot usrlibdir libdir; do
13927 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13928 done
13929 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13930 for ac_extension in a so sl dylib la dll; do
13931 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13932 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13933 ac_im_usrlibdir=$ac_im_libdir; break
13935 done
13936 # Screen out bogus values from the imake configuration. They are
13937 # bogus both because they are the default anyway, and because
13938 # using them would break gcc on systems where it needs fixed includes.
13939 case $ac_im_incroot in
13940 /usr/include) ac_x_includes= ;;
13941 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13942 esac
13943 case $ac_im_usrlibdir in
13944 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13945 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13946 esac
13948 cd ..
13949 rm -f -r conftest.dir
13952 # Standard set of common directories for X headers.
13953 # Check X11 before X11Rn because it is often a symlink to the current release.
13954 ac_x_header_dirs='
13955 /usr/X11/include
13956 /usr/X11R7/include
13957 /usr/X11R6/include
13958 /usr/X11R5/include
13959 /usr/X11R4/include
13961 /usr/include/X11
13962 /usr/include/X11R7
13963 /usr/include/X11R6
13964 /usr/include/X11R5
13965 /usr/include/X11R4
13967 /usr/local/X11/include
13968 /usr/local/X11R7/include
13969 /usr/local/X11R6/include
13970 /usr/local/X11R5/include
13971 /usr/local/X11R4/include
13973 /usr/local/include/X11
13974 /usr/local/include/X11R7
13975 /usr/local/include/X11R6
13976 /usr/local/include/X11R5
13977 /usr/local/include/X11R4
13979 /opt/X11/include
13981 /usr/X386/include
13982 /usr/x386/include
13983 /usr/XFree86/include/X11
13985 /usr/include
13986 /usr/local/include
13987 /usr/unsupported/include
13988 /usr/athena/include
13989 /usr/local/x11r5/include
13990 /usr/lpp/Xamples/include
13992 /usr/openwin/include
13993 /usr/openwin/share/include'
13995 if test "$ac_x_includes" = no; then
13996 # Guess where to find include files, by looking for Xlib.h.
13997 # First, try using that file with no special directory specified.
13998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13999 /* end confdefs.h. */
14000 #include <X11/Xlib.h>
14001 _ACEOF
14002 if ac_fn_c_try_cpp "$LINENO"
14003 then :
14004 # We can compile using X headers with no special include directory.
14005 ac_x_includes=
14006 else $as_nop
14007 for ac_dir in $ac_x_header_dirs; do
14008 if test -r "$ac_dir/X11/Xlib.h"; then
14009 ac_x_includes=$ac_dir
14010 break
14012 done
14014 rm -f conftest.err conftest.i conftest.$ac_ext
14015 fi # $ac_x_includes = no
14017 if test "$ac_x_libraries" = no; then
14018 # Check for the libraries.
14019 # See if we find them without any special options.
14020 # Don't add to $LIBS permanently.
14021 ac_save_LIBS=$LIBS
14022 LIBS="-lX11 $LIBS"
14023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14024 /* end confdefs.h. */
14025 #include <X11/Xlib.h>
14027 main (void)
14029 XrmInitialize ()
14031 return 0;
14033 _ACEOF
14034 if ac_fn_c_try_link "$LINENO"
14035 then :
14036 LIBS=$ac_save_LIBS
14037 # We can link X programs with no special library path.
14038 ac_x_libraries=
14039 else $as_nop
14040 LIBS=$ac_save_LIBS
14041 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
14043 # Don't even attempt the hair of trying to link an X program!
14044 for ac_extension in a so sl dylib la dll; do
14045 if test -r "$ac_dir/libX11.$ac_extension"; then
14046 ac_x_libraries=$ac_dir
14047 break 2
14049 done
14050 done
14052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14053 conftest$ac_exeext conftest.$ac_ext
14054 fi # $ac_x_libraries = no
14057 # Record the results.
14058 case $ac_x_includes,$ac_x_libraries in #(
14059 no,* | *,no | *\'*) :
14060 # Didn't find X, or a directory has "'" in its name.
14061 ac_cv_have_x="have_x=no" ;; #(
14062 *) :
14063 # Record where we found X for the cache.
14064 ac_cv_have_x="have_x=yes\
14065 ac_x_includes='$ac_x_includes'\
14066 ac_x_libraries='$ac_x_libraries'" ;;
14067 esac
14069 ;; #(
14070 *) have_x=yes;;
14071 esac
14072 eval "$ac_cv_have_x"
14073 fi # $with_x != no
14075 if test "$have_x" != yes; then
14076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
14077 printf "%s\n" "$have_x" >&6; }
14078 no_x=yes
14079 else
14080 # If each of the values was on the command line, it overrides each guess.
14081 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
14082 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14083 # Update the cache value to reflect the command line values.
14084 ac_cv_have_x="have_x=yes\
14085 ac_x_includes='$x_includes'\
14086 ac_x_libraries='$x_libraries'"
14087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14088 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14091 if test "$no_x" = yes; then
14092 # Not all programs may use this symbol, but it does not hurt to define it.
14094 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14096 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14097 else
14098 if test -n "$x_includes"; then
14099 X_CFLAGS="$X_CFLAGS -I$x_includes"
14102 # It would also be nice to do this for all -L options, not just this one.
14103 if test -n "$x_libraries"; then
14104 X_LIBS="$X_LIBS -L$x_libraries"
14105 # For Solaris; some versions of Sun CC require a space after -R and
14106 # others require no space. Words are not sufficient . . . .
14107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14108 printf %s "checking whether -R must be followed by a space... " >&6; }
14109 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14110 ac_xsave_c_werror_flag=$ac_c_werror_flag
14111 ac_c_werror_flag=yes
14112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14113 /* end confdefs.h. */
14116 main (void)
14120 return 0;
14122 _ACEOF
14123 if ac_fn_c_try_link "$LINENO"
14124 then :
14125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14126 printf "%s\n" "no" >&6; }
14127 X_LIBS="$X_LIBS -R$x_libraries"
14128 else $as_nop
14129 LIBS="$ac_xsave_LIBS -R $x_libraries"
14130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14131 /* end confdefs.h. */
14134 main (void)
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"
14142 then :
14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14144 printf "%s\n" "yes" >&6; }
14145 X_LIBS="$X_LIBS -R $x_libraries"
14146 else $as_nop
14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14148 printf "%s\n" "neither works" >&6; }
14150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14151 conftest$ac_exeext conftest.$ac_ext
14153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14154 conftest$ac_exeext conftest.$ac_ext
14155 ac_c_werror_flag=$ac_xsave_c_werror_flag
14156 LIBS=$ac_xsave_LIBS
14159 # Check for system-dependent libraries X programs must link with.
14160 # Do this before checking for the system-independent R6 libraries
14161 # (-lICE), since we may need -lsocket or whatever for X linking.
14163 if test "$ISC" = yes; then
14164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14165 else
14166 # Martyn Johnson says this is needed for Ultrix, if the X
14167 # libraries were built with DECnet support. And Karl Berry says
14168 # the Alpha needs dnet_stub (dnet does not exist).
14169 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14176 char XOpenDisplay ();
14178 main (void)
14180 return XOpenDisplay ();
14182 return 0;
14184 _ACEOF
14185 if ac_fn_c_try_link "$LINENO"
14186 then :
14188 else $as_nop
14189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14190 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14191 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14192 then :
14193 printf %s "(cached) " >&6
14194 else $as_nop
14195 ac_check_lib_save_LIBS=$LIBS
14196 LIBS="-ldnet $LIBS"
14197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14200 /* Override any GCC internal prototype to avoid an error.
14201 Use char because int might match the return type of a GCC
14202 builtin and then its argument prototype would still apply. */
14203 char dnet_ntoa ();
14205 main (void)
14207 return dnet_ntoa ();
14209 return 0;
14211 _ACEOF
14212 if ac_fn_c_try_link "$LINENO"
14213 then :
14214 ac_cv_lib_dnet_dnet_ntoa=yes
14215 else $as_nop
14216 ac_cv_lib_dnet_dnet_ntoa=no
14218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_check_lib_save_LIBS
14222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14223 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14224 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14225 then :
14226 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14229 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14231 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14232 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14233 then :
14234 printf %s "(cached) " >&6
14235 else $as_nop
14236 ac_check_lib_save_LIBS=$LIBS
14237 LIBS="-ldnet_stub $LIBS"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 char dnet_ntoa ();
14246 main (void)
14248 return dnet_ntoa ();
14250 return 0;
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"
14254 then :
14255 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14256 else $as_nop
14257 ac_cv_lib_dnet_stub_dnet_ntoa=no
14259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14260 conftest$ac_exeext conftest.$ac_ext
14261 LIBS=$ac_check_lib_save_LIBS
14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14264 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14265 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14266 then :
14267 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14273 conftest$ac_exeext conftest.$ac_ext
14274 LIBS="$ac_xsave_LIBS"
14276 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14277 # to get the SysV transport functions.
14278 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14279 # needs -lnsl.
14280 # The nsl library prevents programs from opening the X display
14281 # on Irix 5.2, according to T.E. Dickey.
14282 # The functions gethostbyname, getservbyname, and inet_addr are
14283 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14284 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14285 if test "x$ac_cv_func_gethostbyname" = xyes
14286 then :
14290 if test $ac_cv_func_gethostbyname = no; then
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14292 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14293 if test ${ac_cv_lib_nsl_gethostbyname+y}
14294 then :
14295 printf %s "(cached) " >&6
14296 else $as_nop
14297 ac_check_lib_save_LIBS=$LIBS
14298 LIBS="-lnsl $LIBS"
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14302 /* Override any GCC internal prototype to avoid an error.
14303 Use char because int might match the return type of a GCC
14304 builtin and then its argument prototype would still apply. */
14305 char gethostbyname ();
14307 main (void)
14309 return gethostbyname ();
14311 return 0;
14313 _ACEOF
14314 if ac_fn_c_try_link "$LINENO"
14315 then :
14316 ac_cv_lib_nsl_gethostbyname=yes
14317 else $as_nop
14318 ac_cv_lib_nsl_gethostbyname=no
14320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14321 conftest$ac_exeext conftest.$ac_ext
14322 LIBS=$ac_check_lib_save_LIBS
14324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14325 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14326 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14327 then :
14328 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14331 if test $ac_cv_lib_nsl_gethostbyname = no; then
14332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14333 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14334 if test ${ac_cv_lib_bsd_gethostbyname+y}
14335 then :
14336 printf %s "(cached) " >&6
14337 else $as_nop
14338 ac_check_lib_save_LIBS=$LIBS
14339 LIBS="-lbsd $LIBS"
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14343 /* Override any GCC internal prototype to avoid an error.
14344 Use char because int might match the return type of a GCC
14345 builtin and then its argument prototype would still apply. */
14346 char gethostbyname ();
14348 main (void)
14350 return gethostbyname ();
14352 return 0;
14354 _ACEOF
14355 if ac_fn_c_try_link "$LINENO"
14356 then :
14357 ac_cv_lib_bsd_gethostbyname=yes
14358 else $as_nop
14359 ac_cv_lib_bsd_gethostbyname=no
14361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14362 conftest$ac_exeext conftest.$ac_ext
14363 LIBS=$ac_check_lib_save_LIBS
14365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14366 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14367 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14368 then :
14369 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14375 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14376 # socket/setsockopt and other routines are undefined under SCO ODT
14377 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14378 # on later versions), says Simon Leinen: it contains gethostby*
14379 # variants that don't use the name server (or something). -lsocket
14380 # must be given before -lnsl if both are needed. We assume that
14381 # if connect needs -lnsl, so does gethostbyname.
14382 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14383 if test "x$ac_cv_func_connect" = xyes
14384 then :
14388 if test $ac_cv_func_connect = no; then
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14390 printf %s "checking for connect in -lsocket... " >&6; }
14391 if test ${ac_cv_lib_socket_connect+y}
14392 then :
14393 printf %s "(cached) " >&6
14394 else $as_nop
14395 ac_check_lib_save_LIBS=$LIBS
14396 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14403 char connect ();
14405 main (void)
14407 return connect ();
14409 return 0;
14411 _ACEOF
14412 if ac_fn_c_try_link "$LINENO"
14413 then :
14414 ac_cv_lib_socket_connect=yes
14415 else $as_nop
14416 ac_cv_lib_socket_connect=no
14418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_check_lib_save_LIBS
14422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14423 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14424 if test "x$ac_cv_lib_socket_connect" = xyes
14425 then :
14426 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14431 # Guillermo Gomez says -lposix is necessary on A/UX.
14432 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14433 if test "x$ac_cv_func_remove" = xyes
14434 then :
14438 if test $ac_cv_func_remove = no; then
14439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14440 printf %s "checking for remove in -lposix... " >&6; }
14441 if test ${ac_cv_lib_posix_remove+y}
14442 then :
14443 printf %s "(cached) " >&6
14444 else $as_nop
14445 ac_check_lib_save_LIBS=$LIBS
14446 LIBS="-lposix $LIBS"
14447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14448 /* end confdefs.h. */
14450 /* Override any GCC internal prototype to avoid an error.
14451 Use char because int might match the return type of a GCC
14452 builtin and then its argument prototype would still apply. */
14453 char remove ();
14455 main (void)
14457 return remove ();
14459 return 0;
14461 _ACEOF
14462 if ac_fn_c_try_link "$LINENO"
14463 then :
14464 ac_cv_lib_posix_remove=yes
14465 else $as_nop
14466 ac_cv_lib_posix_remove=no
14468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_check_lib_save_LIBS
14472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14473 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14474 if test "x$ac_cv_lib_posix_remove" = xyes
14475 then :
14476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14481 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14482 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14483 if test "x$ac_cv_func_shmat" = xyes
14484 then :
14488 if test $ac_cv_func_shmat = no; then
14489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14490 printf %s "checking for shmat in -lipc... " >&6; }
14491 if test ${ac_cv_lib_ipc_shmat+y}
14492 then :
14493 printf %s "(cached) " >&6
14494 else $as_nop
14495 ac_check_lib_save_LIBS=$LIBS
14496 LIBS="-lipc $LIBS"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14500 /* Override any GCC internal prototype to avoid an error.
14501 Use char because int might match the return type of a GCC
14502 builtin and then its argument prototype would still apply. */
14503 char shmat ();
14505 main (void)
14507 return shmat ();
14509 return 0;
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"
14513 then :
14514 ac_cv_lib_ipc_shmat=yes
14515 else $as_nop
14516 ac_cv_lib_ipc_shmat=no
14518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14519 conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_lib_save_LIBS
14522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14523 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14524 if test "x$ac_cv_lib_ipc_shmat" = xyes
14525 then :
14526 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14532 # Check for libraries that X11R6 Xt/Xaw programs need.
14533 ac_save_LDFLAGS=$LDFLAGS
14534 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14535 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14536 # check for ICE first), but we must link in the order -lSM -lICE or
14537 # we get undefined symbols. So assume we have SM if we have ICE.
14538 # These have to be linked with before -lX11, unlike the other
14539 # libraries we check for below, so use a different variable.
14540 # John Interrante, Karl Berry
14541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14542 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14543 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14544 then :
14545 printf %s "(cached) " >&6
14546 else $as_nop
14547 ac_check_lib_save_LIBS=$LIBS
14548 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 char IceConnectionNumber ();
14557 main (void)
14559 return IceConnectionNumber ();
14561 return 0;
14563 _ACEOF
14564 if ac_fn_c_try_link "$LINENO"
14565 then :
14566 ac_cv_lib_ICE_IceConnectionNumber=yes
14567 else $as_nop
14568 ac_cv_lib_ICE_IceConnectionNumber=no
14570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_check_lib_save_LIBS
14574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14575 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14576 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14577 then :
14578 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14581 LDFLAGS=$ac_save_LDFLAGS
14586 if test "$have_x" = "yes"
14587 then
14588 ac_save_CPPFLAGS="$CPPFLAGS"
14589 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14592 printf %s "checking for -lX11... " >&6; }
14593 if test ${ac_cv_lib_soname_X11+y}
14594 then :
14595 printf %s "(cached) " >&6
14596 else $as_nop
14597 ac_check_soname_save_LIBS=$LIBS
14598 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14602 /* Override any GCC internal prototype to avoid an error.
14603 Use char because int might match the return type of a GCC
14604 builtin and then its argument prototype would still apply. */
14605 char XCreateWindow ();
14607 main (void)
14609 return XCreateWindow ();
14611 return 0;
14613 _ACEOF
14614 if ac_fn_c_try_link "$LINENO"
14615 then :
14616 case "$LIBEXT" in
14617 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14618 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'` ;;
14619 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14620 if ${ac_cv_lib_soname_X11:+false} :
14621 then :
14622 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14623 fi ;;
14624 esac
14625 else $as_nop
14626 ac_cv_lib_soname_X11=
14628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14629 conftest$ac_exeext conftest.$ac_ext
14630 LIBS=$ac_check_soname_save_LIBS
14632 if ${ac_cv_lib_soname_X11:+false} :
14633 then :
14634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14635 printf "%s\n" "not found" >&6; }
14637 else $as_nop
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14639 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14641 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14646 printf %s "checking for -lXext... " >&6; }
14647 if test ${ac_cv_lib_soname_Xext+y}
14648 then :
14649 printf %s "(cached) " >&6
14650 else $as_nop
14651 ac_check_soname_save_LIBS=$LIBS
14652 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 char XextCreateExtension ();
14661 main (void)
14663 return XextCreateExtension ();
14665 return 0;
14667 _ACEOF
14668 if ac_fn_c_try_link "$LINENO"
14669 then :
14670 case "$LIBEXT" in
14671 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14672 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'` ;;
14673 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14674 if ${ac_cv_lib_soname_Xext:+false} :
14675 then :
14676 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14677 fi ;;
14678 esac
14679 else $as_nop
14680 ac_cv_lib_soname_Xext=
14682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14683 conftest$ac_exeext conftest.$ac_ext
14684 LIBS=$ac_check_soname_save_LIBS
14686 if ${ac_cv_lib_soname_Xext:+false} :
14687 then :
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14689 printf "%s\n" "not found" >&6; }
14691 else $as_nop
14692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14693 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14695 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14697 X_LIBS="$X_LIBS -lXext"
14699 X_LIBS="$X_LIBS -lX11"
14701 xlib_includes="#include <X11/Xlib.h>
14702 #include <X11/Xutil.h>"
14704 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14706 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14707 then :
14708 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14711 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14713 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14714 then :
14715 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14718 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14720 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14721 then :
14722 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14725 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14727 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14728 then :
14729 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14732 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14734 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14735 then :
14736 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14739 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14741 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14742 then :
14743 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14746 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14748 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14749 then :
14750 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14753 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14755 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14756 then :
14757 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14760 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14762 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14763 then :
14764 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14769 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14771 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14772 then :
14773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14774 printf %s "checking for -lXcursor... " >&6; }
14775 if test ${ac_cv_lib_soname_Xcursor+y}
14776 then :
14777 printf %s "(cached) " >&6
14778 else $as_nop
14779 ac_check_soname_save_LIBS=$LIBS
14780 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14782 /* end confdefs.h. */
14784 /* Override any GCC internal prototype to avoid an error.
14785 Use char because int might match the return type of a GCC
14786 builtin and then its argument prototype would still apply. */
14787 char XcursorImageLoadCursor ();
14789 main (void)
14791 return XcursorImageLoadCursor ();
14793 return 0;
14795 _ACEOF
14796 if ac_fn_c_try_link "$LINENO"
14797 then :
14798 case "$LIBEXT" in
14799 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14800 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'` ;;
14801 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14802 if ${ac_cv_lib_soname_Xcursor:+false} :
14803 then :
14804 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14805 fi ;;
14806 esac
14807 else $as_nop
14808 ac_cv_lib_soname_Xcursor=
14810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14811 conftest$ac_exeext conftest.$ac_ext
14812 LIBS=$ac_check_soname_save_LIBS
14814 if ${ac_cv_lib_soname_Xcursor:+false} :
14815 then :
14816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14817 printf "%s\n" "not found" >&6; }
14819 else $as_nop
14820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14821 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14823 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14829 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14830 then :
14831 case "x$with_xcursor" in
14832 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14833 xno) ;;
14834 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14835 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14836 esac
14840 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14842 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14843 then :
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14845 printf %s "checking for -lXi... " >&6; }
14846 if test ${ac_cv_lib_soname_Xi+y}
14847 then :
14848 printf %s "(cached) " >&6
14849 else $as_nop
14850 ac_check_soname_save_LIBS=$LIBS
14851 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 char XOpenDevice ();
14860 main (void)
14862 return XOpenDevice ();
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"
14868 then :
14869 case "$LIBEXT" in
14870 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14871 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'` ;;
14872 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14873 if ${ac_cv_lib_soname_Xi:+false} :
14874 then :
14875 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14876 fi ;;
14877 esac
14878 else $as_nop
14879 ac_cv_lib_soname_Xi=
14881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14882 conftest$ac_exeext conftest.$ac_ext
14883 LIBS=$ac_check_soname_save_LIBS
14885 if ${ac_cv_lib_soname_Xi:+false} :
14886 then :
14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14888 printf "%s\n" "not found" >&6; }
14890 else $as_nop
14891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14892 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14894 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14900 if test "x$ac_cv_lib_soname_Xi" = "x"
14901 then :
14902 case "x$with_xinput" in
14903 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14904 xno) ;;
14905 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14906 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14907 esac
14911 if test "x$ac_cv_lib_soname_Xi" != x
14912 then
14913 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14914 then :
14915 case "x$with_xinput2" in
14916 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14917 xno) ;;
14918 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14919 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14920 esac
14925 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14926 then
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14928 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14929 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14930 then :
14931 printf %s "(cached) " >&6
14932 else $as_nop
14933 ac_check_lib_save_LIBS=$LIBS
14934 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14938 /* Override any GCC internal prototype to avoid an error.
14939 Use char because int might match the return type of a GCC
14940 builtin and then its argument prototype would still apply. */
14941 char XShmQueryExtension ();
14943 main (void)
14945 return XShmQueryExtension ();
14947 return 0;
14949 _ACEOF
14950 if ac_fn_c_try_link "$LINENO"
14951 then :
14952 ac_cv_lib_Xext_XShmQueryExtension=yes
14953 else $as_nop
14954 ac_cv_lib_Xext_XShmQueryExtension=no
14956 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14957 conftest$ac_exeext conftest.$ac_ext
14958 LIBS=$ac_check_lib_save_LIBS
14960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14961 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14962 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14963 then :
14965 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14970 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14971 then :
14972 case "x$with_xshm" in
14973 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14974 xno) ;;
14975 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14976 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14977 esac
14981 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14982 then
14983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14984 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14985 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14986 then :
14987 printf %s "(cached) " >&6
14988 else $as_nop
14989 ac_check_lib_save_LIBS=$LIBS
14990 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
14997 char XShapeQueryExtension ();
14999 main (void)
15001 return XShapeQueryExtension ();
15003 return 0;
15005 _ACEOF
15006 if ac_fn_c_try_link "$LINENO"
15007 then :
15008 ac_cv_lib_Xext_XShapeQueryExtension=yes
15009 else $as_nop
15010 ac_cv_lib_Xext_XShapeQueryExtension=no
15012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15013 conftest$ac_exeext conftest.$ac_ext
15014 LIBS=$ac_check_lib_save_LIBS
15016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15017 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15018 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15019 then :
15021 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15026 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15027 then :
15028 case "x$with_xshape" in
15029 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15030 xno) ;;
15031 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15032 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15033 esac
15037 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15038 then
15039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15040 printf %s "checking for -lXxf86vm... " >&6; }
15041 if test ${ac_cv_lib_soname_Xxf86vm+y}
15042 then :
15043 printf %s "(cached) " >&6
15044 else $as_nop
15045 ac_check_soname_save_LIBS=$LIBS
15046 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 char XF86VidModeQueryExtension ();
15055 main (void)
15057 return XF86VidModeQueryExtension ();
15059 return 0;
15061 _ACEOF
15062 if ac_fn_c_try_link "$LINENO"
15063 then :
15064 case "$LIBEXT" in
15065 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15066 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'` ;;
15067 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15068 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15069 then :
15070 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15071 fi ;;
15072 esac
15073 else $as_nop
15074 ac_cv_lib_soname_Xxf86vm=
15076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_check_soname_save_LIBS
15080 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15081 then :
15082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15083 printf "%s\n" "not found" >&6; }
15085 else $as_nop
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15087 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15089 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15094 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15095 then :
15096 case "x$with_xxf86vm" in
15097 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15098 xno) ;;
15099 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15100 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15101 esac
15105 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15106 then
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15108 printf %s "checking for -lXrender... " >&6; }
15109 if test ${ac_cv_lib_soname_Xrender+y}
15110 then :
15111 printf %s "(cached) " >&6
15112 else $as_nop
15113 ac_check_soname_save_LIBS=$LIBS
15114 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15118 /* Override any GCC internal prototype to avoid an error.
15119 Use char because int might match the return type of a GCC
15120 builtin and then its argument prototype would still apply. */
15121 char XRenderQueryExtension ();
15123 main (void)
15125 return XRenderQueryExtension ();
15127 return 0;
15129 _ACEOF
15130 if ac_fn_c_try_link "$LINENO"
15131 then :
15132 case "$LIBEXT" in
15133 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15134 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'` ;;
15135 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15136 if ${ac_cv_lib_soname_Xrender:+false} :
15137 then :
15138 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15139 fi ;;
15140 esac
15141 else $as_nop
15142 ac_cv_lib_soname_Xrender=
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15145 conftest$ac_exeext conftest.$ac_ext
15146 LIBS=$ac_check_soname_save_LIBS
15148 if ${ac_cv_lib_soname_Xrender:+false} :
15149 then :
15150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15151 printf "%s\n" "not found" >&6; }
15153 else $as_nop
15154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15155 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15157 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15160 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15161 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15162 then :
15163 printf %s "(cached) " >&6
15164 else $as_nop
15165 ac_check_lib_save_LIBS=$LIBS
15166 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15170 /* Override any GCC internal prototype to avoid an error.
15171 Use char because int might match the return type of a GCC
15172 builtin and then its argument prototype would still apply. */
15173 char XRenderSetPictureTransform ();
15175 main (void)
15177 return XRenderSetPictureTransform ();
15179 return 0;
15181 _ACEOF
15182 if ac_fn_c_try_link "$LINENO"
15183 then :
15184 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15185 else $as_nop
15186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15189 conftest$ac_exeext conftest.$ac_ext
15190 LIBS=$ac_check_lib_save_LIBS
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15193 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15194 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15195 then :
15197 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15202 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15203 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15204 then :
15205 printf %s "(cached) " >&6
15206 else $as_nop
15207 ac_check_lib_save_LIBS=$LIBS
15208 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15212 /* Override any GCC internal prototype to avoid an error.
15213 Use char because int might match the return type of a GCC
15214 builtin and then its argument prototype would still apply. */
15215 char XRenderCreateLinearGradient ();
15217 main (void)
15219 return XRenderCreateLinearGradient ();
15221 return 0;
15223 _ACEOF
15224 if ac_fn_c_try_link "$LINENO"
15225 then :
15226 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15227 else $as_nop
15228 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_check_lib_save_LIBS
15234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15235 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15236 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15237 then :
15239 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15246 if test "x$ac_cv_lib_soname_Xrender" = "x"
15247 then :
15248 case "x$with_xrender" in
15249 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15250 xno) ;;
15251 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15252 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15253 esac
15257 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15258 then
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 #include <X11/Xlib.h>
15262 #include <X11/extensions/Xrandr.h>
15264 main (void)
15266 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15268 return 0;
15270 _ACEOF
15271 if ac_fn_c_try_compile "$LINENO"
15272 then :
15273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15274 printf %s "checking for -lXrandr... " >&6; }
15275 if test ${ac_cv_lib_soname_Xrandr+y}
15276 then :
15277 printf %s "(cached) " >&6
15278 else $as_nop
15279 ac_check_soname_save_LIBS=$LIBS
15280 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15282 /* end confdefs.h. */
15284 /* Override any GCC internal prototype to avoid an error.
15285 Use char because int might match the return type of a GCC
15286 builtin and then its argument prototype would still apply. */
15287 char XRRQueryExtension ();
15289 main (void)
15291 return XRRQueryExtension ();
15293 return 0;
15295 _ACEOF
15296 if ac_fn_c_try_link "$LINENO"
15297 then :
15298 case "$LIBEXT" in
15299 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15300 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'` ;;
15301 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15302 if ${ac_cv_lib_soname_Xrandr:+false} :
15303 then :
15304 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15305 fi ;;
15306 esac
15307 else $as_nop
15308 ac_cv_lib_soname_Xrandr=
15310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15311 conftest$ac_exeext conftest.$ac_ext
15312 LIBS=$ac_check_soname_save_LIBS
15314 if ${ac_cv_lib_soname_Xrandr:+false} :
15315 then :
15316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15317 printf "%s\n" "not found" >&6; }
15319 else $as_nop
15320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15321 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15323 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 #include <X11/Xlib.h>
15328 #include <X11/extensions/Xrandr.h>
15330 main (void)
15332 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15334 return 0;
15336 _ACEOF
15337 if ac_fn_c_try_compile "$LINENO"
15338 then :
15340 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15342 else $as_nop
15343 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15350 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15351 then :
15352 case "x$with_xrandr" in
15353 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15354 xno) ;;
15355 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15356 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15357 esac
15361 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15362 then
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 #include <X11/Xlib.h>
15366 #include <X11/extensions/Xfixes.h>
15368 main (void)
15370 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15372 return 0;
15374 _ACEOF
15375 if ac_fn_c_try_compile "$LINENO"
15376 then :
15377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15378 printf %s "checking for -lXfixes... " >&6; }
15379 if test ${ac_cv_lib_soname_Xfixes+y}
15380 then :
15381 printf %s "(cached) " >&6
15382 else $as_nop
15383 ac_check_soname_save_LIBS=$LIBS
15384 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15386 /* end confdefs.h. */
15388 /* Override any GCC internal prototype to avoid an error.
15389 Use char because int might match the return type of a GCC
15390 builtin and then its argument prototype would still apply. */
15391 char XFixesQueryVersion ();
15393 main (void)
15395 return XFixesQueryVersion ();
15397 return 0;
15399 _ACEOF
15400 if ac_fn_c_try_link "$LINENO"
15401 then :
15402 case "$LIBEXT" in
15403 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15404 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'` ;;
15405 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15406 if ${ac_cv_lib_soname_Xfixes:+false} :
15407 then :
15408 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15409 fi ;;
15410 esac
15411 else $as_nop
15412 ac_cv_lib_soname_Xfixes=
15414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15415 conftest$ac_exeext conftest.$ac_ext
15416 LIBS=$ac_check_soname_save_LIBS
15418 if ${ac_cv_lib_soname_Xfixes:+false} :
15419 then :
15420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15421 printf "%s\n" "not found" >&6; }
15423 else $as_nop
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15425 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15427 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15434 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15435 then :
15436 case "x$with_xfixes" in
15437 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15438 xno) ;;
15439 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15440 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15441 esac
15445 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15446 then
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15449 #include <X11/Xlib.h>
15450 #include <X11/extensions/Xinerama.h>
15452 main (void)
15454 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15456 return 0;
15458 _ACEOF
15459 if ac_fn_c_try_compile "$LINENO"
15460 then :
15461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15462 printf %s "checking for -lXinerama... " >&6; }
15463 if test ${ac_cv_lib_soname_Xinerama+y}
15464 then :
15465 printf %s "(cached) " >&6
15466 else $as_nop
15467 ac_check_soname_save_LIBS=$LIBS
15468 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15470 /* end confdefs.h. */
15472 /* Override any GCC internal prototype to avoid an error.
15473 Use char because int might match the return type of a GCC
15474 builtin and then its argument prototype would still apply. */
15475 char XineramaQueryScreens ();
15477 main (void)
15479 return XineramaQueryScreens ();
15481 return 0;
15483 _ACEOF
15484 if ac_fn_c_try_link "$LINENO"
15485 then :
15486 case "$LIBEXT" in
15487 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15488 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'` ;;
15489 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15490 if ${ac_cv_lib_soname_Xinerama:+false} :
15491 then :
15492 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15493 fi ;;
15494 esac
15495 else $as_nop
15496 ac_cv_lib_soname_Xinerama=
15498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15499 conftest$ac_exeext conftest.$ac_ext
15500 LIBS=$ac_check_soname_save_LIBS
15502 if ${ac_cv_lib_soname_Xinerama:+false} :
15503 then :
15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15505 printf "%s\n" "not found" >&6; }
15507 else $as_nop
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15509 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15511 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15518 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15519 then :
15520 case "x$with_xinerama" in
15521 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15522 xno) ;;
15523 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15524 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15525 esac
15529 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15531 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15532 then :
15533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15534 printf %s "checking for -lXcomposite... " >&6; }
15535 if test ${ac_cv_lib_soname_Xcomposite+y}
15536 then :
15537 printf %s "(cached) " >&6
15538 else $as_nop
15539 ac_check_soname_save_LIBS=$LIBS
15540 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15542 /* end confdefs.h. */
15544 /* Override any GCC internal prototype to avoid an error.
15545 Use char because int might match the return type of a GCC
15546 builtin and then its argument prototype would still apply. */
15547 char XCompositeRedirectWindow ();
15549 main (void)
15551 return XCompositeRedirectWindow ();
15553 return 0;
15555 _ACEOF
15556 if ac_fn_c_try_link "$LINENO"
15557 then :
15558 case "$LIBEXT" in
15559 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15560 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'` ;;
15561 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15562 if ${ac_cv_lib_soname_Xcomposite:+false} :
15563 then :
15564 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15565 fi ;;
15566 esac
15567 else $as_nop
15568 ac_cv_lib_soname_Xcomposite=
15570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15571 conftest$ac_exeext conftest.$ac_ext
15572 LIBS=$ac_check_soname_save_LIBS
15574 if ${ac_cv_lib_soname_Xcomposite:+false} :
15575 then :
15576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15577 printf "%s\n" "not found" >&6; }
15579 else $as_nop
15580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15581 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15583 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15589 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15590 then :
15591 case "x$with_xcomposite" in
15592 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15593 xno) ;;
15594 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15595 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15596 esac
15600 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15602 if test "x$ac_cv_member_XICCallback_callback" = xyes
15603 then :
15605 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15609 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15611 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15612 then :
15614 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15621 opengl_msg=""
15622 if test "x$with_opengl" != "xno"
15623 then
15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15625 printf %s "checking for -lGL... " >&6; }
15626 if test ${ac_cv_lib_soname_GL+y}
15627 then :
15628 printf %s "(cached) " >&6
15629 else $as_nop
15630 ac_check_soname_save_LIBS=$LIBS
15631 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15633 /* end confdefs.h. */
15635 /* Override any GCC internal prototype to avoid an error.
15636 Use char because int might match the return type of a GCC
15637 builtin and then its argument prototype would still apply. */
15638 char glXCreateContext ();
15640 main (void)
15642 return glXCreateContext ();
15644 return 0;
15646 _ACEOF
15647 if ac_fn_c_try_link "$LINENO"
15648 then :
15649 case "$LIBEXT" in
15650 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15651 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'` ;;
15652 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15653 if ${ac_cv_lib_soname_GL:+false} :
15654 then :
15655 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15656 fi ;;
15657 esac
15658 else $as_nop
15659 ac_cv_lib_soname_GL=
15661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15662 conftest$ac_exeext conftest.$ac_ext
15663 LIBS=$ac_check_soname_save_LIBS
15665 if ${ac_cv_lib_soname_GL:+false} :
15666 then :
15667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15668 printf "%s\n" "not found" >&6; }
15669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15670 printf %s "checking for -lGL... " >&6; }
15671 if test ${ac_cv_lib_soname_GL+y}
15672 then :
15673 printf %s "(cached) " >&6
15674 else $as_nop
15675 ac_check_soname_save_LIBS=$LIBS
15676 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"
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 /* Override any GCC internal prototype to avoid an error.
15681 Use char because int might match the return type of a GCC
15682 builtin and then its argument prototype would still apply. */
15683 char glXCreateContext ();
15685 main (void)
15687 return glXCreateContext ();
15689 return 0;
15691 _ACEOF
15692 if ac_fn_c_try_link "$LINENO"
15693 then :
15694 case "$LIBEXT" in
15695 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15696 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'` ;;
15697 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15698 if ${ac_cv_lib_soname_GL:+false} :
15699 then :
15700 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15701 fi ;;
15702 esac
15703 else $as_nop
15704 ac_cv_lib_soname_GL=
15706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15707 conftest$ac_exeext conftest.$ac_ext
15708 LIBS=$ac_check_soname_save_LIBS
15710 if ${ac_cv_lib_soname_GL:+false} :
15711 then :
15712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15713 printf "%s\n" "not found" >&6; }
15714 if test -f /usr/X11R6/lib/libGL.a
15715 then
15716 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15717 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15718 else
15719 opengl_msg="No OpenGL library found on this system."
15721 else $as_nop
15722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15723 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15725 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15727 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"
15729 else $as_nop
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15731 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15733 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15735 OPENGL_LIBS="-lGL"
15737 if test "x$with_osmesa" != "xno"
15738 then
15739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15740 printf %s "checking for -lOSMesa... " >&6; }
15741 if test ${ac_cv_lib_soname_OSMesa+y}
15742 then :
15743 printf %s "(cached) " >&6
15744 else $as_nop
15745 ac_check_soname_save_LIBS=$LIBS
15746 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748 /* end confdefs.h. */
15750 /* Override any GCC internal prototype to avoid an error.
15751 Use char because int might match the return type of a GCC
15752 builtin and then its argument prototype would still apply. */
15753 char OSMesaGetProcAddress ();
15755 main (void)
15757 return OSMesaGetProcAddress ();
15759 return 0;
15761 _ACEOF
15762 if ac_fn_c_try_link "$LINENO"
15763 then :
15764 case "$LIBEXT" in
15765 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15766 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'` ;;
15767 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15768 if ${ac_cv_lib_soname_OSMesa:+false} :
15769 then :
15770 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15771 fi ;;
15772 esac
15773 else $as_nop
15774 ac_cv_lib_soname_OSMesa=
15776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15777 conftest$ac_exeext conftest.$ac_ext
15778 LIBS=$ac_check_soname_save_LIBS
15780 if ${ac_cv_lib_soname_OSMesa:+false} :
15781 then :
15782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15783 printf "%s\n" "not found" >&6; }
15785 else $as_nop
15786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15787 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15789 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15793 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15794 then :
15795 case "x$with_osmesa" in
15796 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15797 xno) ;;
15798 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15799 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15800 esac
15805 if test -n "$opengl_msg"
15806 then :
15807 case "x$with_opengl" in
15808 x) as_fn_append wine_warnings "|$opengl_msg
15809 OpenGL and Direct3D won't be supported." ;;
15810 xno) ;;
15811 *) as_fn_error $? "$opengl_msg
15812 OpenGL and Direct3D won't be supported.
15813 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15814 esac
15818 CPPFLAGS="$ac_save_CPPFLAGS"
15819 else
15820 X_CFLAGS=""
15821 X_LIBS=""
15824 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15825 then
15826 if test "x$X_LIBS" = "x"
15827 then :
15828 case "x$with_x" in
15829 xno) ;;
15830 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15831 without X support, which probably isn't what you want. You will need
15832 to install ${notice_platform}development packages of Xlib at the very least.
15833 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15834 esac
15835 enable_winex11_drv=${enable_winex11_drv:-no}
15837 else
15838 if test "x$X_LIBS" = "x"
15839 then :
15840 case "x$with_x" in
15841 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15842 xno) ;;
15843 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15844 This is an error since --with-x was requested." "$LINENO" 5 ;;
15845 esac
15846 enable_winex11_drv=${enable_winex11_drv:-no}
15850 if test "x$with_wayland" != "xno"
15851 then
15852 rm -f conftest.err
15853 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15854 then :
15855 if test ${PKG_CONFIG+y}
15856 then :
15857 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15861 if ${WAYLAND_CLIENT_LIBS:+false} :
15862 then :
15863 if test ${PKG_CONFIG+y}
15864 then :
15865 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15872 if test -s conftest.err; then
15873 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15874 cat conftest.err >&5
15876 rm -f conftest.err
15877 ac_save_CPPFLAGS=$CPPFLAGS
15878 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15879 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15880 if test "x$ac_cv_header_wayland_client_h" = xyes
15881 then :
15882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15883 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15884 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15885 then :
15886 printf %s "(cached) " >&6
15887 else $as_nop
15888 ac_check_lib_save_LIBS=$LIBS
15889 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15893 /* Override any GCC internal prototype to avoid an error.
15894 Use char because int might match the return type of a GCC
15895 builtin and then its argument prototype would still apply. */
15896 char wl_display_connect ();
15898 main (void)
15900 return wl_display_connect ();
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_link "$LINENO"
15906 then :
15907 ac_cv_lib_wayland_client_wl_display_connect=yes
15908 else $as_nop
15909 ac_cv_lib_wayland_client_wl_display_connect=no
15911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15912 conftest$ac_exeext conftest.$ac_ext
15913 LIBS=$ac_check_lib_save_LIBS
15915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15916 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15917 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15918 then :
15919 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15920 set dummy wayland-scanner; ac_word=$2
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15922 printf %s "checking for $ac_word... " >&6; }
15923 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15924 then :
15925 printf %s "(cached) " >&6
15926 else $as_nop
15927 case $WAYLAND_SCANNER in
15928 [\\/]* | ?:[\\/]*)
15929 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15933 for as_dir in $PATH
15935 IFS=$as_save_IFS
15936 case $as_dir in #(((
15937 '') as_dir=./ ;;
15938 */) ;;
15939 *) as_dir=$as_dir/ ;;
15940 esac
15941 for ac_exec_ext in '' $ac_executable_extensions; do
15942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15943 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15945 break 2
15947 done
15948 done
15949 IFS=$as_save_IFS
15951 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`"
15953 esac
15955 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15956 if test -n "$WAYLAND_SCANNER"; then
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15958 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15959 else
15960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15961 printf "%s\n" "no" >&6; }
15965 else $as_nop
15966 WAYLAND_CLIENT_LIBS=""
15971 CPPFLAGS=$ac_save_CPPFLAGS
15973 rm -f conftest.err
15974 if ${XKBCOMMON_CFLAGS:+false} :
15975 then :
15976 if test ${PKG_CONFIG+y}
15977 then :
15978 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
15982 if ${XKBCOMMON_LIBS:+false} :
15983 then :
15984 if test ${PKG_CONFIG+y}
15985 then :
15986 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
15991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
15992 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
15993 if test -s conftest.err; then
15994 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
15995 cat conftest.err >&5
15997 rm -f conftest.err
15998 ac_save_CPPFLAGS=$CPPFLAGS
15999 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
16000 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
16001 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
16002 then :
16003 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
16007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
16008 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
16009 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
16010 then :
16011 printf %s "(cached) " >&6
16012 else $as_nop
16013 ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16021 char xkb_context_new ();
16023 main (void)
16025 return xkb_context_new ();
16027 return 0;
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"
16031 then :
16032 ac_cv_lib_xkbcommon_xkb_context_new=yes
16033 else $as_nop
16034 ac_cv_lib_xkbcommon_xkb_context_new=no
16036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16037 conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_lib_save_LIBS
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
16041 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
16042 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
16043 then :
16045 else $as_nop
16046 XKBCOMMON_LIBS=""
16049 CPPFLAGS=$ac_save_CPPFLAGS
16051 rm -f conftest.err
16052 if ${XKBREGISTRY_CFLAGS:+false} :
16053 then :
16054 if test ${PKG_CONFIG+y}
16055 then :
16056 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
16060 if ${XKBREGISTRY_LIBS:+false} :
16061 then :
16062 if test ${PKG_CONFIG+y}
16063 then :
16064 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
16069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
16070 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
16071 if test -s conftest.err; then
16072 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
16073 cat conftest.err >&5
16075 rm -f conftest.err
16076 ac_save_CPPFLAGS=$CPPFLAGS
16077 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
16078 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
16079 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
16080 then :
16081 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16086 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16087 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16088 then :
16089 printf %s "(cached) " >&6
16090 else $as_nop
16091 ac_check_lib_save_LIBS=$LIBS
16092 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 char rxkb_context_new ();
16101 main (void)
16103 return rxkb_context_new ();
16105 return 0;
16107 _ACEOF
16108 if ac_fn_c_try_link "$LINENO"
16109 then :
16110 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16111 else $as_nop
16112 ac_cv_lib_xkbregistry_rxkb_context_new=no
16114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16115 conftest$ac_exeext conftest.$ac_ext
16116 LIBS=$ac_check_lib_save_LIBS
16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16119 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16120 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16121 then :
16123 else $as_nop
16124 XKBREGISTRY_LIBS=""
16127 CPPFLAGS=$ac_save_CPPFLAGS
16130 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"
16131 then :
16132 case "x$with_wayland" in
16133 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16134 xno) ;;
16135 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16136 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16137 esac
16138 enable_winewayland_drv=${enable_winewayland_drv:-no}
16141 if test "$ac_cv_header_CL_cl_h" = "yes"
16142 then
16143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16144 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16145 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16146 then :
16147 printf %s "(cached) " >&6
16148 else $as_nop
16149 ac_check_lib_save_LIBS=$LIBS
16150 LIBS="-lOpenCL $LIBS"
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16154 /* Override any GCC internal prototype to avoid an error.
16155 Use char because int might match the return type of a GCC
16156 builtin and then its argument prototype would still apply. */
16157 char clGetPlatformInfo ();
16159 main (void)
16161 return clGetPlatformInfo ();
16163 return 0;
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"
16167 then :
16168 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16169 else $as_nop
16170 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16173 conftest$ac_exeext conftest.$ac_ext
16174 LIBS=$ac_check_lib_save_LIBS
16176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16177 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16178 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16179 then :
16180 OPENCL_LIBS="-lOpenCL"
16185 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16186 then :
16187 case "x$with_opencl" in
16188 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16189 xno) ;;
16190 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16191 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16192 esac
16193 enable_opencl=${enable_opencl:-no}
16196 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16197 then
16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16199 printf %s "checking for pcap_init in -lpcap... " >&6; }
16200 if test ${ac_cv_lib_pcap_pcap_init+y}
16201 then :
16202 printf %s "(cached) " >&6
16203 else $as_nop
16204 ac_check_lib_save_LIBS=$LIBS
16205 LIBS="-lpcap $LIBS"
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16209 /* Override any GCC internal prototype to avoid an error.
16210 Use char because int might match the return type of a GCC
16211 builtin and then its argument prototype would still apply. */
16212 char pcap_init ();
16214 main (void)
16216 return pcap_init ();
16218 return 0;
16220 _ACEOF
16221 if ac_fn_c_try_link "$LINENO"
16222 then :
16223 ac_cv_lib_pcap_pcap_init=yes
16224 else $as_nop
16225 ac_cv_lib_pcap_pcap_init=no
16227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16228 conftest$ac_exeext conftest.$ac_ext
16229 LIBS=$ac_check_lib_save_LIBS
16231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16232 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16233 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16234 then :
16235 PCAP_LIBS="-lpcap"
16240 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16241 then :
16242 case "x$with_pcap" in
16243 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16244 xno) ;;
16245 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16246 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16247 esac
16248 enable_wpcap=${enable_wpcap:-no}
16251 if test "x$with_pcsclite" != "xno"
16252 then
16253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16254 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16255 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16256 then :
16257 printf %s "(cached) " >&6
16258 else $as_nop
16259 ac_check_lib_save_LIBS=$LIBS
16260 LIBS="-lpcsclite $LIBS"
16261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16262 /* end confdefs.h. */
16264 /* Override any GCC internal prototype to avoid an error.
16265 Use char because int might match the return type of a GCC
16266 builtin and then its argument prototype would still apply. */
16267 char SCardEstablishContext ();
16269 main (void)
16271 return SCardEstablishContext ();
16273 return 0;
16275 _ACEOF
16276 if ac_fn_c_try_link "$LINENO"
16277 then :
16278 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16279 else $as_nop
16280 ac_cv_lib_pcsclite_SCardEstablishContext=no
16282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16283 conftest$ac_exeext conftest.$ac_ext
16284 LIBS=$ac_check_lib_save_LIBS
16286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16287 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16288 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16289 then :
16290 PCSCLITE_LIBS="-lpcsclite"
16292 else $as_nop
16293 case $host_os in
16294 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16296 esac
16300 if test "x$PCSCLITE_LIBS" = x
16301 then :
16302 case "x$with_pcsclite" in
16303 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16304 xno) ;;
16305 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16306 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16307 esac
16308 enable_winscard=${enable_winscard:-no}
16311 if test "x$with_inotify" != "xno"
16312 then
16313 rm -f conftest.err
16314 if ${INOTIFY_CFLAGS:+false} :
16315 then :
16316 if test ${PKG_CONFIG+y}
16317 then :
16318 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16322 if ${INOTIFY_LIBS:+false} :
16323 then :
16324 if test ${PKG_CONFIG+y}
16325 then :
16326 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16332 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16333 if test -s conftest.err; then
16334 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16335 cat conftest.err >&5
16337 rm -f conftest.err
16338 ac_save_CPPFLAGS=$CPPFLAGS
16339 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16340 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16341 if test "x$ac_cv_header_sys_inotify_h" = xyes
16342 then :
16343 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16348 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16349 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16350 then :
16351 printf %s "(cached) " >&6
16352 else $as_nop
16353 ac_check_lib_save_LIBS=$LIBS
16354 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16356 /* end confdefs.h. */
16358 /* Override any GCC internal prototype to avoid an error.
16359 Use char because int might match the return type of a GCC
16360 builtin and then its argument prototype would still apply. */
16361 char inotify_add_watch ();
16363 main (void)
16365 return inotify_add_watch ();
16367 return 0;
16369 _ACEOF
16370 if ac_fn_c_try_link "$LINENO"
16371 then :
16372 ac_cv_lib_inotify_inotify_add_watch=yes
16373 else $as_nop
16374 ac_cv_lib_inotify_inotify_add_watch=no
16376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16377 conftest$ac_exeext conftest.$ac_ext
16378 LIBS=$ac_check_lib_save_LIBS
16380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16381 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16382 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16383 then :
16385 else $as_nop
16386 INOTIFY_LIBS=""
16389 CPPFLAGS=$ac_save_CPPFLAGS
16392 if test "$ac_cv_header_sys_inotify_h" != "yes"
16393 then :
16394 case "x$with_inotify" in
16395 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16396 xno) ;;
16397 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16398 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16399 esac
16403 if test "x$with_dbus" != "xno"
16404 then
16405 rm -f conftest.err
16406 if ${DBUS_CFLAGS:+false} :
16407 then :
16408 if test ${PKG_CONFIG+y}
16409 then :
16410 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16414 if ${DBUS_LIBS:+false} :
16415 then :
16416 if test ${PKG_CONFIG+y}
16417 then :
16418 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16424 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16425 if test -s conftest.err; then
16426 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16427 cat conftest.err >&5
16429 rm -f conftest.err
16430 ac_save_CPPFLAGS=$CPPFLAGS
16431 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16432 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16433 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16434 then :
16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16436 printf %s "checking for -ldbus-1... " >&6; }
16437 if test ${ac_cv_lib_soname_dbus_1+y}
16438 then :
16439 printf %s "(cached) " >&6
16440 else $as_nop
16441 ac_check_soname_save_LIBS=$LIBS
16442 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16446 /* Override any GCC internal prototype to avoid an error.
16447 Use char because int might match the return type of a GCC
16448 builtin and then its argument prototype would still apply. */
16449 char dbus_connection_close ();
16451 main (void)
16453 return dbus_connection_close ();
16455 return 0;
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"
16459 then :
16460 case "$LIBEXT" in
16461 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16462 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'` ;;
16463 *) 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'`
16464 if ${ac_cv_lib_soname_dbus_1:+false} :
16465 then :
16466 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16467 fi ;;
16468 esac
16469 else $as_nop
16470 ac_cv_lib_soname_dbus_1=
16472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16473 conftest$ac_exeext conftest.$ac_ext
16474 LIBS=$ac_check_soname_save_LIBS
16476 if ${ac_cv_lib_soname_dbus_1:+false} :
16477 then :
16478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16479 printf "%s\n" "not found" >&6; }
16480 DBUS_CFLAGS=""
16481 else $as_nop
16482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16483 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16485 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16489 else $as_nop
16490 DBUS_CFLAGS=""
16493 CPPFLAGS=$ac_save_CPPFLAGS
16496 case $host_os in
16497 darwin*|macosx*) ;;
16498 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16499 then :
16500 case "x$with_dbus" in
16501 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16502 xno) ;;
16503 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16504 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16505 esac
16507 fi ;;
16508 esac
16510 if test "x$with_gnutls" != "xno"
16511 then
16512 rm -f conftest.err
16513 if ${GNUTLS_CFLAGS:+false} :
16514 then :
16515 if test ${PKG_CONFIG+y}
16516 then :
16517 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16521 if ${GNUTLS_LIBS:+false} :
16522 then :
16523 if test ${PKG_CONFIG+y}
16524 then :
16525 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16529 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16530 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16532 if test -s conftest.err; then
16533 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16534 cat conftest.err >&5
16536 rm -f conftest.err
16537 ac_save_CPPFLAGS=$CPPFLAGS
16538 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16539 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16540 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16541 then :
16542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16543 /* end confdefs.h. */
16544 #include <gnutls/gnutls.h>
16545 #include <gnutls/crypto.h>
16547 main (void)
16549 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16551 return 0;
16553 _ACEOF
16554 if ac_fn_c_try_compile "$LINENO"
16555 then :
16556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16557 printf %s "checking for -lgnutls... " >&6; }
16558 if test ${ac_cv_lib_soname_gnutls+y}
16559 then :
16560 printf %s "(cached) " >&6
16561 else $as_nop
16562 ac_check_soname_save_LIBS=$LIBS
16563 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16567 /* Override any GCC internal prototype to avoid an error.
16568 Use char because int might match the return type of a GCC
16569 builtin and then its argument prototype would still apply. */
16570 char gnutls_global_init ();
16572 main (void)
16574 return gnutls_global_init ();
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_link "$LINENO"
16580 then :
16581 case "$LIBEXT" in
16582 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16583 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'` ;;
16584 *) 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'`
16585 if ${ac_cv_lib_soname_gnutls:+false} :
16586 then :
16587 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'`
16588 fi ;;
16589 esac
16590 else $as_nop
16591 ac_cv_lib_soname_gnutls=
16593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16594 conftest$ac_exeext conftest.$ac_ext
16595 LIBS=$ac_check_soname_save_LIBS
16597 if ${ac_cv_lib_soname_gnutls:+false} :
16598 then :
16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16600 printf "%s\n" "not found" >&6; }
16601 GNUTLS_CFLAGS=""
16602 else $as_nop
16603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16604 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16606 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16610 ac_wine_check_funcs_save_LIBS="$LIBS"
16611 LIBS="$LIBS $GNUTLS_LIBS"
16613 for ac_func in gnutls_cipher_init
16614 do :
16615 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16616 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16617 then :
16618 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16620 else $as_nop
16621 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16624 done
16625 LIBS="$ac_wine_check_funcs_save_LIBS"
16627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16628 else $as_nop
16629 GNUTLS_CFLAGS=""
16632 CPPFLAGS=$ac_save_CPPFLAGS
16635 if test "x$ac_cv_lib_soname_gnutls" = "x"
16636 then :
16637 case "x$with_gnutls" in
16638 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16639 xno) ;;
16640 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16641 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16642 esac
16646 if test "x$with_sane" != "xno"
16647 then
16648 rm -f conftest.err
16649 if ${SANE_CFLAGS:+false} :
16650 then :
16651 if test ${PKG_CONFIG+y}
16652 then :
16653 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16656 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16657 if ${SANE_LIBS:+false} :
16658 then :
16659 if test ${PKG_CONFIG+y}
16660 then :
16661 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16664 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16666 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16668 if test -s conftest.err; then
16669 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16670 cat conftest.err >&5
16672 rm -f conftest.err
16673 ac_save_CPPFLAGS=$CPPFLAGS
16674 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16675 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16676 if test "x$ac_cv_header_sane_sane_h" = xyes
16677 then :
16678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16679 printf %s "checking for sane_init in -lsane... " >&6; }
16680 if test ${ac_cv_lib_sane_sane_init+y}
16681 then :
16682 printf %s "(cached) " >&6
16683 else $as_nop
16684 ac_check_lib_save_LIBS=$LIBS
16685 LIBS="-lsane $SANE_LIBS $LIBS"
16686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16689 /* Override any GCC internal prototype to avoid an error.
16690 Use char because int might match the return type of a GCC
16691 builtin and then its argument prototype would still apply. */
16692 char sane_init ();
16694 main (void)
16696 return sane_init ();
16698 return 0;
16700 _ACEOF
16701 if ac_fn_c_try_link "$LINENO"
16702 then :
16703 ac_cv_lib_sane_sane_init=yes
16704 else $as_nop
16705 ac_cv_lib_sane_sane_init=no
16707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16708 conftest$ac_exeext conftest.$ac_ext
16709 LIBS=$ac_check_lib_save_LIBS
16711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16712 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16713 if test "x$ac_cv_lib_sane_sane_init" = xyes
16714 then :
16720 CPPFLAGS=$ac_save_CPPFLAGS
16723 if test "$ac_cv_lib_sane_sane_init" != "yes"
16724 then :
16725 case "x$with_sane" in
16726 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16727 xno) ;;
16728 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16729 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16730 esac
16731 enable_sane_ds=${enable_sane_ds:-no}
16734 if test "x$with_usb" != "xno"
16735 then
16736 rm -f conftest.err
16737 if ${USB_CFLAGS:+false} :
16738 then :
16739 if test ${PKG_CONFIG+y}
16740 then :
16741 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16745 if ${USB_LIBS:+false} :
16746 then :
16747 if test ${PKG_CONFIG+y}
16748 then :
16749 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16753 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16756 if test -s conftest.err; then
16757 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16758 cat conftest.err >&5
16760 rm -f conftest.err
16761 ac_save_CPPFLAGS=$CPPFLAGS
16762 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16763 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16764 if test "x$ac_cv_header_libusb_h" = xyes
16765 then :
16766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16767 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16768 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16769 then :
16770 printf %s "(cached) " >&6
16771 else $as_nop
16772 ac_check_lib_save_LIBS=$LIBS
16773 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16777 /* Override any GCC internal prototype to avoid an error.
16778 Use char because int might match the return type of a GCC
16779 builtin and then its argument prototype would still apply. */
16780 char libusb_interrupt_event_handler ();
16782 main (void)
16784 return libusb_interrupt_event_handler ();
16786 return 0;
16788 _ACEOF
16789 if ac_fn_c_try_link "$LINENO"
16790 then :
16791 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16792 else $as_nop
16793 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16796 conftest$ac_exeext conftest.$ac_ext
16797 LIBS=$ac_check_lib_save_LIBS
16799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16800 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16801 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16802 then :
16804 else $as_nop
16805 USB_LIBS=""
16808 else $as_nop
16809 USB_LIBS=""
16812 CPPFLAGS=$ac_save_CPPFLAGS
16815 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16816 then :
16817 case "x$with_usb" in
16818 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16819 xno) ;;
16820 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16821 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16822 esac
16823 enable_wineusb_sys=${enable_wineusb_sys:-no}
16826 if test "x$with_v4l2" != "xno"
16827 then
16828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16829 printf %s "checking for -lv4l2... " >&6; }
16830 if test ${ac_cv_lib_soname_v4l2+y}
16831 then :
16832 printf %s "(cached) " >&6
16833 else $as_nop
16834 ac_check_soname_save_LIBS=$LIBS
16835 LIBS="-lv4l2 $LIBS"
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16842 char v4l2_open ();
16844 main (void)
16846 return v4l2_open ();
16848 return 0;
16850 _ACEOF
16851 if ac_fn_c_try_link "$LINENO"
16852 then :
16853 case "$LIBEXT" in
16854 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16855 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'` ;;
16856 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16857 if ${ac_cv_lib_soname_v4l2:+false} :
16858 then :
16859 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16860 fi ;;
16861 esac
16862 else $as_nop
16863 ac_cv_lib_soname_v4l2=
16865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16866 conftest$ac_exeext conftest.$ac_ext
16867 LIBS=$ac_check_soname_save_LIBS
16869 if ${ac_cv_lib_soname_v4l2:+false} :
16870 then :
16871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16872 printf "%s\n" "not found" >&6; }
16874 else $as_nop
16875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16876 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16878 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16883 if test "x$ac_cv_lib_soname_v4l2" = "x"
16884 then :
16885 case "x$with_v4l2" in
16886 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16887 xno) ;;
16888 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16889 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16890 esac
16894 if test "x$with_gphoto" != "xno"
16895 then
16896 rm -f conftest.err
16897 if ${GPHOTO2_CFLAGS:+false} :
16898 then :
16899 if test ${PKG_CONFIG+y}
16900 then :
16901 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16904 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16905 if ${GPHOTO2_LIBS:+false} :
16906 then :
16907 if test ${PKG_CONFIG+y}
16908 then :
16909 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16912 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16913 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16914 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16915 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16916 if test -s conftest.err; then
16917 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16918 cat conftest.err >&5
16920 rm -f conftest.err
16921 ac_save_CPPFLAGS=$CPPFLAGS
16922 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16923 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16924 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16925 then :
16926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16927 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16928 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16929 then :
16930 printf %s "(cached) " >&6
16931 else $as_nop
16932 ac_check_lib_save_LIBS=$LIBS
16933 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16940 char gp_camera_new ();
16942 main (void)
16944 return gp_camera_new ();
16946 return 0;
16948 _ACEOF
16949 if ac_fn_c_try_link "$LINENO"
16950 then :
16951 ac_cv_lib_gphoto2_gp_camera_new=yes
16952 else $as_nop
16953 ac_cv_lib_gphoto2_gp_camera_new=no
16955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16956 conftest$ac_exeext conftest.$ac_ext
16957 LIBS=$ac_check_lib_save_LIBS
16959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16960 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16961 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16962 then :
16968 CPPFLAGS=$ac_save_CPPFLAGS
16970 rm -f conftest.err
16971 if ${GPHOTO2_PORT_CFLAGS:+false} :
16972 then :
16973 if test ${PKG_CONFIG+y}
16974 then :
16975 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16978 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16979 if ${GPHOTO2_PORT_LIBS:+false} :
16980 then :
16981 if test ${PKG_CONFIG+y}
16982 then :
16983 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16986 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16987 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16990 if test -s conftest.err; then
16991 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16992 cat conftest.err >&5
16994 rm -f conftest.err
16995 ac_save_CPPFLAGS=$CPPFLAGS
16996 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16997 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16998 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16999 then :
17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
17001 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
17002 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
17003 then :
17004 printf %s "(cached) " >&6
17005 else $as_nop
17006 ac_check_lib_save_LIBS=$LIBS
17007 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17011 /* Override any GCC internal prototype to avoid an error.
17012 Use char because int might match the return type of a GCC
17013 builtin and then its argument prototype would still apply. */
17014 char gp_port_info_list_new ();
17016 main (void)
17018 return gp_port_info_list_new ();
17020 return 0;
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"
17024 then :
17025 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
17026 else $as_nop
17027 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
17029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17030 conftest$ac_exeext conftest.$ac_ext
17031 LIBS=$ac_check_lib_save_LIBS
17033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
17034 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
17035 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
17036 then :
17038 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
17040 else $as_nop
17041 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17044 else $as_nop
17045 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
17048 CPPFLAGS=$ac_save_CPPFLAGS
17051 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
17052 then :
17053 case "x$with_gphoto" in
17054 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
17055 xno) ;;
17056 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
17057 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17058 esac
17059 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
17061 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
17062 then :
17063 case "x$with_gphoto" in
17064 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
17065 xno) ;;
17066 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
17067 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
17068 esac
17073 if test "$ac_cv_header_resolv_h" = "yes"
17074 then
17075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
17076 printf %s "checking for resolver library... " >&6; }
17077 if test ${ac_cv_have_resolv+y}
17078 then :
17079 printf %s "(cached) " >&6
17080 else $as_nop
17081 ac_save_LIBS="$LIBS"
17082 for lib in '' -lresolv
17084 LIBS="$lib $ac_save_LIBS"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 #ifdef HAVE_NETINET_IN_H
17088 #include <netinet/in.h>
17089 #endif
17090 #include <resolv.h>
17092 main (void)
17094 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17096 return 0;
17098 _ACEOF
17099 if ac_fn_c_try_link "$LINENO"
17100 then :
17101 ac_cv_have_resolv=${lib:-"none required"}
17102 else $as_nop
17103 ac_cv_have_resolv="not found"
17105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17106 conftest$ac_exeext conftest.$ac_ext
17107 test "x$ac_cv_have_resolv" = "xnot found" || break
17108 done
17109 LIBS="$ac_save_LIBS"
17111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17112 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17114 case "$ac_cv_have_resolv" in
17115 "not found") ;;
17116 "none required")
17118 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17121 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17123 RESOLV_LIBS=$ac_cv_have_resolv
17125 esac
17127 if test "x$ac_cv_have_resolv" != "xnot found"
17128 then
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17130 printf %s "checking for res_getservers... " >&6; }
17131 if test ${ac_cv_have_res_getservers+y}
17132 then :
17133 printf %s "(cached) " >&6
17134 else $as_nop
17135 ac_save_LIBS="$LIBS"
17136 LIBS="$RESOLV_LIBS $LIBS"
17137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17139 #include <resolv.h>
17141 main (void)
17143 res_getservers(NULL, NULL, 0);
17145 return 0;
17147 _ACEOF
17148 if ac_fn_c_try_link "$LINENO"
17149 then :
17150 ac_cv_have_res_getservers=yes
17151 else $as_nop
17152 ac_cv_have_res_getservers=no
17154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17155 conftest$ac_exeext conftest.$ac_ext
17156 LIBS="$ac_save_LIBS"
17158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17159 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17160 if test "$ac_cv_have_res_getservers" = "yes"
17161 then
17163 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17169 if test "x$with_freetype" != "xno"
17170 then
17171 rm -f conftest.err
17172 if ${FREETYPE_CFLAGS:+false} :
17173 then :
17174 if test ${PKG_CONFIG+y}
17175 then :
17176 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17179 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17180 if ${FREETYPE_LIBS:+false} :
17181 then :
17182 if test ${PKG_CONFIG+y}
17183 then :
17184 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17187 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17188 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17191 if test -s conftest.err; then
17192 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17193 cat conftest.err >&5
17195 rm -f conftest.err
17196 ac_save_CPPFLAGS=$CPPFLAGS
17197 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17198 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17199 if test "x$ac_cv_header_ft2build_h" = xyes
17200 then :
17201 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17205 if test "$ac_cv_header_ft2build_h" = "yes"
17206 then
17207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17208 printf %s "checking for -lfreetype... " >&6; }
17209 if test ${ac_cv_lib_soname_freetype+y}
17210 then :
17211 printf %s "(cached) " >&6
17212 else $as_nop
17213 ac_check_soname_save_LIBS=$LIBS
17214 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17218 /* Override any GCC internal prototype to avoid an error.
17219 Use char because int might match the return type of a GCC
17220 builtin and then its argument prototype would still apply. */
17221 char FT_Init_FreeType ();
17223 main (void)
17225 return FT_Init_FreeType ();
17227 return 0;
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"
17231 then :
17232 case "$LIBEXT" in
17233 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17234 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'` ;;
17235 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17236 if ${ac_cv_lib_soname_freetype:+false} :
17237 then :
17238 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17239 fi ;;
17240 esac
17241 else $as_nop
17242 ac_cv_lib_soname_freetype=
17244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17245 conftest$ac_exeext conftest.$ac_ext
17246 LIBS=$ac_check_soname_save_LIBS
17248 if ${ac_cv_lib_soname_freetype:+false} :
17249 then :
17250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17251 printf "%s\n" "not found" >&6; }
17252 FREETYPE_LIBS=""
17253 else $as_nop
17254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17255 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17257 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17260 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17262 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17263 #include FT_MODULE_H
17265 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17266 then :
17268 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17274 else
17275 FREETYPE_CFLAGS=""
17276 FREETYPE_LIBS=""
17278 CPPFLAGS=$ac_save_CPPFLAGS
17281 if test "x$ac_cv_lib_soname_freetype" = x
17282 then :
17283 case "x$with_freetype" in
17284 xno) ;;
17285 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17286 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17287 esac
17288 enable_fonts=${enable_fonts:-no}
17291 ac_wine_check_funcs_save_LIBS="$LIBS"
17292 LIBS="$LIBS $PTHREAD_LIBS"
17293 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17294 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17295 then :
17296 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17300 LIBS="$ac_wine_check_funcs_save_LIBS"
17302 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17303 then
17304 if test "$ac_cv_header_gettext_po_h" = "yes"
17305 then
17306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17307 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17308 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17309 then :
17310 printf %s "(cached) " >&6
17311 else $as_nop
17312 ac_check_lib_save_LIBS=$LIBS
17313 LIBS="-lgettextpo $LIBS"
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17317 /* Override any GCC internal prototype to avoid an error.
17318 Use char because int might match the return type of a GCC
17319 builtin and then its argument prototype would still apply. */
17320 char po_message_msgctxt ();
17322 main (void)
17324 return po_message_msgctxt ();
17326 return 0;
17328 _ACEOF
17329 if ac_fn_c_try_link "$LINENO"
17330 then :
17331 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17332 else $as_nop
17333 ac_cv_lib_gettextpo_po_message_msgctxt=no
17335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17336 conftest$ac_exeext conftest.$ac_ext
17337 LIBS=$ac_check_lib_save_LIBS
17339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17340 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17341 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17342 then :
17344 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17346 GETTEXTPO_LIBS="-lgettextpo"
17351 if test "x$GETTEXTPO_LIBS" = "x"
17352 then :
17353 case "x$with_gettextpo" in
17354 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17355 xno) ;;
17356 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17357 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17358 esac
17361 if test "$srcdir" != .
17362 then :
17363 case "x$with_gettextpo" in
17364 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17365 xno) ;;
17366 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17367 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17368 esac
17373 if test "x$with_pulse" != "xno";
17374 then
17375 rm -f conftest.err
17376 if ${PULSE_CFLAGS:+false} :
17377 then :
17378 if test ${PKG_CONFIG+y}
17379 then :
17380 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17384 if ${PULSE_LIBS:+false} :
17385 then :
17386 if test ${PKG_CONFIG+y}
17387 then :
17388 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17395 if test -s conftest.err; then
17396 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17397 cat conftest.err >&5
17399 rm -f conftest.err
17400 ac_save_CPPFLAGS=$CPPFLAGS
17401 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17402 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17403 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17404 then :
17405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17406 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17407 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17408 then :
17409 printf %s "(cached) " >&6
17410 else $as_nop
17411 ac_check_lib_save_LIBS=$LIBS
17412 LIBS="-lpulse $PULSE_LIBS $LIBS"
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17416 /* Override any GCC internal prototype to avoid an error.
17417 Use char because int might match the return type of a GCC
17418 builtin and then its argument prototype would still apply. */
17419 char pa_stream_is_corked ();
17421 main (void)
17423 return pa_stream_is_corked ();
17425 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"
17429 then :
17430 ac_cv_lib_pulse_pa_stream_is_corked=yes
17431 else $as_nop
17432 ac_cv_lib_pulse_pa_stream_is_corked=no
17434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17435 conftest$ac_exeext conftest.$ac_ext
17436 LIBS=$ac_check_lib_save_LIBS
17438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17439 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17440 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17441 then :
17443 else $as_nop
17444 PULSE_LIBS=""
17447 else $as_nop
17448 PULSE_LIBS=""
17451 CPPFLAGS=$ac_save_CPPFLAGS
17454 if test -z "$PULSE_LIBS"
17455 then :
17456 case "x$with_pulse" in
17457 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17458 xno) ;;
17459 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17460 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17461 esac
17462 enable_winepulse_drv=${enable_winepulse_drv:-no}
17465 if test "x$with_gstreamer" != "xno"
17466 then
17467 rm -f conftest.err
17468 if ${GSTREAMER_CFLAGS:+false} :
17469 then :
17470 if test ${PKG_CONFIG+y}
17471 then :
17472 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17476 if ${GSTREAMER_LIBS:+false} :
17477 then :
17478 if test ${PKG_CONFIG+y}
17479 then :
17480 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17485 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
17486 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
17487 if test -s conftest.err; then
17488 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17489 cat conftest.err >&5
17491 rm -f conftest.err
17492 ac_save_CPPFLAGS=$CPPFLAGS
17493 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17494 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17495 if test "x$ac_cv_header_gst_gst_h" = xyes
17496 then :
17497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17498 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <gst/gst.h>
17503 main (void)
17505 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17507 return 0;
17509 _ACEOF
17510 if ac_fn_c_try_compile "$LINENO"
17511 then :
17512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17513 printf "%s\n" "yes" >&6; }
17514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17515 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17516 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17517 then :
17518 printf %s "(cached) " >&6
17519 else $as_nop
17520 ac_check_lib_save_LIBS=$LIBS
17521 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17523 /* end confdefs.h. */
17525 /* Override any GCC internal prototype to avoid an error.
17526 Use char because int might match the return type of a GCC
17527 builtin and then its argument prototype would still apply. */
17528 char gst_pad_new ();
17530 main (void)
17532 return gst_pad_new ();
17534 return 0;
17536 _ACEOF
17537 if ac_fn_c_try_link "$LINENO"
17538 then :
17539 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17540 else $as_nop
17541 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17544 conftest$ac_exeext conftest.$ac_ext
17545 LIBS=$ac_check_lib_save_LIBS
17547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17548 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17549 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17550 then :
17554 else $as_nop
17555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17556 printf "%s\n" "no" >&6; }
17557 ac_glib2_broken=yes
17558 enable_winegstreamer=${enable_winegstreamer:-no}
17559 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17564 CPPFLAGS=$ac_save_CPPFLAGS
17567 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17568 then :
17569 case "x$with_gstreamer" in
17570 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17571 xno) ;;
17572 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17573 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17574 esac
17575 enable_winegstreamer=${enable_winegstreamer:-no}
17578 ALSA_LIBS=""
17580 if test "x$with_alsa" != "xno"
17581 then
17582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17583 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17584 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17585 then :
17586 printf %s "(cached) " >&6
17587 else $as_nop
17588 ac_check_lib_save_LIBS=$LIBS
17589 LIBS="-lasound $LIBS"
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17593 /* Override any GCC internal prototype to avoid an error.
17594 Use char because int might match the return type of a GCC
17595 builtin and then its argument prototype would still apply. */
17596 char snd_pcm_hw_params_get_access_mask ();
17598 main (void)
17600 return snd_pcm_hw_params_get_access_mask ();
17602 return 0;
17604 _ACEOF
17605 if ac_fn_c_try_link "$LINENO"
17606 then :
17607 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17608 else $as_nop
17609 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17612 conftest$ac_exeext conftest.$ac_ext
17613 LIBS=$ac_check_lib_save_LIBS
17615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17616 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17617 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17618 then :
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #include <alsa/asoundlib.h>
17623 main (void)
17625 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17627 return 0;
17629 _ACEOF
17630 if ac_fn_c_try_compile "$LINENO"
17631 then :
17632 ALSA_LIBS="-lasound"
17634 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17638 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17640 if test "x$with_oss" != xno
17641 then
17642 ac_save_CPPFLAGS="$CPPFLAGS"
17643 if test -f /etc/oss.conf
17644 then
17645 . /etc/oss.conf
17647 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17648 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17649 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17650 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17651 then :
17652 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17654 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17655 then :
17657 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17659 OSS4_CFLAGS="$ac_oss_incl"
17661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17662 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17663 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17664 then :
17665 printf %s "(cached) " >&6
17666 else $as_nop
17667 ac_check_lib_save_LIBS=$LIBS
17668 LIBS="-lossaudio $LIBS"
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17672 /* Override any GCC internal prototype to avoid an error.
17673 Use char because int might match the return type of a GCC
17674 builtin and then its argument prototype would still apply. */
17675 char _oss_ioctl ();
17677 main (void)
17679 return _oss_ioctl ();
17681 return 0;
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"
17685 then :
17686 ac_cv_lib_ossaudio__oss_ioctl=yes
17687 else $as_nop
17688 ac_cv_lib_ossaudio__oss_ioctl=no
17690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17691 conftest$ac_exeext conftest.$ac_ext
17692 LIBS=$ac_check_lib_save_LIBS
17694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17695 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17696 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17697 then :
17698 OSS4_LIBS="-lossaudio"
17706 CPPFLAGS="$ac_save_CPPFLAGS"
17708 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17709 then :
17710 case "x$with_oss" in
17711 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17712 xno) ;;
17713 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17714 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17715 esac
17716 enable_wineoss_drv=${enable_wineoss_drv:-no}
17719 if test "x$with_udev" != "xno"
17720 then
17721 rm -f conftest.err
17722 if ${UDEV_CFLAGS:+false} :
17723 then :
17724 if test ${PKG_CONFIG+y}
17725 then :
17726 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17730 if ${UDEV_LIBS:+false} :
17731 then :
17732 if test ${PKG_CONFIG+y}
17733 then :
17734 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17738 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17741 if test -s conftest.err; then
17742 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17743 cat conftest.err >&5
17745 rm -f conftest.err
17746 ac_save_CPPFLAGS=$CPPFLAGS
17747 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17748 for ac_header in libudev.h
17749 do :
17750 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17751 if test "x$ac_cv_header_libudev_h" = xyes
17752 then :
17753 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17755 printf %s "checking for udev_new in -ludev... " >&6; }
17756 if test ${ac_cv_lib_udev_udev_new+y}
17757 then :
17758 printf %s "(cached) " >&6
17759 else $as_nop
17760 ac_check_lib_save_LIBS=$LIBS
17761 LIBS="-ludev $UDEV_LIBS $LIBS"
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17765 /* Override any GCC internal prototype to avoid an error.
17766 Use char because int might match the return type of a GCC
17767 builtin and then its argument prototype would still apply. */
17768 char udev_new ();
17770 main (void)
17772 return udev_new ();
17774 return 0;
17776 _ACEOF
17777 if ac_fn_c_try_link "$LINENO"
17778 then :
17779 ac_cv_lib_udev_udev_new=yes
17780 else $as_nop
17781 ac_cv_lib_udev_udev_new=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17784 conftest$ac_exeext conftest.$ac_ext
17785 LIBS=$ac_check_lib_save_LIBS
17787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17788 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17789 if test "x$ac_cv_lib_udev_udev_new" = xyes
17790 then :
17792 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17794 else $as_nop
17795 UDEV_LIBS=""
17798 else $as_nop
17799 UDEV_LIBS=""
17802 done
17803 CPPFLAGS=$ac_save_CPPFLAGS
17806 if test "x$UDEV_LIBS" = "x"
17807 then :
17808 case "x$with_udev" in
17809 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17810 xno) ;;
17811 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17812 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17813 esac
17817 if test "x$with_unwind" != xno
17818 then
17819 rm -f conftest.err
17820 if ${UNWIND_CFLAGS:+false} :
17821 then :
17822 if test ${PKG_CONFIG+y}
17823 then :
17824 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17828 if ${UNWIND_LIBS:+false} :
17829 then :
17830 if test ${PKG_CONFIG+y}
17831 then :
17832 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17836 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17839 if test -s conftest.err; then
17840 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17841 cat conftest.err >&5
17843 rm -f conftest.err
17844 ac_save_CPPFLAGS=$CPPFLAGS
17845 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17847 printf %s "checking for unw_step... " >&6; }
17848 if test ${wine_cv_have_unw_step+y}
17849 then :
17850 printf %s "(cached) " >&6
17851 else $as_nop
17852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17853 /* end confdefs.h. */
17854 #define UNW_LOCAL_ONLY
17855 #include <libunwind.h>
17857 main (void)
17859 unw_cursor_t cursor; unw_step( &cursor );
17861 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_link "$LINENO"
17865 then :
17866 wine_cv_have_unw_step="yes"
17867 else $as_nop
17868 wine_cv_have_unw_step="no"
17870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17871 conftest$ac_exeext conftest.$ac_ext
17873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17874 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17875 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17876 then
17877 save_libs=$LIBS
17878 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17879 LIBS="$UNWIND_LIBS $LIBS"
17880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17881 printf %s "checking for unw_step in libunwind... " >&6; }
17882 if test ${wine_cv_have_libunwind_unw_step+y}
17883 then :
17884 printf %s "(cached) " >&6
17885 else $as_nop
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #define UNW_LOCAL_ONLY
17889 #include <libunwind.h>
17891 main (void)
17893 unw_cursor_t cursor; unw_step( &cursor );
17895 return 0;
17897 _ACEOF
17898 if ac_fn_c_try_link "$LINENO"
17899 then :
17900 wine_cv_have_libunwind_unw_step="yes"
17901 else $as_nop
17902 wine_cv_have_libunwind_unw_step="no"
17904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17905 conftest$ac_exeext conftest.$ac_ext
17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17908 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17909 LIBS=$save_libs
17911 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17912 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17913 then
17915 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17918 CPPFLAGS=$ac_save_CPPFLAGS
17921 case $host in
17922 aarch64*|*-darwin*)
17923 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17924 then :
17925 case "x$with_unwind" in
17926 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17927 xno) ;;
17928 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17929 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17930 esac
17932 fi ;;
17933 esac
17935 if test "x$with_sdl" != "xno"
17936 then
17937 rm -f conftest.err
17938 if ${SDL2_CFLAGS:+false} :
17939 then :
17940 if test ${PKG_CONFIG+y}
17941 then :
17942 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17946 if ${SDL2_LIBS:+false} :
17947 then :
17948 if test ${PKG_CONFIG+y}
17949 then :
17950 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17954 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17957 if test -s conftest.err; then
17958 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17959 cat conftest.err >&5
17961 rm -f conftest.err
17962 ac_save_CPPFLAGS=$CPPFLAGS
17963 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17964 for ac_header in SDL.h
17965 do :
17966 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17967 if test "x$ac_cv_header_SDL_h" = xyes
17968 then :
17969 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17971 printf %s "checking for -lSDL2... " >&6; }
17972 if test ${ac_cv_lib_soname_SDL2+y}
17973 then :
17974 printf %s "(cached) " >&6
17975 else $as_nop
17976 ac_check_soname_save_LIBS=$LIBS
17977 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17979 /* end confdefs.h. */
17981 /* Override any GCC internal prototype to avoid an error.
17982 Use char because int might match the return type of a GCC
17983 builtin and then its argument prototype would still apply. */
17984 char SDL_Init ();
17986 main (void)
17988 return SDL_Init ();
17990 return 0;
17992 _ACEOF
17993 if ac_fn_c_try_link "$LINENO"
17994 then :
17995 case "$LIBEXT" in
17996 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17997 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'` ;;
17998 *) 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'`
17999 if ${ac_cv_lib_soname_SDL2:+false} :
18000 then :
18001 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18002 fi ;;
18003 esac
18004 else $as_nop
18005 ac_cv_lib_soname_SDL2=
18007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_check_soname_save_LIBS
18011 if ${ac_cv_lib_soname_SDL2:+false} :
18012 then :
18013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18014 printf "%s\n" "not found" >&6; }
18016 else $as_nop
18017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
18018 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
18020 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
18026 done
18027 CPPFLAGS=$ac_save_CPPFLAGS
18030 if test "x$ac_cv_lib_soname_SDL2" = "x"
18031 then :
18032 case "x$with_sdl" in
18033 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
18034 xno) ;;
18035 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
18036 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
18037 esac
18041 if test "x$with_capi" != "xno"
18042 then
18043 rm -f conftest.err
18044 if ${CAPI20_CFLAGS:+false} :
18045 then :
18046 if test ${PKG_CONFIG+y}
18047 then :
18048 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
18052 if ${CAPI20_LIBS:+false} :
18053 then :
18054 if test ${PKG_CONFIG+y}
18055 then :
18056 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
18061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
18062 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
18063 if test -s conftest.err; then
18064 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
18065 cat conftest.err >&5
18067 rm -f conftest.err
18068 ac_save_CPPFLAGS=$CPPFLAGS
18069 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
18070 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
18072 if test "x$ac_cv_header_capi20_h" = xyes
18073 then :
18074 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
18077 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
18079 if test "x$ac_cv_header_linux_capi_h" = xyes
18080 then :
18081 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18085 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18086 then
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18088 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18089 if test ${ac_cv_lib_capi20_capi20_register+y}
18090 then :
18091 printf %s "(cached) " >&6
18092 else $as_nop
18093 ac_check_lib_save_LIBS=$LIBS
18094 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18098 /* Override any GCC internal prototype to avoid an error.
18099 Use char because int might match the return type of a GCC
18100 builtin and then its argument prototype would still apply. */
18101 char capi20_register ();
18103 main (void)
18105 return capi20_register ();
18107 return 0;
18109 _ACEOF
18110 if ac_fn_c_try_link "$LINENO"
18111 then :
18112 ac_cv_lib_capi20_capi20_register=yes
18113 else $as_nop
18114 ac_cv_lib_capi20_capi20_register=no
18116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18117 conftest$ac_exeext conftest.$ac_ext
18118 LIBS=$ac_check_lib_save_LIBS
18120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18121 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18122 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18123 then :
18125 else $as_nop
18126 CAPI20_LIBS=""
18130 CPPFLAGS=$ac_save_CPPFLAGS
18133 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18134 then :
18135 case "x$with_capi" in
18136 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18137 xno) ;;
18138 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18139 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18140 esac
18141 enable_capi2032=${enable_capi2032:-no}
18144 if test "x$with_cups" != "xno"
18145 then
18146 rm -f conftest.err
18147 if ${CUPS_CFLAGS:+false} :
18148 then :
18149 if test ${PKG_CONFIG+y}
18150 then :
18151 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18154 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18155 if ${CUPS_LIBS:+false} :
18156 then :
18157 if test ${PKG_CONFIG+y}
18158 then :
18159 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18162 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18163 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18166 if test -s conftest.err; then
18167 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18168 cat conftest.err >&5
18170 rm -f conftest.err
18171 ac_save_CPPFLAGS=$CPPFLAGS
18172 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18173 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18174 if test "x$ac_cv_header_cups_cups_h" = xyes
18175 then :
18176 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18179 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18180 if test "x$ac_cv_header_cups_ppd_h" = xyes
18181 then :
18182 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18186 if test "$ac_cv_header_cups_cups_h" = "yes"
18187 then
18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18189 printf %s "checking for -lcups... " >&6; }
18190 if test ${ac_cv_lib_soname_cups+y}
18191 then :
18192 printf %s "(cached) " >&6
18193 else $as_nop
18194 ac_check_soname_save_LIBS=$LIBS
18195 LIBS="-lcups $CUPS_LIBS $LIBS"
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18199 /* Override any GCC internal prototype to avoid an error.
18200 Use char because int might match the return type of a GCC
18201 builtin and then its argument prototype would still apply. */
18202 char cupsGetDefault ();
18204 main (void)
18206 return cupsGetDefault ();
18208 return 0;
18210 _ACEOF
18211 if ac_fn_c_try_link "$LINENO"
18212 then :
18213 case "$LIBEXT" in
18214 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18215 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'` ;;
18216 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18217 if ${ac_cv_lib_soname_cups:+false} :
18218 then :
18219 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18220 fi ;;
18221 esac
18222 else $as_nop
18223 ac_cv_lib_soname_cups=
18225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18226 conftest$ac_exeext conftest.$ac_ext
18227 LIBS=$ac_check_soname_save_LIBS
18229 if ${ac_cv_lib_soname_cups:+false} :
18230 then :
18231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18232 printf "%s\n" "not found" >&6; }
18233 CUPS_LIBS=""
18234 else $as_nop
18235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18236 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18238 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18242 else
18243 CUPS_CFLAGS=""
18244 CUPS_LIBS=""
18246 CPPFLAGS=$ac_save_CPPFLAGS
18249 if test "x$ac_cv_lib_soname_cups" = "x"
18250 then :
18251 case "x$with_cups" in
18252 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18253 xno) ;;
18254 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18255 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18256 esac
18260 if test "x$with_fontconfig" != "xno"
18261 then
18262 rm -f conftest.err
18263 if ${FONTCONFIG_CFLAGS:+false} :
18264 then :
18265 if test ${PKG_CONFIG+y}
18266 then :
18267 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18270 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18271 if ${FONTCONFIG_LIBS:+false} :
18272 then :
18273 if test ${PKG_CONFIG+y}
18274 then :
18275 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18278 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18282 if test -s conftest.err; then
18283 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18284 cat conftest.err >&5
18286 rm -f conftest.err
18287 ac_save_CPPFLAGS=$CPPFLAGS
18288 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18289 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18290 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18291 then :
18292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18293 printf %s "checking for -lfontconfig... " >&6; }
18294 if test ${ac_cv_lib_soname_fontconfig+y}
18295 then :
18296 printf %s "(cached) " >&6
18297 else $as_nop
18298 ac_check_soname_save_LIBS=$LIBS
18299 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18303 /* Override any GCC internal prototype to avoid an error.
18304 Use char because int might match the return type of a GCC
18305 builtin and then its argument prototype would still apply. */
18306 char FcInit ();
18308 main (void)
18310 return FcInit ();
18312 return 0;
18314 _ACEOF
18315 if ac_fn_c_try_link "$LINENO"
18316 then :
18317 case "$LIBEXT" in
18318 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18319 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'` ;;
18320 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18321 if ${ac_cv_lib_soname_fontconfig:+false} :
18322 then :
18323 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18324 fi ;;
18325 esac
18326 else $as_nop
18327 ac_cv_lib_soname_fontconfig=
18329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18330 conftest$ac_exeext conftest.$ac_ext
18331 LIBS=$ac_check_soname_save_LIBS
18333 if ${ac_cv_lib_soname_fontconfig:+false} :
18334 then :
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18336 printf "%s\n" "not found" >&6; }
18337 FONTCONFIG_CFLAGS=""
18338 else $as_nop
18339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18340 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18342 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18346 else $as_nop
18347 FONTCONFIG_CFLAGS=""
18350 CPPFLAGS=$ac_save_CPPFLAGS
18353 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18354 then :
18355 case "x$with_fontconfig" in
18356 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18357 xno) ;;
18358 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18359 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18360 esac
18364 if test "x$with_krb5" != "xno"
18365 then
18366 rm -f conftest.err
18367 if ${KRB5_CFLAGS:+false} :
18368 then :
18369 if test ${PKG_CONFIG+y}
18370 then :
18371 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18374 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18375 if ${KRB5_LIBS:+false} :
18376 then :
18377 if test ${PKG_CONFIG+y}
18378 then :
18379 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18382 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18384 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18386 if test -s conftest.err; then
18387 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18388 cat conftest.err >&5
18390 rm -f conftest.err
18391 ac_save_CPPFLAGS=$CPPFLAGS
18392 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18393 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18394 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18395 then :
18396 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18400 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18401 then
18402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18403 printf %s "checking for -lkrb5... " >&6; }
18404 if test ${ac_cv_lib_soname_krb5+y}
18405 then :
18406 printf %s "(cached) " >&6
18407 else $as_nop
18408 ac_check_soname_save_LIBS=$LIBS
18409 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18411 /* end confdefs.h. */
18413 /* Override any GCC internal prototype to avoid an error.
18414 Use char because int might match the return type of a GCC
18415 builtin and then its argument prototype would still apply. */
18416 char krb5_is_config_principal ();
18418 main (void)
18420 return krb5_is_config_principal ();
18422 return 0;
18424 _ACEOF
18425 if ac_fn_c_try_link "$LINENO"
18426 then :
18427 case "$LIBEXT" in
18428 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18429 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'` ;;
18430 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18431 if ${ac_cv_lib_soname_krb5:+false} :
18432 then :
18433 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18434 fi ;;
18435 esac
18436 else $as_nop
18437 ac_cv_lib_soname_krb5=
18439 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18440 conftest$ac_exeext conftest.$ac_ext
18441 LIBS=$ac_check_soname_save_LIBS
18443 if ${ac_cv_lib_soname_krb5:+false} :
18444 then :
18445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18446 printf "%s\n" "not found" >&6; }
18447 KRB5_CFLAGS=""
18448 else $as_nop
18449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18450 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18452 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18456 else
18457 KRB5_CFLAGS=""
18459 CPPFLAGS=$ac_save_CPPFLAGS
18462 if test "x$ac_cv_lib_soname_krb5" = "x"
18463 then :
18464 case "x$with_krb5" in
18465 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18466 xno) ;;
18467 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18468 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18469 esac
18472 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18474 if test "x$with_gssapi" != "xno"
18475 then
18476 rm -f conftest.err
18477 if ${GSSAPI_CFLAGS:+false} :
18478 then :
18479 if test ${PKG_CONFIG+y}
18480 then :
18481 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18484 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18485 if ${GSSAPI_LIBS:+false} :
18486 then :
18487 if test ${PKG_CONFIG+y}
18488 then :
18489 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18492 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18496 if test -s conftest.err; then
18497 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18498 cat conftest.err >&5
18500 rm -f conftest.err
18501 ac_save_CPPFLAGS=$CPPFLAGS
18502 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18503 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18504 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18505 then :
18506 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18509 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18510 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18511 then :
18512 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18516 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18517 then
18518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18519 printf %s "checking for -lgssapi_krb5... " >&6; }
18520 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18521 then :
18522 printf %s "(cached) " >&6
18523 else $as_nop
18524 ac_check_soname_save_LIBS=$LIBS
18525 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18529 /* Override any GCC internal prototype to avoid an error.
18530 Use char because int might match the return type of a GCC
18531 builtin and then its argument prototype would still apply. */
18532 char gss_init_sec_context ();
18534 main (void)
18536 return gss_init_sec_context ();
18538 return 0;
18540 _ACEOF
18541 if ac_fn_c_try_link "$LINENO"
18542 then :
18543 case "$LIBEXT" in
18544 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18545 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'` ;;
18546 *) 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'`
18547 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18548 then :
18549 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18550 fi ;;
18551 esac
18552 else $as_nop
18553 ac_cv_lib_soname_gssapi_krb5=
18555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18556 conftest$ac_exeext conftest.$ac_ext
18557 LIBS=$ac_check_soname_save_LIBS
18559 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18560 then :
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18562 printf "%s\n" "not found" >&6; }
18563 GSSAPI_CFLAGS=""
18564 else $as_nop
18565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18566 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18568 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18572 else
18573 GSSAPI_CFLAGS=""
18575 CPPFLAGS=$ac_save_CPPFLAGS
18578 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18579 then :
18580 case "x$with_gssapi" in
18581 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18582 xno) ;;
18583 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18584 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18585 esac
18589 if test "$ac_cv_header_libprocstat_h" = "yes"
18590 then
18591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18592 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18593 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18594 then :
18595 printf %s "(cached) " >&6
18596 else $as_nop
18597 ac_check_lib_save_LIBS=$LIBS
18598 LIBS="-lprocstat $LIBS"
18599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h. */
18602 /* Override any GCC internal prototype to avoid an error.
18603 Use char because int might match the return type of a GCC
18604 builtin and then its argument prototype would still apply. */
18605 char procstat_open_sysctl ();
18607 main (void)
18609 return procstat_open_sysctl ();
18611 return 0;
18613 _ACEOF
18614 if ac_fn_c_try_link "$LINENO"
18615 then :
18616 ac_cv_lib_procstat_procstat_open_sysctl=yes
18617 else $as_nop
18618 ac_cv_lib_procstat_procstat_open_sysctl=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18621 conftest$ac_exeext conftest.$ac_ext
18622 LIBS=$ac_check_lib_save_LIBS
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18625 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18626 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18627 then :
18629 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18631 PROCSTAT_LIBS="-lprocstat"
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18638 printf %s "checking for -lodbc... " >&6; }
18639 if test ${ac_cv_lib_soname_odbc+y}
18640 then :
18641 printf %s "(cached) " >&6
18642 else $as_nop
18643 ac_check_soname_save_LIBS=$LIBS
18644 LIBS="-lodbc $LIBS"
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18648 /* Override any GCC internal prototype to avoid an error.
18649 Use char because int might match the return type of a GCC
18650 builtin and then its argument prototype would still apply. */
18651 char SQLConnect ();
18653 main (void)
18655 return SQLConnect ();
18657 return 0;
18659 _ACEOF
18660 if ac_fn_c_try_link "$LINENO"
18661 then :
18662 case "$LIBEXT" in
18663 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18664 dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18665 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18666 if ${ac_cv_lib_soname_odbc:+false} :
18667 then :
18668 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18669 fi ;;
18670 esac
18671 else $as_nop
18672 ac_cv_lib_soname_odbc=
18674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18675 conftest$ac_exeext conftest.$ac_ext
18676 LIBS=$ac_check_soname_save_LIBS
18678 if ${ac_cv_lib_soname_odbc:+false} :
18679 then :
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18681 printf "%s\n" "not found" >&6; }
18682 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18684 else $as_nop
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18686 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18688 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18693 if test "x$with_netapi" != "xno"
18694 then
18695 rm -f conftest.err
18696 if ${NETAPI_CFLAGS:+false} :
18697 then :
18698 if test ${PKG_CONFIG+y}
18699 then :
18700 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18704 if ${NETAPI_LIBS:+false} :
18705 then :
18706 if test ${PKG_CONFIG+y}
18707 then :
18708 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18715 if test -s conftest.err; then
18716 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18717 cat conftest.err >&5
18719 rm -f conftest.err
18720 ac_save_CPPFLAGS=$CPPFLAGS
18721 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18723 printf %s "checking for -lnetapi... " >&6; }
18724 if test ${ac_cv_lib_soname_netapi+y}
18725 then :
18726 printf %s "(cached) " >&6
18727 else $as_nop
18728 ac_check_soname_save_LIBS=$LIBS
18729 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18733 /* Override any GCC internal prototype to avoid an error.
18734 Use char because int might match the return type of a GCC
18735 builtin and then its argument prototype would still apply. */
18736 char libnetapi_init ();
18738 main (void)
18740 return libnetapi_init ();
18742 return 0;
18744 _ACEOF
18745 if ac_fn_c_try_link "$LINENO"
18746 then :
18747 case "$LIBEXT" in
18748 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18749 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'` ;;
18750 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18751 if ${ac_cv_lib_soname_netapi:+false} :
18752 then :
18753 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18754 fi ;;
18755 esac
18756 else $as_nop
18757 ac_cv_lib_soname_netapi=
18759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18760 conftest$ac_exeext conftest.$ac_ext
18761 LIBS=$ac_check_soname_save_LIBS
18763 if ${ac_cv_lib_soname_netapi:+false} :
18764 then :
18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18766 printf "%s\n" "not found" >&6; }
18767 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18769 else $as_nop
18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18771 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18773 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18777 CPPFLAGS=$ac_save_CPPFLAGS
18780 if test "x$ac_cv_lib_soname_netapi" = "x"
18781 then :
18782 case "x$with_netapi" in
18783 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18784 xno) ;;
18785 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18786 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18787 esac
18788 enable_netapi=${enable_netapi:-no}
18792 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18793 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18794 then
18795 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18798 if test "x$with_vulkan" != "xno"
18799 then
18800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18801 printf %s "checking for -lvulkan... " >&6; }
18802 if test ${ac_cv_lib_soname_vulkan+y}
18803 then :
18804 printf %s "(cached) " >&6
18805 else $as_nop
18806 ac_check_soname_save_LIBS=$LIBS
18807 LIBS="-lvulkan $LIBS"
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18811 /* Override any GCC internal prototype to avoid an error.
18812 Use char because int might match the return type of a GCC
18813 builtin and then its argument prototype would still apply. */
18814 char vkGetInstanceProcAddr ();
18816 main (void)
18818 return vkGetInstanceProcAddr ();
18820 return 0;
18822 _ACEOF
18823 if ac_fn_c_try_link "$LINENO"
18824 then :
18825 case "$LIBEXT" in
18826 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18827 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'` ;;
18828 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18829 if ${ac_cv_lib_soname_vulkan:+false} :
18830 then :
18831 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18832 fi ;;
18833 esac
18834 else $as_nop
18835 ac_cv_lib_soname_vulkan=
18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18838 conftest$ac_exeext conftest.$ac_ext
18839 LIBS=$ac_check_soname_save_LIBS
18841 if ${ac_cv_lib_soname_vulkan:+false} :
18842 then :
18843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18844 printf "%s\n" "not found" >&6; }
18846 else $as_nop
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18848 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18850 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18854 if test "x$ac_cv_lib_soname_vulkan" = "x"
18855 then
18856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18857 printf %s "checking for -lMoltenVK... " >&6; }
18858 if test ${ac_cv_lib_soname_MoltenVK+y}
18859 then :
18860 printf %s "(cached) " >&6
18861 else $as_nop
18862 ac_check_soname_save_LIBS=$LIBS
18863 LIBS="-lMoltenVK $LIBS"
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18867 /* Override any GCC internal prototype to avoid an error.
18868 Use char because int might match the return type of a GCC
18869 builtin and then its argument prototype would still apply. */
18870 char vkGetInstanceProcAddr ();
18872 main (void)
18874 return vkGetInstanceProcAddr ();
18876 return 0;
18878 _ACEOF
18879 if ac_fn_c_try_link "$LINENO"
18880 then :
18881 case "$LIBEXT" in
18882 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18883 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'` ;;
18884 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18885 if ${ac_cv_lib_soname_MoltenVK:+false} :
18886 then :
18887 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18888 fi ;;
18889 esac
18890 else $as_nop
18891 ac_cv_lib_soname_MoltenVK=
18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18894 conftest$ac_exeext conftest.$ac_ext
18895 LIBS=$ac_check_soname_save_LIBS
18897 if ${ac_cv_lib_soname_MoltenVK:+false} :
18898 then :
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18900 printf "%s\n" "not found" >&6; }
18902 else $as_nop
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18904 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18906 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18912 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18913 then :
18914 case "x$with_vulkan" in
18915 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18916 xno) ;;
18917 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18918 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18919 esac
18924 if test "x${GCC}" = "xyes"
18925 then
18926 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18928 saved_CFLAGS=$CFLAGS
18929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18930 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18931 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18932 then :
18933 printf %s "(cached) " >&6
18934 else $as_nop
18935 ac_wine_try_cflags_saved=$CFLAGS
18936 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18938 /* end confdefs.h. */
18939 int main(int argc, char **argv) { return 0; }
18940 _ACEOF
18941 if ac_fn_c_try_link "$LINENO"
18942 then :
18943 ac_cv_cflags__Werror_unknown_warning_option=yes
18944 else $as_nop
18945 ac_cv_cflags__Werror_unknown_warning_option=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18948 conftest$ac_exeext conftest.$ac_ext
18949 CFLAGS=$ac_wine_try_cflags_saved
18951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18952 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18953 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18954 then :
18955 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18958 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18959 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18960 then :
18961 printf %s "(cached) " >&6
18962 else $as_nop
18963 ac_wine_try_cflags_saved=$CFLAGS
18964 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h. */
18967 int main(int argc, char **argv) { return 0; }
18968 _ACEOF
18969 if ac_fn_c_try_link "$LINENO"
18970 then :
18971 ac_cv_cflags__Werror_unused_command_line_argument=yes
18972 else $as_nop
18973 ac_cv_cflags__Werror_unused_command_line_argument=no
18975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18976 conftest$ac_exeext conftest.$ac_ext
18977 CFLAGS=$ac_wine_try_cflags_saved
18979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18980 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18981 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18982 then :
18983 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18986 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18987 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18988 then :
18989 printf %s "(cached) " >&6
18990 else $as_nop
18991 ac_wine_try_cflags_saved=$CFLAGS
18992 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18994 /* end confdefs.h. */
18995 int main(int argc, char **argv) { return 0; }
18996 _ACEOF
18997 if ac_fn_c_try_link "$LINENO"
18998 then :
18999 ac_cv_cflags__Werror_ignored_optimization_argument=yes
19000 else $as_nop
19001 ac_cv_cflags__Werror_ignored_optimization_argument=no
19003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19004 conftest$ac_exeext conftest.$ac_ext
19005 CFLAGS=$ac_wine_try_cflags_saved
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
19008 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
19009 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
19010 then :
19011 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
19013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
19014 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
19015 if test ${ac_cv_cflags__fcf_protection_none+y}
19016 then :
19017 printf %s "(cached) " >&6
19018 else $as_nop
19019 ac_wine_try_cflags_saved=$CFLAGS
19020 CFLAGS="$CFLAGS -fcf-protection=none"
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19023 int main(int argc, char **argv) { return 0; }
19024 _ACEOF
19025 if ac_fn_c_try_link "$LINENO"
19026 then :
19027 ac_cv_cflags__fcf_protection_none=yes
19028 else $as_nop
19029 ac_cv_cflags__fcf_protection_none=no
19031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19032 conftest$ac_exeext conftest.$ac_ext
19033 CFLAGS=$ac_wine_try_cflags_saved
19035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
19036 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
19037 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
19038 then :
19039 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19042 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19043 if test ${ac_cv_cflags__fvisibility_hidden+y}
19044 then :
19045 printf %s "(cached) " >&6
19046 else $as_nop
19047 ac_wine_try_cflags_saved=$CFLAGS
19048 CFLAGS="$CFLAGS -fvisibility=hidden"
19049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19050 /* end confdefs.h. */
19051 int main(int argc, char **argv) { return 0; }
19052 _ACEOF
19053 if ac_fn_c_try_link "$LINENO"
19054 then :
19055 ac_cv_cflags__fvisibility_hidden=yes
19056 else $as_nop
19057 ac_cv_cflags__fvisibility_hidden=no
19059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19060 conftest$ac_exeext conftest.$ac_ext
19061 CFLAGS=$ac_wine_try_cflags_saved
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19064 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19065 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19066 then :
19067 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
19070 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
19071 if test ${ac_cv_cflags__fno_stack_protector+y}
19072 then :
19073 printf %s "(cached) " >&6
19074 else $as_nop
19075 ac_wine_try_cflags_saved=$CFLAGS
19076 CFLAGS="$CFLAGS -fno-stack-protector"
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 int main(int argc, char **argv) { return 0; }
19080 _ACEOF
19081 if ac_fn_c_try_link "$LINENO"
19082 then :
19083 ac_cv_cflags__fno_stack_protector=yes
19084 else $as_nop
19085 ac_cv_cflags__fno_stack_protector=no
19087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19088 conftest$ac_exeext conftest.$ac_ext
19089 CFLAGS=$ac_wine_try_cflags_saved
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19092 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19093 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19094 then :
19095 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19098 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19099 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19100 then :
19101 printf %s "(cached) " >&6
19102 else $as_nop
19103 ac_wine_try_cflags_saved=$CFLAGS
19104 CFLAGS="$CFLAGS -fno-strict-aliasing"
19105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19106 /* end confdefs.h. */
19107 int main(int argc, char **argv) { return 0; }
19108 _ACEOF
19109 if ac_fn_c_try_link "$LINENO"
19110 then :
19111 ac_cv_cflags__fno_strict_aliasing=yes
19112 else $as_nop
19113 ac_cv_cflags__fno_strict_aliasing=no
19115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19116 conftest$ac_exeext conftest.$ac_ext
19117 CFLAGS=$ac_wine_try_cflags_saved
19119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19120 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19121 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19122 then :
19123 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19126 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19127 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19128 then :
19129 printf %s "(cached) " >&6
19130 else $as_nop
19131 ac_wine_try_cflags_saved=$CFLAGS
19132 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19135 int main(int argc, char **argv) { return 0; }
19136 _ACEOF
19137 if ac_fn_c_try_link "$LINENO"
19138 then :
19139 ac_cv_cflags__Wdeclaration_after_statement=yes
19140 else $as_nop
19141 ac_cv_cflags__Wdeclaration_after_statement=no
19143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19144 conftest$ac_exeext conftest.$ac_ext
19145 CFLAGS=$ac_wine_try_cflags_saved
19147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19148 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19149 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19150 then :
19151 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19154 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19155 if test ${ac_cv_cflags__Wempty_body+y}
19156 then :
19157 printf %s "(cached) " >&6
19158 else $as_nop
19159 ac_wine_try_cflags_saved=$CFLAGS
19160 CFLAGS="$CFLAGS -Wempty-body"
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 int main(int argc, char **argv) { return 0; }
19164 _ACEOF
19165 if ac_fn_c_try_link "$LINENO"
19166 then :
19167 ac_cv_cflags__Wempty_body=yes
19168 else $as_nop
19169 ac_cv_cflags__Wempty_body=no
19171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19172 conftest$ac_exeext conftest.$ac_ext
19173 CFLAGS=$ac_wine_try_cflags_saved
19175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19176 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19177 if test "x$ac_cv_cflags__Wempty_body" = xyes
19178 then :
19179 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19182 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19183 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19184 then :
19185 printf %s "(cached) " >&6
19186 else $as_nop
19187 ac_wine_try_cflags_saved=$CFLAGS
19188 CFLAGS="$CFLAGS -Wignored-qualifiers"
19189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19190 /* end confdefs.h. */
19191 int main(int argc, char **argv) { return 0; }
19192 _ACEOF
19193 if ac_fn_c_try_link "$LINENO"
19194 then :
19195 ac_cv_cflags__Wignored_qualifiers=yes
19196 else $as_nop
19197 ac_cv_cflags__Wignored_qualifiers=no
19199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19200 conftest$ac_exeext conftest.$ac_ext
19201 CFLAGS=$ac_wine_try_cflags_saved
19203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19204 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19205 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19206 then :
19207 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19210 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19211 if test ${ac_cv_cflags__Winit_self+y}
19212 then :
19213 printf %s "(cached) " >&6
19214 else $as_nop
19215 ac_wine_try_cflags_saved=$CFLAGS
19216 CFLAGS="$CFLAGS -Winit-self"
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 int main(int argc, char **argv) { return 0; }
19220 _ACEOF
19221 if ac_fn_c_try_link "$LINENO"
19222 then :
19223 ac_cv_cflags__Winit_self=yes
19224 else $as_nop
19225 ac_cv_cflags__Winit_self=no
19227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19228 conftest$ac_exeext conftest.$ac_ext
19229 CFLAGS=$ac_wine_try_cflags_saved
19231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19232 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19233 if test "x$ac_cv_cflags__Winit_self" = xyes
19234 then :
19235 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19238 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19239 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19240 then :
19241 printf %s "(cached) " >&6
19242 else $as_nop
19243 ac_wine_try_cflags_saved=$CFLAGS
19244 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19246 /* end confdefs.h. */
19247 int main(int argc, char **argv) { return 0; }
19248 _ACEOF
19249 if ac_fn_c_try_link "$LINENO"
19250 then :
19251 ac_cv_cflags__Wpacked_not_aligned=yes
19252 else $as_nop
19253 ac_cv_cflags__Wpacked_not_aligned=no
19255 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19256 conftest$ac_exeext conftest.$ac_ext
19257 CFLAGS=$ac_wine_try_cflags_saved
19259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19260 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19261 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19262 then :
19263 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19266 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19267 if test ${ac_cv_cflags__Wpragma_pack+y}
19268 then :
19269 printf %s "(cached) " >&6
19270 else $as_nop
19271 ac_wine_try_cflags_saved=$CFLAGS
19272 CFLAGS="$CFLAGS -Wpragma-pack"
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 int main(int argc, char **argv) { return 0; }
19276 _ACEOF
19277 if ac_fn_c_try_link "$LINENO"
19278 then :
19279 ac_cv_cflags__Wpragma_pack=yes
19280 else $as_nop
19281 ac_cv_cflags__Wpragma_pack=no
19283 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19284 conftest$ac_exeext conftest.$ac_ext
19285 CFLAGS=$ac_wine_try_cflags_saved
19287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19288 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19289 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19290 then :
19291 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19294 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19295 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19296 then :
19297 printf %s "(cached) " >&6
19298 else $as_nop
19299 ac_wine_try_cflags_saved=$CFLAGS
19300 CFLAGS="$CFLAGS -Wshift-overflow=2"
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__Wshift_overflow_2=yes
19308 else $as_nop
19309 ac_cv_cflags__Wshift_overflow_2=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__Wshift_overflow_2" >&5
19316 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19317 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19318 then :
19319 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19322 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19323 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19324 then :
19325 printf %s "(cached) " >&6
19326 else $as_nop
19327 ac_wine_try_cflags_saved=$CFLAGS
19328 CFLAGS="$CFLAGS -Wstrict-prototypes"
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__Wstrict_prototypes=yes
19336 else $as_nop
19337 ac_cv_cflags__Wstrict_prototypes=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__Wstrict_prototypes" >&5
19344 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19345 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19346 then :
19347 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19350 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19351 if test ${ac_cv_cflags__Wtype_limits+y}
19352 then :
19353 printf %s "(cached) " >&6
19354 else $as_nop
19355 ac_wine_try_cflags_saved=$CFLAGS
19356 CFLAGS="$CFLAGS -Wtype-limits"
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__Wtype_limits=yes
19364 else $as_nop
19365 ac_cv_cflags__Wtype_limits=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__Wtype_limits" >&5
19372 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19373 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19374 then :
19375 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19378 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19379 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19380 then :
19381 printf %s "(cached) " >&6
19382 else $as_nop
19383 ac_wine_try_cflags_saved=$CFLAGS
19384 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
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__Wunused_but_set_parameter=yes
19392 else $as_nop
19393 ac_cv_cflags__Wunused_but_set_parameter=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__Wunused_but_set_parameter" >&5
19400 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19401 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19402 then :
19403 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19406 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19407 if test ${ac_cv_cflags__Wvla+y}
19408 then :
19409 printf %s "(cached) " >&6
19410 else $as_nop
19411 ac_wine_try_cflags_saved=$CFLAGS
19412 CFLAGS="$CFLAGS -Wvla"
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__Wvla=yes
19420 else $as_nop
19421 ac_cv_cflags__Wvla=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__Wvla" >&5
19428 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19429 if test "x$ac_cv_cflags__Wvla" = xyes
19430 then :
19431 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19434 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19435 if test ${ac_cv_cflags__Wwrite_strings+y}
19436 then :
19437 printf %s "(cached) " >&6
19438 else $as_nop
19439 ac_wine_try_cflags_saved=$CFLAGS
19440 CFLAGS="$CFLAGS -Wwrite-strings"
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__Wwrite_strings=yes
19448 else $as_nop
19449 ac_cv_cflags__Wwrite_strings=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__Wwrite_strings" >&5
19456 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19457 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19458 then :
19459 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19463 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19464 if test ${ac_cv_cflags__Wpointer_arith+y}
19465 then :
19466 printf %s "(cached) " >&6
19467 else $as_nop
19468 ac_wine_try_cflags_saved=$CFLAGS
19469 CFLAGS="$CFLAGS -Wpointer-arith"
19470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 int main(int argc, char **argv) { return 0; }
19473 _ACEOF
19474 if ac_fn_c_try_link "$LINENO"
19475 then :
19476 ac_cv_cflags__Wpointer_arith=yes
19477 else $as_nop
19478 ac_cv_cflags__Wpointer_arith=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19481 conftest$ac_exeext conftest.$ac_ext
19482 CFLAGS=$ac_wine_try_cflags_saved
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19485 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19486 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19487 then :
19488 saved_string_h_CFLAGS=$CFLAGS
19489 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19491 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19492 if test ${ac_cv_c_string_h_warnings+y}
19493 then :
19494 printf %s "(cached) " >&6
19495 else $as_nop
19496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19498 #include <string.h>
19500 main (void)
19504 return 0;
19506 _ACEOF
19507 if ac_fn_c_try_compile "$LINENO"
19508 then :
19509 ac_cv_c_string_h_warnings=no
19510 else $as_nop
19511 ac_cv_c_string_h_warnings=yes
19513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19516 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19517 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19518 CFLAGS=$saved_string_h_CFLAGS
19521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19522 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19523 if test ${ac_cv_cflags__Wlogical_op+y}
19524 then :
19525 printf %s "(cached) " >&6
19526 else $as_nop
19527 ac_wine_try_cflags_saved=$CFLAGS
19528 CFLAGS="$CFLAGS -Wlogical-op"
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 int main(int argc, char **argv) { return 0; }
19532 _ACEOF
19533 if ac_fn_c_try_link "$LINENO"
19534 then :
19535 ac_cv_cflags__Wlogical_op=yes
19536 else $as_nop
19537 ac_cv_cflags__Wlogical_op=no
19539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19540 conftest$ac_exeext conftest.$ac_ext
19541 CFLAGS=$ac_wine_try_cflags_saved
19543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19544 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19545 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19546 then :
19547 saved_string_h_CFLAGS=$CFLAGS
19548 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19550 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19551 if test ${ac_cv_c_logicalop_noisy+y}
19552 then :
19553 printf %s "(cached) " >&6
19554 else $as_nop
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557 #include <string.h>
19558 char*f(const char *h,char n) {return strchr(h,n);}
19560 main (void)
19564 return 0;
19566 _ACEOF
19567 if ac_fn_c_try_compile "$LINENO"
19568 then :
19569 ac_cv_c_logicalop_noisy=no
19570 else $as_nop
19571 ac_cv_c_logicalop_noisy=yes
19573 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19576 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19577 CFLAGS=$saved_string_h_CFLAGS
19578 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19582 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19583 if test ${wine_cv_64bit_compare_swap+y}
19584 then :
19585 printf %s "(cached) " >&6
19586 else $as_nop
19587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19588 /* end confdefs.h. */
19589 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19590 #error no
19591 #endif
19593 main (void)
19597 return 0;
19599 _ACEOF
19600 if ac_fn_c_try_compile "$LINENO"
19601 then :
19602 wine_cv_64bit_compare_swap="none needed"
19603 else $as_nop
19604 case $HOST_ARCH in
19605 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19606 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19607 *) wine_cv_64bit_compare_swap="unknown" ;;
19608 esac
19609 if test "x$wine_cv_64bit_compare_swap" != xunknown
19610 then
19611 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19615 #error no
19616 #endif
19618 main (void)
19622 return 0;
19624 _ACEOF
19625 if ac_fn_c_try_compile "$LINENO"
19626 then :
19628 else $as_nop
19629 wine_cv_64bit_compare_swap="unknown"
19631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19632 CFLAGS=$saved_CFLAGS
19635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19638 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19639 case "$wine_cv_64bit_compare_swap" in
19640 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19641 "none needed") ;;
19642 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19643 esac
19645 ac_debug_format_seen=""
19646 for ac_flag in $CFLAGS; do
19647 case $ac_flag in
19648 -gdwarf*) ac_debug_format_seen=yes ;;
19649 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19650 esac
19651 done
19652 if test "x$ac_debug_format_seen" = xdefault
19653 then
19654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19655 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19656 if test ${ac_cv_cflags__gdwarf_4+y}
19657 then :
19658 printf %s "(cached) " >&6
19659 else $as_nop
19660 ac_wine_try_cflags_saved=$CFLAGS
19661 CFLAGS="$CFLAGS -gdwarf-4"
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 int main(int argc, char **argv) { return 0; }
19665 _ACEOF
19666 if ac_fn_c_try_link "$LINENO"
19667 then :
19668 ac_cv_cflags__gdwarf_4=yes
19669 else $as_nop
19670 ac_cv_cflags__gdwarf_4=no
19672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19673 conftest$ac_exeext conftest.$ac_ext
19674 CFLAGS=$ac_wine_try_cflags_saved
19676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19677 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19678 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19679 then :
19680 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19684 MSVCRTFLAGS=""
19686 case $host_os in
19687 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19688 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19689 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19690 then :
19691 printf %s "(cached) " >&6
19692 else $as_nop
19693 ac_wine_try_cflags_saved=$CFLAGS
19694 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19697 int main(int argc, char **argv) { return 0; }
19698 _ACEOF
19699 if ac_fn_c_try_link "$LINENO"
19700 then :
19701 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19702 else $as_nop
19703 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19706 conftest$ac_exeext conftest.$ac_ext
19707 CFLAGS=$ac_wine_try_cflags_saved
19709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19710 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19711 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19712 then :
19713 DELAYLOADFLAG="-Wl,-delayload,"
19715 fi ;;
19716 *) MSVCRTFLAGS="-D_WIN32"
19717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19718 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19719 if test ${ac_cv_cflags__fno_builtin+y}
19720 then :
19721 printf %s "(cached) " >&6
19722 else $as_nop
19723 ac_wine_try_cflags_saved=$CFLAGS
19724 CFLAGS="$CFLAGS -fno-builtin"
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19727 int main(int argc, char **argv) { return 0; }
19728 _ACEOF
19729 if ac_fn_c_try_link "$LINENO"
19730 then :
19731 ac_cv_cflags__fno_builtin=yes
19732 else $as_nop
19733 ac_cv_cflags__fno_builtin=no
19735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19736 conftest$ac_exeext conftest.$ac_ext
19737 CFLAGS=$ac_wine_try_cflags_saved
19739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19740 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19741 if test "x$ac_cv_cflags__fno_builtin" = xyes
19742 then :
19743 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19746 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19747 if test ${ac_cv_cflags__fshort_wchar+y}
19748 then :
19749 printf %s "(cached) " >&6
19750 else $as_nop
19751 ac_wine_try_cflags_saved=$CFLAGS
19752 CFLAGS="$CFLAGS -fshort-wchar"
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 int main(int argc, char **argv) { return 0; }
19756 _ACEOF
19757 if ac_fn_c_try_link "$LINENO"
19758 then :
19759 ac_cv_cflags__fshort_wchar=yes
19760 else $as_nop
19761 ac_cv_cflags__fshort_wchar=no
19763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19764 conftest$ac_exeext conftest.$ac_ext
19765 CFLAGS=$ac_wine_try_cflags_saved
19767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19768 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19769 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19770 then :
19771 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19774 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19775 if test ${ac_cv_cflags__Wno_format+y}
19776 then :
19777 printf %s "(cached) " >&6
19778 else $as_nop
19779 ac_wine_try_cflags_saved=$CFLAGS
19780 CFLAGS="$CFLAGS -Wno-format"
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 int main(int argc, char **argv) { return 0; }
19784 _ACEOF
19785 if ac_fn_c_try_link "$LINENO"
19786 then :
19787 ac_cv_cflags__Wno_format=yes
19788 else $as_nop
19789 ac_cv_cflags__Wno_format=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19792 conftest$ac_exeext conftest.$ac_ext
19793 CFLAGS=$ac_wine_try_cflags_saved
19795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19796 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19797 if test "x$ac_cv_cflags__Wno_format" = xyes
19798 then :
19799 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19800 fi ;;
19801 esac
19803 case $HOST_ARCH in
19804 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19805 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19806 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19807 then :
19808 printf %s "(cached) " >&6
19809 else $as_nop
19810 ac_wine_try_cflags_saved=$CFLAGS
19811 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814 int main(int argc, char **argv) { return 0; }
19815 _ACEOF
19816 if ac_fn_c_try_link "$LINENO"
19817 then :
19818 ac_cv_cflags__fno_omit_frame_pointer=yes
19819 else $as_nop
19820 ac_cv_cflags__fno_omit_frame_pointer=no
19822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19823 conftest$ac_exeext conftest.$ac_ext
19824 CFLAGS=$ac_wine_try_cflags_saved
19826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19827 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19828 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19829 then :
19830 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19831 fi ;;
19832 x86_64)
19833 case $host_os in
19834 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19835 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19836 if test ${ac_cv_cflags__Wno_format+y}
19837 then :
19838 printf %s "(cached) " >&6
19839 else $as_nop
19840 ac_wine_try_cflags_saved=$CFLAGS
19841 CFLAGS="$CFLAGS -Wno-format"
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 int main(int argc, char **argv) { return 0; }
19845 _ACEOF
19846 if ac_fn_c_try_link "$LINENO"
19847 then :
19848 ac_cv_cflags__Wno_format=yes
19849 else $as_nop
19850 ac_cv_cflags__Wno_format=no
19852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19853 conftest$ac_exeext conftest.$ac_ext
19854 CFLAGS=$ac_wine_try_cflags_saved
19856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19857 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19858 if test "x$ac_cv_cflags__Wno_format" = xyes
19859 then :
19860 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19861 fi ;;
19862 *) if test -z "$PE_ARCHS"
19863 then
19864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19865 printf %s "checking for working -mabi=ms... " >&6; }
19866 if test ${ac_cv_mabi_ms+y}
19867 then :
19868 printf %s "(cached) " >&6
19869 else $as_nop
19870 CFLAGS="$CFLAGS -mabi=ms"
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #include <stdarg.h>
19874 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19876 main (void)
19880 return 0;
19882 _ACEOF
19883 if ac_fn_c_try_compile "$LINENO"
19884 then :
19885 ac_cv_mabi_ms=yes
19886 else $as_nop
19887 ac_cv_mabi_ms=no
19889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19890 CFLAGS=$saved_CFLAGS
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19893 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19894 test $ac_cv_mabi_ms = yes || as_fn_error $? "The compiler doesn't support -mabi=ms. Use gcc instead of clang, or install mingw-w64." "$LINENO" 5
19896 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19897 esac ;;
19898 arm)
19899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19900 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19901 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19902 then :
19903 printf %s "(cached) " >&6
19904 else $as_nop
19905 ac_wine_try_cflags_saved=$CFLAGS
19906 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19908 /* end confdefs.h. */
19909 int main(int argc, char **argv) { return 0; }
19910 _ACEOF
19911 if ac_fn_c_try_link "$LINENO"
19912 then :
19913 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19914 else $as_nop
19915 ac_cv_cflags__Wincompatible_function_pointer_types=no
19917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19918 conftest$ac_exeext conftest.$ac_ext
19919 CFLAGS=$ac_wine_try_cflags_saved
19921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19922 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19923 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19924 then :
19925 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19926 fi ;;
19927 esac
19929 CFLAGS=$saved_CFLAGS
19931 if test "x$enable_werror" = "xyes"
19932 then
19933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19934 printf %s "checking whether the compiler supports -Werror... " >&6; }
19935 if test ${ac_cv_cflags__Werror+y}
19936 then :
19937 printf %s "(cached) " >&6
19938 else $as_nop
19939 ac_wine_try_cflags_saved=$CFLAGS
19940 CFLAGS="$CFLAGS -Werror"
19941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19943 int main(int argc, char **argv) { return 0; }
19944 _ACEOF
19945 if ac_fn_c_try_link "$LINENO"
19946 then :
19947 ac_cv_cflags__Werror=yes
19948 else $as_nop
19949 ac_cv_cflags__Werror=no
19951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19952 conftest$ac_exeext conftest.$ac_ext
19953 CFLAGS=$ac_wine_try_cflags_saved
19955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19956 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19957 if test "x$ac_cv_cflags__Werror" = xyes
19958 then :
19959 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19962 if test "x$enable_build_id" = "xyes"
19963 then
19964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19965 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19966 if test ${ac_cv_cflags__Wl___build_id+y}
19967 then :
19968 printf %s "(cached) " >&6
19969 else $as_nop
19970 ac_wine_try_cflags_saved=$CFLAGS
19971 CFLAGS="$CFLAGS -Wl,--build-id"
19972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19973 /* end confdefs.h. */
19974 int main(int argc, char **argv) { return 0; }
19975 _ACEOF
19976 if ac_fn_c_try_link "$LINENO"
19977 then :
19978 ac_cv_cflags__Wl___build_id=yes
19979 else $as_nop
19980 ac_cv_cflags__Wl___build_id=no
19982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19983 conftest$ac_exeext conftest.$ac_ext
19984 CFLAGS=$ac_wine_try_cflags_saved
19986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19987 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19988 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19989 then :
19990 CFLAGS="$CFLAGS -Wl,--build-id"
19991 LDFLAGS="$LDFLAGS -Wl,--build-id"
19997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19998 printf %s "checking for the need to disable Fortify... " >&6; }
19999 if test ${ac_cv_c_fortify_enabled+y}
20000 then :
20001 printf %s "(cached) " >&6
20002 else $as_nop
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20005 #include <string.h>
20007 main (void)
20009 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
20010 #error Fortify enabled
20011 #endif
20013 return 0;
20015 _ACEOF
20016 if ac_fn_c_try_compile "$LINENO"
20017 then :
20018 ac_cv_c_fortify_enabled=no
20019 else $as_nop
20020 ac_cv_c_fortify_enabled=yes
20022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
20025 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
20026 if test "$ac_cv_c_fortify_enabled" = yes
20027 then
20028 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
20032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
20033 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
20034 if test ${ac_cv_c_cfi_support+y}
20035 then :
20036 printf %s "(cached) " >&6
20037 else $as_nop
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20040 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
20042 main (void)
20046 return 0;
20048 _ACEOF
20049 if ac_fn_c_try_compile "$LINENO"
20050 then :
20051 ac_cv_c_cfi_support="yes"
20052 else $as_nop
20053 ac_cv_c_cfi_support="no"
20055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
20058 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
20059 if test "$ac_cv_c_cfi_support" = "yes"
20060 then
20061 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
20062 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
20063 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
20064 elif test $HOST_ARCH = x86_64
20065 then
20066 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
20070 case "$HOST_ARCH,$PE_ARCHS" in
20071 x86_64,*i386*) wine_binary="wine" ;;
20072 x86_64,*) wine_binary="wine64" ;;
20073 *) wine_binary="wine" ;;
20074 esac
20075 WINELOADER_PROGRAMS="$wine_binary"
20078 case $host_os in
20079 linux*)
20080 if test $HOST_ARCH != unknown
20081 then
20082 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20083 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20086 darwin*|macosx*)
20087 if test "$wine_can_build_preloader" = "yes"
20088 then
20089 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20090 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20093 esac
20096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20097 printf %s "checking for library containing dlopen... " >&6; }
20098 if test ${ac_cv_search_dlopen+y}
20099 then :
20100 printf %s "(cached) " >&6
20101 else $as_nop
20102 ac_func_search_save_LIBS=$LIBS
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20106 /* Override any GCC internal prototype to avoid an error.
20107 Use char because int might match the return type of a GCC
20108 builtin and then its argument prototype would still apply. */
20109 char dlopen ();
20111 main (void)
20113 return dlopen ();
20115 return 0;
20117 _ACEOF
20118 for ac_lib in '' dl
20120 if test -z "$ac_lib"; then
20121 ac_res="none required"
20122 else
20123 ac_res=-l$ac_lib
20124 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20126 if ac_fn_c_try_link "$LINENO"
20127 then :
20128 ac_cv_search_dlopen=$ac_res
20130 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20131 conftest$ac_exeext
20132 if test ${ac_cv_search_dlopen+y}
20133 then :
20134 break
20136 done
20137 if test ${ac_cv_search_dlopen+y}
20138 then :
20140 else $as_nop
20141 ac_cv_search_dlopen=no
20143 rm conftest.$ac_ext
20144 LIBS=$ac_func_search_save_LIBS
20146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20147 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20148 ac_res=$ac_cv_search_dlopen
20149 if test "$ac_res" != no
20150 then :
20151 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20157 printf %s "checking for library containing gethostbyname... " >&6; }
20158 if test ${ac_cv_search_gethostbyname+y}
20159 then :
20160 printf %s "(cached) " >&6
20161 else $as_nop
20162 ac_func_search_save_LIBS=$LIBS
20163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20164 /* end confdefs.h. */
20166 /* Override any GCC internal prototype to avoid an error.
20167 Use char because int might match the return type of a GCC
20168 builtin and then its argument prototype would still apply. */
20169 char gethostbyname ();
20171 main (void)
20173 return gethostbyname ();
20175 return 0;
20177 _ACEOF
20178 for ac_lib in '' nsl
20180 if test -z "$ac_lib"; then
20181 ac_res="none required"
20182 else
20183 ac_res=-l$ac_lib
20184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20186 if ac_fn_c_try_link "$LINENO"
20187 then :
20188 ac_cv_search_gethostbyname=$ac_res
20190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20191 conftest$ac_exeext
20192 if test ${ac_cv_search_gethostbyname+y}
20193 then :
20194 break
20196 done
20197 if test ${ac_cv_search_gethostbyname+y}
20198 then :
20200 else $as_nop
20201 ac_cv_search_gethostbyname=no
20203 rm conftest.$ac_ext
20204 LIBS=$ac_func_search_save_LIBS
20206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20207 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20208 ac_res=$ac_cv_search_gethostbyname
20209 if test "$ac_res" != no
20210 then :
20211 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20217 printf %s "checking for library containing connect... " >&6; }
20218 if test ${ac_cv_search_connect+y}
20219 then :
20220 printf %s "(cached) " >&6
20221 else $as_nop
20222 ac_func_search_save_LIBS=$LIBS
20223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20224 /* end confdefs.h. */
20226 /* Override any GCC internal prototype to avoid an error.
20227 Use char because int might match the return type of a GCC
20228 builtin and then its argument prototype would still apply. */
20229 char connect ();
20231 main (void)
20233 return connect ();
20235 return 0;
20237 _ACEOF
20238 for ac_lib in '' socket
20240 if test -z "$ac_lib"; then
20241 ac_res="none required"
20242 else
20243 ac_res=-l$ac_lib
20244 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20246 if ac_fn_c_try_link "$LINENO"
20247 then :
20248 ac_cv_search_connect=$ac_res
20250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20251 conftest$ac_exeext
20252 if test ${ac_cv_search_connect+y}
20253 then :
20254 break
20256 done
20257 if test ${ac_cv_search_connect+y}
20258 then :
20260 else $as_nop
20261 ac_cv_search_connect=no
20263 rm conftest.$ac_ext
20264 LIBS=$ac_func_search_save_LIBS
20266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20267 printf "%s\n" "$ac_cv_search_connect" >&6; }
20268 ac_res=$ac_cv_search_connect
20269 if test "$ac_res" != no
20270 then :
20271 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20277 printf %s "checking for library containing inet_aton... " >&6; }
20278 if test ${ac_cv_search_inet_aton+y}
20279 then :
20280 printf %s "(cached) " >&6
20281 else $as_nop
20282 ac_func_search_save_LIBS=$LIBS
20283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h. */
20286 /* Override any GCC internal prototype to avoid an error.
20287 Use char because int might match the return type of a GCC
20288 builtin and then its argument prototype would still apply. */
20289 char inet_aton ();
20291 main (void)
20293 return inet_aton ();
20295 return 0;
20297 _ACEOF
20298 for ac_lib in '' resolv
20300 if test -z "$ac_lib"; then
20301 ac_res="none required"
20302 else
20303 ac_res=-l$ac_lib
20304 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20306 if ac_fn_c_try_link "$LINENO"
20307 then :
20308 ac_cv_search_inet_aton=$ac_res
20310 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20311 conftest$ac_exeext
20312 if test ${ac_cv_search_inet_aton+y}
20313 then :
20314 break
20316 done
20317 if test ${ac_cv_search_inet_aton+y}
20318 then :
20320 else $as_nop
20321 ac_cv_search_inet_aton=no
20323 rm conftest.$ac_ext
20324 LIBS=$ac_func_search_save_LIBS
20326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20327 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20328 ac_res=$ac_cv_search_inet_aton
20329 if test "$ac_res" != no
20330 then :
20331 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20336 ac_save_CFLAGS="$CFLAGS"
20337 CFLAGS="$CFLAGS $BUILTINFLAG"
20338 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20339 if test "x$ac_cv_func_dladdr1" = xyes
20340 then :
20341 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20344 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20345 if test "x$ac_cv_func_dlinfo" = xyes
20346 then :
20347 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20350 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20351 if test "x$ac_cv_func_epoll_create" = xyes
20352 then :
20353 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20356 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20357 if test "x$ac_cv_func_fstatfs" = xyes
20358 then :
20359 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20362 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20363 if test "x$ac_cv_func_futimens" = xyes
20364 then :
20365 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20368 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20369 if test "x$ac_cv_func_futimes" = xyes
20370 then :
20371 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20374 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20375 if test "x$ac_cv_func_futimesat" = xyes
20376 then :
20377 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20380 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20381 if test "x$ac_cv_func_getaddrinfo" = xyes
20382 then :
20383 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20386 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20387 if test "x$ac_cv_func_getattrlist" = xyes
20388 then :
20389 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20392 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20393 if test "x$ac_cv_func_getauxval" = xyes
20394 then :
20395 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20398 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20399 if test "x$ac_cv_func_getifaddrs" = xyes
20400 then :
20401 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20404 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20405 if test "x$ac_cv_func_getrandom" = xyes
20406 then :
20407 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20410 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20411 if test "x$ac_cv_func_kqueue" = xyes
20412 then :
20413 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20416 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20417 if test "x$ac_cv_func_mach_continuous_time" = xyes
20418 then :
20419 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20422 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20423 if test "x$ac_cv_func_pipe2" = xyes
20424 then :
20425 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20428 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20429 if test "x$ac_cv_func_port_create" = xyes
20430 then :
20431 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20434 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20435 if test "x$ac_cv_func_posix_fadvise" = xyes
20436 then :
20437 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20440 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20441 if test "x$ac_cv_func_posix_fallocate" = xyes
20442 then :
20443 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20446 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20447 if test "x$ac_cv_func_prctl" = xyes
20448 then :
20449 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20452 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20453 if test "x$ac_cv_func_proc_pidinfo" = xyes
20454 then :
20455 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20458 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20459 if test "x$ac_cv_func_sched_yield" = xyes
20460 then :
20461 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20464 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20465 if test "x$ac_cv_func_setproctitle" = xyes
20466 then :
20467 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20470 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20471 if test "x$ac_cv_func_setprogname" = xyes
20472 then :
20473 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20476 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20477 if test "x$ac_cv_func_sigprocmask" = xyes
20478 then :
20479 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20482 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20483 if test "x$ac_cv_func_sysinfo" = xyes
20484 then :
20485 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20488 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20489 if test "x$ac_cv_func_tcdrain" = xyes
20490 then :
20491 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20494 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20495 if test "x$ac_cv_func_thr_kill2" = xyes
20496 then :
20497 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20501 CFLAGS="$ac_save_CFLAGS"
20503 case $host_os in
20504 darwin*|macosx*) ;;
20505 *) ac_save_LIBS=$LIBS
20506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20507 printf %s "checking for library containing clock_gettime... " >&6; }
20508 if test ${ac_cv_search_clock_gettime+y}
20509 then :
20510 printf %s "(cached) " >&6
20511 else $as_nop
20512 ac_func_search_save_LIBS=$LIBS
20513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20514 /* end confdefs.h. */
20516 /* Override any GCC internal prototype to avoid an error.
20517 Use char because int might match the return type of a GCC
20518 builtin and then its argument prototype would still apply. */
20519 char clock_gettime ();
20521 main (void)
20523 return clock_gettime ();
20525 return 0;
20527 _ACEOF
20528 for ac_lib in '' rt
20530 if test -z "$ac_lib"; then
20531 ac_res="none required"
20532 else
20533 ac_res=-l$ac_lib
20534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20536 if ac_fn_c_try_link "$LINENO"
20537 then :
20538 ac_cv_search_clock_gettime=$ac_res
20540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20541 conftest$ac_exeext
20542 if test ${ac_cv_search_clock_gettime+y}
20543 then :
20544 break
20546 done
20547 if test ${ac_cv_search_clock_gettime+y}
20548 then :
20550 else $as_nop
20551 ac_cv_search_clock_gettime=no
20553 rm conftest.$ac_ext
20554 LIBS=$ac_func_search_save_LIBS
20556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20557 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20558 ac_res=$ac_cv_search_clock_gettime
20559 if test "$ac_res" != no
20560 then :
20561 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20563 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20565 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20569 LIBS=$ac_save_LIBS
20571 esac
20573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20574 printf %s "checking for sched_setaffinity... " >&6; }
20575 if test ${wine_cv_have_sched_setaffinity+y}
20576 then :
20577 printf %s "(cached) " >&6
20578 else $as_nop
20579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20580 /* end confdefs.h. */
20581 #include <sched.h>
20583 main (void)
20585 sched_setaffinity(0, 0, 0);
20587 return 0;
20589 _ACEOF
20590 if ac_fn_c_try_link "$LINENO"
20591 then :
20592 wine_cv_have_sched_setaffinity=yes
20593 else $as_nop
20594 wine_cv_have_sched_setaffinity=no
20596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20597 conftest$ac_exeext conftest.$ac_ext
20599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20600 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20601 if test "$wine_cv_have_sched_setaffinity" = "yes"
20602 then
20604 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20610 printf %s "checking for inline... " >&6; }
20611 if test ${ac_cv_c_inline+y}
20612 then :
20613 printf %s "(cached) " >&6
20614 else $as_nop
20615 ac_cv_c_inline=no
20616 for ac_kw in inline __inline__ __inline; do
20617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20619 #ifndef __cplusplus
20620 typedef int foo_t;
20621 static $ac_kw foo_t static_foo (void) {return 0; }
20622 $ac_kw foo_t foo (void) {return 0; }
20623 #endif
20625 _ACEOF
20626 if ac_fn_c_try_compile "$LINENO"
20627 then :
20628 ac_cv_c_inline=$ac_kw
20630 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20631 test "$ac_cv_c_inline" != no && break
20632 done
20635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20636 printf "%s\n" "$ac_cv_c_inline" >&6; }
20638 case $ac_cv_c_inline in
20639 inline | yes) ;;
20641 case $ac_cv_c_inline in
20642 no) ac_val=;;
20643 *) ac_val=$ac_cv_c_inline;;
20644 esac
20645 cat >>confdefs.h <<_ACEOF
20646 #ifndef __cplusplus
20647 #define inline $ac_val
20648 #endif
20649 _ACEOF
20651 esac
20653 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20655 if test "x$ac_cv_type_request_sense" = xyes
20656 then :
20658 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20664 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20665 #include <sys/socket.h>
20666 #ifdef HAVE_SYS_SOCKETVAR_H
20667 #include <sys/socketvar.h>
20668 #endif
20669 #ifdef HAVE_NET_ROUTE_H
20670 #include <net/route.h>
20671 #endif
20672 #ifdef HAVE_NETINET_IN_H
20673 #include <netinet/in.h>
20674 #endif
20675 #ifdef HAVE_NETINET_IN_SYSTM_H
20676 #include <netinet/in_systm.h>
20677 #endif
20678 #ifdef HAVE_NETINET_IP_H
20679 #include <netinet/ip.h>
20680 #endif
20681 #ifdef HAVE_NETINET_IN_PCB_H
20682 #include <netinet/in_pcb.h>
20683 #endif
20685 if test "x$ac_cv_type_struct_xinpgen" = xyes
20686 then :
20688 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20695 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20696 if test ${wine_cv_linux_gethostbyname_r_6+y}
20697 then :
20698 printf %s "(cached) " >&6
20699 else $as_nop
20700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20701 /* end confdefs.h. */
20702 #include <netdb.h>
20704 main (void)
20707 char *name=0;
20708 struct hostent he;
20709 struct hostent *result;
20710 char *buf=0;
20711 int bufsize=0;
20712 int errnr;
20713 char *addr=0;
20714 int addrlen=0;
20715 int addrtype=0;
20716 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20717 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20720 return 0;
20722 _ACEOF
20723 if ac_fn_c_try_link "$LINENO"
20724 then :
20725 wine_cv_linux_gethostbyname_r_6=yes
20726 else $as_nop
20727 wine_cv_linux_gethostbyname_r_6=no
20730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20731 conftest$ac_exeext conftest.$ac_ext
20734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20735 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20736 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20737 then
20739 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20743 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20744 #include <sys/socket.h>
20745 #ifdef HAVE_SYS_UN_H
20746 # include <sys/un.h>
20747 #endif
20749 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20750 then :
20752 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20756 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20757 #include <sys/socket.h>
20758 #ifdef HAVE_SYS_UN_H
20759 # include <sys/un.h>
20760 #endif
20762 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20763 then :
20765 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20771 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20772 #ifdef HAVE_SCSI_SG_H
20773 #include <scsi/sg.h>
20774 #endif
20776 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20777 then :
20779 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20783 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>
20784 #ifdef HAVE_SCSI_SG_H
20785 #include <scsi/sg.h>
20786 #endif
20788 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20789 then :
20791 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20797 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20799 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20800 then :
20802 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20808 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20809 #ifdef HAVE_SYS_MTIO_H
20810 #include <sys/mtio.h>
20811 #endif
20813 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20814 then :
20816 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20820 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20821 #ifdef HAVE_SYS_MTIO_H
20822 #include <sys/mtio.h>
20823 #endif
20825 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20826 then :
20828 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20832 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20833 #ifdef HAVE_SYS_MTIO_H
20834 #include <sys/mtio.h>
20835 #endif
20837 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20838 then :
20840 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20846 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20847 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20848 then :
20850 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20854 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20855 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20856 then :
20858 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20862 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20863 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20864 then :
20866 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20870 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20871 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20872 then :
20874 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20878 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20879 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20880 then :
20882 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20886 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20887 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20888 then :
20890 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20894 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20895 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20896 then :
20898 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20902 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20903 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20904 then :
20906 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20910 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20911 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20912 then :
20914 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20918 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20919 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20920 then :
20922 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20926 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20927 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20928 then :
20930 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20936 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>
20937 #ifdef HAVE_NETINET_IN_H
20938 #include <netinet/in.h>
20939 #endif
20941 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20942 then :
20944 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20950 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
20951 #include <resolv.h>
20952 #endif
20954 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20955 then :
20957 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20963 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20964 #include <netinet/in.h>
20965 #endif
20967 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20968 then :
20970 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20976 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20977 #ifdef HAVE_SYS_SOCKETVAR_H
20978 #include <sys/socketvar.h>
20979 #endif
20980 #ifdef HAVE_NETINET_IN_H
20981 #include <netinet/in.h>
20982 #endif
20983 #ifdef HAVE_NETINET_IP_VAR_H
20984 #include <netinet/ip_var.h>
20985 #endif
20987 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20988 then :
20990 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20996 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
20997 #include <netinet/ip_var.h>
20998 #endif
21000 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
21001 then :
21003 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
21009 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
21010 #ifdef HAVE_SYS_SOCKETVAR_H
21011 #include <sys/socketvar.h>
21012 #endif
21013 #ifdef HAVE_NETINET_IN_H
21014 #include <netinet/in.h>
21015 #endif
21016 #ifdef HAVE_NETINET6_IP6_VAR_H
21017 #include <netinet6/ip6_var.h>
21018 #endif
21020 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
21021 then :
21023 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
21029 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
21030 #ifdef HAVE_SYS_SOCKETVAR_H
21031 #include <sys/socketvar.h>
21032 #endif
21033 #ifdef HAVE_NETINET_IN_H
21034 #include <netinet/in.h>
21035 #endif
21036 #ifdef HAVE_NETINET_IP_H
21037 #include <netinet/ip.h>
21038 #endif
21039 #ifdef HAVE_NETINET_IP_ICMP_H
21040 #include <netinet/ip_icmp.h>
21041 #endif
21042 #ifdef HAVE_NETINET_ICMP_VAR_H
21043 #include <netinet/icmp_var.h>
21044 #endif
21046 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
21047 then :
21049 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
21055 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
21056 #ifdef HAVE_SYS_SOCKETVAR_H
21057 #include <sys/socketvar.h>
21058 #endif
21059 #ifdef HAVE_NETINET_IN_H
21060 #include <netinet/in.h>
21061 #endif
21062 #ifdef HAVE_NETINET_ICMP6_H
21063 #include <netinet/icmp6.h>
21064 #endif
21066 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
21067 then :
21069 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
21075 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
21076 #ifdef HAVE_SYS_SOCKETVAR_H
21077 #include <sys/socketvar.h>
21078 #endif
21079 #ifdef HAVE_NETINET_IN_H
21080 #include <netinet/in.h>
21081 #endif
21082 #ifdef HAVE_NETINET_TCP_H
21083 #include <netinet/tcp.h>
21084 #endif
21085 #ifdef HAVE_NETINET_TCP_VAR_H
21086 #include <netinet/tcp_var.h>
21087 #endif
21089 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21090 then :
21092 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21098 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
21099 #include <netinet/tcp_var.h>
21100 #endif
21102 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21103 then :
21105 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21111 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21112 #ifdef HAVE_NETINET_IN_H
21113 #include <netinet/in.h>
21114 #endif
21115 #ifdef HAVE_NETINET_IP_VAR_H
21116 #include <netinet/ip_var.h>
21117 #endif
21118 #ifdef HAVE_NETINET_UDP_H
21119 #include <netinet/udp.h>
21120 #endif
21121 #ifdef HAVE_NETINET_UDP_VAR_H
21122 #include <netinet/udp_var.h>
21123 #endif
21125 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21126 then :
21128 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21134 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21135 #ifdef HAVE_NET_IF_H
21136 # include <net/if.h>
21137 #endif
21139 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21140 then :
21142 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21148 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21149 # include <sys/sysinfo.h>
21150 #endif
21152 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21153 then :
21155 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21159 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21160 # include <sys/sysinfo.h>
21161 #endif
21163 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21164 then :
21166 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21172 LIBS="$ac_save_LIBS"
21174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21175 printf %s "checking for __builtin_popcount... " >&6; }
21176 if test ${ac_cv_have___builtin_popcount+y}
21177 then :
21178 printf %s "(cached) " >&6
21179 else $as_nop
21180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181 /* end confdefs.h. */
21184 main (void)
21186 return __builtin_popcount(1)
21188 return 0;
21190 _ACEOF
21191 if ac_fn_c_try_link "$LINENO"
21192 then :
21193 ac_cv_have___builtin_popcount="yes"
21194 else $as_nop
21195 ac_cv_have___builtin_popcount="no"
21197 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21198 conftest$ac_exeext conftest.$ac_ext
21200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21201 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21202 if test "$ac_cv_have___builtin_popcount" = "yes"
21203 then
21205 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21210 printf %s "checking for __clear_cache... " >&6; }
21211 if test ${ac_cv_have___clear_cache+y}
21212 then :
21213 printf %s "(cached) " >&6
21214 else $as_nop
21215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21216 /* end confdefs.h. */
21219 main (void)
21221 __clear_cache((void*)0, (void*)0); return 0;
21223 return 0;
21225 _ACEOF
21226 if ac_fn_c_try_link "$LINENO"
21227 then :
21228 ac_cv_have___clear_cache="yes"
21229 else $as_nop
21230 ac_cv_have___clear_cache="no"
21232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21233 conftest$ac_exeext conftest.$ac_ext
21235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21236 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21237 if test "$ac_cv_have___clear_cache" = "yes"
21238 then
21240 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21245 case $host_cpu in
21246 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21247 printf %s "checking whether we need to define __i386__... " >&6; }
21248 if test ${ac_cv_cpp_def___i386__+y}
21249 then :
21250 printf %s "(cached) " >&6
21251 else $as_nop
21252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21253 /* end confdefs.h. */
21254 #ifndef __i386__
21256 #endif
21257 _ACEOF
21258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21259 $EGREP "yes" >/dev/null 2>&1
21260 then :
21261 ac_cv_cpp_def___i386__=yes
21262 else $as_nop
21263 ac_cv_cpp_def___i386__=no
21265 rm -rf conftest*
21268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21269 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21270 if test "x$ac_cv_cpp_def___i386__" = xyes
21271 then :
21272 CFLAGS="$CFLAGS -D__i386__"
21273 LINTFLAGS="$LINTFLAGS -D__i386__"
21274 fi ;;
21275 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21276 printf %s "checking whether we need to define __x86_64__... " >&6; }
21277 if test ${ac_cv_cpp_def___x86_64__+y}
21278 then :
21279 printf %s "(cached) " >&6
21280 else $as_nop
21281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21282 /* end confdefs.h. */
21283 #ifndef __x86_64__
21285 #endif
21286 _ACEOF
21287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21288 $EGREP "yes" >/dev/null 2>&1
21289 then :
21290 ac_cv_cpp_def___x86_64__=yes
21291 else $as_nop
21292 ac_cv_cpp_def___x86_64__=no
21294 rm -rf conftest*
21297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21298 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21299 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21300 then :
21301 CFLAGS="$CFLAGS -D__x86_64__"
21302 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21303 fi ;;
21304 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21305 printf %s "checking whether we need to define __sparc64__... " >&6; }
21306 if test ${ac_cv_cpp_def___sparc64__+y}
21307 then :
21308 printf %s "(cached) " >&6
21309 else $as_nop
21310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21311 /* end confdefs.h. */
21312 #ifndef __sparc64__
21314 #endif
21315 _ACEOF
21316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21317 $EGREP "yes" >/dev/null 2>&1
21318 then :
21319 ac_cv_cpp_def___sparc64__=yes
21320 else $as_nop
21321 ac_cv_cpp_def___sparc64__=no
21323 rm -rf conftest*
21326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21327 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21328 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21329 then :
21330 CFLAGS="$CFLAGS -D__sparc64__"
21331 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21332 fi ;;
21333 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21334 printf %s "checking whether we need to define __sparc__... " >&6; }
21335 if test ${ac_cv_cpp_def___sparc__+y}
21336 then :
21337 printf %s "(cached) " >&6
21338 else $as_nop
21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21340 /* end confdefs.h. */
21341 #ifndef __sparc__
21343 #endif
21344 _ACEOF
21345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21346 $EGREP "yes" >/dev/null 2>&1
21347 then :
21348 ac_cv_cpp_def___sparc__=yes
21349 else $as_nop
21350 ac_cv_cpp_def___sparc__=no
21352 rm -rf conftest*
21355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21356 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21357 if test "x$ac_cv_cpp_def___sparc__" = xyes
21358 then :
21359 CFLAGS="$CFLAGS -D__sparc__"
21360 LINTFLAGS="$LINTFLAGS -D__sparc__"
21361 fi ;;
21362 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21363 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21364 if test ${ac_cv_cpp_def___powerpc64__+y}
21365 then :
21366 printf %s "(cached) " >&6
21367 else $as_nop
21368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21370 #ifndef __powerpc64__
21372 #endif
21373 _ACEOF
21374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21375 $EGREP "yes" >/dev/null 2>&1
21376 then :
21377 ac_cv_cpp_def___powerpc64__=yes
21378 else $as_nop
21379 ac_cv_cpp_def___powerpc64__=no
21381 rm -rf conftest*
21384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21385 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21386 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21387 then :
21388 CFLAGS="$CFLAGS -D__powerpc64__"
21389 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21390 fi ;;
21391 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21392 printf %s "checking whether we need to define __powerpc__... " >&6; }
21393 if test ${ac_cv_cpp_def___powerpc__+y}
21394 then :
21395 printf %s "(cached) " >&6
21396 else $as_nop
21397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21399 #ifndef __powerpc__
21401 #endif
21402 _ACEOF
21403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21404 $EGREP "yes" >/dev/null 2>&1
21405 then :
21406 ac_cv_cpp_def___powerpc__=yes
21407 else $as_nop
21408 ac_cv_cpp_def___powerpc__=no
21410 rm -rf conftest*
21413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21414 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21415 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21416 then :
21417 CFLAGS="$CFLAGS -D__powerpc__"
21418 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21419 fi ;;
21420 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21421 printf %s "checking whether we need to define __aarch64__... " >&6; }
21422 if test ${ac_cv_cpp_def___aarch64__+y}
21423 then :
21424 printf %s "(cached) " >&6
21425 else $as_nop
21426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h. */
21428 #ifndef __aarch64__
21430 #endif
21431 _ACEOF
21432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21433 $EGREP "yes" >/dev/null 2>&1
21434 then :
21435 ac_cv_cpp_def___aarch64__=yes
21436 else $as_nop
21437 ac_cv_cpp_def___aarch64__=no
21439 rm -rf conftest*
21442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21443 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21444 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21445 then :
21446 CFLAGS="$CFLAGS -D__aarch64__"
21447 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21448 fi ;;
21449 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21450 printf %s "checking whether we need to define __arm__... " >&6; }
21451 if test ${ac_cv_cpp_def___arm__+y}
21452 then :
21453 printf %s "(cached) " >&6
21454 else $as_nop
21455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21456 /* end confdefs.h. */
21457 #ifndef __arm__
21459 #endif
21460 _ACEOF
21461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21462 $EGREP "yes" >/dev/null 2>&1
21463 then :
21464 ac_cv_cpp_def___arm__=yes
21465 else $as_nop
21466 ac_cv_cpp_def___arm__=no
21468 rm -rf conftest*
21471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21472 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21473 if test "x$ac_cv_cpp_def___arm__" = xyes
21474 then :
21475 CFLAGS="$CFLAGS -D__arm__"
21476 LINTFLAGS="$LINTFLAGS -D__arm__"
21477 fi ;;
21478 esac
21480 case $host_vendor in
21481 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21482 printf %s "checking whether we need to define __sun__... " >&6; }
21483 if test ${ac_cv_cpp_def___sun__+y}
21484 then :
21485 printf %s "(cached) " >&6
21486 else $as_nop
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21489 #ifndef __sun__
21491 #endif
21492 _ACEOF
21493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21494 $EGREP "yes" >/dev/null 2>&1
21495 then :
21496 ac_cv_cpp_def___sun__=yes
21497 else $as_nop
21498 ac_cv_cpp_def___sun__=no
21500 rm -rf conftest*
21503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21504 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21505 if test "x$ac_cv_cpp_def___sun__" = xyes
21506 then :
21507 CFLAGS="$CFLAGS -D__sun__"
21508 LINTFLAGS="$LINTFLAGS -D__sun__"
21509 fi ;;
21510 esac
21516 ac_config_commands="$ac_config_commands include/stamp-h"
21518 printf %s "creating Makefile rules..." >&6
21520 makedep_flags=""
21521 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21523 wine_srcdir=
21524 test "$srcdir" = . || wine_srcdir="$srcdir/"
21526 ac_config_links="$ac_config_links wine:tools/winewrapper"
21527 wine_fn_config_symlink wine
21528 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21529 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21530 wine_fn_config_symlink wine64
21533 wine_fn_config_makefile dlls/acledit enable_acledit
21534 wine_fn_config_makefile dlls/aclui enable_aclui
21535 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21536 wine_fn_config_makefile dlls/activeds enable_activeds
21537 wine_fn_config_makefile dlls/activeds/tests enable_tests
21538 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21539 wine_fn_config_makefile dlls/adsldp enable_adsldp
21540 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21541 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21542 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21543 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21544 wine_fn_config_makefile dlls/advpack enable_advpack
21545 wine_fn_config_makefile dlls/advpack/tests enable_tests
21546 wine_fn_config_makefile dlls/amsi enable_amsi
21547 wine_fn_config_makefile dlls/amstream enable_amstream
21548 wine_fn_config_makefile dlls/amstream/tests enable_tests
21549 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21550 wine_fn_config_makefile dlls/apphelp enable_apphelp
21551 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21552 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21553 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21554 wine_fn_config_makefile dlls/atl enable_atl
21555 wine_fn_config_makefile dlls/atl/tests enable_tests
21556 wine_fn_config_makefile dlls/atl100 enable_atl100
21557 wine_fn_config_makefile dlls/atl100/tests enable_tests
21558 wine_fn_config_makefile dlls/atl110 enable_atl110
21559 wine_fn_config_makefile dlls/atl110/tests enable_tests
21560 wine_fn_config_makefile dlls/atl80 enable_atl80
21561 wine_fn_config_makefile dlls/atl80/tests enable_tests
21562 wine_fn_config_makefile dlls/atl90 enable_atl90
21563 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21564 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21565 wine_fn_config_makefile dlls/atmlib enable_atmlib
21566 wine_fn_config_makefile dlls/authz enable_authz
21567 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21568 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21569 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21570 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21571 wine_fn_config_makefile dlls/avrt enable_avrt
21572 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21573 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21574 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21575 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21576 wine_fn_config_makefile dlls/browseui enable_browseui
21577 wine_fn_config_makefile dlls/browseui/tests enable_tests
21578 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21579 wine_fn_config_makefile dlls/cabinet enable_cabinet
21580 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21581 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21582 wine_fn_config_makefile dlls/cards enable_cards
21583 wine_fn_config_makefile dlls/cdosys enable_cdosys
21584 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21585 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21586 wine_fn_config_makefile dlls/clusapi enable_clusapi
21587 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21588 wine_fn_config_makefile dlls/combase enable_combase
21589 wine_fn_config_makefile dlls/combase/tests enable_tests
21590 wine_fn_config_makefile dlls/comcat enable_comcat
21591 wine_fn_config_makefile dlls/comcat/tests enable_tests
21592 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21593 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21594 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21595 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21596 wine_fn_config_makefile dlls/coml2 enable_coml2
21597 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21598 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21599 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21600 wine_fn_config_makefile dlls/compstui enable_compstui
21601 wine_fn_config_makefile dlls/compstui/tests enable_tests
21602 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21603 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21604 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21605 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21606 wine_fn_config_makefile dlls/connect enable_connect
21607 wine_fn_config_makefile dlls/credui enable_credui
21608 wine_fn_config_makefile dlls/credui/tests enable_tests
21609 wine_fn_config_makefile dlls/crtdll enable_crtdll
21610 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21611 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21612 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21613 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21614 wine_fn_config_makefile dlls/cryptext enable_cryptext
21615 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21616 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21617 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21618 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21619 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21620 wine_fn_config_makefile dlls/cryptui enable_cryptui
21621 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21622 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21623 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21624 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21625 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21626 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21627 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21628 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21629 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21630 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21631 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21632 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21633 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21634 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21635 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21636 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21637 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21638 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21639 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21640 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21641 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21642 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21643 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21644 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21645 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21646 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21647 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21648 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21649 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21650 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21651 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21652 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21653 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21654 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21655 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21656 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21657 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21658 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21659 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21660 wine_fn_config_makefile dlls/d3dim enable_d3dim
21661 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21662 wine_fn_config_makefile dlls/d3drm enable_d3drm
21663 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21664 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21665 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21666 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21667 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21668 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21669 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21670 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21671 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21672 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21673 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21674 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21675 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21676 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21677 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21678 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21679 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21680 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21681 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21682 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21683 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21684 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21685 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21686 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21687 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21688 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21689 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21690 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21691 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21692 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21693 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21694 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21695 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21696 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21697 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21698 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21699 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21700 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21701 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21702 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21703 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21704 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21705 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21706 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21707 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21708 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21709 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21710 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21711 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21712 wine_fn_config_makefile dlls/davclnt enable_davclnt
21713 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21714 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21715 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21716 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21717 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21718 wine_fn_config_makefile dlls/dcomp enable_dcomp
21719 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21720 wine_fn_config_makefile dlls/ddraw enable_ddraw
21721 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21722 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21723 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21724 wine_fn_config_makefile dlls/devenum enable_devenum
21725 wine_fn_config_makefile dlls/devenum/tests enable_tests
21726 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21727 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21728 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21729 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21730 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21731 wine_fn_config_makefile dlls/difxapi enable_difxapi
21732 wine_fn_config_makefile dlls/dinput enable_dinput
21733 wine_fn_config_makefile dlls/dinput/tests enable_tests
21734 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21735 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21736 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21737 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21738 wine_fn_config_makefile dlls/dispex enable_dispex
21739 wine_fn_config_makefile dlls/dispex/tests enable_tests
21740 wine_fn_config_makefile dlls/display.drv16 enable_win16
21741 wine_fn_config_makefile dlls/dmband enable_dmband
21742 wine_fn_config_makefile dlls/dmband/tests enable_tests
21743 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21744 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21745 wine_fn_config_makefile dlls/dmime enable_dmime
21746 wine_fn_config_makefile dlls/dmime/tests enable_tests
21747 wine_fn_config_makefile dlls/dmloader enable_dmloader
21748 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21749 wine_fn_config_makefile dlls/dmscript enable_dmscript
21750 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21751 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21752 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21753 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21754 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21755 wine_fn_config_makefile dlls/dmusic enable_dmusic
21756 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21757 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21758 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21759 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21760 wine_fn_config_makefile dlls/dplay enable_dplay
21761 wine_fn_config_makefile dlls/dplayx enable_dplayx
21762 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21763 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21764 wine_fn_config_makefile dlls/dpnet enable_dpnet
21765 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21766 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21767 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21768 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21769 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21770 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21771 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21772 wine_fn_config_makefile dlls/drmclien enable_drmclien
21773 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21774 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21775 wine_fn_config_makefile dlls/dsound enable_dsound
21776 wine_fn_config_makefile dlls/dsound/tests enable_tests
21777 wine_fn_config_makefile dlls/dsquery enable_dsquery
21778 wine_fn_config_makefile dlls/dssenh enable_dssenh
21779 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21780 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21781 wine_fn_config_makefile dlls/dswave enable_dswave
21782 wine_fn_config_makefile dlls/dswave/tests enable_tests
21783 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21784 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21785 wine_fn_config_makefile dlls/dwrite enable_dwrite
21786 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21787 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21788 wine_fn_config_makefile dlls/dxcore enable_dxcore
21789 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21790 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21791 wine_fn_config_makefile dlls/dxgi enable_dxgi
21792 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21793 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21794 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21795 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21796 wine_fn_config_makefile dlls/esent enable_esent
21797 wine_fn_config_makefile dlls/evr enable_evr
21798 wine_fn_config_makefile dlls/evr/tests enable_tests
21799 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21800 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21801 wine_fn_config_makefile dlls/faultrep enable_faultrep
21802 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21803 wine_fn_config_makefile dlls/feclient enable_feclient
21804 wine_fn_config_makefile dlls/fltlib enable_fltlib
21805 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21806 wine_fn_config_makefile dlls/fntcache enable_fntcache
21807 wine_fn_config_makefile dlls/fontsub enable_fontsub
21808 wine_fn_config_makefile dlls/fusion enable_fusion
21809 wine_fn_config_makefile dlls/fusion/tests enable_tests
21810 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21811 wine_fn_config_makefile dlls/gameux enable_gameux
21812 wine_fn_config_makefile dlls/gameux/tests enable_tests
21813 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21814 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21815 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21816 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21817 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21818 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21819 wine_fn_config_makefile dlls/geolocation enable_geolocation
21820 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21821 wine_fn_config_makefile dlls/glu32 enable_glu32
21822 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21823 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21824 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21825 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21826 wine_fn_config_makefile dlls/hal enable_hal
21827 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21828 wine_fn_config_makefile dlls/hid enable_hid
21829 wine_fn_config_makefile dlls/hid/tests enable_tests
21830 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21831 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21832 wine_fn_config_makefile dlls/hlink enable_hlink
21833 wine_fn_config_makefile dlls/hlink/tests enable_tests
21834 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21835 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21836 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21837 wine_fn_config_makefile dlls/http.sys enable_http_sys
21838 wine_fn_config_makefile dlls/httpapi enable_httpapi
21839 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21840 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21841 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21842 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21843 wine_fn_config_makefile dlls/iccvid enable_iccvid
21844 wine_fn_config_makefile dlls/icmp enable_icmp
21845 wine_fn_config_makefile dlls/ieframe enable_ieframe
21846 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21847 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21848 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21849 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21850 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21851 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21852 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21853 wine_fn_config_makefile dlls/imm32 enable_imm32
21854 wine_fn_config_makefile dlls/imm32/tests enable_tests
21855 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21856 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21857 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21858 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21859 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21860 wine_fn_config_makefile dlls/infosoft enable_infosoft
21861 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21862 wine_fn_config_makefile dlls/initpki enable_initpki
21863 wine_fn_config_makefile dlls/inkobj enable_inkobj
21864 wine_fn_config_makefile dlls/inseng enable_inseng
21865 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21866 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21867 wine_fn_config_makefile dlls/iprop enable_iprop
21868 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21869 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21870 wine_fn_config_makefile dlls/itircl enable_itircl
21871 wine_fn_config_makefile dlls/itss enable_itss
21872 wine_fn_config_makefile dlls/itss/tests enable_tests
21873 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21874 wine_fn_config_makefile dlls/jscript enable_jscript
21875 wine_fn_config_makefile dlls/jscript/tests enable_tests
21876 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21877 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21878 wine_fn_config_makefile dlls/kerberos enable_kerberos
21879 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21880 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21881 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21882 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21883 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21884 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21885 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21886 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21887 wine_fn_config_makefile dlls/ksuser enable_ksuser
21888 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21889 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21890 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21891 wine_fn_config_makefile dlls/loadperf enable_loadperf
21892 wine_fn_config_makefile dlls/localspl enable_localspl
21893 wine_fn_config_makefile dlls/localspl/tests enable_tests
21894 wine_fn_config_makefile dlls/localui enable_localui
21895 wine_fn_config_makefile dlls/localui/tests enable_tests
21896 wine_fn_config_makefile dlls/lz32 enable_lz32
21897 wine_fn_config_makefile dlls/lz32/tests enable_tests
21898 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21899 wine_fn_config_makefile dlls/magnification enable_magnification
21900 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21901 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21902 wine_fn_config_makefile dlls/mapistub enable_mapistub
21903 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21904 wine_fn_config_makefile dlls/mcicda enable_mcicda
21905 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21906 wine_fn_config_makefile dlls/mciseq enable_mciseq
21907 wine_fn_config_makefile dlls/mciwave enable_mciwave
21908 wine_fn_config_makefile dlls/mf enable_mf
21909 wine_fn_config_makefile dlls/mf/tests enable_tests
21910 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21911 wine_fn_config_makefile dlls/mferror enable_mferror
21912 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21913 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21914 wine_fn_config_makefile dlls/mfplat enable_mfplat
21915 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21916 wine_fn_config_makefile dlls/mfplay enable_mfplay
21917 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21918 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21919 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21920 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21921 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21922 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21923 wine_fn_config_makefile dlls/midimap enable_midimap
21924 wine_fn_config_makefile dlls/mlang enable_mlang
21925 wine_fn_config_makefile dlls/mlang/tests enable_tests
21926 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21927 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21928 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21929 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21930 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21931 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21932 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21933 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21934 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21935 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21936 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21937 wine_fn_config_makefile dlls/mpr enable_mpr
21938 wine_fn_config_makefile dlls/mpr/tests enable_tests
21939 wine_fn_config_makefile dlls/mprapi enable_mprapi
21940 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21941 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21942 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21943 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21944 wine_fn_config_makefile dlls/msado15 enable_msado15
21945 wine_fn_config_makefile dlls/msado15/tests enable_tests
21946 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21947 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21948 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21949 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21950 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21951 wine_fn_config_makefile dlls/mscms enable_mscms
21952 wine_fn_config_makefile dlls/mscms/tests enable_tests
21953 wine_fn_config_makefile dlls/mscoree enable_mscoree
21954 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21955 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21956 wine_fn_config_makefile dlls/msctf enable_msctf
21957 wine_fn_config_makefile dlls/msctf/tests enable_tests
21958 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21959 wine_fn_config_makefile dlls/msctfp enable_msctfp
21960 wine_fn_config_makefile dlls/msdaps enable_msdaps
21961 wine_fn_config_makefile dlls/msdasql enable_msdasql
21962 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21963 wine_fn_config_makefile dlls/msdelta enable_msdelta
21964 wine_fn_config_makefile dlls/msdmo enable_msdmo
21965 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21966 wine_fn_config_makefile dlls/msdrm enable_msdrm
21967 wine_fn_config_makefile dlls/msftedit enable_msftedit
21968 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21969 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21970 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21971 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21972 wine_fn_config_makefile dlls/mshtml enable_mshtml
21973 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21974 wine_fn_config_makefile dlls/msi enable_msi
21975 wine_fn_config_makefile dlls/msi/tests enable_tests
21976 wine_fn_config_makefile dlls/msident enable_msident
21977 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21978 wine_fn_config_makefile dlls/msimsg enable_msimsg
21979 wine_fn_config_makefile dlls/msimtf enable_msimtf
21980 wine_fn_config_makefile dlls/msisip enable_msisip
21981 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21982 wine_fn_config_makefile dlls/msls31 enable_msls31
21983 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21984 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21985 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21986 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21987 wine_fn_config_makefile dlls/msports enable_msports
21988 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21989 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21990 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21991 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21992 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21993 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21994 wine_fn_config_makefile dlls/mstask enable_mstask
21995 wine_fn_config_makefile dlls/mstask/tests enable_tests
21996 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
21997 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21998 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21999 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
22000 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
22001 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
22002 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
22003 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
22004 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
22005 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
22006 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
22007 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
22008 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
22009 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
22010 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
22011 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
22012 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
22013 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
22014 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
22015 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
22016 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
22017 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
22018 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
22019 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
22020 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
22021 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
22022 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
22023 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
22024 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
22025 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
22026 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
22027 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
22028 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
22029 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
22030 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
22031 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
22032 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
22033 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
22034 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
22035 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
22036 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
22037 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
22038 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
22039 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
22040 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
22041 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
22042 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
22043 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
22044 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
22045 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
22046 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
22047 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
22048 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
22049 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
22050 wine_fn_config_makefile dlls/mswsock enable_mswsock
22051 wine_fn_config_makefile dlls/msxml enable_msxml
22052 wine_fn_config_makefile dlls/msxml2 enable_msxml2
22053 wine_fn_config_makefile dlls/msxml3 enable_msxml3
22054 wine_fn_config_makefile dlls/msxml3/tests enable_tests
22055 wine_fn_config_makefile dlls/msxml4 enable_msxml4
22056 wine_fn_config_makefile dlls/msxml4/tests enable_tests
22057 wine_fn_config_makefile dlls/msxml6 enable_msxml6
22058 wine_fn_config_makefile dlls/msxml6/tests enable_tests
22059 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
22060 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
22061 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
22062 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
22063 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
22064 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
22065 wine_fn_config_makefile dlls/netapi32 enable_netapi32
22066 wine_fn_config_makefile dlls/netapi32/tests enable_tests
22067 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
22068 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
22069 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
22070 wine_fn_config_makefile dlls/netprofm enable_netprofm
22071 wine_fn_config_makefile dlls/netprofm/tests enable_tests
22072 wine_fn_config_makefile dlls/netutils enable_netutils
22073 wine_fn_config_makefile dlls/newdev enable_newdev
22074 wine_fn_config_makefile dlls/ninput enable_ninput
22075 wine_fn_config_makefile dlls/ninput/tests enable_tests
22076 wine_fn_config_makefile dlls/normaliz enable_normaliz
22077 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
22078 wine_fn_config_makefile dlls/npptools enable_npptools
22079 wine_fn_config_makefile dlls/nsi enable_nsi
22080 wine_fn_config_makefile dlls/nsi/tests enable_tests
22081 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
22082 wine_fn_config_makefile dlls/ntdll enable_ntdll
22083 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22084 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22085 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22086 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22087 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22088 wine_fn_config_makefile dlls/ntprint enable_ntprint
22089 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22090 wine_fn_config_makefile dlls/objsel enable_objsel
22091 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22092 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22093 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22094 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22095 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22096 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22097 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22098 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22099 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22100 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22101 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22102 wine_fn_config_makefile dlls/ole32 enable_ole32
22103 wine_fn_config_makefile dlls/ole32/tests enable_tests
22104 wine_fn_config_makefile dlls/oleacc enable_oleacc
22105 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22106 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22107 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22108 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22109 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22110 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22111 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22112 wine_fn_config_makefile dlls/oledlg enable_oledlg
22113 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22114 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22115 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22116 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22117 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22118 wine_fn_config_makefile dlls/opcservices enable_opcservices
22119 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22120 wine_fn_config_makefile dlls/opencl enable_opencl
22121 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22122 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22123 wine_fn_config_makefile dlls/packager enable_packager
22124 wine_fn_config_makefile dlls/packager/tests enable_tests
22125 wine_fn_config_makefile dlls/pdh enable_pdh
22126 wine_fn_config_makefile dlls/pdh/tests enable_tests
22127 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22128 wine_fn_config_makefile dlls/pidgen enable_pidgen
22129 wine_fn_config_makefile dlls/powrprof enable_powrprof
22130 wine_fn_config_makefile dlls/printui enable_printui
22131 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22132 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22133 wine_fn_config_makefile dlls/propsys enable_propsys
22134 wine_fn_config_makefile dlls/propsys/tests enable_tests
22135 wine_fn_config_makefile dlls/psapi enable_psapi
22136 wine_fn_config_makefile dlls/psapi/tests enable_tests
22137 wine_fn_config_makefile dlls/pstorec enable_pstorec
22138 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22139 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22140 wine_fn_config_makefile dlls/qasf enable_qasf
22141 wine_fn_config_makefile dlls/qasf/tests enable_tests
22142 wine_fn_config_makefile dlls/qcap enable_qcap
22143 wine_fn_config_makefile dlls/qcap/tests enable_tests
22144 wine_fn_config_makefile dlls/qdvd enable_qdvd
22145 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22146 wine_fn_config_makefile dlls/qedit enable_qedit
22147 wine_fn_config_makefile dlls/qedit/tests enable_tests
22148 wine_fn_config_makefile dlls/qmgr enable_qmgr
22149 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22150 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22151 wine_fn_config_makefile dlls/quartz enable_quartz
22152 wine_fn_config_makefile dlls/quartz/tests enable_tests
22153 wine_fn_config_makefile dlls/query enable_query
22154 wine_fn_config_makefile dlls/qwave enable_qwave
22155 wine_fn_config_makefile dlls/qwave/tests enable_tests
22156 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22157 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22158 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22159 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22160 wine_fn_config_makefile dlls/regapi enable_regapi
22161 wine_fn_config_makefile dlls/resutils enable_resutils
22162 wine_fn_config_makefile dlls/riched20 enable_riched20
22163 wine_fn_config_makefile dlls/riched20/tests enable_tests
22164 wine_fn_config_makefile dlls/riched32 enable_riched32
22165 wine_fn_config_makefile dlls/riched32/tests enable_tests
22166 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22167 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22168 wine_fn_config_makefile dlls/rsabase enable_rsabase
22169 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22170 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22171 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22172 wine_fn_config_makefile dlls/rtutils enable_rtutils
22173 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22174 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22175 wine_fn_config_makefile dlls/samlib enable_samlib
22176 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22177 wine_fn_config_makefile dlls/sapi enable_sapi
22178 wine_fn_config_makefile dlls/sapi/tests enable_tests
22179 wine_fn_config_makefile dlls/sas enable_sas
22180 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22181 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22182 wine_fn_config_makefile dlls/sccbase enable_sccbase
22183 wine_fn_config_makefile dlls/schannel enable_schannel
22184 wine_fn_config_makefile dlls/schannel/tests enable_tests
22185 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22186 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22187 wine_fn_config_makefile dlls/scrobj enable_scrobj
22188 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22189 wine_fn_config_makefile dlls/scrrun enable_scrrun
22190 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22191 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22192 wine_fn_config_makefile dlls/sechost enable_sechost
22193 wine_fn_config_makefile dlls/secur32 enable_secur32
22194 wine_fn_config_makefile dlls/secur32/tests enable_tests
22195 wine_fn_config_makefile dlls/security enable_security
22196 wine_fn_config_makefile dlls/sensapi enable_sensapi
22197 wine_fn_config_makefile dlls/serialui enable_serialui
22198 wine_fn_config_makefile dlls/serialui/tests enable_tests
22199 wine_fn_config_makefile dlls/setupapi enable_setupapi
22200 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22201 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22202 wine_fn_config_makefile dlls/sfc enable_sfc
22203 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22204 wine_fn_config_makefile dlls/shcore enable_shcore
22205 wine_fn_config_makefile dlls/shcore/tests enable_tests
22206 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22207 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22208 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22209 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22210 wine_fn_config_makefile dlls/shell32 enable_shell32
22211 wine_fn_config_makefile dlls/shell32/tests enable_tests
22212 wine_fn_config_makefile dlls/shfolder enable_shfolder
22213 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22214 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22215 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22216 wine_fn_config_makefile dlls/slc enable_slc
22217 wine_fn_config_makefile dlls/slc/tests enable_tests
22218 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22219 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22220 wine_fn_config_makefile dlls/softpub enable_softpub
22221 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22222 wine_fn_config_makefile dlls/spoolss enable_spoolss
22223 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22224 wine_fn_config_makefile dlls/sppc enable_sppc
22225 wine_fn_config_makefile dlls/srclient enable_srclient
22226 wine_fn_config_makefile dlls/srvcli enable_srvcli
22227 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22228 wine_fn_config_makefile dlls/sspicli enable_sspicli
22229 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22230 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22231 wine_fn_config_makefile dlls/sti enable_sti
22232 wine_fn_config_makefile dlls/sti/tests enable_tests
22233 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22234 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22235 wine_fn_config_makefile dlls/strmdll enable_strmdll
22236 wine_fn_config_makefile dlls/svrapi enable_svrapi
22237 wine_fn_config_makefile dlls/sxs enable_sxs
22238 wine_fn_config_makefile dlls/sxs/tests enable_tests
22239 wine_fn_config_makefile dlls/system.drv16 enable_win16
22240 wine_fn_config_makefile dlls/t2embed enable_t2embed
22241 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22242 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22243 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22244 wine_fn_config_makefile dlls/taskschd enable_taskschd
22245 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22246 wine_fn_config_makefile dlls/tbs enable_tbs
22247 wine_fn_config_makefile dlls/tdh enable_tdh
22248 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22249 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22250 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22251 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22252 wine_fn_config_makefile dlls/traffic enable_traffic
22253 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22254 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22255 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22256 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22257 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22258 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22259 wine_fn_config_makefile dlls/tzres enable_tzres
22260 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22261 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22262 wine_fn_config_makefile dlls/uianimation enable_uianimation
22263 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22264 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22265 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22266 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22267 wine_fn_config_makefile dlls/unicows enable_unicows
22268 wine_fn_config_makefile dlls/updspapi enable_updspapi
22269 wine_fn_config_makefile dlls/url enable_url
22270 wine_fn_config_makefile dlls/urlmon enable_urlmon
22271 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22272 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22273 wine_fn_config_makefile dlls/user.exe16 enable_win16
22274 wine_fn_config_makefile dlls/user32 enable_user32
22275 wine_fn_config_makefile dlls/user32/tests enable_tests
22276 wine_fn_config_makefile dlls/userenv enable_userenv
22277 wine_fn_config_makefile dlls/userenv/tests enable_tests
22278 wine_fn_config_makefile dlls/usp10 enable_usp10
22279 wine_fn_config_makefile dlls/usp10/tests enable_tests
22280 wine_fn_config_makefile dlls/utildll enable_utildll
22281 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22282 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22283 wine_fn_config_makefile dlls/vbscript enable_vbscript
22284 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22285 wine_fn_config_makefile dlls/vcomp enable_vcomp
22286 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22287 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22288 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22289 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22290 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22291 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22292 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22293 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22294 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22295 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22296 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22297 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22298 wine_fn_config_makefile dlls/version enable_version
22299 wine_fn_config_makefile dlls/version/tests enable_tests
22300 wine_fn_config_makefile dlls/vga enable_vga
22301 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22302 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22303 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22304 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22305 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22306 wine_fn_config_makefile dlls/vssapi enable_vssapi
22307 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22308 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22309 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22310 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22311 wine_fn_config_makefile dlls/w32skrnl enable_win16
22312 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22313 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22314 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22315 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22316 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22317 wine_fn_config_makefile dlls/wdscore enable_wdscore
22318 wine_fn_config_makefile dlls/webservices enable_webservices
22319 wine_fn_config_makefile dlls/webservices/tests enable_tests
22320 wine_fn_config_makefile dlls/websocket enable_websocket
22321 wine_fn_config_makefile dlls/wer enable_wer
22322 wine_fn_config_makefile dlls/wer/tests enable_tests
22323 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22324 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22325 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22326 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22327 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22328 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22329 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22330 wine_fn_config_makefile dlls/win32u enable_win32u
22331 wine_fn_config_makefile dlls/win32u/tests enable_tests
22332 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22333 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22334 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22335 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22336 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22337 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22338 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22339 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22340 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22341 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22342 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22343 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22344 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22345 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22346 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22347 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22348 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22349 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22350 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22351 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22352 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22353 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22354 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22355 wine_fn_config_makefile dlls/windows.media enable_windows_media
22356 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22357 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22358 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22359 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22360 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22361 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22362 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22363 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22364 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22365 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22366 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22367 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22368 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22369 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22370 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22371 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22372 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22373 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22374 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22375 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22376 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22377 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22378 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22379 wine_fn_config_makefile dlls/wined3d enable_wined3d
22380 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22381 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22382 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22383 wine_fn_config_makefile dlls/winemapi enable_winemapi
22384 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22385 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22386 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22387 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22388 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22389 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22390 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22391 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22392 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22393 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22394 wine_fn_config_makefile dlls/wing32 enable_wing32
22395 wine_fn_config_makefile dlls/winhttp enable_winhttp
22396 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22397 wine_fn_config_makefile dlls/wininet enable_wininet
22398 wine_fn_config_makefile dlls/wininet/tests enable_tests
22399 wine_fn_config_makefile dlls/winmm enable_winmm
22400 wine_fn_config_makefile dlls/winmm/tests enable_tests
22401 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22402 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22403 wine_fn_config_makefile dlls/winprint enable_winprint
22404 wine_fn_config_makefile dlls/winscard enable_winscard
22405 wine_fn_config_makefile dlls/winscard/tests enable_tests
22406 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22407 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22408 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22409 wine_fn_config_makefile dlls/winsta enable_winsta
22410 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22411 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22412 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22413 wine_fn_config_makefile dlls/wintrust enable_wintrust
22414 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22415 wine_fn_config_makefile dlls/wintypes enable_wintypes
22416 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22417 wine_fn_config_makefile dlls/winusb enable_winusb
22418 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22419 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22420 wine_fn_config_makefile dlls/wlanui enable_wlanui
22421 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22422 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22423 wine_fn_config_makefile dlls/wldp enable_wldp
22424 wine_fn_config_makefile dlls/wldp/tests enable_tests
22425 wine_fn_config_makefile dlls/wmasf enable_wmasf
22426 wine_fn_config_makefile dlls/wmi enable_wmi
22427 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22428 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22429 wine_fn_config_makefile dlls/wmp enable_wmp
22430 wine_fn_config_makefile dlls/wmp/tests enable_tests
22431 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22432 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22433 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22434 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22435 wine_fn_config_makefile dlls/wofutil enable_wofutil
22436 wine_fn_config_makefile dlls/wow32 enable_win16
22437 wine_fn_config_makefile dlls/wow64 enable_wow64
22438 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22439 wine_fn_config_makefile dlls/wow64win enable_wow64win
22440 wine_fn_config_makefile dlls/wpc enable_wpc
22441 wine_fn_config_makefile dlls/wpc/tests enable_tests
22442 wine_fn_config_makefile dlls/wpcap enable_wpcap
22443 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22444 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22445 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22446 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22447 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22448 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22449 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22450 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22451 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22452 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22453 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22454 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22455 wine_fn_config_makefile dlls/wuapi enable_wuapi
22456 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22457 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22458 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22459 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22460 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22461 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22462 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22463 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22464 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22465 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22466 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22467 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22468 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22469 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22470 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22471 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22472 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22473 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22474 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22475 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22476 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22477 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22478 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22479 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22480 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22481 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22482 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22483 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22484 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22485 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22486 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22487 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22488 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22489 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22490 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22491 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22492 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22493 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22494 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22495 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22496 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22497 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22498 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22499 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22500 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22501 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22502 wine_fn_config_makefile dlls/xmllite enable_xmllite
22503 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22504 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22505 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22506 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22507 wine_fn_config_makefile fonts enable_fonts
22508 wine_fn_config_makefile include enable_include
22509 wine_fn_config_makefile libs/adsiid enable_adsiid
22510 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22511 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22512 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22513 wine_fn_config_makefile libs/dxguid enable_dxguid
22514 wine_fn_config_makefile libs/faudio enable_faudio
22515 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22516 wine_fn_config_makefile libs/gsm enable_gsm
22517 wine_fn_config_makefile libs/jpeg enable_jpeg
22518 wine_fn_config_makefile libs/jxr enable_jxr
22519 wine_fn_config_makefile libs/lcms2 enable_lcms2
22520 wine_fn_config_makefile libs/ldap enable_ldap
22521 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22522 wine_fn_config_makefile libs/mpg123 enable_mpg123
22523 wine_fn_config_makefile libs/musl enable_musl
22524 wine_fn_config_makefile libs/png enable_png
22525 wine_fn_config_makefile libs/strmbase enable_strmbase
22526 wine_fn_config_makefile libs/strmiids enable_strmiids
22527 wine_fn_config_makefile libs/tiff enable_tiff
22528 wine_fn_config_makefile libs/uuid enable_uuid
22529 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22530 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22531 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22532 wine_fn_config_makefile libs/xml2 enable_xml2
22533 wine_fn_config_makefile libs/xslt enable_xslt
22534 wine_fn_config_makefile libs/zlib enable_zlib
22535 wine_fn_config_makefile libs/zydis enable_zydis
22536 wine_fn_config_makefile loader enable_loader
22537 wine_fn_config_makefile nls enable_nls
22538 wine_fn_config_makefile po enable_po
22539 wine_fn_config_makefile programs/arp enable_arp
22540 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22541 wine_fn_config_makefile programs/attrib enable_attrib
22542 wine_fn_config_makefile programs/cabarc enable_cabarc
22543 wine_fn_config_makefile programs/cacls enable_cacls
22544 wine_fn_config_makefile programs/certutil enable_certutil
22545 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22546 wine_fn_config_makefile programs/clock enable_clock
22547 wine_fn_config_makefile programs/cmd enable_cmd
22548 wine_fn_config_makefile programs/cmd/tests enable_tests
22549 wine_fn_config_makefile programs/conhost enable_conhost
22550 wine_fn_config_makefile programs/conhost/tests enable_tests
22551 wine_fn_config_makefile programs/control enable_control
22552 wine_fn_config_makefile programs/cscript enable_cscript
22553 wine_fn_config_makefile programs/dism enable_dism
22554 wine_fn_config_makefile programs/dllhost enable_dllhost
22555 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22556 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22557 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22558 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22559 wine_fn_config_makefile programs/eject enable_eject
22560 wine_fn_config_makefile programs/expand enable_expand
22561 wine_fn_config_makefile programs/explorer enable_explorer
22562 wine_fn_config_makefile programs/explorer/tests enable_tests
22563 wine_fn_config_makefile programs/extrac32 enable_extrac32
22564 wine_fn_config_makefile programs/fc enable_fc
22565 wine_fn_config_makefile programs/find enable_find
22566 wine_fn_config_makefile programs/find/tests enable_tests
22567 wine_fn_config_makefile programs/findstr enable_findstr
22568 wine_fn_config_makefile programs/findstr/tests enable_tests
22569 wine_fn_config_makefile programs/fsutil enable_fsutil
22570 wine_fn_config_makefile programs/fsutil/tests enable_tests
22571 wine_fn_config_makefile programs/hh enable_hh
22572 wine_fn_config_makefile programs/hostname enable_hostname
22573 wine_fn_config_makefile programs/icacls enable_icacls
22574 wine_fn_config_makefile programs/icinfo enable_icinfo
22575 wine_fn_config_makefile programs/iexplore enable_iexplore
22576 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22577 wine_fn_config_makefile programs/klist enable_klist
22578 wine_fn_config_makefile programs/lodctr enable_lodctr
22579 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22580 wine_fn_config_makefile programs/mshta enable_mshta
22581 wine_fn_config_makefile programs/msidb enable_msidb
22582 wine_fn_config_makefile programs/msiexec enable_msiexec
22583 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22584 wine_fn_config_makefile programs/net enable_net
22585 wine_fn_config_makefile programs/netsh enable_netsh
22586 wine_fn_config_makefile programs/netstat enable_netstat
22587 wine_fn_config_makefile programs/ngen enable_ngen
22588 wine_fn_config_makefile programs/notepad enable_notepad
22589 wine_fn_config_makefile programs/oleview enable_oleview
22590 wine_fn_config_makefile programs/ping enable_ping
22591 wine_fn_config_makefile programs/plugplay enable_plugplay
22592 wine_fn_config_makefile programs/pnputil enable_pnputil
22593 wine_fn_config_makefile programs/powershell enable_powershell
22594 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22595 wine_fn_config_makefile programs/progman enable_progman
22596 wine_fn_config_makefile programs/reg enable_reg
22597 wine_fn_config_makefile programs/reg/tests enable_tests
22598 wine_fn_config_makefile programs/regasm enable_regasm
22599 wine_fn_config_makefile programs/regedit enable_regedit
22600 wine_fn_config_makefile programs/regedit/tests enable_tests
22601 wine_fn_config_makefile programs/regini enable_regini
22602 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22603 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22604 wine_fn_config_makefile programs/robocopy enable_robocopy
22605 wine_fn_config_makefile programs/rpcss enable_rpcss
22606 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22607 wine_fn_config_makefile programs/rundll32 enable_rundll32
22608 wine_fn_config_makefile programs/sc enable_sc
22609 wine_fn_config_makefile programs/sc/tests enable_tests
22610 wine_fn_config_makefile programs/schtasks enable_schtasks
22611 wine_fn_config_makefile programs/schtasks/tests enable_tests
22612 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22613 wine_fn_config_makefile programs/secedit enable_secedit
22614 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22615 wine_fn_config_makefile programs/services enable_services
22616 wine_fn_config_makefile programs/services/tests enable_tests
22617 wine_fn_config_makefile programs/setx enable_setx
22618 wine_fn_config_makefile programs/shutdown enable_shutdown
22619 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22620 wine_fn_config_makefile programs/start enable_start
22621 wine_fn_config_makefile programs/subst enable_subst
22622 wine_fn_config_makefile programs/svchost enable_svchost
22623 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22624 wine_fn_config_makefile programs/taskkill enable_taskkill
22625 wine_fn_config_makefile programs/tasklist enable_tasklist
22626 wine_fn_config_makefile programs/tasklist/tests enable_tests
22627 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22628 wine_fn_config_makefile programs/termsv enable_termsv
22629 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22630 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22631 wine_fn_config_makefile programs/view enable_view
22632 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22633 wine_fn_config_makefile programs/where enable_where
22634 wine_fn_config_makefile programs/whoami enable_whoami
22635 wine_fn_config_makefile programs/wineboot enable_wineboot
22636 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22637 wine_fn_config_makefile programs/winecfg enable_winecfg
22638 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22639 wine_fn_config_makefile programs/winedbg enable_winedbg
22640 wine_fn_config_makefile programs/winedevice enable_winedevice
22641 wine_fn_config_makefile programs/winefile enable_winefile
22642 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22643 wine_fn_config_makefile programs/winemine enable_winemine
22644 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22645 wine_fn_config_makefile programs/winepath enable_winepath
22646 wine_fn_config_makefile programs/winetest enable_winetest
22647 wine_fn_config_makefile programs/winevdm enable_win16
22648 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22649 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22650 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22651 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22652 wine_fn_config_makefile programs/winver enable_winver
22653 wine_fn_config_makefile programs/wmic enable_wmic
22654 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22655 wine_fn_config_makefile programs/wordpad enable_wordpad
22656 wine_fn_config_makefile programs/write enable_write
22657 wine_fn_config_makefile programs/wscript enable_wscript
22658 wine_fn_config_makefile programs/wscript/tests enable_tests
22659 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22660 wine_fn_config_makefile programs/wusa enable_wusa
22661 wine_fn_config_makefile programs/xcopy enable_xcopy
22662 wine_fn_config_makefile programs/xcopy/tests enable_tests
22663 wine_fn_config_makefile server enable_server
22664 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22665 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22666 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22667 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22668 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22669 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22670 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22671 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22672 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22675 as_fn_append CONFIGURE_TARGETS " TAGS"
22676 as_fn_append CONFIGURE_TARGETS " tags"
22677 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22678 as_fn_append CONFIGURE_TARGETS " config.log"
22679 as_fn_append CONFIGURE_TARGETS " config.status"
22680 as_fn_append CONFIGURE_TARGETS " include/config.h"
22681 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22682 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22684 if test "x$enable_tools" != xno
22685 then
22686 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22687 ac_config_commands="$ac_config_commands tools/makedep"
22691 ac_config_commands="$ac_config_commands Makefile"
22695 SHELL=/bin/sh
22698 as_fn_append wine_rules "
22699 all: wine
22700 @echo \"Wine build complete.\"
22701 .INIT: Makefile
22702 .MAKEFILEDEPS:
22703 all: Makefile
22704 Makefile: config.status \$(MAKEDEP)
22705 @./config.status Makefile
22706 depend: \$(MAKEDEP)
22707 \$(MAKEDEP)$makedep_flags"
22710 as_fn_append wine_rules "
22711 config.status: ${wine_srcdir}configure
22712 @./config.status --recheck
22713 include/config.h: include/stamp-h
22714 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22715 @./config.status include/config.h include/stamp-h"
22717 if test "x$enable_maintainer_mode" = xyes
22718 then
22719 as_fn_append wine_rules "
22720 configure: configure.ac aclocal.m4
22721 autoconf --warnings=all
22722 include/config.h.in: include/stamp-h.in
22723 include/stamp-h.in: configure.ac aclocal.m4
22724 autoheader --warnings=all
22725 @echo timestamp > \$@"
22728 if test "x$enable_tools" != xno
22729 then
22730 as_fn_append wine_rules "
22731 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22732 @./config.status tools/makedep
22733 Makefile: tools/makedep$ac_exeext"
22734 else
22735 as_fn_append wine_rules "
22736 \$(MAKEDEP):
22737 @echo \"You need to run make in $toolsdir first\" && false"
22741 if test -n "$with_wine64"
22742 then
22743 case "$with_wine64" in
22744 /*) reldir="" ;;
22745 *) reldir="../" ;;
22746 esac
22747 rm -f fonts server 2>/dev/null
22748 as_fn_append wine_rules "
22749 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22750 loader/wine64 loader/wine64-preloader:
22751 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22752 $with_wine64/loader/wine:
22753 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22754 $with_wine64/loader/wine-preloader:
22755 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22756 clean::
22757 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22758 else
22759 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22760 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22761 fonts \
22762 loader/wine.inf \
22763 nls \
22764 programs/msidb/msidb \
22765 programs/msiexec/msiexec \
22766 programs/notepad/notepad \
22767 programs/regedit/regedit \
22768 programs/regsvr32/regsvr32 \
22769 programs/wineboot/wineboot \
22770 programs/winecfg/winecfg \
22771 programs/wineconsole/wineconsole \
22772 programs/winedbg/winedbg \
22773 programs/winefile/winefile \
22774 programs/winemine/winemine \
22775 programs/winepath/winepath \
22776 server/wineserver"
22778 case $host_os in
22779 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22780 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22781 esac
22785 as_fn_append wine_rules "
22786 distclean:: clean
22787 rm -rf autom4te.cache
22788 maintainer-clean::
22789 rm -f configure include/config.h.in"
22792 as_fn_append wine_rules "
22793 dlls/ntdll/unix/version.c: dummy
22794 @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)
22795 programs/winetest/build.rc: dummy
22796 @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)
22797 programs/winetest/build.nfo:
22798 @-\$(CC) -v 2>\$@
22799 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
22800 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22801 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22804 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22806 as_fn_append wine_rules "
22807 TAGS etags:
22808 rm -f TAGS
22809 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22810 tags ctags:
22811 rm -f tags
22812 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22813 dummy:
22814 .PHONY: depend dummy install-manpages"
22816 printf "%s\n" " done" >&6
22817 cat >confcache <<\_ACEOF
22818 # This file is a shell script that caches the results of configure
22819 # tests run on this system so they can be shared between configure
22820 # scripts and configure runs, see configure's option --config-cache.
22821 # It is not useful on other systems. If it contains results you don't
22822 # want to keep, you may remove or edit it.
22824 # config.status only pays attention to the cache file if you give it
22825 # the --recheck option to rerun configure.
22827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22829 # following values.
22831 _ACEOF
22833 # The following way of writing the cache mishandles newlines in values,
22834 # but we know of no workaround that is simple, portable, and efficient.
22835 # So, we kill variables containing newlines.
22836 # Ultrix sh set writes to stderr and can't be redirected directly,
22837 # and sets the high bit in the cache file unless we assign to the vars.
22839 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22840 eval ac_val=\$$ac_var
22841 case $ac_val in #(
22842 *${as_nl}*)
22843 case $ac_var in #(
22844 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22845 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22846 esac
22847 case $ac_var in #(
22848 _ | IFS | as_nl) ;; #(
22849 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22850 *) { eval $ac_var=; unset $ac_var;} ;;
22851 esac ;;
22852 esac
22853 done
22855 (set) 2>&1 |
22856 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22857 *${as_nl}ac_space=\ *)
22858 # `set' does not quote correctly, so add quotes: double-quote
22859 # substitution turns \\\\ into \\, and sed turns \\ into \.
22860 sed -n \
22861 "s/'/'\\\\''/g;
22862 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22863 ;; #(
22865 # `set' quotes correctly as required by POSIX, so do not add quotes.
22866 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22868 esac |
22869 sort
22871 sed '
22872 /^ac_cv_env_/b end
22873 t clear
22874 :clear
22875 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22876 t end
22877 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22878 :end' >>confcache
22879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22880 if test -w "$cache_file"; then
22881 if test "x$cache_file" != "x/dev/null"; then
22882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22883 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22884 if test ! -f "$cache_file" || test -h "$cache_file"; then
22885 cat confcache >"$cache_file"
22886 else
22887 case $cache_file in #(
22888 */* | ?:*)
22889 mv -f confcache "$cache_file"$$ &&
22890 mv -f "$cache_file"$$ "$cache_file" ;; #(
22892 mv -f confcache "$cache_file" ;;
22893 esac
22896 else
22897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22898 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22901 rm -f confcache
22903 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22904 # Let make expand exec_prefix.
22905 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22907 DEFS=-DHAVE_CONFIG_H
22909 ac_libobjs=
22910 ac_ltlibobjs=
22912 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22913 # 1. Remove the extension, and $U if already installed.
22914 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22915 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22916 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22917 # will be set to the directory where LIBOBJS objects are built.
22918 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22919 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22920 done
22921 LIBOBJS=$ac_libobjs
22923 LTLIBOBJS=$ac_ltlibobjs
22927 : "${CONFIG_STATUS=./config.status}"
22928 ac_write_fail=0
22929 ac_clean_files_save=$ac_clean_files
22930 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22932 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22933 as_write_fail=0
22934 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22935 #! $SHELL
22936 # Generated by $as_me.
22937 # Run this file to recreate the current configuration.
22938 # Compiler output produced by configure, useful for debugging
22939 # configure, is in config.log if it exists.
22941 debug=false
22942 ac_cs_recheck=false
22943 ac_cs_silent=false
22945 SHELL=\${CONFIG_SHELL-$SHELL}
22946 export SHELL
22947 _ASEOF
22948 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22949 ## -------------------- ##
22950 ## M4sh Initialization. ##
22951 ## -------------------- ##
22953 # Be more Bourne compatible
22954 DUALCASE=1; export DUALCASE # for MKS sh
22955 as_nop=:
22956 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22957 then :
22958 emulate sh
22959 NULLCMD=:
22960 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22961 # is contrary to our usage. Disable this feature.
22962 alias -g '${1+"$@"}'='"$@"'
22963 setopt NO_GLOB_SUBST
22964 else $as_nop
22965 case `(set -o) 2>/dev/null` in #(
22966 *posix*) :
22967 set -o posix ;; #(
22968 *) :
22970 esac
22975 # Reset variables that may have inherited troublesome values from
22976 # the environment.
22978 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22979 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22980 # side effect of setting IFS to empty, thus disabling word splitting.)
22981 # Quoting is to prevent editors from complaining about space-tab.
22982 as_nl='
22984 export as_nl
22985 IFS=" "" $as_nl"
22987 PS1='$ '
22988 PS2='> '
22989 PS4='+ '
22991 # Ensure predictable behavior from utilities with locale-dependent output.
22992 LC_ALL=C
22993 export LC_ALL
22994 LANGUAGE=C
22995 export LANGUAGE
22997 # We cannot yet rely on "unset" to work, but we need these variables
22998 # to be unset--not just set to an empty or harmless value--now, to
22999 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
23000 # also avoids known problems related to "unset" and subshell syntax
23001 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
23002 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
23003 do eval test \${$as_var+y} \
23004 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
23005 done
23007 # Ensure that fds 0, 1, and 2 are open.
23008 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
23009 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
23010 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
23012 # The user is always right.
23013 if ${PATH_SEPARATOR+false} :; then
23014 PATH_SEPARATOR=:
23015 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23016 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23017 PATH_SEPARATOR=';'
23022 # Find who we are. Look in the path if we contain no directory separator.
23023 as_myself=
23024 case $0 in #((
23025 *[\\/]* ) as_myself=$0 ;;
23026 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23027 for as_dir in $PATH
23029 IFS=$as_save_IFS
23030 case $as_dir in #(((
23031 '') as_dir=./ ;;
23032 */) ;;
23033 *) as_dir=$as_dir/ ;;
23034 esac
23035 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
23036 done
23037 IFS=$as_save_IFS
23040 esac
23041 # We did not find ourselves, most probably we were run as `sh COMMAND'
23042 # in which case we are not to be found in the path.
23043 if test "x$as_myself" = x; then
23044 as_myself=$0
23046 if test ! -f "$as_myself"; then
23047 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23048 exit 1
23053 # as_fn_error STATUS ERROR [LINENO LOG_FD]
23054 # ----------------------------------------
23055 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
23056 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
23057 # script with STATUS, using 1 if that was 0.
23058 as_fn_error ()
23060 as_status=$1; test $as_status -eq 0 && as_status=1
23061 if test "$4"; then
23062 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
23063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
23065 printf "%s\n" "$as_me: error: $2" >&2
23066 as_fn_exit $as_status
23067 } # as_fn_error
23071 # as_fn_set_status STATUS
23072 # -----------------------
23073 # Set $? to STATUS, without forking.
23074 as_fn_set_status ()
23076 return $1
23077 } # as_fn_set_status
23079 # as_fn_exit STATUS
23080 # -----------------
23081 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
23082 as_fn_exit ()
23084 set +e
23085 as_fn_set_status $1
23086 exit $1
23087 } # as_fn_exit
23089 # as_fn_unset VAR
23090 # ---------------
23091 # Portably unset VAR.
23092 as_fn_unset ()
23094 { eval $1=; unset $1;}
23096 as_unset=as_fn_unset
23098 # as_fn_append VAR VALUE
23099 # ----------------------
23100 # Append the text in VALUE to the end of the definition contained in VAR. Take
23101 # advantage of any shell optimizations that allow amortized linear growth over
23102 # repeated appends, instead of the typical quadratic growth present in naive
23103 # implementations.
23104 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23105 then :
23106 eval 'as_fn_append ()
23108 eval $1+=\$2
23110 else $as_nop
23111 as_fn_append ()
23113 eval $1=\$$1\$2
23115 fi # as_fn_append
23117 # as_fn_arith ARG...
23118 # ------------------
23119 # Perform arithmetic evaluation on the ARGs, and store the result in the
23120 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23121 # must be portable across $(()) and expr.
23122 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23123 then :
23124 eval 'as_fn_arith ()
23126 as_val=$(( $* ))
23128 else $as_nop
23129 as_fn_arith ()
23131 as_val=`expr "$@" || test $? -eq 1`
23133 fi # as_fn_arith
23136 if expr a : '\(a\)' >/dev/null 2>&1 &&
23137 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23138 as_expr=expr
23139 else
23140 as_expr=false
23143 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23144 as_basename=basename
23145 else
23146 as_basename=false
23149 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23150 as_dirname=dirname
23151 else
23152 as_dirname=false
23155 as_me=`$as_basename -- "$0" ||
23156 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23157 X"$0" : 'X\(//\)$' \| \
23158 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23159 printf "%s\n" X/"$0" |
23160 sed '/^.*\/\([^/][^/]*\)\/*$/{
23161 s//\1/
23164 /^X\/\(\/\/\)$/{
23165 s//\1/
23168 /^X\/\(\/\).*/{
23169 s//\1/
23172 s/.*/./; q'`
23174 # Avoid depending upon Character Ranges.
23175 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23176 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23177 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23178 as_cr_digits='0123456789'
23179 as_cr_alnum=$as_cr_Letters$as_cr_digits
23182 # Determine whether it's possible to make 'echo' print without a newline.
23183 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23184 # for compatibility with existing Makefiles.
23185 ECHO_C= ECHO_N= ECHO_T=
23186 case `echo -n x` in #(((((
23187 -n*)
23188 case `echo 'xy\c'` in
23189 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23190 xy) ECHO_C='\c';;
23191 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23192 ECHO_T=' ';;
23193 esac;;
23195 ECHO_N='-n';;
23196 esac
23198 # For backward compatibility with old third-party macros, we provide
23199 # the shell variables $as_echo and $as_echo_n. New code should use
23200 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23201 as_echo='printf %s\n'
23202 as_echo_n='printf %s'
23204 rm -f conf$$ conf$$.exe conf$$.file
23205 if test -d conf$$.dir; then
23206 rm -f conf$$.dir/conf$$.file
23207 else
23208 rm -f conf$$.dir
23209 mkdir conf$$.dir 2>/dev/null
23211 if (echo >conf$$.file) 2>/dev/null; then
23212 if ln -s conf$$.file conf$$ 2>/dev/null; then
23213 as_ln_s='ln -s'
23214 # ... but there are two gotchas:
23215 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23216 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23217 # In both cases, we have to default to `cp -pR'.
23218 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23219 as_ln_s='cp -pR'
23220 elif ln conf$$.file conf$$ 2>/dev/null; then
23221 as_ln_s=ln
23222 else
23223 as_ln_s='cp -pR'
23225 else
23226 as_ln_s='cp -pR'
23228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23229 rmdir conf$$.dir 2>/dev/null
23232 # as_fn_mkdir_p
23233 # -------------
23234 # Create "$as_dir" as a directory, including parents if necessary.
23235 as_fn_mkdir_p ()
23238 case $as_dir in #(
23239 -*) as_dir=./$as_dir;;
23240 esac
23241 test -d "$as_dir" || eval $as_mkdir_p || {
23242 as_dirs=
23243 while :; do
23244 case $as_dir in #(
23245 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23246 *) as_qdir=$as_dir;;
23247 esac
23248 as_dirs="'$as_qdir' $as_dirs"
23249 as_dir=`$as_dirname -- "$as_dir" ||
23250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23251 X"$as_dir" : 'X\(//\)[^/]' \| \
23252 X"$as_dir" : 'X\(//\)$' \| \
23253 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23254 printf "%s\n" X"$as_dir" |
23255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23256 s//\1/
23259 /^X\(\/\/\)[^/].*/{
23260 s//\1/
23263 /^X\(\/\/\)$/{
23264 s//\1/
23267 /^X\(\/\).*/{
23268 s//\1/
23271 s/.*/./; q'`
23272 test -d "$as_dir" && break
23273 done
23274 test -z "$as_dirs" || eval "mkdir $as_dirs"
23275 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23278 } # as_fn_mkdir_p
23279 if mkdir -p . 2>/dev/null; then
23280 as_mkdir_p='mkdir -p "$as_dir"'
23281 else
23282 test -d ./-p && rmdir ./-p
23283 as_mkdir_p=false
23287 # as_fn_executable_p FILE
23288 # -----------------------
23289 # Test if FILE is an executable regular file.
23290 as_fn_executable_p ()
23292 test -f "$1" && test -x "$1"
23293 } # as_fn_executable_p
23294 as_test_x='test -x'
23295 as_executable_p=as_fn_executable_p
23297 # Sed expression to map a string onto a valid CPP name.
23298 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23300 # Sed expression to map a string onto a valid variable name.
23301 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23304 exec 6>&1
23305 ## ----------------------------------- ##
23306 ## Main body of $CONFIG_STATUS script. ##
23307 ## ----------------------------------- ##
23308 _ASEOF
23309 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23312 # Save the log message, to keep $0 and so on meaningful, and to
23313 # report actual input values of CONFIG_FILES etc. instead of their
23314 # values after options handling.
23315 ac_log="
23316 This file was extended by Wine $as_me 8.21, which was
23317 generated by GNU Autoconf 2.71. Invocation command line was
23319 CONFIG_FILES = $CONFIG_FILES
23320 CONFIG_HEADERS = $CONFIG_HEADERS
23321 CONFIG_LINKS = $CONFIG_LINKS
23322 CONFIG_COMMANDS = $CONFIG_COMMANDS
23323 $ $0 $@
23325 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23328 _ACEOF
23331 case $ac_config_headers in *"
23332 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23333 esac
23336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23337 # Files that config.status was made for.
23338 config_headers="$ac_config_headers"
23339 config_links="$ac_config_links"
23340 config_commands="$ac_config_commands"
23342 _ACEOF
23344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23345 ac_cs_usage="\
23346 \`$as_me' instantiates files and other configuration actions
23347 from templates according to the current configuration. Unless the files
23348 and actions are specified as TAGs, all are instantiated by default.
23350 Usage: $0 [OPTION]... [TAG]...
23352 -h, --help print this help, then exit
23353 -V, --version print version number and configuration settings, then exit
23354 --config print configuration, then exit
23355 -q, --quiet, --silent
23356 do not print progress messages
23357 -d, --debug don't remove temporary files
23358 --recheck update $as_me by reconfiguring in the same conditions
23359 --header=FILE[:TEMPLATE]
23360 instantiate the configuration header FILE
23362 Configuration headers:
23363 $config_headers
23365 Configuration links:
23366 $config_links
23368 Configuration commands:
23369 $config_commands
23371 Report bugs to <wine-devel@winehq.org>.
23372 Wine home page: <https://www.winehq.org>."
23374 _ACEOF
23375 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23376 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23378 ac_cs_config='$ac_cs_config_escaped'
23379 ac_cs_version="\\
23380 Wine config.status 8.21
23381 configured by $0, generated by GNU Autoconf 2.71,
23382 with options \\"\$ac_cs_config\\"
23384 Copyright (C) 2021 Free Software Foundation, Inc.
23385 This config.status script is free software; the Free Software Foundation
23386 gives unlimited permission to copy, distribute and modify it."
23388 ac_pwd='$ac_pwd'
23389 srcdir='$srcdir'
23390 test -n "\$AWK" || AWK=awk
23391 _ACEOF
23393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23394 # The default lists apply if the user does not specify any file.
23395 ac_need_defaults=:
23396 while test $# != 0
23398 case $1 in
23399 --*=?*)
23400 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23401 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23402 ac_shift=:
23404 --*=)
23405 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23406 ac_optarg=
23407 ac_shift=:
23410 ac_option=$1
23411 ac_optarg=$2
23412 ac_shift=shift
23414 esac
23416 case $ac_option in
23417 # Handling of the options.
23418 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23419 ac_cs_recheck=: ;;
23420 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23421 printf "%s\n" "$ac_cs_version"; exit ;;
23422 --config | --confi | --conf | --con | --co | --c )
23423 printf "%s\n" "$ac_cs_config"; exit ;;
23424 --debug | --debu | --deb | --de | --d | -d )
23425 debug=: ;;
23426 --header | --heade | --head | --hea )
23427 $ac_shift
23428 case $ac_optarg in
23429 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23430 esac
23431 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23432 ac_need_defaults=false;;
23433 --he | --h)
23434 # Conflict between --help and --header
23435 as_fn_error $? "ambiguous option: \`$1'
23436 Try \`$0 --help' for more information.";;
23437 --help | --hel | -h )
23438 printf "%s\n" "$ac_cs_usage"; exit ;;
23439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23440 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23441 ac_cs_silent=: ;;
23443 # This is an error.
23444 -*) as_fn_error $? "unrecognized option: \`$1'
23445 Try \`$0 --help' for more information." ;;
23447 *) as_fn_append ac_config_targets " $1"
23448 ac_need_defaults=false ;;
23450 esac
23451 shift
23452 done
23454 ac_configure_extra_args=
23456 if $ac_cs_silent; then
23457 exec 6>/dev/null
23458 ac_configure_extra_args="$ac_configure_extra_args --silent"
23461 _ACEOF
23462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23463 if \$ac_cs_recheck; then
23464 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23465 shift
23466 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23467 CONFIG_SHELL='$SHELL'
23468 export CONFIG_SHELL
23469 exec "\$@"
23472 _ACEOF
23473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23474 exec 5>>config.log
23476 echo
23477 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23478 ## Running $as_me. ##
23479 _ASBOX
23480 printf "%s\n" "$ac_log"
23481 } >&5
23483 _ACEOF
23484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23486 # INIT-COMMANDS
23488 wine_fn_output_makedep ()
23490 as_dir=tools; as_fn_mkdir_p
23491 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
23493 wine_fn_output_makefile ()
23495 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23496 # This Makefile understands the following targets:
23498 # all (default): build wine
23499 # clean: remove all intermediate files
23500 # distclean: also remove all files created by configure
23501 # test: run tests
23502 # testclean: clean test results to force running all tests again
23503 # install-lib: install libraries needed to run applications
23504 # install-dev: install development environment
23505 # install: install everything
23506 # uninstall: uninstall everything
23507 # ctags: create a tags file for vim and others.
23508 # etags: create a TAGS file for Emacs.
23510 SHELL = $SHELL
23511 PATH_SEPARATOR = $PATH_SEPARATOR
23512 PACKAGE_NAME = $PACKAGE_NAME
23513 PACKAGE_TARNAME = $PACKAGE_TARNAME
23514 PACKAGE_VERSION = $PACKAGE_VERSION
23515 PACKAGE_STRING = $PACKAGE_STRING
23516 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23517 PACKAGE_URL = $PACKAGE_URL
23518 exec_prefix = $exec_prefix
23519 prefix = $prefix
23520 program_transform_name = $program_transform_name
23521 bindir = $bindir
23522 sbindir = $sbindir
23523 libexecdir = $libexecdir
23524 datarootdir = $datarootdir
23525 datadir = $datadir
23526 sysconfdir = $sysconfdir
23527 sharedstatedir = $sharedstatedir
23528 localstatedir = $localstatedir
23529 runstatedir = $runstatedir
23530 includedir = $includedir
23531 oldincludedir = $oldincludedir
23532 docdir = $docdir
23533 infodir = $infodir
23534 htmldir = $htmldir
23535 dvidir = $dvidir
23536 pdfdir = $pdfdir
23537 psdir = $psdir
23538 libdir = $libdir
23539 localedir = $localedir
23540 mandir = $mandir
23541 DEFS = $DEFS
23542 ECHO_C = $ECHO_C
23543 ECHO_N = $ECHO_N
23544 ECHO_T = $ECHO_T
23545 LIBS = $LIBS
23546 build_alias = $build_alias
23547 host_alias = $host_alias
23548 target_alias = $target_alias
23549 system_dllpath = $system_dllpath
23550 build = $build
23551 build_cpu = $build_cpu
23552 build_vendor = $build_vendor
23553 build_os = $build_os
23554 host = $host
23555 host_cpu = $host_cpu
23556 host_vendor = $host_vendor
23557 host_os = $host_os
23558 dlldir = $dlldir
23559 fontdir = $fontdir
23560 nlsdir = $nlsdir
23561 srcdir = $srcdir
23562 SET_MAKE = $SET_MAKE
23563 CC = $CC
23564 CFLAGS = $CFLAGS
23565 LDFLAGS = $LDFLAGS
23566 CPPFLAGS = $CPPFLAGS
23567 ac_ct_CC = $ac_ct_CC
23568 EXEEXT = $EXEEXT
23569 OBJEXT = $OBJEXT
23570 CXX = $CXX
23571 CXXFLAGS = $CXXFLAGS
23572 ac_ct_CXX = $ac_ct_CXX
23573 CPPBIN = $CPPBIN
23574 LD = $LD
23575 TARGETFLAGS = $TARGETFLAGS
23576 toolsext = $toolsext
23577 HOST_ARCH = $HOST_ARCH
23578 aarch64_CC = $aarch64_CC
23579 aarch64_CFLAGS = $aarch64_CFLAGS
23580 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23581 aarch64_LDFLAGS = $aarch64_LDFLAGS
23582 aarch64_DEBUG = $aarch64_DEBUG
23583 aarch64_TARGET = $aarch64_TARGET
23584 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23585 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23586 arm_CC = $arm_CC
23587 arm_CFLAGS = $arm_CFLAGS
23588 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23589 arm_LDFLAGS = $arm_LDFLAGS
23590 arm_DEBUG = $arm_DEBUG
23591 arm_TARGET = $arm_TARGET
23592 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23593 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23594 arm64ec_CC = $arm64ec_CC
23595 arm64ec_CFLAGS = $arm64ec_CFLAGS
23596 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23597 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23598 arm64ec_DEBUG = $arm64ec_DEBUG
23599 arm64ec_TARGET = $arm64ec_TARGET
23600 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23601 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23602 i386_CC = $i386_CC
23603 i386_CFLAGS = $i386_CFLAGS
23604 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23605 i386_LDFLAGS = $i386_LDFLAGS
23606 i386_DEBUG = $i386_DEBUG
23607 i386_TARGET = $i386_TARGET
23608 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23609 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23610 x86_64_CC = $x86_64_CC
23611 x86_64_CFLAGS = $x86_64_CFLAGS
23612 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23613 x86_64_LDFLAGS = $x86_64_LDFLAGS
23614 x86_64_DEBUG = $x86_64_DEBUG
23615 x86_64_TARGET = $x86_64_TARGET
23616 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23617 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23618 toolsdir = $toolsdir
23619 MAKEDEP = $MAKEDEP
23620 RUNTESTFLAGS = $RUNTESTFLAGS
23621 SED_CMD = $SED_CMD
23622 FLEX = $FLEX
23623 BISON = $BISON
23624 AR = $AR
23625 ac_ct_AR = $ac_ct_AR
23626 STRIP = $STRIP
23627 RANLIB = $RANLIB
23628 LN_S = $LN_S
23629 GREP = $GREP
23630 EGREP = $EGREP
23631 LDCONFIG = $LDCONFIG
23632 MSGFMT = $MSGFMT
23633 PKG_CONFIG = $PKG_CONFIG
23634 FONTFORGE = $FONTFORGE
23635 RSVG = $RSVG
23636 CONVERT = $CONVERT
23637 ICOTOOL = $ICOTOOL
23638 I386_LIBS = $I386_LIBS
23639 OPENGL_LIBS = $OPENGL_LIBS
23640 DLLFLAGS = $DLLFLAGS
23641 LDDLLFLAGS = $LDDLLFLAGS
23642 LDEXECFLAGS = $LDEXECFLAGS
23643 EXTRACFLAGS = $EXTRACFLAGS
23644 UNIXDLLFLAGS = $UNIXDLLFLAGS
23645 UNIXLDFLAGS = $UNIXLDFLAGS
23646 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23647 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23648 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23649 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23650 DLLEXT = $DLLEXT
23651 LDD = $LDD
23652 OTOOL = $OTOOL
23653 READELF = $READELF
23654 SUBDIRS = $SUBDIRS
23655 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23656 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23657 CARBON_LIBS = $CARBON_LIBS
23658 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23659 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23660 IOKIT_LIBS = $IOKIT_LIBS
23661 METAL_LIBS = $METAL_LIBS
23662 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23663 CORESERVICES_LIBS = $CORESERVICES_LIBS
23664 APPKIT_LIBS = $APPKIT_LIBS
23665 SECURITY_LIBS = $SECURITY_LIBS
23666 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23667 COREAUDIO_LIBS = $COREAUDIO_LIBS
23668 OPENCL_LIBS = $OPENCL_LIBS
23669 OBJC = $OBJC
23670 OBJCFLAGS = $OBJCFLAGS
23671 ac_ct_OBJC = $ac_ct_OBJC
23672 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23673 PE_ARCHS = $PE_ARCHS
23674 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23675 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23676 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23677 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23678 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23679 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23680 GSM_PE_LIBS = $GSM_PE_LIBS
23681 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23682 JPEG_PE_LIBS = $JPEG_PE_LIBS
23683 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23684 JXR_PE_LIBS = $JXR_PE_LIBS
23685 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23686 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23687 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23688 LDAP_PE_LIBS = $LDAP_PE_LIBS
23689 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23690 MPG123_PE_LIBS = $MPG123_PE_LIBS
23691 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23692 MUSL_PE_LIBS = $MUSL_PE_LIBS
23693 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23694 PNG_PE_LIBS = $PNG_PE_LIBS
23695 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23696 TIFF_PE_LIBS = $TIFF_PE_LIBS
23697 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23698 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23699 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23700 XML2_PE_LIBS = $XML2_PE_LIBS
23701 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23702 XSLT_PE_LIBS = $XSLT_PE_LIBS
23703 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23704 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23705 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23706 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23707 PTHREAD_LIBS = $PTHREAD_LIBS
23708 XMKMF = $XMKMF
23709 CPP = $CPP
23710 X_CFLAGS = $X_CFLAGS
23711 X_PRE_LIBS = $X_PRE_LIBS
23712 X_LIBS = $X_LIBS
23713 X_EXTRA_LIBS = $X_EXTRA_LIBS
23714 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23715 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23716 WAYLAND_SCANNER = $WAYLAND_SCANNER
23717 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23718 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23719 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
23720 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
23721 PCAP_LIBS = $PCAP_LIBS
23722 PCSCLITE_LIBS = $PCSCLITE_LIBS
23723 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23724 INOTIFY_LIBS = $INOTIFY_LIBS
23725 DBUS_CFLAGS = $DBUS_CFLAGS
23726 DBUS_LIBS = $DBUS_LIBS
23727 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23728 GNUTLS_LIBS = $GNUTLS_LIBS
23729 SANE_CFLAGS = $SANE_CFLAGS
23730 SANE_LIBS = $SANE_LIBS
23731 USB_CFLAGS = $USB_CFLAGS
23732 USB_LIBS = $USB_LIBS
23733 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23734 GPHOTO2_LIBS = $GPHOTO2_LIBS
23735 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23736 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23737 RESOLV_LIBS = $RESOLV_LIBS
23738 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23739 FREETYPE_LIBS = $FREETYPE_LIBS
23740 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23741 PULSE_CFLAGS = $PULSE_CFLAGS
23742 PULSE_LIBS = $PULSE_LIBS
23743 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23744 GSTREAMER_LIBS = $GSTREAMER_LIBS
23745 ALSA_LIBS = $ALSA_LIBS
23746 OSS4_CFLAGS = $OSS4_CFLAGS
23747 OSS4_LIBS = $OSS4_LIBS
23748 UDEV_CFLAGS = $UDEV_CFLAGS
23749 UDEV_LIBS = $UDEV_LIBS
23750 UNWIND_CFLAGS = $UNWIND_CFLAGS
23751 UNWIND_LIBS = $UNWIND_LIBS
23752 SDL2_CFLAGS = $SDL2_CFLAGS
23753 SDL2_LIBS = $SDL2_LIBS
23754 CAPI20_CFLAGS = $CAPI20_CFLAGS
23755 CAPI20_LIBS = $CAPI20_LIBS
23756 CUPS_CFLAGS = $CUPS_CFLAGS
23757 CUPS_LIBS = $CUPS_LIBS
23758 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23759 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23760 KRB5_CFLAGS = $KRB5_CFLAGS
23761 KRB5_LIBS = $KRB5_LIBS
23762 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23763 GSSAPI_LIBS = $GSSAPI_LIBS
23764 PROCSTAT_LIBS = $PROCSTAT_LIBS
23765 NETAPI_CFLAGS = $NETAPI_CFLAGS
23766 NETAPI_LIBS = $NETAPI_LIBS
23767 MSVCRTFLAGS = $MSVCRTFLAGS
23768 DELAYLOADFLAG = $DELAYLOADFLAG
23769 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23770 RT_LIBS = $RT_LIBS
23771 TAGSFLAGS = $TAGSFLAGS
23772 LIBOBJS = $LIBOBJS
23773 LTLIBOBJS = $LTLIBOBJS
23774 $SET_MAKE
23775 $wine_rules
23776 _WINE_EOF
23777 as_fn_error $? "could not create Makefile" "$LINENO" 5
23780 _ACEOF
23782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23784 # Handling of arguments.
23785 for ac_config_target in $ac_config_targets
23787 case $ac_config_target in
23788 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23789 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23790 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23791 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23792 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23793 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23795 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23796 esac
23797 done
23800 # If the user did not use the arguments to specify the items to instantiate,
23801 # then the envvar interface is used. Set only those that are not.
23802 # We use the long form for the default assignment because of an extremely
23803 # bizarre bug on SunOS 4.1.3.
23804 if $ac_need_defaults; then
23805 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23806 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23807 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23810 # Have a temporary directory for convenience. Make it in the build tree
23811 # simply because there is no reason against having it here, and in addition,
23812 # creating and moving files from /tmp can sometimes cause problems.
23813 # Hook for its removal unless debugging.
23814 # Note that there is a small window in which the directory will not be cleaned:
23815 # after its creation but before its name has been assigned to `$tmp'.
23816 $debug ||
23818 tmp= ac_tmp=
23819 trap 'exit_status=$?
23820 : "${ac_tmp:=$tmp}"
23821 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23823 trap 'as_fn_exit 1' 1 2 13 15
23825 # Create a (secure) tmp directory for tmp files.
23828 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23829 test -d "$tmp"
23830 } ||
23832 tmp=./conf$$-$RANDOM
23833 (umask 077 && mkdir "$tmp")
23834 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23835 ac_tmp=$tmp
23837 # Set up the scripts for CONFIG_HEADERS section.
23838 # No need to generate them if there are no CONFIG_HEADERS.
23839 # This happens for instance with `./config.status Makefile'.
23840 if test -n "$CONFIG_HEADERS"; then
23841 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23842 BEGIN {
23843 _ACEOF
23845 # Transform confdefs.h into an awk script `defines.awk', embedded as
23846 # here-document in config.status, that substitutes the proper values into
23847 # config.h.in to produce config.h.
23849 # Create a delimiter string that does not exist in confdefs.h, to ease
23850 # handling of long lines.
23851 ac_delim='%!_!# '
23852 for ac_last_try in false false :; do
23853 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23854 if test -z "$ac_tt"; then
23855 break
23856 elif $ac_last_try; then
23857 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23858 else
23859 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23861 done
23863 # For the awk script, D is an array of macro values keyed by name,
23864 # likewise P contains macro parameters if any. Preserve backslash
23865 # newline sequences.
23867 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23868 sed -n '
23869 s/.\{148\}/&'"$ac_delim"'/g
23870 t rset
23871 :rset
23872 s/^[ ]*#[ ]*define[ ][ ]*/ /
23873 t def
23875 :def
23876 s/\\$//
23877 t bsnl
23878 s/["\\]/\\&/g
23879 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23880 D["\1"]=" \3"/p
23881 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23883 :bsnl
23884 s/["\\]/\\&/g
23885 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23886 D["\1"]=" \3\\\\\\n"\\/p
23887 t cont
23888 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23889 t cont
23891 :cont
23893 s/.\{148\}/&'"$ac_delim"'/g
23894 t clear
23895 :clear
23896 s/\\$//
23897 t bsnlc
23898 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23900 :bsnlc
23901 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23902 b cont
23903 ' <confdefs.h | sed '
23904 s/'"$ac_delim"'/"\\\
23905 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23908 for (key in D) D_is_set[key] = 1
23909 FS = "\a"
23911 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23912 line = \$ 0
23913 split(line, arg, " ")
23914 if (arg[1] == "#") {
23915 defundef = arg[2]
23916 mac1 = arg[3]
23917 } else {
23918 defundef = substr(arg[1], 2)
23919 mac1 = arg[2]
23921 split(mac1, mac2, "(") #)
23922 macro = mac2[1]
23923 prefix = substr(line, 1, index(line, defundef) - 1)
23924 if (D_is_set[macro]) {
23925 # Preserve the white space surrounding the "#".
23926 print prefix "define", macro P[macro] D[macro]
23927 next
23928 } else {
23929 # Replace #undef with comments. This is necessary, for example,
23930 # in the case of _POSIX_SOURCE, which is predefined and required
23931 # on some systems where configure will not decide to define it.
23932 if (defundef == "undef") {
23933 print "/*", prefix defundef, macro, "*/"
23934 next
23938 { print }
23939 _ACAWK
23940 _ACEOF
23941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23942 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23943 fi # test -n "$CONFIG_HEADERS"
23946 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23947 shift
23948 for ac_tag
23950 case $ac_tag in
23951 :[FHLC]) ac_mode=$ac_tag; continue;;
23952 esac
23953 case $ac_mode$ac_tag in
23954 :[FHL]*:*);;
23955 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23956 :[FH]-) ac_tag=-:-;;
23957 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23958 esac
23959 ac_save_IFS=$IFS
23960 IFS=:
23961 set x $ac_tag
23962 IFS=$ac_save_IFS
23963 shift
23964 ac_file=$1
23965 shift
23967 case $ac_mode in
23968 :L) ac_source=$1;;
23969 :[FH])
23970 ac_file_inputs=
23971 for ac_f
23973 case $ac_f in
23974 -) ac_f="$ac_tmp/stdin";;
23975 *) # Look for the file first in the build tree, then in the source tree
23976 # (if the path is not absolute). The absolute path cannot be DOS-style,
23977 # because $ac_f cannot contain `:'.
23978 test -f "$ac_f" ||
23979 case $ac_f in
23980 [\\/$]*) false;;
23981 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23982 esac ||
23983 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23984 esac
23985 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23986 as_fn_append ac_file_inputs " '$ac_f'"
23987 done
23989 # Let's still pretend it is `configure' which instantiates (i.e., don't
23990 # use $as_me), people would be surprised to read:
23991 # /* config.h. Generated by config.status. */
23992 configure_input='Generated from '`
23993 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23994 `' by configure.'
23995 if test x"$ac_file" != x-; then
23996 configure_input="$ac_file. $configure_input"
23997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23998 printf "%s\n" "$as_me: creating $ac_file" >&6;}
24000 # Neutralize special characters interpreted by sed in replacement strings.
24001 case $configure_input in #(
24002 *\&* | *\|* | *\\* )
24003 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
24004 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24005 *) ac_sed_conf_input=$configure_input;;
24006 esac
24008 case $ac_tag in
24009 *:-:* | *:-) cat >"$ac_tmp/stdin" \
24010 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24011 esac
24013 esac
24015 ac_dir=`$as_dirname -- "$ac_file" ||
24016 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24017 X"$ac_file" : 'X\(//\)[^/]' \| \
24018 X"$ac_file" : 'X\(//\)$' \| \
24019 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24020 printf "%s\n" X"$ac_file" |
24021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24022 s//\1/
24025 /^X\(\/\/\)[^/].*/{
24026 s//\1/
24029 /^X\(\/\/\)$/{
24030 s//\1/
24033 /^X\(\/\).*/{
24034 s//\1/
24037 s/.*/./; q'`
24038 as_dir="$ac_dir"; as_fn_mkdir_p
24039 ac_builddir=.
24041 case "$ac_dir" in
24042 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24044 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
24045 # A ".." for each directory in $ac_dir_suffix.
24046 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24047 case $ac_top_builddir_sub in
24048 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24049 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24050 esac ;;
24051 esac
24052 ac_abs_top_builddir=$ac_pwd
24053 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24054 # for backward compatibility:
24055 ac_top_builddir=$ac_top_build_prefix
24057 case $srcdir in
24058 .) # We are building in place.
24059 ac_srcdir=.
24060 ac_top_srcdir=$ac_top_builddir_sub
24061 ac_abs_top_srcdir=$ac_pwd ;;
24062 [\\/]* | ?:[\\/]* ) # Absolute name.
24063 ac_srcdir=$srcdir$ac_dir_suffix;
24064 ac_top_srcdir=$srcdir
24065 ac_abs_top_srcdir=$srcdir ;;
24066 *) # Relative name.
24067 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24068 ac_top_srcdir=$ac_top_build_prefix$srcdir
24069 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24070 esac
24071 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24074 case $ac_mode in
24078 # CONFIG_HEADER
24080 if test x"$ac_file" != x-; then
24082 printf "%s\n" "/* $configure_input */" >&1 \
24083 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24084 } >"$ac_tmp/config.h" \
24085 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24086 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24088 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24089 else
24090 rm -f "$ac_file"
24091 mv "$ac_tmp/config.h" "$ac_file" \
24092 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24094 else
24095 printf "%s\n" "/* $configure_input */" >&1 \
24096 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24097 || as_fn_error $? "could not create -" "$LINENO" 5
24102 # CONFIG_LINK
24105 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24107 else
24108 # Prefer the file from the source tree if names are identical.
24109 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24110 ac_source=$srcdir/$ac_source
24113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24114 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24116 if test ! -r "$ac_source"; then
24117 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24119 rm -f "$ac_file"
24121 # Try a relative symlink, then a hard link, then a copy.
24122 case $ac_source in
24123 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24124 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24125 esac
24126 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24127 ln "$ac_source" "$ac_file" 2>/dev/null ||
24128 cp -p "$ac_source" "$ac_file" ||
24129 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24132 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24133 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24135 esac
24138 case $ac_file$ac_mode in
24139 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24140 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24141 "Makefile":C) wine_fn_output_makefile Makefile ;;
24143 esac
24144 done # for ac_tag
24147 as_fn_exit 0
24148 _ACEOF
24149 ac_clean_files=$ac_clean_files_save
24151 test $ac_write_fail = 0 ||
24152 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24155 # configure is writing to config.log, and then calls config.status.
24156 # config.status does its own redirection, appending to config.log.
24157 # Unfortunately, on DOS this fails, as config.log is still kept open
24158 # by configure, so config.status won't be able to write to it; its
24159 # output is simply discarded. So we exec the FD to /dev/null,
24160 # effectively closing config.log, so it can be properly (re)opened and
24161 # appended to by config.status. When coming back to configure, we
24162 # need to make the FD available again.
24163 if test "$no_create" != yes; then
24164 ac_cs_success=:
24165 ac_config_status_args=
24166 test "$silent" = yes &&
24167 ac_config_status_args="$ac_config_status_args --quiet"
24168 exec 5>/dev/null
24169 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24170 exec 5>>config.log
24171 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24172 # would make configure fail if this is the last instruction.
24173 $ac_cs_success || as_fn_exit 1
24175 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24177 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24181 if test "$no_create" = "yes"
24182 then
24183 exit 0
24186 ac_save_IFS="$IFS"
24187 if test "x$wine_notices" != x; then
24188 echo >&6
24189 IFS="|"
24190 for msg in $wine_notices; do
24191 IFS="$ac_save_IFS"
24192 if ${msg:+false} :
24193 then :
24195 else $as_nop
24196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24197 printf "%s\n" "$as_me: $msg" >&6;}
24199 done
24201 IFS="|"
24202 for msg in $wine_warnings; do
24203 IFS="$ac_save_IFS"
24204 if ${msg:+false} :
24205 then :
24207 else $as_nop
24208 echo >&2
24209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24210 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24212 done
24213 IFS="$ac_save_IFS"
24215 printf "%s\n" "
24216 $as_me: Finished. Do '${ac_make}' to compile Wine.
24217 " >&6