oleaut32/tests: Use existing helpers to trace variant values.
[wine.git] / configure
blob718b0dd777c35f7da32adb4ea7623adab9a10984
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 as_fn_append PE_ARCHS " $wine_arch"
10823 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10825 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10826 if eval test \${$as_ac_var+y}
10827 then :
10828 printf %s "(cached) " >&6
10829 else $as_nop
10830 ac_wine_try_cflags_saved=$CFLAGS
10831 ac_wine_try_cflags_saved_exeext=$ac_exeext
10832 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10833 ac_exeext=".exe"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 void *__os_arm64x_dispatch_ret = 0;
10837 int __cdecl mainCRTStartup(void) { return 0; }
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"
10840 then :
10841 eval "$as_ac_var=yes"
10842 else $as_nop
10843 eval "$as_ac_var=no"
10845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10846 conftest$ac_exeext conftest.$ac_ext
10847 CFLAGS=$ac_wine_try_cflags_saved
10848 ac_exeext=$ac_wine_try_cflags_saved_exeext
10850 eval ac_res=\$$as_ac_var
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10852 printf "%s\n" "$ac_res" >&6; }
10853 if eval test \"x\$"$as_ac_var"\" = x"yes"
10854 then :
10855 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10856 fi }
10857 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10859 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10860 if eval test \${$as_ac_var+y}
10861 then :
10862 printf %s "(cached) " >&6
10863 else $as_nop
10864 ac_wine_try_cflags_saved=$CFLAGS
10865 ac_wine_try_cflags_saved_exeext=$ac_exeext
10866 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10867 ac_exeext=".exe"
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10870 void *__os_arm64x_dispatch_ret = 0;
10871 int __cdecl mainCRTStartup(void) { return 0; }
10872 _ACEOF
10873 if ac_fn_c_try_link "$LINENO"
10874 then :
10875 eval "$as_ac_var=yes"
10876 else $as_nop
10877 eval "$as_ac_var=no"
10879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10880 conftest$ac_exeext conftest.$ac_ext
10881 CFLAGS=$ac_wine_try_cflags_saved
10882 ac_exeext=$ac_wine_try_cflags_saved_exeext
10884 eval ac_res=\$$as_ac_var
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10886 printf "%s\n" "$ac_res" >&6; }
10887 if eval test \"x\$"$as_ac_var"\" = x"yes"
10888 then :
10889 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10890 fi }
10891 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10893 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10894 if eval test \${$as_ac_var+y}
10895 then :
10896 printf %s "(cached) " >&6
10897 else $as_nop
10898 ac_wine_try_cflags_saved=$CFLAGS
10899 ac_wine_try_cflags_saved_exeext=$ac_exeext
10900 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10901 ac_exeext=".exe"
10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10904 void *__os_arm64x_dispatch_ret = 0;
10905 int __cdecl mainCRTStartup(void) { return 0; }
10906 _ACEOF
10907 if ac_fn_c_try_link "$LINENO"
10908 then :
10909 eval "$as_ac_var=yes"
10910 else $as_nop
10911 eval "$as_ac_var=no"
10913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10914 conftest$ac_exeext conftest.$ac_ext
10915 CFLAGS=$ac_wine_try_cflags_saved
10916 ac_exeext=$ac_wine_try_cflags_saved_exeext
10918 eval ac_res=\$$as_ac_var
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10920 printf "%s\n" "$ac_res" >&6; }
10921 if eval test \"x\$"$as_ac_var"\" = x"yes"
10922 then :
10923 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10924 fi }
10925 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10927 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10928 if eval test \${$as_ac_var+y}
10929 then :
10930 printf %s "(cached) " >&6
10931 else $as_nop
10932 ac_wine_try_cflags_saved=$CFLAGS
10933 ac_wine_try_cflags_saved_exeext=$ac_exeext
10934 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10935 ac_exeext=".exe"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 void *__os_arm64x_dispatch_ret = 0;
10939 int __cdecl mainCRTStartup(void) { return 0; }
10940 _ACEOF
10941 if ac_fn_c_try_link "$LINENO"
10942 then :
10943 eval "$as_ac_var=yes"
10944 else $as_nop
10945 eval "$as_ac_var=no"
10947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10948 conftest$ac_exeext conftest.$ac_ext
10949 CFLAGS=$ac_wine_try_cflags_saved
10950 ac_exeext=$ac_wine_try_cflags_saved_exeext
10952 eval ac_res=\$$as_ac_var
10953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10954 printf "%s\n" "$ac_res" >&6; }
10955 if eval test \"x\$"$as_ac_var"\" = x"yes"
10956 then :
10957 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10958 fi }
10959 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10961 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10962 if eval test \${$as_ac_var+y}
10963 then :
10964 printf %s "(cached) " >&6
10965 else $as_nop
10966 ac_wine_try_cflags_saved=$CFLAGS
10967 ac_wine_try_cflags_saved_exeext=$ac_exeext
10968 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10969 ac_exeext=".exe"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10972 void *__os_arm64x_dispatch_ret = 0;
10973 int __cdecl mainCRTStartup(void) { return 0; }
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"
10976 then :
10977 eval "$as_ac_var=yes"
10978 else $as_nop
10979 eval "$as_ac_var=no"
10981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10982 conftest$ac_exeext conftest.$ac_ext
10983 CFLAGS=$ac_wine_try_cflags_saved
10984 ac_exeext=$ac_wine_try_cflags_saved_exeext
10986 eval ac_res=\$$as_ac_var
10987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10988 printf "%s\n" "$ac_res" >&6; }
10989 if eval test \"x\$"$as_ac_var"\" = x"yes"
10990 then :
10991 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10992 fi }
10993 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10995 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10996 if eval test \${$as_ac_var+y}
10997 then :
10998 printf %s "(cached) " >&6
10999 else $as_nop
11000 ac_wine_try_cflags_saved=$CFLAGS
11001 ac_wine_try_cflags_saved_exeext=$ac_exeext
11002 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
11003 ac_exeext=".exe"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11006 void *__os_arm64x_dispatch_ret = 0;
11007 int __cdecl mainCRTStartup(void) { return 0; }
11008 _ACEOF
11009 if ac_fn_c_try_link "$LINENO"
11010 then :
11011 eval "$as_ac_var=yes"
11012 else $as_nop
11013 eval "$as_ac_var=no"
11015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11016 conftest$ac_exeext conftest.$ac_ext
11017 CFLAGS=$ac_wine_try_cflags_saved
11018 ac_exeext=$ac_wine_try_cflags_saved_exeext
11020 eval ac_res=\$$as_ac_var
11021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11022 printf "%s\n" "$ac_res" >&6; }
11023 if eval test \"x\$"$as_ac_var"\" = x"yes"
11024 then :
11025 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11026 fi }
11027 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11029 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11030 if eval test \${$as_ac_var+y}
11031 then :
11032 printf %s "(cached) " >&6
11033 else $as_nop
11034 ac_wine_try_cflags_saved=$CFLAGS
11035 ac_wine_try_cflags_saved_exeext=$ac_exeext
11036 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11037 ac_exeext=".exe"
11038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11039 /* end confdefs.h. */
11040 void *__os_arm64x_dispatch_ret = 0;
11041 int __cdecl mainCRTStartup(void) { return 0; }
11042 _ACEOF
11043 if ac_fn_c_try_link "$LINENO"
11044 then :
11045 eval "$as_ac_var=yes"
11046 else $as_nop
11047 eval "$as_ac_var=no"
11049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11050 conftest$ac_exeext conftest.$ac_ext
11051 CFLAGS=$ac_wine_try_cflags_saved
11052 ac_exeext=$ac_wine_try_cflags_saved_exeext
11054 eval ac_res=\$$as_ac_var
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11056 printf "%s\n" "$ac_res" >&6; }
11057 if eval test \"x\$"$as_ac_var"\" = x"yes"
11058 then :
11059 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11060 fi }
11061 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11063 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11064 if eval test \${$as_ac_var+y}
11065 then :
11066 printf %s "(cached) " >&6
11067 else $as_nop
11068 ac_wine_try_cflags_saved=$CFLAGS
11069 ac_wine_try_cflags_saved_exeext=$ac_exeext
11070 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11071 ac_exeext=".exe"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11074 void *__os_arm64x_dispatch_ret = 0;
11075 int __cdecl mainCRTStartup(void) { return 0; }
11076 _ACEOF
11077 if ac_fn_c_try_link "$LINENO"
11078 then :
11079 eval "$as_ac_var=yes"
11080 else $as_nop
11081 eval "$as_ac_var=no"
11083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11084 conftest$ac_exeext conftest.$ac_ext
11085 CFLAGS=$ac_wine_try_cflags_saved
11086 ac_exeext=$ac_wine_try_cflags_saved_exeext
11088 eval ac_res=\$$as_ac_var
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11090 printf "%s\n" "$ac_res" >&6; }
11091 if eval test \"x\$"$as_ac_var"\" = x"yes"
11092 then :
11093 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11094 fi }
11095 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11097 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11098 if eval test \${$as_ac_var+y}
11099 then :
11100 printf %s "(cached) " >&6
11101 else $as_nop
11102 ac_wine_try_cflags_saved=$CFLAGS
11103 ac_wine_try_cflags_saved_exeext=$ac_exeext
11104 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11105 ac_exeext=".exe"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11108 void *__os_arm64x_dispatch_ret = 0;
11109 int __cdecl mainCRTStartup(void) { return 0; }
11110 _ACEOF
11111 if ac_fn_c_try_link "$LINENO"
11112 then :
11113 eval "$as_ac_var=yes"
11114 else $as_nop
11115 eval "$as_ac_var=no"
11117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11118 conftest$ac_exeext conftest.$ac_ext
11119 CFLAGS=$ac_wine_try_cflags_saved
11120 ac_exeext=$ac_wine_try_cflags_saved_exeext
11122 eval ac_res=\$$as_ac_var
11123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11124 printf "%s\n" "$ac_res" >&6; }
11125 if eval test \"x\$"$as_ac_var"\" = x"yes"
11126 then :
11127 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11128 fi }
11129 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wmicrosoft-enum-forward-reference" | $as_tr_sh`
11130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wmicrosoft-enum-forward-reference" >&5
11131 printf %s "checking whether $CC supports -Wmicrosoft-enum-forward-reference... " >&6; }
11132 if eval test \${$as_ac_var+y}
11133 then :
11134 printf %s "(cached) " >&6
11135 else $as_nop
11136 ac_wine_try_cflags_saved=$CFLAGS
11137 ac_wine_try_cflags_saved_exeext=$ac_exeext
11138 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wmicrosoft-enum-forward-reference"
11139 ac_exeext=".exe"
11140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11141 /* end confdefs.h. */
11142 void *__os_arm64x_dispatch_ret = 0;
11143 int __cdecl mainCRTStartup(void) { return 0; }
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"
11146 then :
11147 eval "$as_ac_var=yes"
11148 else $as_nop
11149 eval "$as_ac_var=no"
11151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11152 conftest$ac_exeext conftest.$ac_ext
11153 CFLAGS=$ac_wine_try_cflags_saved
11154 ac_exeext=$ac_wine_try_cflags_saved_exeext
11156 eval ac_res=\$$as_ac_var
11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11158 printf "%s\n" "$ac_res" >&6; }
11159 if eval test \"x\$"$as_ac_var"\" = x"yes"
11160 then :
11161 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-microsoft-enum-forward-reference"
11162 fi }
11163 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11165 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11166 if eval test \${$as_ac_var+y}
11167 then :
11168 printf %s "(cached) " >&6
11169 else $as_nop
11170 ac_wine_try_cflags_saved=$CFLAGS
11171 ac_wine_try_cflags_saved_exeext=$ac_exeext
11172 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11173 ac_exeext=".exe"
11174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11175 /* end confdefs.h. */
11176 void *__os_arm64x_dispatch_ret = 0;
11177 int __cdecl mainCRTStartup(void) { return 0; }
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"
11180 then :
11181 eval "$as_ac_var=yes"
11182 else $as_nop
11183 eval "$as_ac_var=no"
11185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11186 conftest$ac_exeext conftest.$ac_ext
11187 CFLAGS=$ac_wine_try_cflags_saved
11188 ac_exeext=$ac_wine_try_cflags_saved_exeext
11190 eval ac_res=\$$as_ac_var
11191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11192 printf "%s\n" "$ac_res" >&6; }
11193 if eval test \"x\$"$as_ac_var"\" = x"yes"
11194 then :
11195 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11196 fi }
11197 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11199 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11200 if eval test \${$as_ac_var+y}
11201 then :
11202 printf %s "(cached) " >&6
11203 else $as_nop
11204 ac_wine_try_cflags_saved=$CFLAGS
11205 ac_wine_try_cflags_saved_exeext=$ac_exeext
11206 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11207 ac_exeext=".exe"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11210 void *__os_arm64x_dispatch_ret = 0;
11211 int __cdecl mainCRTStartup(void) { return 0; }
11212 _ACEOF
11213 if ac_fn_c_try_link "$LINENO"
11214 then :
11215 eval "$as_ac_var=yes"
11216 else $as_nop
11217 eval "$as_ac_var=no"
11219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11220 conftest$ac_exeext conftest.$ac_ext
11221 CFLAGS=$ac_wine_try_cflags_saved
11222 ac_exeext=$ac_wine_try_cflags_saved_exeext
11224 eval ac_res=\$$as_ac_var
11225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11226 printf "%s\n" "$ac_res" >&6; }
11227 if eval test \"x\$"$as_ac_var"\" = x"yes"
11228 then :
11229 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11230 fi }
11231 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11233 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11234 if eval test \${$as_ac_var+y}
11235 then :
11236 printf %s "(cached) " >&6
11237 else $as_nop
11238 ac_wine_try_cflags_saved=$CFLAGS
11239 ac_wine_try_cflags_saved_exeext=$ac_exeext
11240 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11241 ac_exeext=".exe"
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11244 void *__os_arm64x_dispatch_ret = 0;
11245 int __cdecl mainCRTStartup(void) { return 0; }
11246 _ACEOF
11247 if ac_fn_c_try_link "$LINENO"
11248 then :
11249 eval "$as_ac_var=yes"
11250 else $as_nop
11251 eval "$as_ac_var=no"
11253 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11254 conftest$ac_exeext conftest.$ac_ext
11255 CFLAGS=$ac_wine_try_cflags_saved
11256 ac_exeext=$ac_wine_try_cflags_saved_exeext
11258 eval ac_res=\$$as_ac_var
11259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11260 printf "%s\n" "$ac_res" >&6; }
11261 if eval test \"x\$"$as_ac_var"\" = x"yes"
11262 then :
11263 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11264 fi }
11265 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11267 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11268 if eval test \${$as_ac_var+y}
11269 then :
11270 printf %s "(cached) " >&6
11271 else $as_nop
11272 ac_wine_try_cflags_saved=$CFLAGS
11273 ac_wine_try_cflags_saved_exeext=$ac_exeext
11274 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11275 ac_exeext=".exe"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11278 void *__os_arm64x_dispatch_ret = 0;
11279 int __cdecl mainCRTStartup(void) { return 0; }
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"
11282 then :
11283 eval "$as_ac_var=yes"
11284 else $as_nop
11285 eval "$as_ac_var=no"
11287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11288 conftest$ac_exeext conftest.$ac_ext
11289 CFLAGS=$ac_wine_try_cflags_saved
11290 ac_exeext=$ac_wine_try_cflags_saved_exeext
11292 eval ac_res=\$$as_ac_var
11293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11294 printf "%s\n" "$ac_res" >&6; }
11295 if eval test \"x\$"$as_ac_var"\" = x"yes"
11296 then :
11297 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11298 fi }
11299 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11301 printf %s "checking whether $CC supports -Wvla... " >&6; }
11302 if eval test \${$as_ac_var+y}
11303 then :
11304 printf %s "(cached) " >&6
11305 else $as_nop
11306 ac_wine_try_cflags_saved=$CFLAGS
11307 ac_wine_try_cflags_saved_exeext=$ac_exeext
11308 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11309 ac_exeext=".exe"
11310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11311 /* end confdefs.h. */
11312 void *__os_arm64x_dispatch_ret = 0;
11313 int __cdecl mainCRTStartup(void) { return 0; }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"
11316 then :
11317 eval "$as_ac_var=yes"
11318 else $as_nop
11319 eval "$as_ac_var=no"
11321 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11322 conftest$ac_exeext conftest.$ac_ext
11323 CFLAGS=$ac_wine_try_cflags_saved
11324 ac_exeext=$ac_wine_try_cflags_saved_exeext
11326 eval ac_res=\$$as_ac_var
11327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11328 printf "%s\n" "$ac_res" >&6; }
11329 if eval test \"x\$"$as_ac_var"\" = x"yes"
11330 then :
11331 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11332 fi }
11333 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11335 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11336 if eval test \${$as_ac_var+y}
11337 then :
11338 printf %s "(cached) " >&6
11339 else $as_nop
11340 ac_wine_try_cflags_saved=$CFLAGS
11341 ac_wine_try_cflags_saved_exeext=$ac_exeext
11342 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11343 ac_exeext=".exe"
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 void *__os_arm64x_dispatch_ret = 0;
11347 int __cdecl mainCRTStartup(void) { return 0; }
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"
11350 then :
11351 eval "$as_ac_var=yes"
11352 else $as_nop
11353 eval "$as_ac_var=no"
11355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11356 conftest$ac_exeext conftest.$ac_ext
11357 CFLAGS=$ac_wine_try_cflags_saved
11358 ac_exeext=$ac_wine_try_cflags_saved_exeext
11360 eval ac_res=\$$as_ac_var
11361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11362 printf "%s\n" "$ac_res" >&6; }
11363 if eval test \"x\$"$as_ac_var"\" = x"yes"
11364 then :
11365 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11366 fi }
11367 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11369 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11370 if eval test \${$as_ac_var+y}
11371 then :
11372 printf %s "(cached) " >&6
11373 else $as_nop
11374 ac_wine_try_cflags_saved=$CFLAGS
11375 ac_wine_try_cflags_saved_exeext=$ac_exeext
11376 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11377 ac_exeext=".exe"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11380 void *__os_arm64x_dispatch_ret = 0;
11381 int __cdecl mainCRTStartup(void) { return 0; }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"
11384 then :
11385 eval "$as_ac_var=yes"
11386 else $as_nop
11387 eval "$as_ac_var=no"
11389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11390 conftest$ac_exeext conftest.$ac_ext
11391 CFLAGS=$ac_wine_try_cflags_saved
11392 ac_exeext=$ac_wine_try_cflags_saved_exeext
11394 eval ac_res=\$$as_ac_var
11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11396 printf "%s\n" "$ac_res" >&6; }
11397 if eval test \"x\$"$as_ac_var"\" = x"yes"
11398 then :
11399 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11400 fi }
11401 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11403 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11404 if eval test \${$as_ac_var+y}
11405 then :
11406 printf %s "(cached) " >&6
11407 else $as_nop
11408 ac_wine_try_cflags_saved=$CFLAGS
11409 ac_wine_try_cflags_saved_exeext=$ac_exeext
11410 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11411 ac_exeext=".exe"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414 void *__os_arm64x_dispatch_ret = 0;
11415 int __cdecl mainCRTStartup(void) { return 0; }
11416 _ACEOF
11417 if ac_fn_c_try_link "$LINENO"
11418 then :
11419 eval "$as_ac_var=yes"
11420 else $as_nop
11421 eval "$as_ac_var=no"
11423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11424 conftest$ac_exeext conftest.$ac_ext
11425 CFLAGS=$ac_wine_try_cflags_saved
11426 ac_exeext=$ac_wine_try_cflags_saved_exeext
11428 eval ac_res=\$$as_ac_var
11429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11430 printf "%s\n" "$ac_res" >&6; }
11431 if eval test \"x\$"$as_ac_var"\" = x"yes"
11432 then :
11433 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11434 fi }
11435 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11437 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11438 if eval test \${$as_ac_var+y}
11439 then :
11440 printf %s "(cached) " >&6
11441 else $as_nop
11442 ac_wine_try_cflags_saved=$CFLAGS
11443 ac_wine_try_cflags_saved_exeext=$ac_exeext
11444 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11445 ac_exeext=".exe"
11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11448 void *__os_arm64x_dispatch_ret = 0;
11449 int __cdecl mainCRTStartup(void) { return 0; }
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"
11452 then :
11453 eval "$as_ac_var=yes"
11454 else $as_nop
11455 eval "$as_ac_var=no"
11457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11458 conftest$ac_exeext conftest.$ac_ext
11459 CFLAGS=$ac_wine_try_cflags_saved
11460 ac_exeext=$ac_wine_try_cflags_saved_exeext
11462 eval ac_res=\$$as_ac_var
11463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11464 printf "%s\n" "$ac_res" >&6; }
11465 if eval test \"x\$"$as_ac_var"\" = x"yes"
11466 then :
11467 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11468 fi }
11470 case $wine_arch in
11471 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11473 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11474 if eval test \${$as_ac_var+y}
11475 then :
11476 printf %s "(cached) " >&6
11477 else $as_nop
11478 ac_wine_try_cflags_saved=$CFLAGS
11479 ac_wine_try_cflags_saved_exeext=$ac_exeext
11480 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11481 ac_exeext=".exe"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11484 void *__os_arm64x_dispatch_ret = 0;
11485 int __cdecl mainCRTStartup(void) { return 0; }
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"
11488 then :
11489 eval "$as_ac_var=yes"
11490 else $as_nop
11491 eval "$as_ac_var=no"
11493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11494 conftest$ac_exeext conftest.$ac_ext
11495 CFLAGS=$ac_wine_try_cflags_saved
11496 ac_exeext=$ac_wine_try_cflags_saved_exeext
11498 eval ac_res=\$$as_ac_var
11499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11500 printf "%s\n" "$ac_res" >&6; }
11501 if eval test \"x\$"$as_ac_var"\" = x"yes"
11502 then :
11503 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11504 fi }
11505 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11507 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11508 if eval test \${$as_ac_var+y}
11509 then :
11510 printf %s "(cached) " >&6
11511 else $as_nop
11512 ac_wine_try_cflags_saved=$CFLAGS
11513 ac_wine_try_cflags_saved_exeext=$ac_exeext
11514 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11515 ac_exeext=".exe"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11518 void *__os_arm64x_dispatch_ret = 0;
11519 int __cdecl mainCRTStartup(void) { return 0; }
11520 _ACEOF
11521 if ac_fn_c_try_link "$LINENO"
11522 then :
11523 eval "$as_ac_var=yes"
11524 else $as_nop
11525 eval "$as_ac_var=no"
11527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11528 conftest$ac_exeext conftest.$ac_ext
11529 CFLAGS=$ac_wine_try_cflags_saved
11530 ac_exeext=$ac_wine_try_cflags_saved_exeext
11532 eval ac_res=\$$as_ac_var
11533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11534 printf "%s\n" "$ac_res" >&6; }
11535 if eval test \"x\$"$as_ac_var"\" = x"yes"
11536 then :
11537 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11538 fi } ;;
11539 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11541 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11542 if eval test \${$as_ac_var+y}
11543 then :
11544 printf %s "(cached) " >&6
11545 else $as_nop
11546 ac_wine_try_cflags_saved=$CFLAGS
11547 ac_wine_try_cflags_saved_exeext=$ac_exeext
11548 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11549 ac_exeext=".exe"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11552 void *__os_arm64x_dispatch_ret = 0;
11553 int __cdecl mainCRTStartup(void) { return 0; }
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"
11556 then :
11557 eval "$as_ac_var=yes"
11558 else $as_nop
11559 eval "$as_ac_var=no"
11561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11562 conftest$ac_exeext conftest.$ac_ext
11563 CFLAGS=$ac_wine_try_cflags_saved
11564 ac_exeext=$ac_wine_try_cflags_saved_exeext
11566 eval ac_res=\$$as_ac_var
11567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11568 printf "%s\n" "$ac_res" >&6; }
11569 if eval test \"x\$"$as_ac_var"\" = x"yes"
11570 then :
11571 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11572 fi }
11573 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11575 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11576 if eval test \${$as_ac_var+y}
11577 then :
11578 printf %s "(cached) " >&6
11579 else $as_nop
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11583 ac_exeext=".exe"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 void *__os_arm64x_dispatch_ret = 0;
11587 int __cdecl mainCRTStartup(void) { return 0; }
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"
11590 then :
11591 eval "$as_ac_var=yes"
11592 else $as_nop
11593 eval "$as_ac_var=no"
11595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11596 conftest$ac_exeext conftest.$ac_ext
11597 CFLAGS=$ac_wine_try_cflags_saved
11598 ac_exeext=$ac_wine_try_cflags_saved_exeext
11600 eval ac_res=\$$as_ac_var
11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11602 printf "%s\n" "$ac_res" >&6; }
11603 if eval test \"x\$"$as_ac_var"\" = x"yes"
11604 then :
11605 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11606 fi }
11607 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11609 printf %s "checking whether $CC supports -mcx16... " >&6; }
11610 if eval test \${$as_ac_var+y}
11611 then :
11612 printf %s "(cached) " >&6
11613 else $as_nop
11614 ac_wine_try_cflags_saved=$CFLAGS
11615 ac_wine_try_cflags_saved_exeext=$ac_exeext
11616 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11617 ac_exeext=".exe"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 void *__os_arm64x_dispatch_ret = 0;
11621 int __cdecl mainCRTStartup(void) { return 0; }
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"
11624 then :
11625 eval "$as_ac_var=yes"
11626 else $as_nop
11627 eval "$as_ac_var=no"
11629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11630 conftest$ac_exeext conftest.$ac_ext
11631 CFLAGS=$ac_wine_try_cflags_saved
11632 ac_exeext=$ac_wine_try_cflags_saved_exeext
11634 eval ac_res=\$$as_ac_var
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11636 printf "%s\n" "$ac_res" >&6; }
11637 if eval test \"x\$"$as_ac_var"\" = x"yes"
11638 then :
11639 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11640 fi }
11641 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11643 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11644 if eval test \${$as_ac_var+y}
11645 then :
11646 printf %s "(cached) " >&6
11647 else $as_nop
11648 ac_wine_try_cflags_saved=$CFLAGS
11649 ac_wine_try_cflags_saved_exeext=$ac_exeext
11650 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11651 ac_exeext=".exe"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11654 void *__os_arm64x_dispatch_ret = 0;
11655 int __cdecl mainCRTStartup(void) { return 0; }
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"
11658 then :
11659 eval "$as_ac_var=yes"
11660 else $as_nop
11661 eval "$as_ac_var=no"
11663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11664 conftest$ac_exeext conftest.$ac_ext
11665 CFLAGS=$ac_wine_try_cflags_saved
11666 ac_exeext=$ac_wine_try_cflags_saved_exeext
11668 eval ac_res=\$$as_ac_var
11669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11670 printf "%s\n" "$ac_res" >&6; }
11671 if eval test \"x\$"$as_ac_var"\" = x"yes"
11672 then :
11673 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11674 fi } ;;
11675 esac
11677 wine_crossdebug=$CROSSDEBUG
11678 if test -z "$wine_crossdebug"
11679 then
11680 for ac_flag in $CFLAGS; do
11681 case $ac_flag in
11682 -gdwarf*) wine_crossdebug=dwarf ;;
11683 -gcodeview) wine_crossdebug=pdb ;;
11684 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11685 esac
11686 done
11689 ac_debug_format_seen=""
11690 for ac_flag in $CFLAGS; do
11691 case $ac_flag in
11692 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11693 esac
11694 done
11695 if test "x$ac_debug_format_seen" = x
11696 then
11697 case $wine_crossdebug in
11698 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11700 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11701 if eval test \${$as_ac_var+y}
11702 then :
11703 printf %s "(cached) " >&6
11704 else $as_nop
11705 ac_wine_try_cflags_saved=$CFLAGS
11706 ac_wine_try_cflags_saved_exeext=$ac_exeext
11707 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11708 ac_exeext=".exe"
11709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 void *__os_arm64x_dispatch_ret = 0;
11712 int __cdecl mainCRTStartup(void) { return 0; }
11713 _ACEOF
11714 if ac_fn_c_try_link "$LINENO"
11715 then :
11716 eval "$as_ac_var=yes"
11717 else $as_nop
11718 eval "$as_ac_var=no"
11720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11721 conftest$ac_exeext conftest.$ac_ext
11722 CFLAGS=$ac_wine_try_cflags_saved
11723 ac_exeext=$ac_wine_try_cflags_saved_exeext
11725 eval ac_res=\$$as_ac_var
11726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11727 printf "%s\n" "$ac_res" >&6; }
11728 if eval test \"x\$"$as_ac_var"\" = x"yes"
11729 then :
11730 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11731 fi } ;;
11732 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11734 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11735 if eval test \${$as_ac_var+y}
11736 then :
11737 printf %s "(cached) " >&6
11738 else $as_nop
11739 ac_wine_try_cflags_saved=$CFLAGS
11740 ac_wine_try_cflags_saved_exeext=$ac_exeext
11741 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11742 ac_exeext=".exe"
11743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11744 /* end confdefs.h. */
11745 void *__os_arm64x_dispatch_ret = 0;
11746 int __cdecl mainCRTStartup(void) { return 0; }
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"
11749 then :
11750 eval "$as_ac_var=yes"
11751 else $as_nop
11752 eval "$as_ac_var=no"
11754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11755 conftest$ac_exeext conftest.$ac_ext
11756 CFLAGS=$ac_wine_try_cflags_saved
11757 ac_exeext=$ac_wine_try_cflags_saved_exeext
11759 eval ac_res=\$$as_ac_var
11760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11761 printf "%s\n" "$ac_res" >&6; }
11762 if eval test \"x\$"$as_ac_var"\" = x"yes"
11763 then :
11764 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11765 fi } ;;
11766 esac
11768 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11770 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11772 printf %s "checking whether $CC supports -Werror... " >&6; }
11773 if eval test \${$as_ac_var+y}
11774 then :
11775 printf %s "(cached) " >&6
11776 else $as_nop
11777 ac_wine_try_cflags_saved=$CFLAGS
11778 ac_wine_try_cflags_saved_exeext=$ac_exeext
11779 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11780 ac_exeext=".exe"
11781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11782 /* end confdefs.h. */
11783 void *__os_arm64x_dispatch_ret = 0;
11784 int __cdecl mainCRTStartup(void) { return 0; }
11785 _ACEOF
11786 if ac_fn_c_try_link "$LINENO"
11787 then :
11788 eval "$as_ac_var=yes"
11789 else $as_nop
11790 eval "$as_ac_var=no"
11792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11793 conftest$ac_exeext conftest.$ac_ext
11794 CFLAGS=$ac_wine_try_cflags_saved
11795 ac_exeext=$ac_wine_try_cflags_saved_exeext
11797 eval ac_res=\$$as_ac_var
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11799 printf "%s\n" "$ac_res" >&6; }
11800 if eval test \"x\$"$as_ac_var"\" = x"yes"
11801 then :
11802 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11803 fi }
11804 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11806 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11807 if eval test \${$as_ac_var+y}
11808 then :
11809 printf %s "(cached) " >&6
11810 else $as_nop
11811 ac_wine_try_cflags_saved=$CFLAGS
11812 ac_wine_try_cflags_saved_exeext=$ac_exeext
11813 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11814 ac_exeext=".exe"
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11817 void *__os_arm64x_dispatch_ret = 0;
11818 int __cdecl mainCRTStartup(void) { return 0; }
11819 _ACEOF
11820 if ac_fn_c_try_link "$LINENO"
11821 then :
11822 eval "$as_ac_var=yes"
11823 else $as_nop
11824 eval "$as_ac_var=no"
11826 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11827 conftest$ac_exeext conftest.$ac_ext
11828 CFLAGS=$ac_wine_try_cflags_saved
11829 ac_exeext=$ac_wine_try_cflags_saved_exeext
11831 eval ac_res=\$$as_ac_var
11832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11833 printf "%s\n" "$ac_res" >&6; }
11834 if eval test \"x\$"$as_ac_var"\" = x"yes"
11835 then :
11836 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11837 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11838 fi }
11840 CC=$saved_CC
11841 CFLAGS=$saved_CFLAGS
11842 LDFLAGS=$saved_LDFLAGS
11843 done
11845 if test $HOST_ARCH = aarch64
11846 then
11847 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
11848 DLLEXT=""
11852 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11853 then
11854 if test "x$HOST_ARCH" = xi386
11855 then :
11856 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config "
11857 else $as_nop
11858 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config"
11860 for ac_prog in $ac_prefix_list
11862 # Extract the first word of "$ac_prog", so it can be a program name with args.
11863 set dummy $ac_prog; ac_word=$2
11864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 printf %s "checking for $ac_word... " >&6; }
11866 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11867 then :
11868 printf %s "(cached) " >&6
11869 else $as_nop
11870 if test -n "$MINGW_PKG_CONFIG"; then
11871 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11872 else
11873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11874 for as_dir in $PATH
11876 IFS=$as_save_IFS
11877 case $as_dir in #(((
11878 '') as_dir=./ ;;
11879 */) ;;
11880 *) as_dir=$as_dir/ ;;
11881 esac
11882 for ac_exec_ext in '' $ac_executable_extensions; do
11883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11884 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11886 break 2
11888 done
11889 done
11890 IFS=$as_save_IFS
11894 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11895 if test -n "$MINGW_PKG_CONFIG"; then
11896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11897 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11898 else
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 printf "%s\n" "no" >&6; }
11904 test -n "$MINGW_PKG_CONFIG" && break
11905 done
11906 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11908 if ${FAUDIO_PE_CFLAGS:+false} :
11909 then :
11910 if test ${MINGW_PKG_CONFIG+y}
11911 then :
11912 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11915 if ${FAUDIO_PE_LIBS:+false} :
11916 then :
11917 if test ${MINGW_PKG_CONFIG+y}
11918 then :
11919 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11922 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11923 ac_save_CPPFLAGS=$CPPFLAGS
11924 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11926 printf %s "checking for MinGW FAudio.h... " >&6; }
11927 if test ${ac_cv_mingw_header_FAudio_h+y}
11928 then :
11929 printf %s "(cached) " >&6
11930 else $as_nop
11931 ac_wine_check_headers_saved_cc=$CC
11932 ac_wine_check_headers_saved_exeext=$ac_exeext
11933 eval CC=\$${wine_arch}_CC
11934 ac_exeext=".exe"
11935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11938 #include <FAudio.h>
11940 main (void)
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_compile "$LINENO"
11948 then :
11949 ac_cv_mingw_header_FAudio_h=yes
11950 else $as_nop
11951 ac_cv_mingw_header_FAudio_h=no
11953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11954 CC=$ac_wine_check_headers_saved_cc
11955 ac_exeext=$ac_wine_check_headers_saved_exeext
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11958 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11959 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11960 then :
11961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11962 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11963 if test ${ac_cv_mingw_lib_FAudio+y}
11964 then :
11965 printf %s "(cached) " >&6
11966 else $as_nop
11967 ac_wine_check_headers_saved_cc=$CC
11968 ac_wine_check_headers_saved_exeext=$ac_exeext
11969 ac_wine_check_headers_saved_libs=$LIBS
11970 eval CC=\$${wine_arch}_CC
11971 ac_exeext=".exe"
11972 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11979 char FAudio_CommitOperationSet ();
11981 main (void)
11983 return FAudio_CommitOperationSet ();
11985 return 0;
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"
11989 then :
11990 ac_cv_mingw_lib_FAudio=yes
11991 else $as_nop
11992 ac_cv_mingw_lib_FAudio=no
11994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11995 conftest$ac_exeext conftest.$ac_ext
11996 CC=$ac_wine_check_headers_saved_cc
11997 ac_exeext=$ac_wine_check_headers_saved_exeext
11998 LIBS=$ac_wine_check_headers_saved_libs
12000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12001 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12002 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12003 then :
12005 else $as_nop
12006 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12008 else $as_nop
12009 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12011 CPPFLAGS=$ac_save_CPPFLAGS
12013 if test "x$FAUDIO_PE_LIBS" = "x"
12014 then
12015 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12018 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
12019 then :
12020 if test ${MINGW_PKG_CONFIG+y}
12021 then :
12022 FLUIDSYNTH_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags fluidsynth 2>/dev/null`
12025 if ${FLUIDSYNTH_PE_LIBS:+false} :
12026 then :
12027 if test ${MINGW_PKG_CONFIG+y}
12028 then :
12029 FLUIDSYNTH_PE_LIBS=`$MINGW_PKG_CONFIG --libs fluidsynth 2>/dev/null`
12032 FLUIDSYNTH_PE_LIBS=${FLUIDSYNTH_PE_LIBS:-"-lfluidsynth"}
12033 ac_save_CPPFLAGS=$CPPFLAGS
12034 CPPFLAGS="$CPPFLAGS $FLUIDSYNTH_PE_CFLAGS"
12035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW fluidsynth.h" >&5
12036 printf %s "checking for MinGW fluidsynth.h... " >&6; }
12037 if test ${ac_cv_mingw_header_fluidsynth_h+y}
12038 then :
12039 printf %s "(cached) " >&6
12040 else $as_nop
12041 ac_wine_check_headers_saved_cc=$CC
12042 ac_wine_check_headers_saved_exeext=$ac_exeext
12043 eval CC=\$${wine_arch}_CC
12044 ac_exeext=".exe"
12045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12046 /* end confdefs.h. */
12048 #include <fluidsynth.h>
12050 main (void)
12054 return 0;
12056 _ACEOF
12057 if ac_fn_c_try_compile "$LINENO"
12058 then :
12059 ac_cv_mingw_header_fluidsynth_h=yes
12060 else $as_nop
12061 ac_cv_mingw_header_fluidsynth_h=no
12063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12064 CC=$ac_wine_check_headers_saved_cc
12065 ac_exeext=$ac_wine_check_headers_saved_exeext
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_fluidsynth_h" >&5
12068 printf "%s\n" "$ac_cv_mingw_header_fluidsynth_h" >&6; }
12069 if test "x$ac_cv_mingw_header_fluidsynth_h" = xyes
12070 then :
12071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for new_fluid_synth in MinGW -lfluidsynth" >&5
12072 printf %s "checking for new_fluid_synth in MinGW -lfluidsynth... " >&6; }
12073 if test ${ac_cv_mingw_lib_fluidsynth+y}
12074 then :
12075 printf %s "(cached) " >&6
12076 else $as_nop
12077 ac_wine_check_headers_saved_cc=$CC
12078 ac_wine_check_headers_saved_exeext=$ac_exeext
12079 ac_wine_check_headers_saved_libs=$LIBS
12080 eval CC=\$${wine_arch}_CC
12081 ac_exeext=".exe"
12082 LIBS="-lfluidsynth $FLUIDSYNTH_PE_LIBS $LIBS"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 char new_fluid_synth ();
12091 main (void)
12093 return new_fluid_synth ();
12095 return 0;
12097 _ACEOF
12098 if ac_fn_c_try_link "$LINENO"
12099 then :
12100 ac_cv_mingw_lib_fluidsynth=yes
12101 else $as_nop
12102 ac_cv_mingw_lib_fluidsynth=no
12104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12105 conftest$ac_exeext conftest.$ac_ext
12106 CC=$ac_wine_check_headers_saved_cc
12107 ac_exeext=$ac_wine_check_headers_saved_exeext
12108 LIBS=$ac_wine_check_headers_saved_libs
12110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_fluidsynth" >&5
12111 printf "%s\n" "$ac_cv_mingw_lib_fluidsynth" >&6; }
12112 if test "x$ac_cv_mingw_lib_fluidsynth" = xyes
12113 then :
12115 else $as_nop
12116 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12118 else $as_nop
12119 FLUIDSYNTH_PE_CFLAGS=""; FLUIDSYNTH_PE_LIBS=""
12121 CPPFLAGS=$ac_save_CPPFLAGS
12123 if test "x$FLUIDSYNTH_PE_LIBS" = "x"
12124 then
12125 as_fn_append wine_notices "|Fluidsynth ${notice_platform}MinGW development files not found (or too old); using bundled version."
12128 if ${JPEG_PE_CFLAGS:+false} :
12129 then :
12130 if test ${MINGW_PKG_CONFIG+y}
12131 then :
12132 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12135 if ${JPEG_PE_LIBS:+false} :
12136 then :
12137 if test ${MINGW_PKG_CONFIG+y}
12138 then :
12139 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12143 ac_save_CPPFLAGS=$CPPFLAGS
12144 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12146 printf %s "checking for MinGW jpeglib.h... " >&6; }
12147 if test ${ac_cv_mingw_header_jpeglib_h+y}
12148 then :
12149 printf %s "(cached) " >&6
12150 else $as_nop
12151 ac_wine_check_headers_saved_cc=$CC
12152 ac_wine_check_headers_saved_exeext=$ac_exeext
12153 eval CC=\$${wine_arch}_CC
12154 ac_exeext=".exe"
12155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12157 #include <stddef.h>
12158 #include <stdio.h>
12159 #include <jpeglib.h>
12161 main (void)
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_compile "$LINENO"
12169 then :
12170 ac_cv_mingw_header_jpeglib_h=yes
12171 else $as_nop
12172 ac_cv_mingw_header_jpeglib_h=no
12174 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12175 CC=$ac_wine_check_headers_saved_cc
12176 ac_exeext=$ac_wine_check_headers_saved_exeext
12178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12179 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12180 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12181 then :
12182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12183 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12184 if test ${ac_cv_mingw_lib_jpeg+y}
12185 then :
12186 printf %s "(cached) " >&6
12187 else $as_nop
12188 ac_wine_check_headers_saved_cc=$CC
12189 ac_wine_check_headers_saved_exeext=$ac_exeext
12190 ac_wine_check_headers_saved_libs=$LIBS
12191 eval CC=\$${wine_arch}_CC
12192 ac_exeext=".exe"
12193 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12197 /* Override any GCC internal prototype to avoid an error.
12198 Use char because int might match the return type of a GCC
12199 builtin and then its argument prototype would still apply. */
12200 char jpeg_start_decompress ();
12202 main (void)
12204 return jpeg_start_decompress ();
12206 return 0;
12208 _ACEOF
12209 if ac_fn_c_try_link "$LINENO"
12210 then :
12211 ac_cv_mingw_lib_jpeg=yes
12212 else $as_nop
12213 ac_cv_mingw_lib_jpeg=no
12215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CC=$ac_wine_check_headers_saved_cc
12218 ac_exeext=$ac_wine_check_headers_saved_exeext
12219 LIBS=$ac_wine_check_headers_saved_libs
12221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12222 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12223 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12224 then :
12226 else $as_nop
12227 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12229 else $as_nop
12230 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12232 CPPFLAGS=$ac_save_CPPFLAGS
12234 if test "x$JPEG_PE_LIBS" = "x"
12235 then
12236 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12239 if ${LCMS2_PE_CFLAGS:+false} :
12240 then :
12241 if test ${MINGW_PKG_CONFIG+y}
12242 then :
12243 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12246 if ${LCMS2_PE_LIBS:+false} :
12247 then :
12248 if test ${MINGW_PKG_CONFIG+y}
12249 then :
12250 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12253 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12254 ac_save_CPPFLAGS=$CPPFLAGS
12255 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12257 printf %s "checking for MinGW lcms2.h... " >&6; }
12258 if test ${ac_cv_mingw_header_lcms2_h+y}
12259 then :
12260 printf %s "(cached) " >&6
12261 else $as_nop
12262 ac_wine_check_headers_saved_cc=$CC
12263 ac_wine_check_headers_saved_exeext=$ac_exeext
12264 eval CC=\$${wine_arch}_CC
12265 ac_exeext=".exe"
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12269 #include <lcms2.h>
12271 main (void)
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"
12279 then :
12280 ac_cv_mingw_header_lcms2_h=yes
12281 else $as_nop
12282 ac_cv_mingw_header_lcms2_h=no
12284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12285 CC=$ac_wine_check_headers_saved_cc
12286 ac_exeext=$ac_wine_check_headers_saved_exeext
12288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12289 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12290 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12291 then :
12292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12293 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12294 if test ${ac_cv_mingw_lib_lcms2+y}
12295 then :
12296 printf %s "(cached) " >&6
12297 else $as_nop
12298 ac_wine_check_headers_saved_cc=$CC
12299 ac_wine_check_headers_saved_exeext=$ac_exeext
12300 ac_wine_check_headers_saved_libs=$LIBS
12301 eval CC=\$${wine_arch}_CC
12302 ac_exeext=".exe"
12303 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12307 /* Override any GCC internal prototype to avoid an error.
12308 Use char because int might match the return type of a GCC
12309 builtin and then its argument prototype would still apply. */
12310 char cmsOpenProfileFromFile ();
12312 main (void)
12314 return cmsOpenProfileFromFile ();
12316 return 0;
12318 _ACEOF
12319 if ac_fn_c_try_link "$LINENO"
12320 then :
12321 ac_cv_mingw_lib_lcms2=yes
12322 else $as_nop
12323 ac_cv_mingw_lib_lcms2=no
12325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12326 conftest$ac_exeext conftest.$ac_ext
12327 CC=$ac_wine_check_headers_saved_cc
12328 ac_exeext=$ac_wine_check_headers_saved_exeext
12329 LIBS=$ac_wine_check_headers_saved_libs
12331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12332 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12333 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12334 then :
12336 else $as_nop
12337 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12339 else $as_nop
12340 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12342 CPPFLAGS=$ac_save_CPPFLAGS
12344 if test "x$LCMS2_PE_LIBS" = "x"
12345 then
12346 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12349 if ${MPG123_PE_CFLAGS:+false} :
12350 then :
12351 if test ${MINGW_PKG_CONFIG+y}
12352 then :
12353 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12356 if ${MPG123_PE_LIBS:+false} :
12357 then :
12358 if test ${MINGW_PKG_CONFIG+y}
12359 then :
12360 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12363 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12364 ac_save_CPPFLAGS=$CPPFLAGS
12365 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12367 printf %s "checking for MinGW mpg123.h... " >&6; }
12368 if test ${ac_cv_mingw_header_mpg123_h+y}
12369 then :
12370 printf %s "(cached) " >&6
12371 else $as_nop
12372 ac_wine_check_headers_saved_cc=$CC
12373 ac_wine_check_headers_saved_exeext=$ac_exeext
12374 eval CC=\$${wine_arch}_CC
12375 ac_exeext=".exe"
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12379 #include <mpg123.h>
12381 main (void)
12385 return 0;
12387 _ACEOF
12388 if ac_fn_c_try_compile "$LINENO"
12389 then :
12390 ac_cv_mingw_header_mpg123_h=yes
12391 else $as_nop
12392 ac_cv_mingw_header_mpg123_h=no
12394 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12395 CC=$ac_wine_check_headers_saved_cc
12396 ac_exeext=$ac_wine_check_headers_saved_exeext
12398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12399 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12400 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12401 then :
12402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12403 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12404 if test ${ac_cv_mingw_lib_mpg123+y}
12405 then :
12406 printf %s "(cached) " >&6
12407 else $as_nop
12408 ac_wine_check_headers_saved_cc=$CC
12409 ac_wine_check_headers_saved_exeext=$ac_exeext
12410 ac_wine_check_headers_saved_libs=$LIBS
12411 eval CC=\$${wine_arch}_CC
12412 ac_exeext=".exe"
12413 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12415 /* end confdefs.h. */
12417 /* Override any GCC internal prototype to avoid an error.
12418 Use char because int might match the return type of a GCC
12419 builtin and then its argument prototype would still apply. */
12420 char mpg123_feed ();
12422 main (void)
12424 return mpg123_feed ();
12426 return 0;
12428 _ACEOF
12429 if ac_fn_c_try_link "$LINENO"
12430 then :
12431 ac_cv_mingw_lib_mpg123=yes
12432 else $as_nop
12433 ac_cv_mingw_lib_mpg123=no
12435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12436 conftest$ac_exeext conftest.$ac_ext
12437 CC=$ac_wine_check_headers_saved_cc
12438 ac_exeext=$ac_wine_check_headers_saved_exeext
12439 LIBS=$ac_wine_check_headers_saved_libs
12441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12442 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12443 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12444 then :
12446 else $as_nop
12447 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12449 else $as_nop
12450 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12452 CPPFLAGS=$ac_save_CPPFLAGS
12454 if test "x$MPG123_PE_LIBS" = "x"
12455 then
12456 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12459 if ${PNG_PE_CFLAGS:+false} :
12460 then :
12461 if test ${MINGW_PKG_CONFIG+y}
12462 then :
12463 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12466 if ${PNG_PE_LIBS:+false} :
12467 then :
12468 if test ${MINGW_PKG_CONFIG+y}
12469 then :
12470 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12474 ac_save_CPPFLAGS=$CPPFLAGS
12475 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12477 printf %s "checking for MinGW png.h... " >&6; }
12478 if test ${ac_cv_mingw_header_png_h+y}
12479 then :
12480 printf %s "(cached) " >&6
12481 else $as_nop
12482 ac_wine_check_headers_saved_cc=$CC
12483 ac_wine_check_headers_saved_exeext=$ac_exeext
12484 eval CC=\$${wine_arch}_CC
12485 ac_exeext=".exe"
12486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12489 #include <png.h>
12491 main (void)
12495 return 0;
12497 _ACEOF
12498 if ac_fn_c_try_compile "$LINENO"
12499 then :
12500 ac_cv_mingw_header_png_h=yes
12501 else $as_nop
12502 ac_cv_mingw_header_png_h=no
12504 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12505 CC=$ac_wine_check_headers_saved_cc
12506 ac_exeext=$ac_wine_check_headers_saved_exeext
12508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12509 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12510 if test "x$ac_cv_mingw_header_png_h" = xyes
12511 then :
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12513 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12514 if test ${ac_cv_mingw_lib_png+y}
12515 then :
12516 printf %s "(cached) " >&6
12517 else $as_nop
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 ac_wine_check_headers_saved_libs=$LIBS
12521 eval CC=\$${wine_arch}_CC
12522 ac_exeext=".exe"
12523 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 char png_create_read_struct ();
12532 main (void)
12534 return png_create_read_struct ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"
12540 then :
12541 ac_cv_mingw_lib_png=yes
12542 else $as_nop
12543 ac_cv_mingw_lib_png=no
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12546 conftest$ac_exeext conftest.$ac_ext
12547 CC=$ac_wine_check_headers_saved_cc
12548 ac_exeext=$ac_wine_check_headers_saved_exeext
12549 LIBS=$ac_wine_check_headers_saved_libs
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12552 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12553 if test "x$ac_cv_mingw_lib_png" = xyes
12554 then :
12556 else $as_nop
12557 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12559 else $as_nop
12560 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12562 CPPFLAGS=$ac_save_CPPFLAGS
12564 if test "x$PNG_PE_LIBS" = "x"
12565 then
12566 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12569 if ${TIFF_PE_CFLAGS:+false} :
12570 then :
12571 if test ${MINGW_PKG_CONFIG+y}
12572 then :
12573 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12576 if ${TIFF_PE_LIBS:+false} :
12577 then :
12578 if test ${MINGW_PKG_CONFIG+y}
12579 then :
12580 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12584 ac_save_CPPFLAGS=$CPPFLAGS
12585 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12587 printf %s "checking for MinGW tiffio.h... " >&6; }
12588 if test ${ac_cv_mingw_header_tiffio_h+y}
12589 then :
12590 printf %s "(cached) " >&6
12591 else $as_nop
12592 ac_wine_check_headers_saved_cc=$CC
12593 ac_wine_check_headers_saved_exeext=$ac_exeext
12594 eval CC=\$${wine_arch}_CC
12595 ac_exeext=".exe"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 #include <tiffio.h>
12601 main (void)
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_compile "$LINENO"
12609 then :
12610 ac_cv_mingw_header_tiffio_h=yes
12611 else $as_nop
12612 ac_cv_mingw_header_tiffio_h=no
12614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12615 CC=$ac_wine_check_headers_saved_cc
12616 ac_exeext=$ac_wine_check_headers_saved_exeext
12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12619 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12620 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12621 then :
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12623 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12624 if test ${ac_cv_mingw_lib_tiff+y}
12625 then :
12626 printf %s "(cached) " >&6
12627 else $as_nop
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12630 ac_wine_check_headers_saved_libs=$LIBS
12631 eval CC=\$${wine_arch}_CC
12632 ac_exeext=".exe"
12633 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 char TIFFClientOpen ();
12642 main (void)
12644 return TIFFClientOpen ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"
12650 then :
12651 ac_cv_mingw_lib_tiff=yes
12652 else $as_nop
12653 ac_cv_mingw_lib_tiff=no
12655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12656 conftest$ac_exeext conftest.$ac_ext
12657 CC=$ac_wine_check_headers_saved_cc
12658 ac_exeext=$ac_wine_check_headers_saved_exeext
12659 LIBS=$ac_wine_check_headers_saved_libs
12661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12662 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12663 if test "x$ac_cv_mingw_lib_tiff" = xyes
12664 then :
12666 else $as_nop
12667 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12669 else $as_nop
12670 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12672 CPPFLAGS=$ac_save_CPPFLAGS
12674 if test "x$TIFF_PE_LIBS" = "x"
12675 then
12676 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12679 if ${XML2_PE_CFLAGS:+false} :
12680 then :
12681 if test ${MINGW_PKG_CONFIG+y}
12682 then :
12683 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12686 if ${XML2_PE_LIBS:+false} :
12687 then :
12688 if test ${MINGW_PKG_CONFIG+y}
12689 then :
12690 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12693 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12694 ac_save_CPPFLAGS=$CPPFLAGS
12695 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12697 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12698 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12699 then :
12700 printf %s "(cached) " >&6
12701 else $as_nop
12702 ac_wine_check_headers_saved_cc=$CC
12703 ac_wine_check_headers_saved_exeext=$ac_exeext
12704 eval CC=\$${wine_arch}_CC
12705 ac_exeext=".exe"
12706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707 /* end confdefs.h. */
12709 #include <libxml/parser.h>
12711 main (void)
12715 return 0;
12717 _ACEOF
12718 if ac_fn_c_try_compile "$LINENO"
12719 then :
12720 ac_cv_mingw_header_libxml_parser_h=yes
12721 else $as_nop
12722 ac_cv_mingw_header_libxml_parser_h=no
12724 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12725 CC=$ac_wine_check_headers_saved_cc
12726 ac_exeext=$ac_wine_check_headers_saved_exeext
12728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12729 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12730 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12731 then :
12734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12735 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12736 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12737 then :
12738 printf %s "(cached) " >&6
12739 else $as_nop
12740 ac_wine_check_headers_saved_cc=$CC
12741 ac_wine_check_headers_saved_exeext=$ac_exeext
12742 eval CC=\$${wine_arch}_CC
12743 ac_exeext=".exe"
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12747 #include <libxml/xmlsave.h>
12749 main (void)
12753 return 0;
12755 _ACEOF
12756 if ac_fn_c_try_compile "$LINENO"
12757 then :
12758 ac_cv_mingw_header_libxml_xmlsave_h=yes
12759 else $as_nop
12760 ac_cv_mingw_header_libxml_xmlsave_h=no
12762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12763 CC=$ac_wine_check_headers_saved_cc
12764 ac_exeext=$ac_wine_check_headers_saved_exeext
12766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12767 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12768 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12769 then :
12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12773 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12774 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12775 then :
12776 printf %s "(cached) " >&6
12777 else $as_nop
12778 ac_wine_check_headers_saved_cc=$CC
12779 ac_wine_check_headers_saved_exeext=$ac_exeext
12780 eval CC=\$${wine_arch}_CC
12781 ac_exeext=".exe"
12782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12785 #include <libxml/SAX2.h>
12787 main (void)
12791 return 0;
12793 _ACEOF
12794 if ac_fn_c_try_compile "$LINENO"
12795 then :
12796 ac_cv_mingw_header_libxml_SAX2_h=yes
12797 else $as_nop
12798 ac_cv_mingw_header_libxml_SAX2_h=no
12800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12801 CC=$ac_wine_check_headers_saved_cc
12802 ac_exeext=$ac_wine_check_headers_saved_exeext
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12805 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12806 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12807 then :
12810 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"
12811 then
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12813 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12814 if test ${ac_cv_mingw_lib_xml2+y}
12815 then :
12816 printf %s "(cached) " >&6
12817 else $as_nop
12818 ac_wine_check_headers_saved_cc=$CC
12819 ac_wine_check_headers_saved_exeext=$ac_exeext
12820 ac_wine_check_headers_saved_libs=$LIBS
12821 eval CC=\$${wine_arch}_CC
12822 ac_exeext=".exe"
12823 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825 /* end confdefs.h. */
12827 /* Override any GCC internal prototype to avoid an error.
12828 Use char because int might match the return type of a GCC
12829 builtin and then its argument prototype would still apply. */
12830 char xmlFirstElementChild ();
12832 main (void)
12834 return xmlFirstElementChild ();
12836 return 0;
12838 _ACEOF
12839 if ac_fn_c_try_link "$LINENO"
12840 then :
12841 ac_cv_mingw_lib_xml2=yes
12842 else $as_nop
12843 ac_cv_mingw_lib_xml2=no
12845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12846 conftest$ac_exeext conftest.$ac_ext
12847 CC=$ac_wine_check_headers_saved_cc
12848 ac_exeext=$ac_wine_check_headers_saved_exeext
12849 LIBS=$ac_wine_check_headers_saved_libs
12851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12852 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12853 if test "x$ac_cv_mingw_lib_xml2" = xyes
12854 then :
12856 else $as_nop
12857 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12859 else
12860 XML2_PE_CFLAGS=""
12861 XML2_PE_LIBS=""
12863 CPPFLAGS=$ac_save_CPPFLAGS
12865 if test "x$XML2_PE_LIBS" = "x"
12866 then
12867 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12870 if ${XSLT_PE_CFLAGS:+false} :
12871 then :
12872 if test ${MINGW_PKG_CONFIG+y}
12873 then :
12874 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12877 if ${XSLT_PE_LIBS:+false} :
12878 then :
12879 if test ${MINGW_PKG_CONFIG+y}
12880 then :
12881 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12884 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12885 ac_save_CPPFLAGS=$CPPFLAGS
12886 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12888 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12889 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12890 then :
12891 printf %s "(cached) " >&6
12892 else $as_nop
12893 ac_wine_check_headers_saved_cc=$CC
12894 ac_wine_check_headers_saved_exeext=$ac_exeext
12895 eval CC=\$${wine_arch}_CC
12896 ac_exeext=".exe"
12897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12898 /* end confdefs.h. */
12900 #include <libxslt/pattern.h>
12902 main (void)
12906 return 0;
12908 _ACEOF
12909 if ac_fn_c_try_compile "$LINENO"
12910 then :
12911 ac_cv_mingw_header_libxslt_pattern_h=yes
12912 else $as_nop
12913 ac_cv_mingw_header_libxslt_pattern_h=no
12915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12916 CC=$ac_wine_check_headers_saved_cc
12917 ac_exeext=$ac_wine_check_headers_saved_exeext
12919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12920 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12921 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12922 then :
12925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12926 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12927 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12928 then :
12929 printf %s "(cached) " >&6
12930 else $as_nop
12931 ac_wine_check_headers_saved_cc=$CC
12932 ac_wine_check_headers_saved_exeext=$ac_exeext
12933 eval CC=\$${wine_arch}_CC
12934 ac_exeext=".exe"
12935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12938 #include <libxslt/transform.h>
12940 main (void)
12944 return 0;
12946 _ACEOF
12947 if ac_fn_c_try_compile "$LINENO"
12948 then :
12949 ac_cv_mingw_header_libxslt_transform_h=yes
12950 else $as_nop
12951 ac_cv_mingw_header_libxslt_transform_h=no
12953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12954 CC=$ac_wine_check_headers_saved_cc
12955 ac_exeext=$ac_wine_check_headers_saved_exeext
12957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12958 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12959 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12960 then :
12963 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12964 then
12965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12966 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12967 if test ${ac_cv_mingw_lib_xslt+y}
12968 then :
12969 printf %s "(cached) " >&6
12970 else $as_nop
12971 ac_wine_check_headers_saved_cc=$CC
12972 ac_wine_check_headers_saved_exeext=$ac_exeext
12973 ac_wine_check_headers_saved_libs=$LIBS
12974 eval CC=\$${wine_arch}_CC
12975 ac_exeext=".exe"
12976 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h. */
12980 /* Override any GCC internal prototype to avoid an error.
12981 Use char because int might match the return type of a GCC
12982 builtin and then its argument prototype would still apply. */
12983 char xsltCompilePattern ();
12985 main (void)
12987 return xsltCompilePattern ();
12989 return 0;
12991 _ACEOF
12992 if ac_fn_c_try_link "$LINENO"
12993 then :
12994 ac_cv_mingw_lib_xslt=yes
12995 else $as_nop
12996 ac_cv_mingw_lib_xslt=no
12998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12999 conftest$ac_exeext conftest.$ac_ext
13000 CC=$ac_wine_check_headers_saved_cc
13001 ac_exeext=$ac_wine_check_headers_saved_exeext
13002 LIBS=$ac_wine_check_headers_saved_libs
13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
13005 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
13006 if test "x$ac_cv_mingw_lib_xslt" = xyes
13007 then :
13009 else $as_nop
13010 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13012 else
13013 XSLT_PE_CFLAGS=""
13014 XSLT_PE_LIBS=""
13016 CPPFLAGS=$ac_save_CPPFLAGS
13018 if test "x$XSLT_PE_LIBS" = "x"
13019 then
13020 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13023 if ${VKD3D_PE_CFLAGS:+false} :
13024 then :
13025 if test ${MINGW_PKG_CONFIG+y}
13026 then :
13027 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13030 if ${VKD3D_PE_LIBS:+false} :
13031 then :
13032 if test ${MINGW_PKG_CONFIG+y}
13033 then :
13034 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13037 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13038 ac_save_CPPFLAGS=$CPPFLAGS
13039 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13041 printf %s "checking for MinGW vkd3d.h... " >&6; }
13042 if test ${ac_cv_mingw_header_vkd3d_h+y}
13043 then :
13044 printf %s "(cached) " >&6
13045 else $as_nop
13046 ac_wine_check_headers_saved_cc=$CC
13047 ac_wine_check_headers_saved_exeext=$ac_exeext
13048 eval CC=\$${wine_arch}_CC
13049 ac_exeext=".exe"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 #include <vkd3d.h>
13055 main (void)
13059 return 0;
13061 _ACEOF
13062 if ac_fn_c_try_compile "$LINENO"
13063 then :
13064 ac_cv_mingw_header_vkd3d_h=yes
13065 else $as_nop
13066 ac_cv_mingw_header_vkd3d_h=no
13068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13069 CC=$ac_wine_check_headers_saved_cc
13070 ac_exeext=$ac_wine_check_headers_saved_exeext
13072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13073 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13074 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13075 then :
13078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13079 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13080 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13081 then :
13082 printf %s "(cached) " >&6
13083 else $as_nop
13084 ac_wine_check_headers_saved_cc=$CC
13085 ac_wine_check_headers_saved_exeext=$ac_exeext
13086 eval CC=\$${wine_arch}_CC
13087 ac_exeext=".exe"
13088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13089 /* end confdefs.h. */
13091 #include <vkd3d_shader.h>
13093 main (void)
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_compile "$LINENO"
13101 then :
13102 ac_cv_mingw_header_vkd3d_shader_h=yes
13103 else $as_nop
13104 ac_cv_mingw_header_vkd3d_shader_h=no
13106 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13107 CC=$ac_wine_check_headers_saved_cc
13108 ac_exeext=$ac_wine_check_headers_saved_exeext
13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13111 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13112 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13113 then :
13116 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13117 then
13118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13119 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13120 if test ${ac_cv_mingw_lib_vkd3d+y}
13121 then :
13122 printf %s "(cached) " >&6
13123 else $as_nop
13124 ac_wine_check_headers_saved_cc=$CC
13125 ac_wine_check_headers_saved_exeext=$ac_exeext
13126 ac_wine_check_headers_saved_libs=$LIBS
13127 eval CC=\$${wine_arch}_CC
13128 ac_exeext=".exe"
13129 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13136 char vkd3d_set_log_callback ();
13138 main (void)
13140 return vkd3d_set_log_callback ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"
13146 then :
13147 ac_cv_mingw_lib_vkd3d=yes
13148 else $as_nop
13149 ac_cv_mingw_lib_vkd3d=no
13151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13152 conftest$ac_exeext conftest.$ac_ext
13153 CC=$ac_wine_check_headers_saved_cc
13154 ac_exeext=$ac_wine_check_headers_saved_exeext
13155 LIBS=$ac_wine_check_headers_saved_libs
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13158 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13159 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13160 then :
13162 else $as_nop
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
13166 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
13167 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13168 then :
13169 printf %s "(cached) " >&6
13170 else $as_nop
13171 ac_wine_check_headers_saved_cc=$CC
13172 ac_wine_check_headers_saved_exeext=$ac_exeext
13173 ac_wine_check_headers_saved_libs=$LIBS
13174 eval CC=\$${wine_arch}_CC
13175 ac_exeext=".exe"
13176 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13178 /* end confdefs.h. */
13180 /* Override any GCC internal prototype to avoid an error.
13181 Use char because int might match the return type of a GCC
13182 builtin and then its argument prototype would still apply. */
13183 char vkd3d_shader_serialize_dxbc ();
13185 main (void)
13187 return vkd3d_shader_serialize_dxbc ();
13189 return 0;
13191 _ACEOF
13192 if ac_fn_c_try_link "$LINENO"
13193 then :
13194 ac_cv_mingw_lib_vkd3d_shader=yes
13195 else $as_nop
13196 ac_cv_mingw_lib_vkd3d_shader=no
13198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13199 conftest$ac_exeext conftest.$ac_ext
13200 CC=$ac_wine_check_headers_saved_cc
13201 ac_exeext=$ac_wine_check_headers_saved_exeext
13202 LIBS=$ac_wine_check_headers_saved_libs
13204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13205 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13206 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13207 then :
13209 else $as_nop
13212 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13213 then
13214 VKD3D_PE_CFLAGS=""
13215 VKD3D_PE_LIBS=""
13217 else
13218 VKD3D_PE_CFLAGS=""
13219 VKD3D_PE_LIBS=""
13221 CPPFLAGS=$ac_save_CPPFLAGS
13223 if test "x$VKD3D_PE_LIBS" = "x"
13224 then
13225 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13228 if ${ZLIB_PE_CFLAGS:+false} :
13229 then :
13230 if test ${MINGW_PKG_CONFIG+y}
13231 then :
13232 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13235 if ${ZLIB_PE_LIBS:+false} :
13236 then :
13237 if test ${MINGW_PKG_CONFIG+y}
13238 then :
13239 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13242 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13243 ac_save_CPPFLAGS=$CPPFLAGS
13244 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13246 printf %s "checking for MinGW zlib.h... " >&6; }
13247 if test ${ac_cv_mingw_header_zlib_h+y}
13248 then :
13249 printf %s "(cached) " >&6
13250 else $as_nop
13251 ac_wine_check_headers_saved_cc=$CC
13252 ac_wine_check_headers_saved_exeext=$ac_exeext
13253 eval CC=\$${wine_arch}_CC
13254 ac_exeext=".exe"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 #include <zlib.h>
13260 main (void)
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_compile "$LINENO"
13268 then :
13269 ac_cv_mingw_header_zlib_h=yes
13270 else $as_nop
13271 ac_cv_mingw_header_zlib_h=no
13273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13274 CC=$ac_wine_check_headers_saved_cc
13275 ac_exeext=$ac_wine_check_headers_saved_exeext
13277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13278 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13279 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13280 then :
13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13282 printf %s "checking for inflate in MinGW -lz... " >&6; }
13283 if test ${ac_cv_mingw_lib_z+y}
13284 then :
13285 printf %s "(cached) " >&6
13286 else $as_nop
13287 ac_wine_check_headers_saved_cc=$CC
13288 ac_wine_check_headers_saved_exeext=$ac_exeext
13289 ac_wine_check_headers_saved_libs=$LIBS
13290 eval CC=\$${wine_arch}_CC
13291 ac_exeext=".exe"
13292 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13296 /* Override any GCC internal prototype to avoid an error.
13297 Use char because int might match the return type of a GCC
13298 builtin and then its argument prototype would still apply. */
13299 char inflate ();
13301 main (void)
13303 return inflate ();
13305 return 0;
13307 _ACEOF
13308 if ac_fn_c_try_link "$LINENO"
13309 then :
13310 ac_cv_mingw_lib_z=yes
13311 else $as_nop
13312 ac_cv_mingw_lib_z=no
13314 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13315 conftest$ac_exeext conftest.$ac_ext
13316 CC=$ac_wine_check_headers_saved_cc
13317 ac_exeext=$ac_wine_check_headers_saved_exeext
13318 LIBS=$ac_wine_check_headers_saved_libs
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13321 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13322 if test "x$ac_cv_mingw_lib_z" = xyes
13323 then :
13325 else $as_nop
13326 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13328 else $as_nop
13329 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13331 CPPFLAGS=$ac_save_CPPFLAGS
13333 if test "x$ZLIB_PE_LIBS" = "x"
13334 then
13335 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13339 if ${FAUDIO_PE_LIBS:+false} :
13340 then :
13341 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13342 if ${FAUDIO_PE_CFLAGS:+false} :
13343 then :
13344 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13345 else $as_nop
13346 enable_faudio=no
13348 else $as_nop
13349 enable_faudio=no
13351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13354 if ${FLUIDSYNTH_PE_LIBS:+false} :
13355 then :
13356 FLUIDSYNTH_PE_LIBS="fluidsynth"
13357 if ${FLUIDSYNTH_PE_CFLAGS:+false} :
13358 then :
13359 FLUIDSYNTH_PE_CFLAGS="-I\$(top_srcdir)/libs/fluidsynth/include"
13360 else $as_nop
13361 enable_fluidsynth=no
13363 else $as_nop
13364 enable_fluidsynth=no
13366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth cflags: $FLUIDSYNTH_PE_CFLAGS" >&5
13367 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fluidsynth libs: $FLUIDSYNTH_PE_LIBS" >&5
13369 if ${GSM_PE_LIBS:+false} :
13370 then :
13371 GSM_PE_LIBS=gsm
13372 if ${GSM_PE_CFLAGS:+false} :
13373 then :
13374 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13375 else $as_nop
13376 enable_gsm=no
13378 else $as_nop
13379 enable_gsm=no
13381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13382 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13384 if ${JPEG_PE_LIBS:+false} :
13385 then :
13386 JPEG_PE_LIBS=jpeg
13387 if ${JPEG_PE_CFLAGS:+false} :
13388 then :
13389 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13390 else $as_nop
13391 enable_jpeg=no
13393 else $as_nop
13394 enable_jpeg=no
13396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13399 if ${JXR_PE_LIBS:+false} :
13400 then :
13401 JXR_PE_LIBS=jxr
13402 if ${JXR_PE_CFLAGS:+false} :
13403 then :
13404 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13405 else $as_nop
13406 enable_jxr=no
13408 else $as_nop
13409 enable_jxr=no
13411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13414 if ${LCMS2_PE_LIBS:+false} :
13415 then :
13416 LCMS2_PE_LIBS=lcms2
13417 if ${LCMS2_PE_CFLAGS:+false} :
13418 then :
13419 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13420 else $as_nop
13421 enable_lcms2=no
13423 else $as_nop
13424 enable_lcms2=no
13426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13429 if ${LDAP_PE_LIBS:+false} :
13430 then :
13431 LDAP_PE_LIBS=ldap
13432 if ${LDAP_PE_CFLAGS:+false} :
13433 then :
13434 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13435 else $as_nop
13436 enable_ldap=no
13438 else $as_nop
13439 enable_ldap=no
13441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13444 if ${MPG123_PE_LIBS:+false} :
13445 then :
13446 MPG123_PE_LIBS=mpg123
13447 if ${MPG123_PE_CFLAGS:+false} :
13448 then :
13449 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13450 else $as_nop
13451 enable_mpg123=no
13453 else $as_nop
13454 enable_mpg123=no
13456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13457 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13459 if ${MUSL_PE_LIBS:+false} :
13460 then :
13461 MUSL_PE_LIBS=musl
13462 if ${MUSL_PE_CFLAGS:+false} :
13463 then :
13464 MUSL_PE_CFLAGS=
13465 else $as_nop
13466 enable_musl=no
13468 else $as_nop
13469 enable_musl=no
13471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13474 if ${PNG_PE_LIBS:+false} :
13475 then :
13476 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13477 if ${PNG_PE_CFLAGS:+false} :
13478 then :
13479 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13480 else $as_nop
13481 enable_png=no
13483 else $as_nop
13484 enable_png=no
13486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13489 if ${TIFF_PE_LIBS:+false} :
13490 then :
13491 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13492 if ${TIFF_PE_CFLAGS:+false} :
13493 then :
13494 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13495 else $as_nop
13496 enable_tiff=no
13498 else $as_nop
13499 enable_tiff=no
13501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13504 if ${VKD3D_PE_LIBS:+false} :
13505 then :
13506 VKD3D_PE_LIBS=vkd3d
13507 if ${VKD3D_PE_CFLAGS:+false} :
13508 then :
13509 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13510 else $as_nop
13511 enable_vkd3d=no
13513 else $as_nop
13514 enable_vkd3d=no
13516 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13519 if ${XML2_PE_LIBS:+false} :
13520 then :
13521 XML2_PE_LIBS=xml2
13522 if ${XML2_PE_CFLAGS:+false} :
13523 then :
13524 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13525 else $as_nop
13526 enable_xml2=no
13528 else $as_nop
13529 enable_xml2=no
13531 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13534 if ${XSLT_PE_LIBS:+false} :
13535 then :
13536 XSLT_PE_LIBS=xslt
13537 if ${XSLT_PE_CFLAGS:+false} :
13538 then :
13539 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13540 else $as_nop
13541 enable_xslt=no
13543 else $as_nop
13544 enable_xslt=no
13546 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13549 if ${ZLIB_PE_LIBS:+false} :
13550 then :
13551 ZLIB_PE_LIBS=z
13552 if ${ZLIB_PE_CFLAGS:+false} :
13553 then :
13554 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13555 else $as_nop
13556 enable_zlib=no
13558 else $as_nop
13559 enable_zlib=no
13561 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13562 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13564 if ${ZYDIS_PE_LIBS:+false} :
13565 then :
13566 ZYDIS_PE_LIBS=zydis
13567 if ${ZYDIS_PE_CFLAGS:+false} :
13568 then :
13569 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13570 else $as_nop
13571 enable_zydis=no
13573 else $as_nop
13574 enable_zydis=no
13576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13577 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13581 if test "x$with_pthread" = xno
13582 then :
13584 else $as_nop
13585 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13586 if test "x$ac_cv_func_pthread_create" = xyes
13587 then :
13589 else $as_nop
13590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13591 printf %s "checking for pthread_create in -lpthread... " >&6; }
13592 if test ${ac_cv_lib_pthread_pthread_create+y}
13593 then :
13594 printf %s "(cached) " >&6
13595 else $as_nop
13596 ac_check_lib_save_LIBS=$LIBS
13597 LIBS="-lpthread $LIBS"
13598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13599 /* end confdefs.h. */
13601 /* Override any GCC internal prototype to avoid an error.
13602 Use char because int might match the return type of a GCC
13603 builtin and then its argument prototype would still apply. */
13604 char pthread_create ();
13606 main (void)
13608 return pthread_create ();
13610 return 0;
13612 _ACEOF
13613 if ac_fn_c_try_link "$LINENO"
13614 then :
13615 ac_cv_lib_pthread_pthread_create=yes
13616 else $as_nop
13617 ac_cv_lib_pthread_pthread_create=no
13619 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_lib_save_LIBS
13623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13624 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13625 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13626 then :
13627 PTHREAD_LIBS="-lpthread"
13634 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13635 then :
13636 case "x$with_pthread" in
13637 xno) ;;
13638 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13639 Wine cannot support threads without libpthread.
13640 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13641 esac
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13652 printf %s "checking how to run the C preprocessor... " >&6; }
13653 # On Suns, sometimes $CPP names a directory.
13654 if test -n "$CPP" && test -d "$CPP"; then
13655 CPP=
13657 if test -z "$CPP"; then
13658 if test ${ac_cv_prog_CPP+y}
13659 then :
13660 printf %s "(cached) " >&6
13661 else $as_nop
13662 # Double quotes because $CC needs to be expanded
13663 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13665 ac_preproc_ok=false
13666 for ac_c_preproc_warn_flag in '' yes
13668 # Use a header file that comes with gcc, so configuring glibc
13669 # with a fresh cross-compiler works.
13670 # On the NeXT, cc -E runs the code through the compiler's parser,
13671 # not just through cpp. "Syntax error" is here to catch this case.
13672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13673 /* end confdefs.h. */
13674 #include <limits.h>
13675 Syntax error
13676 _ACEOF
13677 if ac_fn_c_try_cpp "$LINENO"
13678 then :
13680 else $as_nop
13681 # Broken: fails on valid input.
13682 continue
13684 rm -f conftest.err conftest.i conftest.$ac_ext
13686 # OK, works on sane cases. Now check whether nonexistent headers
13687 # can be detected and how.
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 #include <ac_nonexistent.h>
13691 _ACEOF
13692 if ac_fn_c_try_cpp "$LINENO"
13693 then :
13694 # Broken: success on invalid input.
13695 continue
13696 else $as_nop
13697 # Passes both tests.
13698 ac_preproc_ok=:
13699 break
13701 rm -f conftest.err conftest.i conftest.$ac_ext
13703 done
13704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13705 rm -f conftest.i conftest.err conftest.$ac_ext
13706 if $ac_preproc_ok
13707 then :
13708 break
13711 done
13712 ac_cv_prog_CPP=$CPP
13715 CPP=$ac_cv_prog_CPP
13716 else
13717 ac_cv_prog_CPP=$CPP
13719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13720 printf "%s\n" "$CPP" >&6; }
13721 ac_preproc_ok=false
13722 for ac_c_preproc_warn_flag in '' yes
13724 # Use a header file that comes with gcc, so configuring glibc
13725 # with a fresh cross-compiler works.
13726 # On the NeXT, cc -E runs the code through the compiler's parser,
13727 # not just through cpp. "Syntax error" is here to catch this case.
13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13729 /* end confdefs.h. */
13730 #include <limits.h>
13731 Syntax error
13732 _ACEOF
13733 if ac_fn_c_try_cpp "$LINENO"
13734 then :
13736 else $as_nop
13737 # Broken: fails on valid input.
13738 continue
13740 rm -f conftest.err conftest.i conftest.$ac_ext
13742 # OK, works on sane cases. Now check whether nonexistent headers
13743 # can be detected and how.
13744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13745 /* end confdefs.h. */
13746 #include <ac_nonexistent.h>
13747 _ACEOF
13748 if ac_fn_c_try_cpp "$LINENO"
13749 then :
13750 # Broken: success on invalid input.
13751 continue
13752 else $as_nop
13753 # Passes both tests.
13754 ac_preproc_ok=:
13755 break
13757 rm -f conftest.err conftest.i conftest.$ac_ext
13759 done
13760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13761 rm -f conftest.i conftest.err conftest.$ac_ext
13762 if $ac_preproc_ok
13763 then :
13765 else $as_nop
13766 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13767 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13768 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13769 See \`config.log' for more details" "$LINENO" 5; }
13772 ac_ext=c
13773 ac_cpp='$CPP $CPPFLAGS'
13774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13780 printf %s "checking for X... " >&6; }
13783 # Check whether --with-x was given.
13784 if test ${with_x+y}
13785 then :
13786 withval=$with_x;
13789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13790 if test "x$with_x" = xno; then
13791 # The user explicitly disabled X.
13792 have_x=disabled
13793 else
13794 case $x_includes,$x_libraries in #(
13795 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13796 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13797 then :
13798 printf %s "(cached) " >&6
13799 else $as_nop
13800 # One or both of the vars are not set, and there is no cached value.
13801 ac_x_includes=no
13802 ac_x_libraries=no
13803 # Do we need to do anything special at all?
13804 ac_save_LIBS=$LIBS
13805 LIBS="-lX11 $LIBS"
13806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13807 /* end confdefs.h. */
13808 #include <X11/Xlib.h>
13810 main (void)
13812 XrmInitialize ()
13814 return 0;
13816 _ACEOF
13817 if ac_fn_c_try_link "$LINENO"
13818 then :
13819 # We can compile and link X programs with no special options.
13820 ac_x_includes=
13821 ac_x_libraries=
13823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13824 conftest$ac_exeext conftest.$ac_ext
13825 LIBS="$ac_save_LIBS"
13826 # If that didn't work, only try xmkmf and file system searches
13827 # for native compilation.
13828 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13829 then :
13830 rm -f -r conftest.dir
13831 if mkdir conftest.dir; then
13832 cd conftest.dir
13833 cat >Imakefile <<'_ACEOF'
13834 incroot:
13835 @echo incroot='${INCROOT}'
13836 usrlibdir:
13837 @echo usrlibdir='${USRLIBDIR}'
13838 libdir:
13839 @echo libdir='${LIBDIR}'
13840 _ACEOF
13841 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13842 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13843 for ac_var in incroot usrlibdir libdir; do
13844 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13845 done
13846 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13847 for ac_extension in a so sl dylib la dll; do
13848 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13849 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13850 ac_im_usrlibdir=$ac_im_libdir; break
13852 done
13853 # Screen out bogus values from the imake configuration. They are
13854 # bogus both because they are the default anyway, and because
13855 # using them would break gcc on systems where it needs fixed includes.
13856 case $ac_im_incroot in
13857 /usr/include) ac_x_includes= ;;
13858 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13859 esac
13860 case $ac_im_usrlibdir in
13861 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13862 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13863 esac
13865 cd ..
13866 rm -f -r conftest.dir
13869 # Standard set of common directories for X headers.
13870 # Check X11 before X11Rn because it is often a symlink to the current release.
13871 ac_x_header_dirs='
13872 /usr/X11/include
13873 /usr/X11R7/include
13874 /usr/X11R6/include
13875 /usr/X11R5/include
13876 /usr/X11R4/include
13878 /usr/include/X11
13879 /usr/include/X11R7
13880 /usr/include/X11R6
13881 /usr/include/X11R5
13882 /usr/include/X11R4
13884 /usr/local/X11/include
13885 /usr/local/X11R7/include
13886 /usr/local/X11R6/include
13887 /usr/local/X11R5/include
13888 /usr/local/X11R4/include
13890 /usr/local/include/X11
13891 /usr/local/include/X11R7
13892 /usr/local/include/X11R6
13893 /usr/local/include/X11R5
13894 /usr/local/include/X11R4
13896 /opt/X11/include
13898 /usr/X386/include
13899 /usr/x386/include
13900 /usr/XFree86/include/X11
13902 /usr/include
13903 /usr/local/include
13904 /usr/unsupported/include
13905 /usr/athena/include
13906 /usr/local/x11r5/include
13907 /usr/lpp/Xamples/include
13909 /usr/openwin/include
13910 /usr/openwin/share/include'
13912 if test "$ac_x_includes" = no; then
13913 # Guess where to find include files, by looking for Xlib.h.
13914 # First, try using that file with no special directory specified.
13915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13916 /* end confdefs.h. */
13917 #include <X11/Xlib.h>
13918 _ACEOF
13919 if ac_fn_c_try_cpp "$LINENO"
13920 then :
13921 # We can compile using X headers with no special include directory.
13922 ac_x_includes=
13923 else $as_nop
13924 for ac_dir in $ac_x_header_dirs; do
13925 if test -r "$ac_dir/X11/Xlib.h"; then
13926 ac_x_includes=$ac_dir
13927 break
13929 done
13931 rm -f conftest.err conftest.i conftest.$ac_ext
13932 fi # $ac_x_includes = no
13934 if test "$ac_x_libraries" = no; then
13935 # Check for the libraries.
13936 # See if we find them without any special options.
13937 # Don't add to $LIBS permanently.
13938 ac_save_LIBS=$LIBS
13939 LIBS="-lX11 $LIBS"
13940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13941 /* end confdefs.h. */
13942 #include <X11/Xlib.h>
13944 main (void)
13946 XrmInitialize ()
13948 return 0;
13950 _ACEOF
13951 if ac_fn_c_try_link "$LINENO"
13952 then :
13953 LIBS=$ac_save_LIBS
13954 # We can link X programs with no special library path.
13955 ac_x_libraries=
13956 else $as_nop
13957 LIBS=$ac_save_LIBS
13958 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13960 # Don't even attempt the hair of trying to link an X program!
13961 for ac_extension in a so sl dylib la dll; do
13962 if test -r "$ac_dir/libX11.$ac_extension"; then
13963 ac_x_libraries=$ac_dir
13964 break 2
13966 done
13967 done
13969 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13970 conftest$ac_exeext conftest.$ac_ext
13971 fi # $ac_x_libraries = no
13974 # Record the results.
13975 case $ac_x_includes,$ac_x_libraries in #(
13976 no,* | *,no | *\'*) :
13977 # Didn't find X, or a directory has "'" in its name.
13978 ac_cv_have_x="have_x=no" ;; #(
13979 *) :
13980 # Record where we found X for the cache.
13981 ac_cv_have_x="have_x=yes\
13982 ac_x_includes='$ac_x_includes'\
13983 ac_x_libraries='$ac_x_libraries'" ;;
13984 esac
13986 ;; #(
13987 *) have_x=yes;;
13988 esac
13989 eval "$ac_cv_have_x"
13990 fi # $with_x != no
13992 if test "$have_x" != yes; then
13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13994 printf "%s\n" "$have_x" >&6; }
13995 no_x=yes
13996 else
13997 # If each of the values was on the command line, it overrides each guess.
13998 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13999 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
14000 # Update the cache value to reflect the command line values.
14001 ac_cv_have_x="have_x=yes\
14002 ac_x_includes='$x_includes'\
14003 ac_x_libraries='$x_libraries'"
14004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
14005 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
14008 if test "$no_x" = yes; then
14009 # Not all programs may use this symbol, but it does not hurt to define it.
14011 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
14013 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
14014 else
14015 if test -n "$x_includes"; then
14016 X_CFLAGS="$X_CFLAGS -I$x_includes"
14019 # It would also be nice to do this for all -L options, not just this one.
14020 if test -n "$x_libraries"; then
14021 X_LIBS="$X_LIBS -L$x_libraries"
14022 # For Solaris; some versions of Sun CC require a space after -R and
14023 # others require no space. Words are not sufficient . . . .
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
14025 printf %s "checking whether -R must be followed by a space... " >&6; }
14026 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
14027 ac_xsave_c_werror_flag=$ac_c_werror_flag
14028 ac_c_werror_flag=yes
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14033 main (void)
14037 return 0;
14039 _ACEOF
14040 if ac_fn_c_try_link "$LINENO"
14041 then :
14042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
14043 printf "%s\n" "no" >&6; }
14044 X_LIBS="$X_LIBS -R$x_libraries"
14045 else $as_nop
14046 LIBS="$ac_xsave_LIBS -R $x_libraries"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14051 main (void)
14055 return 0;
14057 _ACEOF
14058 if ac_fn_c_try_link "$LINENO"
14059 then :
14060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14061 printf "%s\n" "yes" >&6; }
14062 X_LIBS="$X_LIBS -R $x_libraries"
14063 else $as_nop
14064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14065 printf "%s\n" "neither works" >&6; }
14067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14068 conftest$ac_exeext conftest.$ac_ext
14070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14071 conftest$ac_exeext conftest.$ac_ext
14072 ac_c_werror_flag=$ac_xsave_c_werror_flag
14073 LIBS=$ac_xsave_LIBS
14076 # Check for system-dependent libraries X programs must link with.
14077 # Do this before checking for the system-independent R6 libraries
14078 # (-lICE), since we may need -lsocket or whatever for X linking.
14080 if test "$ISC" = yes; then
14081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14082 else
14083 # Martyn Johnson says this is needed for Ultrix, if the X
14084 # libraries were built with DECnet support. And Karl Berry says
14085 # the Alpha needs dnet_stub (dnet does not exist).
14086 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14088 /* end confdefs.h. */
14090 /* Override any GCC internal prototype to avoid an error.
14091 Use char because int might match the return type of a GCC
14092 builtin and then its argument prototype would still apply. */
14093 char XOpenDisplay ();
14095 main (void)
14097 return XOpenDisplay ();
14099 return 0;
14101 _ACEOF
14102 if ac_fn_c_try_link "$LINENO"
14103 then :
14105 else $as_nop
14106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14107 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14108 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14109 then :
14110 printf %s "(cached) " >&6
14111 else $as_nop
14112 ac_check_lib_save_LIBS=$LIBS
14113 LIBS="-ldnet $LIBS"
14114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14117 /* Override any GCC internal prototype to avoid an error.
14118 Use char because int might match the return type of a GCC
14119 builtin and then its argument prototype would still apply. */
14120 char dnet_ntoa ();
14122 main (void)
14124 return dnet_ntoa ();
14126 return 0;
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"
14130 then :
14131 ac_cv_lib_dnet_dnet_ntoa=yes
14132 else $as_nop
14133 ac_cv_lib_dnet_dnet_ntoa=no
14135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14136 conftest$ac_exeext conftest.$ac_ext
14137 LIBS=$ac_check_lib_save_LIBS
14139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14140 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14141 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14142 then :
14143 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14146 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14148 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14149 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14150 then :
14151 printf %s "(cached) " >&6
14152 else $as_nop
14153 ac_check_lib_save_LIBS=$LIBS
14154 LIBS="-ldnet_stub $LIBS"
14155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14156 /* end confdefs.h. */
14158 /* Override any GCC internal prototype to avoid an error.
14159 Use char because int might match the return type of a GCC
14160 builtin and then its argument prototype would still apply. */
14161 char dnet_ntoa ();
14163 main (void)
14165 return dnet_ntoa ();
14167 return 0;
14169 _ACEOF
14170 if ac_fn_c_try_link "$LINENO"
14171 then :
14172 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14173 else $as_nop
14174 ac_cv_lib_dnet_stub_dnet_ntoa=no
14176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LIBS=$ac_check_lib_save_LIBS
14180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14181 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14182 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14183 then :
14184 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14190 conftest$ac_exeext conftest.$ac_ext
14191 LIBS="$ac_xsave_LIBS"
14193 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14194 # to get the SysV transport functions.
14195 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14196 # needs -lnsl.
14197 # The nsl library prevents programs from opening the X display
14198 # on Irix 5.2, according to T.E. Dickey.
14199 # The functions gethostbyname, getservbyname, and inet_addr are
14200 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14201 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14202 if test "x$ac_cv_func_gethostbyname" = xyes
14203 then :
14207 if test $ac_cv_func_gethostbyname = no; then
14208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14209 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14210 if test ${ac_cv_lib_nsl_gethostbyname+y}
14211 then :
14212 printf %s "(cached) " >&6
14213 else $as_nop
14214 ac_check_lib_save_LIBS=$LIBS
14215 LIBS="-lnsl $LIBS"
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14222 char gethostbyname ();
14224 main (void)
14226 return gethostbyname ();
14228 return 0;
14230 _ACEOF
14231 if ac_fn_c_try_link "$LINENO"
14232 then :
14233 ac_cv_lib_nsl_gethostbyname=yes
14234 else $as_nop
14235 ac_cv_lib_nsl_gethostbyname=no
14237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14238 conftest$ac_exeext conftest.$ac_ext
14239 LIBS=$ac_check_lib_save_LIBS
14241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14242 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14243 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14244 then :
14245 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14248 if test $ac_cv_lib_nsl_gethostbyname = no; then
14249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14250 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14251 if test ${ac_cv_lib_bsd_gethostbyname+y}
14252 then :
14253 printf %s "(cached) " >&6
14254 else $as_nop
14255 ac_check_lib_save_LIBS=$LIBS
14256 LIBS="-lbsd $LIBS"
14257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14258 /* end confdefs.h. */
14260 /* Override any GCC internal prototype to avoid an error.
14261 Use char because int might match the return type of a GCC
14262 builtin and then its argument prototype would still apply. */
14263 char gethostbyname ();
14265 main (void)
14267 return gethostbyname ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"
14273 then :
14274 ac_cv_lib_bsd_gethostbyname=yes
14275 else $as_nop
14276 ac_cv_lib_bsd_gethostbyname=no
14278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14279 conftest$ac_exeext conftest.$ac_ext
14280 LIBS=$ac_check_lib_save_LIBS
14282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14283 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14284 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14285 then :
14286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14292 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14293 # socket/setsockopt and other routines are undefined under SCO ODT
14294 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14295 # on later versions), says Simon Leinen: it contains gethostby*
14296 # variants that don't use the name server (or something). -lsocket
14297 # must be given before -lnsl if both are needed. We assume that
14298 # if connect needs -lnsl, so does gethostbyname.
14299 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14300 if test "x$ac_cv_func_connect" = xyes
14301 then :
14305 if test $ac_cv_func_connect = no; then
14306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14307 printf %s "checking for connect in -lsocket... " >&6; }
14308 if test ${ac_cv_lib_socket_connect+y}
14309 then :
14310 printf %s "(cached) " >&6
14311 else $as_nop
14312 ac_check_lib_save_LIBS=$LIBS
14313 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14315 /* end confdefs.h. */
14317 /* Override any GCC internal prototype to avoid an error.
14318 Use char because int might match the return type of a GCC
14319 builtin and then its argument prototype would still apply. */
14320 char connect ();
14322 main (void)
14324 return connect ();
14326 return 0;
14328 _ACEOF
14329 if ac_fn_c_try_link "$LINENO"
14330 then :
14331 ac_cv_lib_socket_connect=yes
14332 else $as_nop
14333 ac_cv_lib_socket_connect=no
14335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14336 conftest$ac_exeext conftest.$ac_ext
14337 LIBS=$ac_check_lib_save_LIBS
14339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14340 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14341 if test "x$ac_cv_lib_socket_connect" = xyes
14342 then :
14343 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14348 # Guillermo Gomez says -lposix is necessary on A/UX.
14349 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14350 if test "x$ac_cv_func_remove" = xyes
14351 then :
14355 if test $ac_cv_func_remove = no; then
14356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14357 printf %s "checking for remove in -lposix... " >&6; }
14358 if test ${ac_cv_lib_posix_remove+y}
14359 then :
14360 printf %s "(cached) " >&6
14361 else $as_nop
14362 ac_check_lib_save_LIBS=$LIBS
14363 LIBS="-lposix $LIBS"
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14370 char remove ();
14372 main (void)
14374 return remove ();
14376 return 0;
14378 _ACEOF
14379 if ac_fn_c_try_link "$LINENO"
14380 then :
14381 ac_cv_lib_posix_remove=yes
14382 else $as_nop
14383 ac_cv_lib_posix_remove=no
14385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_check_lib_save_LIBS
14389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14390 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14391 if test "x$ac_cv_lib_posix_remove" = xyes
14392 then :
14393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14398 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14399 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14400 if test "x$ac_cv_func_shmat" = xyes
14401 then :
14405 if test $ac_cv_func_shmat = no; then
14406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14407 printf %s "checking for shmat in -lipc... " >&6; }
14408 if test ${ac_cv_lib_ipc_shmat+y}
14409 then :
14410 printf %s "(cached) " >&6
14411 else $as_nop
14412 ac_check_lib_save_LIBS=$LIBS
14413 LIBS="-lipc $LIBS"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14420 char shmat ();
14422 main (void)
14424 return shmat ();
14426 return 0;
14428 _ACEOF
14429 if ac_fn_c_try_link "$LINENO"
14430 then :
14431 ac_cv_lib_ipc_shmat=yes
14432 else $as_nop
14433 ac_cv_lib_ipc_shmat=no
14435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14436 conftest$ac_exeext conftest.$ac_ext
14437 LIBS=$ac_check_lib_save_LIBS
14439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14440 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14441 if test "x$ac_cv_lib_ipc_shmat" = xyes
14442 then :
14443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14449 # Check for libraries that X11R6 Xt/Xaw programs need.
14450 ac_save_LDFLAGS=$LDFLAGS
14451 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14452 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14453 # check for ICE first), but we must link in the order -lSM -lICE or
14454 # we get undefined symbols. So assume we have SM if we have ICE.
14455 # These have to be linked with before -lX11, unlike the other
14456 # libraries we check for below, so use a different variable.
14457 # John Interrante, Karl Berry
14458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14459 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14460 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14461 then :
14462 printf %s "(cached) " >&6
14463 else $as_nop
14464 ac_check_lib_save_LIBS=$LIBS
14465 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14467 /* end confdefs.h. */
14469 /* Override any GCC internal prototype to avoid an error.
14470 Use char because int might match the return type of a GCC
14471 builtin and then its argument prototype would still apply. */
14472 char IceConnectionNumber ();
14474 main (void)
14476 return IceConnectionNumber ();
14478 return 0;
14480 _ACEOF
14481 if ac_fn_c_try_link "$LINENO"
14482 then :
14483 ac_cv_lib_ICE_IceConnectionNumber=yes
14484 else $as_nop
14485 ac_cv_lib_ICE_IceConnectionNumber=no
14487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14488 conftest$ac_exeext conftest.$ac_ext
14489 LIBS=$ac_check_lib_save_LIBS
14491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14492 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14493 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14494 then :
14495 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14498 LDFLAGS=$ac_save_LDFLAGS
14503 if test "$have_x" = "yes"
14504 then
14505 ac_save_CPPFLAGS="$CPPFLAGS"
14506 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14509 printf %s "checking for -lX11... " >&6; }
14510 if test ${ac_cv_lib_soname_X11+y}
14511 then :
14512 printf %s "(cached) " >&6
14513 else $as_nop
14514 ac_check_soname_save_LIBS=$LIBS
14515 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14522 char XCreateWindow ();
14524 main (void)
14526 return XCreateWindow ();
14528 return 0;
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"
14532 then :
14533 case "$LIBEXT" in
14534 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14535 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'` ;;
14536 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14537 if ${ac_cv_lib_soname_X11:+false} :
14538 then :
14539 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14540 fi ;;
14541 esac
14542 else $as_nop
14543 ac_cv_lib_soname_X11=
14545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_soname_save_LIBS
14549 if ${ac_cv_lib_soname_X11:+false} :
14550 then :
14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14552 printf "%s\n" "not found" >&6; }
14554 else $as_nop
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14556 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14558 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14563 printf %s "checking for -lXext... " >&6; }
14564 if test ${ac_cv_lib_soname_Xext+y}
14565 then :
14566 printf %s "(cached) " >&6
14567 else $as_nop
14568 ac_check_soname_save_LIBS=$LIBS
14569 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 char XextCreateExtension ();
14578 main (void)
14580 return XextCreateExtension ();
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_link "$LINENO"
14586 then :
14587 case "$LIBEXT" in
14588 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14589 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'` ;;
14590 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14591 if ${ac_cv_lib_soname_Xext:+false} :
14592 then :
14593 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14594 fi ;;
14595 esac
14596 else $as_nop
14597 ac_cv_lib_soname_Xext=
14599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14600 conftest$ac_exeext conftest.$ac_ext
14601 LIBS=$ac_check_soname_save_LIBS
14603 if ${ac_cv_lib_soname_Xext:+false} :
14604 then :
14605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14606 printf "%s\n" "not found" >&6; }
14608 else $as_nop
14609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14610 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14612 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14614 X_LIBS="$X_LIBS -lXext"
14616 X_LIBS="$X_LIBS -lX11"
14618 xlib_includes="#include <X11/Xlib.h>
14619 #include <X11/Xutil.h>"
14621 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14623 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14624 then :
14625 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14628 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14630 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14631 then :
14632 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14635 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14637 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14638 then :
14639 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14642 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14644 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14645 then :
14646 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14649 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14651 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14652 then :
14653 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14656 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14658 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14659 then :
14660 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14663 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14665 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14666 then :
14667 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14670 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14672 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14673 then :
14674 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14677 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14679 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14680 then :
14681 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14686 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14688 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14689 then :
14690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14691 printf %s "checking for -lXcursor... " >&6; }
14692 if test ${ac_cv_lib_soname_Xcursor+y}
14693 then :
14694 printf %s "(cached) " >&6
14695 else $as_nop
14696 ac_check_soname_save_LIBS=$LIBS
14697 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14699 /* end confdefs.h. */
14701 /* Override any GCC internal prototype to avoid an error.
14702 Use char because int might match the return type of a GCC
14703 builtin and then its argument prototype would still apply. */
14704 char XcursorImageLoadCursor ();
14706 main (void)
14708 return XcursorImageLoadCursor ();
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_link "$LINENO"
14714 then :
14715 case "$LIBEXT" in
14716 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14717 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'` ;;
14718 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14719 if ${ac_cv_lib_soname_Xcursor:+false} :
14720 then :
14721 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14722 fi ;;
14723 esac
14724 else $as_nop
14725 ac_cv_lib_soname_Xcursor=
14727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14728 conftest$ac_exeext conftest.$ac_ext
14729 LIBS=$ac_check_soname_save_LIBS
14731 if ${ac_cv_lib_soname_Xcursor:+false} :
14732 then :
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14734 printf "%s\n" "not found" >&6; }
14736 else $as_nop
14737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14738 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14740 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14746 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14747 then :
14748 case "x$with_xcursor" in
14749 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14750 xno) ;;
14751 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14752 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14753 esac
14757 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14759 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14760 then :
14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14762 printf %s "checking for -lXi... " >&6; }
14763 if test ${ac_cv_lib_soname_Xi+y}
14764 then :
14765 printf %s "(cached) " >&6
14766 else $as_nop
14767 ac_check_soname_save_LIBS=$LIBS
14768 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14772 /* Override any GCC internal prototype to avoid an error.
14773 Use char because int might match the return type of a GCC
14774 builtin and then its argument prototype would still apply. */
14775 char XOpenDevice ();
14777 main (void)
14779 return XOpenDevice ();
14781 return 0;
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"
14785 then :
14786 case "$LIBEXT" in
14787 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14788 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'` ;;
14789 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14790 if ${ac_cv_lib_soname_Xi:+false} :
14791 then :
14792 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14793 fi ;;
14794 esac
14795 else $as_nop
14796 ac_cv_lib_soname_Xi=
14798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14799 conftest$ac_exeext conftest.$ac_ext
14800 LIBS=$ac_check_soname_save_LIBS
14802 if ${ac_cv_lib_soname_Xi:+false} :
14803 then :
14804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14805 printf "%s\n" "not found" >&6; }
14807 else $as_nop
14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14809 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14811 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14817 if test "x$ac_cv_lib_soname_Xi" = "x"
14818 then :
14819 case "x$with_xinput" in
14820 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14821 xno) ;;
14822 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14823 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14824 esac
14828 if test "x$ac_cv_lib_soname_Xi" != x
14829 then
14830 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14831 then :
14832 case "x$with_xinput2" in
14833 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14834 xno) ;;
14835 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14836 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14837 esac
14842 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14843 then
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14845 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14846 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14847 then :
14848 printf %s "(cached) " >&6
14849 else $as_nop
14850 ac_check_lib_save_LIBS=$LIBS
14851 LIBS="-lXext $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 XShmQueryExtension ();
14860 main (void)
14862 return XShmQueryExtension ();
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"
14868 then :
14869 ac_cv_lib_Xext_XShmQueryExtension=yes
14870 else $as_nop
14871 ac_cv_lib_Xext_XShmQueryExtension=no
14873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_lib_save_LIBS
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14878 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14879 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14880 then :
14882 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14887 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14888 then :
14889 case "x$with_xshm" in
14890 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14891 xno) ;;
14892 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14893 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14894 esac
14898 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14899 then
14900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14901 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14902 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14903 then :
14904 printf %s "(cached) " >&6
14905 else $as_nop
14906 ac_check_lib_save_LIBS=$LIBS
14907 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14914 char XShapeQueryExtension ();
14916 main (void)
14918 return XShapeQueryExtension ();
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_link "$LINENO"
14924 then :
14925 ac_cv_lib_Xext_XShapeQueryExtension=yes
14926 else $as_nop
14927 ac_cv_lib_Xext_XShapeQueryExtension=no
14929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14930 conftest$ac_exeext conftest.$ac_ext
14931 LIBS=$ac_check_lib_save_LIBS
14933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14934 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14935 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14936 then :
14938 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14943 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14944 then :
14945 case "x$with_xshape" in
14946 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14947 xno) ;;
14948 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14949 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14950 esac
14954 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14955 then
14956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14957 printf %s "checking for -lXxf86vm... " >&6; }
14958 if test ${ac_cv_lib_soname_Xxf86vm+y}
14959 then :
14960 printf %s "(cached) " >&6
14961 else $as_nop
14962 ac_check_soname_save_LIBS=$LIBS
14963 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14967 /* Override any GCC internal prototype to avoid an error.
14968 Use char because int might match the return type of a GCC
14969 builtin and then its argument prototype would still apply. */
14970 char XF86VidModeQueryExtension ();
14972 main (void)
14974 return XF86VidModeQueryExtension ();
14976 return 0;
14978 _ACEOF
14979 if ac_fn_c_try_link "$LINENO"
14980 then :
14981 case "$LIBEXT" in
14982 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14983 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'` ;;
14984 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14985 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14986 then :
14987 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14988 fi ;;
14989 esac
14990 else $as_nop
14991 ac_cv_lib_soname_Xxf86vm=
14993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_soname_save_LIBS
14997 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14998 then :
14999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15000 printf "%s\n" "not found" >&6; }
15002 else $as_nop
15003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15004 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15006 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15011 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15012 then :
15013 case "x$with_xxf86vm" in
15014 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15015 xno) ;;
15016 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15017 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15018 esac
15022 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15023 then
15024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15025 printf %s "checking for -lXrender... " >&6; }
15026 if test ${ac_cv_lib_soname_Xrender+y}
15027 then :
15028 printf %s "(cached) " >&6
15029 else $as_nop
15030 ac_check_soname_save_LIBS=$LIBS
15031 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15038 char XRenderQueryExtension ();
15040 main (void)
15042 return XRenderQueryExtension ();
15044 return 0;
15046 _ACEOF
15047 if ac_fn_c_try_link "$LINENO"
15048 then :
15049 case "$LIBEXT" in
15050 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15051 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'` ;;
15052 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15053 if ${ac_cv_lib_soname_Xrender:+false} :
15054 then :
15055 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15056 fi ;;
15057 esac
15058 else $as_nop
15059 ac_cv_lib_soname_Xrender=
15061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15062 conftest$ac_exeext conftest.$ac_ext
15063 LIBS=$ac_check_soname_save_LIBS
15065 if ${ac_cv_lib_soname_Xrender:+false} :
15066 then :
15067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15068 printf "%s\n" "not found" >&6; }
15070 else $as_nop
15071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15072 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15074 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15077 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15078 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15079 then :
15080 printf %s "(cached) " >&6
15081 else $as_nop
15082 ac_check_lib_save_LIBS=$LIBS
15083 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15085 /* end confdefs.h. */
15087 /* Override any GCC internal prototype to avoid an error.
15088 Use char because int might match the return type of a GCC
15089 builtin and then its argument prototype would still apply. */
15090 char XRenderSetPictureTransform ();
15092 main (void)
15094 return XRenderSetPictureTransform ();
15096 return 0;
15098 _ACEOF
15099 if ac_fn_c_try_link "$LINENO"
15100 then :
15101 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15102 else $as_nop
15103 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_lib_save_LIBS
15109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15110 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15111 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15112 then :
15114 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15119 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15120 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15121 then :
15122 printf %s "(cached) " >&6
15123 else $as_nop
15124 ac_check_lib_save_LIBS=$LIBS
15125 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 char XRenderCreateLinearGradient ();
15134 main (void)
15136 return XRenderCreateLinearGradient ();
15138 return 0;
15140 _ACEOF
15141 if ac_fn_c_try_link "$LINENO"
15142 then :
15143 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15144 else $as_nop
15145 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15147 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15148 conftest$ac_exeext conftest.$ac_ext
15149 LIBS=$ac_check_lib_save_LIBS
15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15152 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15153 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15154 then :
15156 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15163 if test "x$ac_cv_lib_soname_Xrender" = "x"
15164 then :
15165 case "x$with_xrender" in
15166 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15167 xno) ;;
15168 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15169 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15170 esac
15174 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15175 then
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #include <X11/Xlib.h>
15179 #include <X11/extensions/Xrandr.h>
15181 main (void)
15183 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15185 return 0;
15187 _ACEOF
15188 if ac_fn_c_try_compile "$LINENO"
15189 then :
15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15191 printf %s "checking for -lXrandr... " >&6; }
15192 if test ${ac_cv_lib_soname_Xrandr+y}
15193 then :
15194 printf %s "(cached) " >&6
15195 else $as_nop
15196 ac_check_soname_save_LIBS=$LIBS
15197 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 char XRRQueryExtension ();
15206 main (void)
15208 return XRRQueryExtension ();
15210 return 0;
15212 _ACEOF
15213 if ac_fn_c_try_link "$LINENO"
15214 then :
15215 case "$LIBEXT" in
15216 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15217 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'` ;;
15218 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15219 if ${ac_cv_lib_soname_Xrandr:+false} :
15220 then :
15221 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15222 fi ;;
15223 esac
15224 else $as_nop
15225 ac_cv_lib_soname_Xrandr=
15227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15228 conftest$ac_exeext conftest.$ac_ext
15229 LIBS=$ac_check_soname_save_LIBS
15231 if ${ac_cv_lib_soname_Xrandr:+false} :
15232 then :
15233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15234 printf "%s\n" "not found" >&6; }
15236 else $as_nop
15237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15238 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15240 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15243 /* end confdefs.h. */
15244 #include <X11/Xlib.h>
15245 #include <X11/extensions/Xrandr.h>
15247 main (void)
15249 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15251 return 0;
15253 _ACEOF
15254 if ac_fn_c_try_compile "$LINENO"
15255 then :
15257 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15259 else $as_nop
15260 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15267 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15268 then :
15269 case "x$with_xrandr" in
15270 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15271 xno) ;;
15272 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15273 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15274 esac
15278 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15279 then
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282 #include <X11/Xlib.h>
15283 #include <X11/extensions/Xfixes.h>
15285 main (void)
15287 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15289 return 0;
15291 _ACEOF
15292 if ac_fn_c_try_compile "$LINENO"
15293 then :
15294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15295 printf %s "checking for -lXfixes... " >&6; }
15296 if test ${ac_cv_lib_soname_Xfixes+y}
15297 then :
15298 printf %s "(cached) " >&6
15299 else $as_nop
15300 ac_check_soname_save_LIBS=$LIBS
15301 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 /* Override any GCC internal prototype to avoid an error.
15306 Use char because int might match the return type of a GCC
15307 builtin and then its argument prototype would still apply. */
15308 char XFixesQueryVersion ();
15310 main (void)
15312 return XFixesQueryVersion ();
15314 return 0;
15316 _ACEOF
15317 if ac_fn_c_try_link "$LINENO"
15318 then :
15319 case "$LIBEXT" in
15320 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15321 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'` ;;
15322 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15323 if ${ac_cv_lib_soname_Xfixes:+false} :
15324 then :
15325 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15326 fi ;;
15327 esac
15328 else $as_nop
15329 ac_cv_lib_soname_Xfixes=
15331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15332 conftest$ac_exeext conftest.$ac_ext
15333 LIBS=$ac_check_soname_save_LIBS
15335 if ${ac_cv_lib_soname_Xfixes:+false} :
15336 then :
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15338 printf "%s\n" "not found" >&6; }
15340 else $as_nop
15341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15342 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15344 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15351 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15352 then :
15353 case "x$with_xfixes" in
15354 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15357 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15358 esac
15362 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15363 then
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366 #include <X11/Xlib.h>
15367 #include <X11/extensions/Xinerama.h>
15369 main (void)
15371 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15373 return 0;
15375 _ACEOF
15376 if ac_fn_c_try_compile "$LINENO"
15377 then :
15378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15379 printf %s "checking for -lXinerama... " >&6; }
15380 if test ${ac_cv_lib_soname_Xinerama+y}
15381 then :
15382 printf %s "(cached) " >&6
15383 else $as_nop
15384 ac_check_soname_save_LIBS=$LIBS
15385 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15392 char XineramaQueryScreens ();
15394 main (void)
15396 return XineramaQueryScreens ();
15398 return 0;
15400 _ACEOF
15401 if ac_fn_c_try_link "$LINENO"
15402 then :
15403 case "$LIBEXT" in
15404 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15405 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'` ;;
15406 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15407 if ${ac_cv_lib_soname_Xinerama:+false} :
15408 then :
15409 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15410 fi ;;
15411 esac
15412 else $as_nop
15413 ac_cv_lib_soname_Xinerama=
15415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15416 conftest$ac_exeext conftest.$ac_ext
15417 LIBS=$ac_check_soname_save_LIBS
15419 if ${ac_cv_lib_soname_Xinerama:+false} :
15420 then :
15421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15422 printf "%s\n" "not found" >&6; }
15424 else $as_nop
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15426 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15428 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15435 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15436 then :
15437 case "x$with_xinerama" in
15438 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15439 xno) ;;
15440 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15441 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15442 esac
15446 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15448 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15449 then :
15450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15451 printf %s "checking for -lXcomposite... " >&6; }
15452 if test ${ac_cv_lib_soname_Xcomposite+y}
15453 then :
15454 printf %s "(cached) " >&6
15455 else $as_nop
15456 ac_check_soname_save_LIBS=$LIBS
15457 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15459 /* end confdefs.h. */
15461 /* Override any GCC internal prototype to avoid an error.
15462 Use char because int might match the return type of a GCC
15463 builtin and then its argument prototype would still apply. */
15464 char XCompositeRedirectWindow ();
15466 main (void)
15468 return XCompositeRedirectWindow ();
15470 return 0;
15472 _ACEOF
15473 if ac_fn_c_try_link "$LINENO"
15474 then :
15475 case "$LIBEXT" in
15476 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15477 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'` ;;
15478 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15479 if ${ac_cv_lib_soname_Xcomposite:+false} :
15480 then :
15481 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15482 fi ;;
15483 esac
15484 else $as_nop
15485 ac_cv_lib_soname_Xcomposite=
15487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15488 conftest$ac_exeext conftest.$ac_ext
15489 LIBS=$ac_check_soname_save_LIBS
15491 if ${ac_cv_lib_soname_Xcomposite:+false} :
15492 then :
15493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15494 printf "%s\n" "not found" >&6; }
15496 else $as_nop
15497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15498 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15500 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15506 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15507 then :
15508 case "x$with_xcomposite" in
15509 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15510 xno) ;;
15511 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15512 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15513 esac
15517 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15519 if test "x$ac_cv_member_XICCallback_callback" = xyes
15520 then :
15522 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15526 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15528 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15529 then :
15531 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15538 opengl_msg=""
15539 if test "x$with_opengl" != "xno"
15540 then
15541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15542 printf %s "checking for -lGL... " >&6; }
15543 if test ${ac_cv_lib_soname_GL+y}
15544 then :
15545 printf %s "(cached) " >&6
15546 else $as_nop
15547 ac_check_soname_save_LIBS=$LIBS
15548 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15552 /* Override any GCC internal prototype to avoid an error.
15553 Use char because int might match the return type of a GCC
15554 builtin and then its argument prototype would still apply. */
15555 char glXCreateContext ();
15557 main (void)
15559 return glXCreateContext ();
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_link "$LINENO"
15565 then :
15566 case "$LIBEXT" in
15567 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15568 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'` ;;
15569 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15570 if ${ac_cv_lib_soname_GL:+false} :
15571 then :
15572 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15573 fi ;;
15574 esac
15575 else $as_nop
15576 ac_cv_lib_soname_GL=
15578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15579 conftest$ac_exeext conftest.$ac_ext
15580 LIBS=$ac_check_soname_save_LIBS
15582 if ${ac_cv_lib_soname_GL:+false} :
15583 then :
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15585 printf "%s\n" "not found" >&6; }
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15587 printf %s "checking for -lGL... " >&6; }
15588 if test ${ac_cv_lib_soname_GL+y}
15589 then :
15590 printf %s "(cached) " >&6
15591 else $as_nop
15592 ac_check_soname_save_LIBS=$LIBS
15593 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"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 char glXCreateContext ();
15602 main (void)
15604 return glXCreateContext ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"
15610 then :
15611 case "$LIBEXT" in
15612 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15613 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'` ;;
15614 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15615 if ${ac_cv_lib_soname_GL:+false} :
15616 then :
15617 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15618 fi ;;
15619 esac
15620 else $as_nop
15621 ac_cv_lib_soname_GL=
15623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_GL:+false} :
15628 then :
15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15630 printf "%s\n" "not found" >&6; }
15631 if test -f /usr/X11R6/lib/libGL.a
15632 then
15633 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15634 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15635 else
15636 opengl_msg="No OpenGL library found on this system."
15638 else $as_nop
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15640 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15642 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15644 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"
15646 else $as_nop
15647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15648 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15650 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15652 OPENGL_LIBS="-lGL"
15654 if test "x$with_osmesa" != "xno"
15655 then
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15657 printf %s "checking for -lOSMesa... " >&6; }
15658 if test ${ac_cv_lib_soname_OSMesa+y}
15659 then :
15660 printf %s "(cached) " >&6
15661 else $as_nop
15662 ac_check_soname_save_LIBS=$LIBS
15663 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char OSMesaGetProcAddress ();
15672 main (void)
15674 return OSMesaGetProcAddress ();
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"
15680 then :
15681 case "$LIBEXT" in
15682 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15683 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'` ;;
15684 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15685 if ${ac_cv_lib_soname_OSMesa:+false} :
15686 then :
15687 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15688 fi ;;
15689 esac
15690 else $as_nop
15691 ac_cv_lib_soname_OSMesa=
15693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15694 conftest$ac_exeext conftest.$ac_ext
15695 LIBS=$ac_check_soname_save_LIBS
15697 if ${ac_cv_lib_soname_OSMesa:+false} :
15698 then :
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15700 printf "%s\n" "not found" >&6; }
15702 else $as_nop
15703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15704 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15706 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15710 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15711 then :
15712 case "x$with_osmesa" in
15713 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15714 xno) ;;
15715 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15716 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15717 esac
15722 if test -n "$opengl_msg"
15723 then :
15724 case "x$with_opengl" in
15725 x) as_fn_append wine_warnings "|$opengl_msg
15726 OpenGL and Direct3D won't be supported." ;;
15727 xno) ;;
15728 *) as_fn_error $? "$opengl_msg
15729 OpenGL and Direct3D won't be supported.
15730 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15731 esac
15735 CPPFLAGS="$ac_save_CPPFLAGS"
15736 else
15737 X_CFLAGS=""
15738 X_LIBS=""
15741 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15742 then
15743 if test "x$X_LIBS" = "x"
15744 then :
15745 case "x$with_x" in
15746 xno) ;;
15747 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15748 without X support, which probably isn't what you want. You will need
15749 to install ${notice_platform}development packages of Xlib at the very least.
15750 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15751 esac
15752 enable_winex11_drv=${enable_winex11_drv:-no}
15754 else
15755 if test "x$X_LIBS" = "x"
15756 then :
15757 case "x$with_x" in
15758 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15759 xno) ;;
15760 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15761 This is an error since --with-x was requested." "$LINENO" 5 ;;
15762 esac
15763 enable_winex11_drv=${enable_winex11_drv:-no}
15767 if test "x$with_wayland" != "xno"
15768 then
15769 rm -f conftest.err
15770 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15771 then :
15772 if test ${PKG_CONFIG+y}
15773 then :
15774 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15778 if ${WAYLAND_CLIENT_LIBS:+false} :
15779 then :
15780 if test ${PKG_CONFIG+y}
15781 then :
15782 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15789 if test -s conftest.err; then
15790 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15791 cat conftest.err >&5
15793 rm -f conftest.err
15794 ac_save_CPPFLAGS=$CPPFLAGS
15795 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15796 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15797 if test "x$ac_cv_header_wayland_client_h" = xyes
15798 then :
15799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15800 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15801 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15802 then :
15803 printf %s "(cached) " >&6
15804 else $as_nop
15805 ac_check_lib_save_LIBS=$LIBS
15806 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15813 char wl_display_connect ();
15815 main (void)
15817 return wl_display_connect ();
15819 return 0;
15821 _ACEOF
15822 if ac_fn_c_try_link "$LINENO"
15823 then :
15824 ac_cv_lib_wayland_client_wl_display_connect=yes
15825 else $as_nop
15826 ac_cv_lib_wayland_client_wl_display_connect=no
15828 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15829 conftest$ac_exeext conftest.$ac_ext
15830 LIBS=$ac_check_lib_save_LIBS
15832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15833 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15834 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15835 then :
15836 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15837 set dummy wayland-scanner; ac_word=$2
15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15839 printf %s "checking for $ac_word... " >&6; }
15840 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15841 then :
15842 printf %s "(cached) " >&6
15843 else $as_nop
15844 case $WAYLAND_SCANNER in
15845 [\\/]* | ?:[\\/]*)
15846 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15850 for as_dir in $PATH
15852 IFS=$as_save_IFS
15853 case $as_dir in #(((
15854 '') as_dir=./ ;;
15855 */) ;;
15856 *) as_dir=$as_dir/ ;;
15857 esac
15858 for ac_exec_ext in '' $ac_executable_extensions; do
15859 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15860 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15862 break 2
15864 done
15865 done
15866 IFS=$as_save_IFS
15868 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`"
15870 esac
15872 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15873 if test -n "$WAYLAND_SCANNER"; then
15874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15875 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15876 else
15877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15878 printf "%s\n" "no" >&6; }
15882 else $as_nop
15883 WAYLAND_CLIENT_LIBS=""
15888 CPPFLAGS=$ac_save_CPPFLAGS
15890 rm -f conftest.err
15891 if ${XKBCOMMON_CFLAGS:+false} :
15892 then :
15893 if test ${PKG_CONFIG+y}
15894 then :
15895 XKBCOMMON_CFLAGS=`$PKG_CONFIG --cflags xkbcommon 2>conftest.err`
15899 if ${XKBCOMMON_LIBS:+false} :
15900 then :
15901 if test ${PKG_CONFIG+y}
15902 then :
15903 XKBCOMMON_LIBS=`$PKG_CONFIG --libs xkbcommon 2>/dev/null`
15908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon cflags: $XKBCOMMON_CFLAGS" >&5
15909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbcommon libs: $XKBCOMMON_LIBS" >&5
15910 if test -s conftest.err; then
15911 printf %s "$as_me:${as_lineno-$LINENO}: xkbcommon errors: " >&5
15912 cat conftest.err >&5
15914 rm -f conftest.err
15915 ac_save_CPPFLAGS=$CPPFLAGS
15916 CPPFLAGS="$CPPFLAGS $XKBCOMMON_CFLAGS"
15917 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbcommon.h" "ac_cv_header_xkbcommon_xkbcommon_h" "$ac_includes_default"
15918 if test "x$ac_cv_header_xkbcommon_xkbcommon_h" = xyes
15919 then :
15920 printf "%s\n" "#define HAVE_XKBCOMMON_XKBCOMMON_H 1" >>confdefs.h
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xkb_context_new in -lxkbcommon" >&5
15925 printf %s "checking for xkb_context_new in -lxkbcommon... " >&6; }
15926 if test ${ac_cv_lib_xkbcommon_xkb_context_new+y}
15927 then :
15928 printf %s "(cached) " >&6
15929 else $as_nop
15930 ac_check_lib_save_LIBS=$LIBS
15931 LIBS="-lxkbcommon $XKBCOMMON_LIBS $LIBS"
15932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15935 /* Override any GCC internal prototype to avoid an error.
15936 Use char because int might match the return type of a GCC
15937 builtin and then its argument prototype would still apply. */
15938 char xkb_context_new ();
15940 main (void)
15942 return xkb_context_new ();
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_link "$LINENO"
15948 then :
15949 ac_cv_lib_xkbcommon_xkb_context_new=yes
15950 else $as_nop
15951 ac_cv_lib_xkbcommon_xkb_context_new=no
15953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15954 conftest$ac_exeext conftest.$ac_ext
15955 LIBS=$ac_check_lib_save_LIBS
15957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbcommon_xkb_context_new" >&5
15958 printf "%s\n" "$ac_cv_lib_xkbcommon_xkb_context_new" >&6; }
15959 if test "x$ac_cv_lib_xkbcommon_xkb_context_new" = xyes
15960 then :
15962 else $as_nop
15963 XKBCOMMON_LIBS=""
15966 CPPFLAGS=$ac_save_CPPFLAGS
15968 rm -f conftest.err
15969 if ${XKBREGISTRY_CFLAGS:+false} :
15970 then :
15971 if test ${PKG_CONFIG+y}
15972 then :
15973 XKBREGISTRY_CFLAGS=`$PKG_CONFIG --cflags xkbregistry 2>conftest.err`
15977 if ${XKBREGISTRY_LIBS:+false} :
15978 then :
15979 if test ${PKG_CONFIG+y}
15980 then :
15981 XKBREGISTRY_LIBS=`$PKG_CONFIG --libs xkbregistry 2>/dev/null`
15986 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry cflags: $XKBREGISTRY_CFLAGS" >&5
15987 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xkbregistry libs: $XKBREGISTRY_LIBS" >&5
15988 if test -s conftest.err; then
15989 printf %s "$as_me:${as_lineno-$LINENO}: xkbregistry errors: " >&5
15990 cat conftest.err >&5
15992 rm -f conftest.err
15993 ac_save_CPPFLAGS=$CPPFLAGS
15994 CPPFLAGS="$CPPFLAGS $XKBREGISTRY_CFLAGS"
15995 ac_fn_c_check_header_compile "$LINENO" "xkbcommon/xkbregistry.h" "ac_cv_header_xkbcommon_xkbregistry_h" "$ac_includes_default"
15996 if test "x$ac_cv_header_xkbcommon_xkbregistry_h" = xyes
15997 then :
15998 printf "%s\n" "#define HAVE_XKBCOMMON_XKBREGISTRY_H 1" >>confdefs.h
16002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for rxkb_context_new in -lxkbregistry" >&5
16003 printf %s "checking for rxkb_context_new in -lxkbregistry... " >&6; }
16004 if test ${ac_cv_lib_xkbregistry_rxkb_context_new+y}
16005 then :
16006 printf %s "(cached) " >&6
16007 else $as_nop
16008 ac_check_lib_save_LIBS=$LIBS
16009 LIBS="-lxkbregistry $XKBREGISTRY_LIBS $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 char rxkb_context_new ();
16018 main (void)
16020 return rxkb_context_new ();
16022 return 0;
16024 _ACEOF
16025 if ac_fn_c_try_link "$LINENO"
16026 then :
16027 ac_cv_lib_xkbregistry_rxkb_context_new=yes
16028 else $as_nop
16029 ac_cv_lib_xkbregistry_rxkb_context_new=no
16031 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_lib_save_LIBS
16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xkbregistry_rxkb_context_new" >&5
16036 printf "%s\n" "$ac_cv_lib_xkbregistry_rxkb_context_new" >&6; }
16037 if test "x$ac_cv_lib_xkbregistry_rxkb_context_new" = xyes
16038 then :
16040 else $as_nop
16041 XKBREGISTRY_LIBS=""
16044 CPPFLAGS=$ac_save_CPPFLAGS
16047 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"
16048 then :
16049 case "x$with_wayland" in
16050 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
16051 xno) ;;
16052 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
16053 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
16054 esac
16055 enable_winewayland_drv=${enable_winewayland_drv:-no}
16058 if test "$ac_cv_header_CL_cl_h" = "yes"
16059 then
16060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
16061 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
16062 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
16063 then :
16064 printf %s "(cached) " >&6
16065 else $as_nop
16066 ac_check_lib_save_LIBS=$LIBS
16067 LIBS="-lOpenCL $LIBS"
16068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16069 /* end confdefs.h. */
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16074 char clGetPlatformInfo ();
16076 main (void)
16078 return clGetPlatformInfo ();
16080 return 0;
16082 _ACEOF
16083 if ac_fn_c_try_link "$LINENO"
16084 then :
16085 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
16086 else $as_nop
16087 ac_cv_lib_OpenCL_clGetPlatformInfo=no
16089 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16090 conftest$ac_exeext conftest.$ac_ext
16091 LIBS=$ac_check_lib_save_LIBS
16093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
16094 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
16095 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
16096 then :
16097 OPENCL_LIBS="-lOpenCL"
16102 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
16103 then :
16104 case "x$with_opencl" in
16105 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
16106 xno) ;;
16107 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
16108 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
16109 esac
16110 enable_opencl=${enable_opencl:-no}
16113 if test "$ac_cv_header_pcap_pcap_h" = "yes"
16114 then
16115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
16116 printf %s "checking for pcap_init in -lpcap... " >&6; }
16117 if test ${ac_cv_lib_pcap_pcap_init+y}
16118 then :
16119 printf %s "(cached) " >&6
16120 else $as_nop
16121 ac_check_lib_save_LIBS=$LIBS
16122 LIBS="-lpcap $LIBS"
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16126 /* Override any GCC internal prototype to avoid an error.
16127 Use char because int might match the return type of a GCC
16128 builtin and then its argument prototype would still apply. */
16129 char pcap_init ();
16131 main (void)
16133 return pcap_init ();
16135 return 0;
16137 _ACEOF
16138 if ac_fn_c_try_link "$LINENO"
16139 then :
16140 ac_cv_lib_pcap_pcap_init=yes
16141 else $as_nop
16142 ac_cv_lib_pcap_pcap_init=no
16144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16145 conftest$ac_exeext conftest.$ac_ext
16146 LIBS=$ac_check_lib_save_LIBS
16148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
16149 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
16150 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
16151 then :
16152 PCAP_LIBS="-lpcap"
16157 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
16158 then :
16159 case "x$with_pcap" in
16160 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
16161 xno) ;;
16162 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
16163 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
16164 esac
16165 enable_wpcap=${enable_wpcap:-no}
16168 if test "x$with_pcsclite" != "xno"
16169 then
16170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
16171 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
16172 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
16173 then :
16174 printf %s "(cached) " >&6
16175 else $as_nop
16176 ac_check_lib_save_LIBS=$LIBS
16177 LIBS="-lpcsclite $LIBS"
16178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16179 /* end confdefs.h. */
16181 /* Override any GCC internal prototype to avoid an error.
16182 Use char because int might match the return type of a GCC
16183 builtin and then its argument prototype would still apply. */
16184 char SCardEstablishContext ();
16186 main (void)
16188 return SCardEstablishContext ();
16190 return 0;
16192 _ACEOF
16193 if ac_fn_c_try_link "$LINENO"
16194 then :
16195 ac_cv_lib_pcsclite_SCardEstablishContext=yes
16196 else $as_nop
16197 ac_cv_lib_pcsclite_SCardEstablishContext=no
16199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16200 conftest$ac_exeext conftest.$ac_ext
16201 LIBS=$ac_check_lib_save_LIBS
16203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
16204 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
16205 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
16206 then :
16207 PCSCLITE_LIBS="-lpcsclite"
16209 else $as_nop
16210 case $host_os in
16211 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
16213 esac
16217 if test "x$PCSCLITE_LIBS" = x
16218 then :
16219 case "x$with_pcsclite" in
16220 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
16221 xno) ;;
16222 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
16223 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
16224 esac
16225 enable_winscard=${enable_winscard:-no}
16228 if test "x$with_inotify" != "xno"
16229 then
16230 rm -f conftest.err
16231 if ${INOTIFY_CFLAGS:+false} :
16232 then :
16233 if test ${PKG_CONFIG+y}
16234 then :
16235 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
16239 if ${INOTIFY_LIBS:+false} :
16240 then :
16241 if test ${PKG_CONFIG+y}
16242 then :
16243 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
16248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
16249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
16250 if test -s conftest.err; then
16251 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
16252 cat conftest.err >&5
16254 rm -f conftest.err
16255 ac_save_CPPFLAGS=$CPPFLAGS
16256 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16257 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16258 if test "x$ac_cv_header_sys_inotify_h" = xyes
16259 then :
16260 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16265 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16266 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16267 then :
16268 printf %s "(cached) " >&6
16269 else $as_nop
16270 ac_check_lib_save_LIBS=$LIBS
16271 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16273 /* end confdefs.h. */
16275 /* Override any GCC internal prototype to avoid an error.
16276 Use char because int might match the return type of a GCC
16277 builtin and then its argument prototype would still apply. */
16278 char inotify_add_watch ();
16280 main (void)
16282 return inotify_add_watch ();
16284 return 0;
16286 _ACEOF
16287 if ac_fn_c_try_link "$LINENO"
16288 then :
16289 ac_cv_lib_inotify_inotify_add_watch=yes
16290 else $as_nop
16291 ac_cv_lib_inotify_inotify_add_watch=no
16293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16294 conftest$ac_exeext conftest.$ac_ext
16295 LIBS=$ac_check_lib_save_LIBS
16297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16298 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16299 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16300 then :
16302 else $as_nop
16303 INOTIFY_LIBS=""
16306 CPPFLAGS=$ac_save_CPPFLAGS
16309 if test "$ac_cv_header_sys_inotify_h" != "yes"
16310 then :
16311 case "x$with_inotify" in
16312 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16313 xno) ;;
16314 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16315 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16316 esac
16320 if test "x$with_dbus" != "xno"
16321 then
16322 rm -f conftest.err
16323 if ${DBUS_CFLAGS:+false} :
16324 then :
16325 if test ${PKG_CONFIG+y}
16326 then :
16327 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
16331 if ${DBUS_LIBS:+false} :
16332 then :
16333 if test ${PKG_CONFIG+y}
16334 then :
16335 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16340 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16341 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16342 if test -s conftest.err; then
16343 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
16344 cat conftest.err >&5
16346 rm -f conftest.err
16347 ac_save_CPPFLAGS=$CPPFLAGS
16348 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16349 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16350 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16351 then :
16352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16353 printf %s "checking for -ldbus-1... " >&6; }
16354 if test ${ac_cv_lib_soname_dbus_1+y}
16355 then :
16356 printf %s "(cached) " >&6
16357 else $as_nop
16358 ac_check_soname_save_LIBS=$LIBS
16359 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16363 /* Override any GCC internal prototype to avoid an error.
16364 Use char because int might match the return type of a GCC
16365 builtin and then its argument prototype would still apply. */
16366 char dbus_connection_close ();
16368 main (void)
16370 return dbus_connection_close ();
16372 return 0;
16374 _ACEOF
16375 if ac_fn_c_try_link "$LINENO"
16376 then :
16377 case "$LIBEXT" in
16378 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16379 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'` ;;
16380 *) 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'`
16381 if ${ac_cv_lib_soname_dbus_1:+false} :
16382 then :
16383 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16384 fi ;;
16385 esac
16386 else $as_nop
16387 ac_cv_lib_soname_dbus_1=
16389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16390 conftest$ac_exeext conftest.$ac_ext
16391 LIBS=$ac_check_soname_save_LIBS
16393 if ${ac_cv_lib_soname_dbus_1:+false} :
16394 then :
16395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16396 printf "%s\n" "not found" >&6; }
16397 DBUS_CFLAGS=""
16398 else $as_nop
16399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16400 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16402 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16406 else $as_nop
16407 DBUS_CFLAGS=""
16410 CPPFLAGS=$ac_save_CPPFLAGS
16413 case $host_os in
16414 darwin*|macosx*) ;;
16415 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16416 then :
16417 case "x$with_dbus" in
16418 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16419 xno) ;;
16420 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16421 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16422 esac
16424 fi ;;
16425 esac
16427 if test "x$with_gnutls" != "xno"
16428 then
16429 rm -f conftest.err
16430 if ${GNUTLS_CFLAGS:+false} :
16431 then :
16432 if test ${PKG_CONFIG+y}
16433 then :
16434 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16438 if ${GNUTLS_LIBS:+false} :
16439 then :
16440 if test ${PKG_CONFIG+y}
16441 then :
16442 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16446 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16449 if test -s conftest.err; then
16450 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16451 cat conftest.err >&5
16453 rm -f conftest.err
16454 ac_save_CPPFLAGS=$CPPFLAGS
16455 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16456 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16457 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16458 then :
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16460 /* end confdefs.h. */
16461 #include <gnutls/gnutls.h>
16462 #include <gnutls/crypto.h>
16464 main (void)
16466 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16468 return 0;
16470 _ACEOF
16471 if ac_fn_c_try_compile "$LINENO"
16472 then :
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16474 printf %s "checking for -lgnutls... " >&6; }
16475 if test ${ac_cv_lib_soname_gnutls+y}
16476 then :
16477 printf %s "(cached) " >&6
16478 else $as_nop
16479 ac_check_soname_save_LIBS=$LIBS
16480 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16484 /* Override any GCC internal prototype to avoid an error.
16485 Use char because int might match the return type of a GCC
16486 builtin and then its argument prototype would still apply. */
16487 char gnutls_global_init ();
16489 main (void)
16491 return gnutls_global_init ();
16493 return 0;
16495 _ACEOF
16496 if ac_fn_c_try_link "$LINENO"
16497 then :
16498 case "$LIBEXT" in
16499 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16500 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'` ;;
16501 *) 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'`
16502 if ${ac_cv_lib_soname_gnutls:+false} :
16503 then :
16504 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'`
16505 fi ;;
16506 esac
16507 else $as_nop
16508 ac_cv_lib_soname_gnutls=
16510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16511 conftest$ac_exeext conftest.$ac_ext
16512 LIBS=$ac_check_soname_save_LIBS
16514 if ${ac_cv_lib_soname_gnutls:+false} :
16515 then :
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16517 printf "%s\n" "not found" >&6; }
16518 GNUTLS_CFLAGS=""
16519 else $as_nop
16520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16521 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16523 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16527 ac_wine_check_funcs_save_LIBS="$LIBS"
16528 LIBS="$LIBS $GNUTLS_LIBS"
16530 for ac_func in gnutls_cipher_init
16531 do :
16532 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16533 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16534 then :
16535 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16537 else $as_nop
16538 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16541 done
16542 LIBS="$ac_wine_check_funcs_save_LIBS"
16544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16545 else $as_nop
16546 GNUTLS_CFLAGS=""
16549 CPPFLAGS=$ac_save_CPPFLAGS
16552 if test "x$ac_cv_lib_soname_gnutls" = "x"
16553 then :
16554 case "x$with_gnutls" in
16555 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16556 xno) ;;
16557 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16558 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16559 esac
16563 if test "x$with_sane" != "xno"
16564 then
16565 rm -f conftest.err
16566 if ${SANE_CFLAGS:+false} :
16567 then :
16568 if test ${PKG_CONFIG+y}
16569 then :
16570 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16573 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16574 if ${SANE_LIBS:+false} :
16575 then :
16576 if test ${PKG_CONFIG+y}
16577 then :
16578 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16581 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16585 if test -s conftest.err; then
16586 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16587 cat conftest.err >&5
16589 rm -f conftest.err
16590 ac_save_CPPFLAGS=$CPPFLAGS
16591 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16592 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16593 if test "x$ac_cv_header_sane_sane_h" = xyes
16594 then :
16595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16596 printf %s "checking for sane_init in -lsane... " >&6; }
16597 if test ${ac_cv_lib_sane_sane_init+y}
16598 then :
16599 printf %s "(cached) " >&6
16600 else $as_nop
16601 ac_check_lib_save_LIBS=$LIBS
16602 LIBS="-lsane $SANE_LIBS $LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16606 /* Override any GCC internal prototype to avoid an error.
16607 Use char because int might match the return type of a GCC
16608 builtin and then its argument prototype would still apply. */
16609 char sane_init ();
16611 main (void)
16613 return sane_init ();
16615 return 0;
16617 _ACEOF
16618 if ac_fn_c_try_link "$LINENO"
16619 then :
16620 ac_cv_lib_sane_sane_init=yes
16621 else $as_nop
16622 ac_cv_lib_sane_sane_init=no
16624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16625 conftest$ac_exeext conftest.$ac_ext
16626 LIBS=$ac_check_lib_save_LIBS
16628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16629 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16630 if test "x$ac_cv_lib_sane_sane_init" = xyes
16631 then :
16637 CPPFLAGS=$ac_save_CPPFLAGS
16640 if test "$ac_cv_lib_sane_sane_init" != "yes"
16641 then :
16642 case "x$with_sane" in
16643 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16644 xno) ;;
16645 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16646 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16647 esac
16648 enable_sane_ds=${enable_sane_ds:-no}
16651 if test "x$with_usb" != "xno"
16652 then
16653 rm -f conftest.err
16654 if ${USB_CFLAGS:+false} :
16655 then :
16656 if test ${PKG_CONFIG+y}
16657 then :
16658 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16662 if ${USB_LIBS:+false} :
16663 then :
16664 if test ${PKG_CONFIG+y}
16665 then :
16666 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16670 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16673 if test -s conftest.err; then
16674 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16675 cat conftest.err >&5
16677 rm -f conftest.err
16678 ac_save_CPPFLAGS=$CPPFLAGS
16679 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16680 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16681 if test "x$ac_cv_header_libusb_h" = xyes
16682 then :
16683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16684 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16685 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16686 then :
16687 printf %s "(cached) " >&6
16688 else $as_nop
16689 ac_check_lib_save_LIBS=$LIBS
16690 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16694 /* Override any GCC internal prototype to avoid an error.
16695 Use char because int might match the return type of a GCC
16696 builtin and then its argument prototype would still apply. */
16697 char libusb_interrupt_event_handler ();
16699 main (void)
16701 return libusb_interrupt_event_handler ();
16703 return 0;
16705 _ACEOF
16706 if ac_fn_c_try_link "$LINENO"
16707 then :
16708 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16709 else $as_nop
16710 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16713 conftest$ac_exeext conftest.$ac_ext
16714 LIBS=$ac_check_lib_save_LIBS
16716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16717 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16718 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16719 then :
16721 else $as_nop
16722 USB_LIBS=""
16725 else $as_nop
16726 USB_LIBS=""
16729 CPPFLAGS=$ac_save_CPPFLAGS
16732 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16733 then :
16734 case "x$with_usb" in
16735 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16736 xno) ;;
16737 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16738 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16739 esac
16740 enable_wineusb_sys=${enable_wineusb_sys:-no}
16743 if test "x$with_v4l2" != "xno"
16744 then
16745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16746 printf %s "checking for -lv4l2... " >&6; }
16747 if test ${ac_cv_lib_soname_v4l2+y}
16748 then :
16749 printf %s "(cached) " >&6
16750 else $as_nop
16751 ac_check_soname_save_LIBS=$LIBS
16752 LIBS="-lv4l2 $LIBS"
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 /* Override any GCC internal prototype to avoid an error.
16757 Use char because int might match the return type of a GCC
16758 builtin and then its argument prototype would still apply. */
16759 char v4l2_open ();
16761 main (void)
16763 return v4l2_open ();
16765 return 0;
16767 _ACEOF
16768 if ac_fn_c_try_link "$LINENO"
16769 then :
16770 case "$LIBEXT" in
16771 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16772 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'` ;;
16773 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16774 if ${ac_cv_lib_soname_v4l2:+false} :
16775 then :
16776 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16777 fi ;;
16778 esac
16779 else $as_nop
16780 ac_cv_lib_soname_v4l2=
16782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16783 conftest$ac_exeext conftest.$ac_ext
16784 LIBS=$ac_check_soname_save_LIBS
16786 if ${ac_cv_lib_soname_v4l2:+false} :
16787 then :
16788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16789 printf "%s\n" "not found" >&6; }
16791 else $as_nop
16792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16793 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16795 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16800 if test "x$ac_cv_lib_soname_v4l2" = "x"
16801 then :
16802 case "x$with_v4l2" in
16803 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16804 xno) ;;
16805 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16806 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16807 esac
16811 if test "x$with_gphoto" != "xno"
16812 then
16813 rm -f conftest.err
16814 if ${GPHOTO2_CFLAGS:+false} :
16815 then :
16816 if test ${PKG_CONFIG+y}
16817 then :
16818 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16821 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16822 if ${GPHOTO2_LIBS:+false} :
16823 then :
16824 if test ${PKG_CONFIG+y}
16825 then :
16826 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16829 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16830 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16833 if test -s conftest.err; then
16834 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16835 cat conftest.err >&5
16837 rm -f conftest.err
16838 ac_save_CPPFLAGS=$CPPFLAGS
16839 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16840 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16841 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16842 then :
16843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16844 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16845 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16846 then :
16847 printf %s "(cached) " >&6
16848 else $as_nop
16849 ac_check_lib_save_LIBS=$LIBS
16850 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16852 /* end confdefs.h. */
16854 /* Override any GCC internal prototype to avoid an error.
16855 Use char because int might match the return type of a GCC
16856 builtin and then its argument prototype would still apply. */
16857 char gp_camera_new ();
16859 main (void)
16861 return gp_camera_new ();
16863 return 0;
16865 _ACEOF
16866 if ac_fn_c_try_link "$LINENO"
16867 then :
16868 ac_cv_lib_gphoto2_gp_camera_new=yes
16869 else $as_nop
16870 ac_cv_lib_gphoto2_gp_camera_new=no
16872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16873 conftest$ac_exeext conftest.$ac_ext
16874 LIBS=$ac_check_lib_save_LIBS
16876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16877 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16878 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16879 then :
16885 CPPFLAGS=$ac_save_CPPFLAGS
16887 rm -f conftest.err
16888 if ${GPHOTO2_PORT_CFLAGS:+false} :
16889 then :
16890 if test ${PKG_CONFIG+y}
16891 then :
16892 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16895 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16896 if ${GPHOTO2_PORT_LIBS:+false} :
16897 then :
16898 if test ${PKG_CONFIG+y}
16899 then :
16900 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16903 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16904 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16907 if test -s conftest.err; then
16908 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16909 cat conftest.err >&5
16911 rm -f conftest.err
16912 ac_save_CPPFLAGS=$CPPFLAGS
16913 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16914 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16915 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16916 then :
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16918 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16919 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16920 then :
16921 printf %s "(cached) " >&6
16922 else $as_nop
16923 ac_check_lib_save_LIBS=$LIBS
16924 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931 char gp_port_info_list_new ();
16933 main (void)
16935 return gp_port_info_list_new ();
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"
16941 then :
16942 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16943 else $as_nop
16944 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16947 conftest$ac_exeext conftest.$ac_ext
16948 LIBS=$ac_check_lib_save_LIBS
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16951 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16952 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16953 then :
16955 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16957 else $as_nop
16958 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16961 else $as_nop
16962 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16965 CPPFLAGS=$ac_save_CPPFLAGS
16968 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16969 then :
16970 case "x$with_gphoto" in
16971 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16972 xno) ;;
16973 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16974 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16975 esac
16976 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16978 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16979 then :
16980 case "x$with_gphoto" in
16981 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16982 xno) ;;
16983 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16984 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16985 esac
16990 if test "$ac_cv_header_resolv_h" = "yes"
16991 then
16992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16993 printf %s "checking for resolver library... " >&6; }
16994 if test ${ac_cv_have_resolv+y}
16995 then :
16996 printf %s "(cached) " >&6
16997 else $as_nop
16998 ac_save_LIBS="$LIBS"
16999 for lib in '' -lresolv
17001 LIBS="$lib $ac_save_LIBS"
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #ifdef HAVE_NETINET_IN_H
17005 #include <netinet/in.h>
17006 #endif
17007 #include <resolv.h>
17009 main (void)
17011 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
17013 return 0;
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"
17017 then :
17018 ac_cv_have_resolv=${lib:-"none required"}
17019 else $as_nop
17020 ac_cv_have_resolv="not found"
17022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17023 conftest$ac_exeext conftest.$ac_ext
17024 test "x$ac_cv_have_resolv" = "xnot found" || break
17025 done
17026 LIBS="$ac_save_LIBS"
17028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
17029 printf "%s\n" "$ac_cv_have_resolv" >&6; }
17031 case "$ac_cv_have_resolv" in
17032 "not found") ;;
17033 "none required")
17035 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17038 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
17040 RESOLV_LIBS=$ac_cv_have_resolv
17042 esac
17044 if test "x$ac_cv_have_resolv" != "xnot found"
17045 then
17046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
17047 printf %s "checking for res_getservers... " >&6; }
17048 if test ${ac_cv_have_res_getservers+y}
17049 then :
17050 printf %s "(cached) " >&6
17051 else $as_nop
17052 ac_save_LIBS="$LIBS"
17053 LIBS="$RESOLV_LIBS $LIBS"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <resolv.h>
17058 main (void)
17060 res_getservers(NULL, NULL, 0);
17062 return 0;
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"
17066 then :
17067 ac_cv_have_res_getservers=yes
17068 else $as_nop
17069 ac_cv_have_res_getservers=no
17071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17072 conftest$ac_exeext conftest.$ac_ext
17073 LIBS="$ac_save_LIBS"
17075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
17076 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
17077 if test "$ac_cv_have_res_getservers" = "yes"
17078 then
17080 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
17086 if test "x$with_freetype" != "xno"
17087 then
17088 rm -f conftest.err
17089 if ${FREETYPE_CFLAGS:+false} :
17090 then :
17091 if test ${PKG_CONFIG+y}
17092 then :
17093 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
17096 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
17097 if ${FREETYPE_LIBS:+false} :
17098 then :
17099 if test ${PKG_CONFIG+y}
17100 then :
17101 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
17104 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
17105 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
17106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
17107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
17108 if test -s conftest.err; then
17109 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
17110 cat conftest.err >&5
17112 rm -f conftest.err
17113 ac_save_CPPFLAGS=$CPPFLAGS
17114 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
17115 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
17116 if test "x$ac_cv_header_ft2build_h" = xyes
17117 then :
17118 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
17122 if test "$ac_cv_header_ft2build_h" = "yes"
17123 then
17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
17125 printf %s "checking for -lfreetype... " >&6; }
17126 if test ${ac_cv_lib_soname_freetype+y}
17127 then :
17128 printf %s "(cached) " >&6
17129 else $as_nop
17130 ac_check_soname_save_LIBS=$LIBS
17131 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17135 /* Override any GCC internal prototype to avoid an error.
17136 Use char because int might match the return type of a GCC
17137 builtin and then its argument prototype would still apply. */
17138 char FT_Init_FreeType ();
17140 main (void)
17142 return FT_Init_FreeType ();
17144 return 0;
17146 _ACEOF
17147 if ac_fn_c_try_link "$LINENO"
17148 then :
17149 case "$LIBEXT" in
17150 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17151 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'` ;;
17152 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17153 if ${ac_cv_lib_soname_freetype:+false} :
17154 then :
17155 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17156 fi ;;
17157 esac
17158 else $as_nop
17159 ac_cv_lib_soname_freetype=
17161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17162 conftest$ac_exeext conftest.$ac_ext
17163 LIBS=$ac_check_soname_save_LIBS
17165 if ${ac_cv_lib_soname_freetype:+false} :
17166 then :
17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17168 printf "%s\n" "not found" >&6; }
17169 FREETYPE_LIBS=""
17170 else $as_nop
17171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
17172 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
17174 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
17177 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
17179 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
17180 #include FT_MODULE_H
17182 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
17183 then :
17185 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
17191 else
17192 FREETYPE_CFLAGS=""
17193 FREETYPE_LIBS=""
17195 CPPFLAGS=$ac_save_CPPFLAGS
17198 if test "x$ac_cv_lib_soname_freetype" = x
17199 then :
17200 case "x$with_freetype" in
17201 xno) ;;
17202 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
17203 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
17204 esac
17205 enable_fonts=${enable_fonts:-no}
17208 ac_wine_check_funcs_save_LIBS="$LIBS"
17209 LIBS="$LIBS $PTHREAD_LIBS"
17210 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
17211 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
17212 then :
17213 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
17217 LIBS="$ac_wine_check_funcs_save_LIBS"
17219 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
17220 then
17221 if test "$ac_cv_header_gettext_po_h" = "yes"
17222 then
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
17224 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
17225 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
17226 then :
17227 printf %s "(cached) " >&6
17228 else $as_nop
17229 ac_check_lib_save_LIBS=$LIBS
17230 LIBS="-lgettextpo $LIBS"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17234 /* Override any GCC internal prototype to avoid an error.
17235 Use char because int might match the return type of a GCC
17236 builtin and then its argument prototype would still apply. */
17237 char po_message_msgctxt ();
17239 main (void)
17241 return po_message_msgctxt ();
17243 return 0;
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"
17247 then :
17248 ac_cv_lib_gettextpo_po_message_msgctxt=yes
17249 else $as_nop
17250 ac_cv_lib_gettextpo_po_message_msgctxt=no
17252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17253 conftest$ac_exeext conftest.$ac_ext
17254 LIBS=$ac_check_lib_save_LIBS
17256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
17257 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
17258 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
17259 then :
17261 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
17263 GETTEXTPO_LIBS="-lgettextpo"
17268 if test "x$GETTEXTPO_LIBS" = "x"
17269 then :
17270 case "x$with_gettextpo" in
17271 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
17272 xno) ;;
17273 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
17274 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17275 esac
17278 if test "$srcdir" != .
17279 then :
17280 case "x$with_gettextpo" in
17281 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
17282 xno) ;;
17283 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
17284 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
17285 esac
17290 if test "x$with_pulse" != "xno";
17291 then
17292 rm -f conftest.err
17293 if ${PULSE_CFLAGS:+false} :
17294 then :
17295 if test ${PKG_CONFIG+y}
17296 then :
17297 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
17301 if ${PULSE_LIBS:+false} :
17302 then :
17303 if test ${PKG_CONFIG+y}
17304 then :
17305 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17310 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17312 if test -s conftest.err; then
17313 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
17314 cat conftest.err >&5
17316 rm -f conftest.err
17317 ac_save_CPPFLAGS=$CPPFLAGS
17318 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17319 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17320 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17321 then :
17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17323 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17324 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17325 then :
17326 printf %s "(cached) " >&6
17327 else $as_nop
17328 ac_check_lib_save_LIBS=$LIBS
17329 LIBS="-lpulse $PULSE_LIBS $LIBS"
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17333 /* Override any GCC internal prototype to avoid an error.
17334 Use char because int might match the return type of a GCC
17335 builtin and then its argument prototype would still apply. */
17336 char pa_stream_is_corked ();
17338 main (void)
17340 return pa_stream_is_corked ();
17342 return 0;
17344 _ACEOF
17345 if ac_fn_c_try_link "$LINENO"
17346 then :
17347 ac_cv_lib_pulse_pa_stream_is_corked=yes
17348 else $as_nop
17349 ac_cv_lib_pulse_pa_stream_is_corked=no
17351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17352 conftest$ac_exeext conftest.$ac_ext
17353 LIBS=$ac_check_lib_save_LIBS
17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17356 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17357 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17358 then :
17360 else $as_nop
17361 PULSE_LIBS=""
17364 else $as_nop
17365 PULSE_LIBS=""
17368 CPPFLAGS=$ac_save_CPPFLAGS
17371 if test -z "$PULSE_LIBS"
17372 then :
17373 case "x$with_pulse" in
17374 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17375 xno) ;;
17376 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17377 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17378 esac
17379 enable_winepulse_drv=${enable_winepulse_drv:-no}
17382 if test "x$with_gstreamer" != "xno"
17383 then
17384 rm -f conftest.err
17385 if ${GSTREAMER_CFLAGS:+false} :
17386 then :
17387 if test ${PKG_CONFIG+y}
17388 then :
17389 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
17393 if ${GSTREAMER_LIBS:+false} :
17394 then :
17395 if test ${PKG_CONFIG+y}
17396 then :
17397 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17402 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
17403 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
17404 if test -s conftest.err; then
17405 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17406 cat conftest.err >&5
17408 rm -f conftest.err
17409 ac_save_CPPFLAGS=$CPPFLAGS
17410 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17411 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17412 if test "x$ac_cv_header_gst_gst_h" = xyes
17413 then :
17414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17415 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #include <gst/gst.h>
17420 main (void)
17422 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17424 return 0;
17426 _ACEOF
17427 if ac_fn_c_try_compile "$LINENO"
17428 then :
17429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17430 printf "%s\n" "yes" >&6; }
17431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17432 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17433 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17434 then :
17435 printf %s "(cached) " >&6
17436 else $as_nop
17437 ac_check_lib_save_LIBS=$LIBS
17438 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17440 /* end confdefs.h. */
17442 /* Override any GCC internal prototype to avoid an error.
17443 Use char because int might match the return type of a GCC
17444 builtin and then its argument prototype would still apply. */
17445 char gst_pad_new ();
17447 main (void)
17449 return gst_pad_new ();
17451 return 0;
17453 _ACEOF
17454 if ac_fn_c_try_link "$LINENO"
17455 then :
17456 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17457 else $as_nop
17458 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17460 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17461 conftest$ac_exeext conftest.$ac_ext
17462 LIBS=$ac_check_lib_save_LIBS
17464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17465 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17466 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17467 then :
17471 else $as_nop
17472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17473 printf "%s\n" "no" >&6; }
17474 ac_glib2_broken=yes
17475 enable_winegstreamer=${enable_winegstreamer:-no}
17476 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17481 CPPFLAGS=$ac_save_CPPFLAGS
17484 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17485 then :
17486 case "x$with_gstreamer" in
17487 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17488 xno) ;;
17489 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17490 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17491 esac
17492 enable_winegstreamer=${enable_winegstreamer:-no}
17495 ALSA_LIBS=""
17497 if test "x$with_alsa" != "xno"
17498 then
17499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17500 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17501 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17502 then :
17503 printf %s "(cached) " >&6
17504 else $as_nop
17505 ac_check_lib_save_LIBS=$LIBS
17506 LIBS="-lasound $LIBS"
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17510 /* Override any GCC internal prototype to avoid an error.
17511 Use char because int might match the return type of a GCC
17512 builtin and then its argument prototype would still apply. */
17513 char snd_pcm_hw_params_get_access_mask ();
17515 main (void)
17517 return snd_pcm_hw_params_get_access_mask ();
17519 return 0;
17521 _ACEOF
17522 if ac_fn_c_try_link "$LINENO"
17523 then :
17524 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17525 else $as_nop
17526 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17529 conftest$ac_exeext conftest.$ac_ext
17530 LIBS=$ac_check_lib_save_LIBS
17532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17533 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17534 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17535 then :
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #include <alsa/asoundlib.h>
17540 main (void)
17542 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17544 return 0;
17546 _ACEOF
17547 if ac_fn_c_try_compile "$LINENO"
17548 then :
17549 ALSA_LIBS="-lasound"
17551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17555 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17557 if test "x$with_oss" != xno
17558 then
17559 ac_save_CPPFLAGS="$CPPFLAGS"
17560 if test -f /etc/oss.conf
17561 then
17562 . /etc/oss.conf
17564 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17565 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17566 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17567 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17568 then :
17569 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17571 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17572 then :
17574 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17576 OSS4_CFLAGS="$ac_oss_incl"
17578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17579 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17580 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17581 then :
17582 printf %s "(cached) " >&6
17583 else $as_nop
17584 ac_check_lib_save_LIBS=$LIBS
17585 LIBS="-lossaudio $LIBS"
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17589 /* Override any GCC internal prototype to avoid an error.
17590 Use char because int might match the return type of a GCC
17591 builtin and then its argument prototype would still apply. */
17592 char _oss_ioctl ();
17594 main (void)
17596 return _oss_ioctl ();
17598 return 0;
17600 _ACEOF
17601 if ac_fn_c_try_link "$LINENO"
17602 then :
17603 ac_cv_lib_ossaudio__oss_ioctl=yes
17604 else $as_nop
17605 ac_cv_lib_ossaudio__oss_ioctl=no
17607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17608 conftest$ac_exeext conftest.$ac_ext
17609 LIBS=$ac_check_lib_save_LIBS
17611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17612 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17613 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17614 then :
17615 OSS4_LIBS="-lossaudio"
17623 CPPFLAGS="$ac_save_CPPFLAGS"
17625 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17626 then :
17627 case "x$with_oss" in
17628 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17629 xno) ;;
17630 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17631 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17632 esac
17633 enable_wineoss_drv=${enable_wineoss_drv:-no}
17636 if test "x$with_udev" != "xno"
17637 then
17638 rm -f conftest.err
17639 if ${UDEV_CFLAGS:+false} :
17640 then :
17641 if test ${PKG_CONFIG+y}
17642 then :
17643 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17647 if ${UDEV_LIBS:+false} :
17648 then :
17649 if test ${PKG_CONFIG+y}
17650 then :
17651 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17655 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17657 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17658 if test -s conftest.err; then
17659 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17660 cat conftest.err >&5
17662 rm -f conftest.err
17663 ac_save_CPPFLAGS=$CPPFLAGS
17664 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17665 for ac_header in libudev.h
17666 do :
17667 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17668 if test "x$ac_cv_header_libudev_h" = xyes
17669 then :
17670 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17672 printf %s "checking for udev_new in -ludev... " >&6; }
17673 if test ${ac_cv_lib_udev_udev_new+y}
17674 then :
17675 printf %s "(cached) " >&6
17676 else $as_nop
17677 ac_check_lib_save_LIBS=$LIBS
17678 LIBS="-ludev $UDEV_LIBS $LIBS"
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 /* Override any GCC internal prototype to avoid an error.
17683 Use char because int might match the return type of a GCC
17684 builtin and then its argument prototype would still apply. */
17685 char udev_new ();
17687 main (void)
17689 return udev_new ();
17691 return 0;
17693 _ACEOF
17694 if ac_fn_c_try_link "$LINENO"
17695 then :
17696 ac_cv_lib_udev_udev_new=yes
17697 else $as_nop
17698 ac_cv_lib_udev_udev_new=no
17700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17701 conftest$ac_exeext conftest.$ac_ext
17702 LIBS=$ac_check_lib_save_LIBS
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17705 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17706 if test "x$ac_cv_lib_udev_udev_new" = xyes
17707 then :
17709 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17711 else $as_nop
17712 UDEV_LIBS=""
17715 else $as_nop
17716 UDEV_LIBS=""
17719 done
17720 CPPFLAGS=$ac_save_CPPFLAGS
17723 if test "x$UDEV_LIBS" = "x"
17724 then :
17725 case "x$with_udev" in
17726 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17727 xno) ;;
17728 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17729 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17730 esac
17734 if test "x$with_unwind" != xno
17735 then
17736 rm -f conftest.err
17737 if ${UNWIND_CFLAGS:+false} :
17738 then :
17739 if test ${PKG_CONFIG+y}
17740 then :
17741 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17745 if ${UNWIND_LIBS:+false} :
17746 then :
17747 if test ${PKG_CONFIG+y}
17748 then :
17749 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17753 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17756 if test -s conftest.err; then
17757 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17758 cat conftest.err >&5
17760 rm -f conftest.err
17761 ac_save_CPPFLAGS=$CPPFLAGS
17762 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17764 printf %s "checking for unw_step... " >&6; }
17765 if test ${wine_cv_have_unw_step+y}
17766 then :
17767 printf %s "(cached) " >&6
17768 else $as_nop
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 #define UNW_LOCAL_ONLY
17772 #include <libunwind.h>
17774 main (void)
17776 unw_cursor_t cursor; unw_step( &cursor );
17778 return 0;
17780 _ACEOF
17781 if ac_fn_c_try_link "$LINENO"
17782 then :
17783 wine_cv_have_unw_step="yes"
17784 else $as_nop
17785 wine_cv_have_unw_step="no"
17787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17788 conftest$ac_exeext conftest.$ac_ext
17790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17791 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17792 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17793 then
17794 save_libs=$LIBS
17795 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17796 LIBS="$UNWIND_LIBS $LIBS"
17797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17798 printf %s "checking for unw_step in libunwind... " >&6; }
17799 if test ${wine_cv_have_libunwind_unw_step+y}
17800 then :
17801 printf %s "(cached) " >&6
17802 else $as_nop
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #define UNW_LOCAL_ONLY
17806 #include <libunwind.h>
17808 main (void)
17810 unw_cursor_t cursor; unw_step( &cursor );
17812 return 0;
17814 _ACEOF
17815 if ac_fn_c_try_link "$LINENO"
17816 then :
17817 wine_cv_have_libunwind_unw_step="yes"
17818 else $as_nop
17819 wine_cv_have_libunwind_unw_step="no"
17821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17822 conftest$ac_exeext conftest.$ac_ext
17824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17825 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17826 LIBS=$save_libs
17828 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17829 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17830 then
17832 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17835 CPPFLAGS=$ac_save_CPPFLAGS
17838 case $host in
17839 aarch64*|*-darwin*)
17840 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17841 then :
17842 case "x$with_unwind" in
17843 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17844 xno) ;;
17845 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17846 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17847 esac
17849 fi ;;
17850 esac
17852 if test "x$with_sdl" != "xno"
17853 then
17854 rm -f conftest.err
17855 if ${SDL2_CFLAGS:+false} :
17856 then :
17857 if test ${PKG_CONFIG+y}
17858 then :
17859 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17863 if ${SDL2_LIBS:+false} :
17864 then :
17865 if test ${PKG_CONFIG+y}
17866 then :
17867 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17871 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17874 if test -s conftest.err; then
17875 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17876 cat conftest.err >&5
17878 rm -f conftest.err
17879 ac_save_CPPFLAGS=$CPPFLAGS
17880 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17881 for ac_header in SDL.h
17882 do :
17883 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17884 if test "x$ac_cv_header_SDL_h" = xyes
17885 then :
17886 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17888 printf %s "checking for -lSDL2... " >&6; }
17889 if test ${ac_cv_lib_soname_SDL2+y}
17890 then :
17891 printf %s "(cached) " >&6
17892 else $as_nop
17893 ac_check_soname_save_LIBS=$LIBS
17894 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17898 /* Override any GCC internal prototype to avoid an error.
17899 Use char because int might match the return type of a GCC
17900 builtin and then its argument prototype would still apply. */
17901 char SDL_Init ();
17903 main (void)
17905 return SDL_Init ();
17907 return 0;
17909 _ACEOF
17910 if ac_fn_c_try_link "$LINENO"
17911 then :
17912 case "$LIBEXT" in
17913 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17914 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'` ;;
17915 *) 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'`
17916 if ${ac_cv_lib_soname_SDL2:+false} :
17917 then :
17918 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17919 fi ;;
17920 esac
17921 else $as_nop
17922 ac_cv_lib_soname_SDL2=
17924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17925 conftest$ac_exeext conftest.$ac_ext
17926 LIBS=$ac_check_soname_save_LIBS
17928 if ${ac_cv_lib_soname_SDL2:+false} :
17929 then :
17930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17931 printf "%s\n" "not found" >&6; }
17933 else $as_nop
17934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17935 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17937 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17943 done
17944 CPPFLAGS=$ac_save_CPPFLAGS
17947 if test "x$ac_cv_lib_soname_SDL2" = "x"
17948 then :
17949 case "x$with_sdl" in
17950 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17951 xno) ;;
17952 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17953 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17954 esac
17958 if test "x$with_capi" != "xno"
17959 then
17960 rm -f conftest.err
17961 if ${CAPI20_CFLAGS:+false} :
17962 then :
17963 if test ${PKG_CONFIG+y}
17964 then :
17965 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17969 if ${CAPI20_LIBS:+false} :
17970 then :
17971 if test ${PKG_CONFIG+y}
17972 then :
17973 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17980 if test -s conftest.err; then
17981 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17982 cat conftest.err >&5
17984 rm -f conftest.err
17985 ac_save_CPPFLAGS=$CPPFLAGS
17986 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17987 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17989 if test "x$ac_cv_header_capi20_h" = xyes
17990 then :
17991 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17994 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17996 if test "x$ac_cv_header_linux_capi_h" = xyes
17997 then :
17998 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
18002 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
18003 then
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
18005 printf %s "checking for capi20_register in -lcapi20... " >&6; }
18006 if test ${ac_cv_lib_capi20_capi20_register+y}
18007 then :
18008 printf %s "(cached) " >&6
18009 else $as_nop
18010 ac_check_lib_save_LIBS=$LIBS
18011 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
18012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18013 /* end confdefs.h. */
18015 /* Override any GCC internal prototype to avoid an error.
18016 Use char because int might match the return type of a GCC
18017 builtin and then its argument prototype would still apply. */
18018 char capi20_register ();
18020 main (void)
18022 return capi20_register ();
18024 return 0;
18026 _ACEOF
18027 if ac_fn_c_try_link "$LINENO"
18028 then :
18029 ac_cv_lib_capi20_capi20_register=yes
18030 else $as_nop
18031 ac_cv_lib_capi20_capi20_register=no
18033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_lib_save_LIBS
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
18038 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
18039 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
18040 then :
18042 else $as_nop
18043 CAPI20_LIBS=""
18047 CPPFLAGS=$ac_save_CPPFLAGS
18050 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
18051 then :
18052 case "x$with_capi" in
18053 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
18054 xno) ;;
18055 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
18056 This is an error since --with-capi was requested." "$LINENO" 5 ;;
18057 esac
18058 enable_capi2032=${enable_capi2032:-no}
18061 if test "x$with_cups" != "xno"
18062 then
18063 rm -f conftest.err
18064 if ${CUPS_CFLAGS:+false} :
18065 then :
18066 if test ${PKG_CONFIG+y}
18067 then :
18068 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
18071 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
18072 if ${CUPS_LIBS:+false} :
18073 then :
18074 if test ${PKG_CONFIG+y}
18075 then :
18076 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
18079 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
18080 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
18081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
18082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
18083 if test -s conftest.err; then
18084 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
18085 cat conftest.err >&5
18087 rm -f conftest.err
18088 ac_save_CPPFLAGS=$CPPFLAGS
18089 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
18090 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
18091 if test "x$ac_cv_header_cups_cups_h" = xyes
18092 then :
18093 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
18096 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
18097 if test "x$ac_cv_header_cups_ppd_h" = xyes
18098 then :
18099 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
18103 if test "$ac_cv_header_cups_cups_h" = "yes"
18104 then
18105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
18106 printf %s "checking for -lcups... " >&6; }
18107 if test ${ac_cv_lib_soname_cups+y}
18108 then :
18109 printf %s "(cached) " >&6
18110 else $as_nop
18111 ac_check_soname_save_LIBS=$LIBS
18112 LIBS="-lcups $CUPS_LIBS $LIBS"
18113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18114 /* end confdefs.h. */
18116 /* Override any GCC internal prototype to avoid an error.
18117 Use char because int might match the return type of a GCC
18118 builtin and then its argument prototype would still apply. */
18119 char cupsGetDefault ();
18121 main (void)
18123 return cupsGetDefault ();
18125 return 0;
18127 _ACEOF
18128 if ac_fn_c_try_link "$LINENO"
18129 then :
18130 case "$LIBEXT" in
18131 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18132 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'` ;;
18133 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18134 if ${ac_cv_lib_soname_cups:+false} :
18135 then :
18136 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18137 fi ;;
18138 esac
18139 else $as_nop
18140 ac_cv_lib_soname_cups=
18142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18143 conftest$ac_exeext conftest.$ac_ext
18144 LIBS=$ac_check_soname_save_LIBS
18146 if ${ac_cv_lib_soname_cups:+false} :
18147 then :
18148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18149 printf "%s\n" "not found" >&6; }
18150 CUPS_LIBS=""
18151 else $as_nop
18152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
18153 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
18155 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
18159 else
18160 CUPS_CFLAGS=""
18161 CUPS_LIBS=""
18163 CPPFLAGS=$ac_save_CPPFLAGS
18166 if test "x$ac_cv_lib_soname_cups" = "x"
18167 then :
18168 case "x$with_cups" in
18169 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
18170 xno) ;;
18171 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
18172 This is an error since --with-cups was requested." "$LINENO" 5 ;;
18173 esac
18177 if test "x$with_fontconfig" != "xno"
18178 then
18179 rm -f conftest.err
18180 if ${FONTCONFIG_CFLAGS:+false} :
18181 then :
18182 if test ${PKG_CONFIG+y}
18183 then :
18184 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
18187 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
18188 if ${FONTCONFIG_LIBS:+false} :
18189 then :
18190 if test ${PKG_CONFIG+y}
18191 then :
18192 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
18195 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
18197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
18198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
18199 if test -s conftest.err; then
18200 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
18201 cat conftest.err >&5
18203 rm -f conftest.err
18204 ac_save_CPPFLAGS=$CPPFLAGS
18205 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
18206 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
18207 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
18208 then :
18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
18210 printf %s "checking for -lfontconfig... " >&6; }
18211 if test ${ac_cv_lib_soname_fontconfig+y}
18212 then :
18213 printf %s "(cached) " >&6
18214 else $as_nop
18215 ac_check_soname_save_LIBS=$LIBS
18216 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
18217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18218 /* end confdefs.h. */
18220 /* Override any GCC internal prototype to avoid an error.
18221 Use char because int might match the return type of a GCC
18222 builtin and then its argument prototype would still apply. */
18223 char FcInit ();
18225 main (void)
18227 return FcInit ();
18229 return 0;
18231 _ACEOF
18232 if ac_fn_c_try_link "$LINENO"
18233 then :
18234 case "$LIBEXT" in
18235 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18236 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'` ;;
18237 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18238 if ${ac_cv_lib_soname_fontconfig:+false} :
18239 then :
18240 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18241 fi ;;
18242 esac
18243 else $as_nop
18244 ac_cv_lib_soname_fontconfig=
18246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18247 conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_soname_save_LIBS
18250 if ${ac_cv_lib_soname_fontconfig:+false} :
18251 then :
18252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18253 printf "%s\n" "not found" >&6; }
18254 FONTCONFIG_CFLAGS=""
18255 else $as_nop
18256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
18257 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
18259 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
18263 else $as_nop
18264 FONTCONFIG_CFLAGS=""
18267 CPPFLAGS=$ac_save_CPPFLAGS
18270 if test "x$ac_cv_lib_soname_fontconfig" = "x"
18271 then :
18272 case "x$with_fontconfig" in
18273 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
18274 xno) ;;
18275 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
18276 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
18277 esac
18281 if test "x$with_krb5" != "xno"
18282 then
18283 rm -f conftest.err
18284 if ${KRB5_CFLAGS:+false} :
18285 then :
18286 if test ${PKG_CONFIG+y}
18287 then :
18288 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
18291 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
18292 if ${KRB5_LIBS:+false} :
18293 then :
18294 if test ${PKG_CONFIG+y}
18295 then :
18296 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
18299 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
18301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
18302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
18303 if test -s conftest.err; then
18304 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
18305 cat conftest.err >&5
18307 rm -f conftest.err
18308 ac_save_CPPFLAGS=$CPPFLAGS
18309 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
18310 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
18311 if test "x$ac_cv_header_krb5_krb5_h" = xyes
18312 then :
18313 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
18317 if test "$ac_cv_header_krb5_krb5_h" = "yes"
18318 then
18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
18320 printf %s "checking for -lkrb5... " >&6; }
18321 if test ${ac_cv_lib_soname_krb5+y}
18322 then :
18323 printf %s "(cached) " >&6
18324 else $as_nop
18325 ac_check_soname_save_LIBS=$LIBS
18326 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 /* Override any GCC internal prototype to avoid an error.
18331 Use char because int might match the return type of a GCC
18332 builtin and then its argument prototype would still apply. */
18333 char krb5_is_config_principal ();
18335 main (void)
18337 return krb5_is_config_principal ();
18339 return 0;
18341 _ACEOF
18342 if ac_fn_c_try_link "$LINENO"
18343 then :
18344 case "$LIBEXT" in
18345 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18346 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'` ;;
18347 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18348 if ${ac_cv_lib_soname_krb5:+false} :
18349 then :
18350 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18351 fi ;;
18352 esac
18353 else $as_nop
18354 ac_cv_lib_soname_krb5=
18356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18357 conftest$ac_exeext conftest.$ac_ext
18358 LIBS=$ac_check_soname_save_LIBS
18360 if ${ac_cv_lib_soname_krb5:+false} :
18361 then :
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18363 printf "%s\n" "not found" >&6; }
18364 KRB5_CFLAGS=""
18365 else $as_nop
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18367 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18369 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18373 else
18374 KRB5_CFLAGS=""
18376 CPPFLAGS=$ac_save_CPPFLAGS
18379 if test "x$ac_cv_lib_soname_krb5" = "x"
18380 then :
18381 case "x$with_krb5" in
18382 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18383 xno) ;;
18384 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18385 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18386 esac
18389 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18391 if test "x$with_gssapi" != "xno"
18392 then
18393 rm -f conftest.err
18394 if ${GSSAPI_CFLAGS:+false} :
18395 then :
18396 if test ${PKG_CONFIG+y}
18397 then :
18398 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18401 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18402 if ${GSSAPI_LIBS:+false} :
18403 then :
18404 if test ${PKG_CONFIG+y}
18405 then :
18406 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18409 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18411 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18413 if test -s conftest.err; then
18414 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18415 cat conftest.err >&5
18417 rm -f conftest.err
18418 ac_save_CPPFLAGS=$CPPFLAGS
18419 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18420 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18421 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18422 then :
18423 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18426 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18427 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18428 then :
18429 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18433 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18434 then
18435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18436 printf %s "checking for -lgssapi_krb5... " >&6; }
18437 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18438 then :
18439 printf %s "(cached) " >&6
18440 else $as_nop
18441 ac_check_soname_save_LIBS=$LIBS
18442 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18446 /* Override any GCC internal prototype to avoid an error.
18447 Use char because int might match the return type of a GCC
18448 builtin and then its argument prototype would still apply. */
18449 char gss_init_sec_context ();
18451 main (void)
18453 return gss_init_sec_context ();
18455 return 0;
18457 _ACEOF
18458 if ac_fn_c_try_link "$LINENO"
18459 then :
18460 case "$LIBEXT" in
18461 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18462 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'` ;;
18463 *) 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'`
18464 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18465 then :
18466 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18467 fi ;;
18468 esac
18469 else $as_nop
18470 ac_cv_lib_soname_gssapi_krb5=
18472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18473 conftest$ac_exeext conftest.$ac_ext
18474 LIBS=$ac_check_soname_save_LIBS
18476 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18477 then :
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18479 printf "%s\n" "not found" >&6; }
18480 GSSAPI_CFLAGS=""
18481 else $as_nop
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18483 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18485 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18489 else
18490 GSSAPI_CFLAGS=""
18492 CPPFLAGS=$ac_save_CPPFLAGS
18495 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18496 then :
18497 case "x$with_gssapi" in
18498 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18499 xno) ;;
18500 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18501 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18502 esac
18506 if test "$ac_cv_header_libprocstat_h" = "yes"
18507 then
18508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18509 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18510 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18511 then :
18512 printf %s "(cached) " >&6
18513 else $as_nop
18514 ac_check_lib_save_LIBS=$LIBS
18515 LIBS="-lprocstat $LIBS"
18516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18517 /* end confdefs.h. */
18519 /* Override any GCC internal prototype to avoid an error.
18520 Use char because int might match the return type of a GCC
18521 builtin and then its argument prototype would still apply. */
18522 char procstat_open_sysctl ();
18524 main (void)
18526 return procstat_open_sysctl ();
18528 return 0;
18530 _ACEOF
18531 if ac_fn_c_try_link "$LINENO"
18532 then :
18533 ac_cv_lib_procstat_procstat_open_sysctl=yes
18534 else $as_nop
18535 ac_cv_lib_procstat_procstat_open_sysctl=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18538 conftest$ac_exeext conftest.$ac_ext
18539 LIBS=$ac_check_lib_save_LIBS
18541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18542 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18543 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18544 then :
18546 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18548 PROCSTAT_LIBS="-lprocstat"
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18555 printf %s "checking for -lodbc... " >&6; }
18556 if test ${ac_cv_lib_soname_odbc+y}
18557 then :
18558 printf %s "(cached) " >&6
18559 else $as_nop
18560 ac_check_soname_save_LIBS=$LIBS
18561 LIBS="-lodbc $LIBS"
18562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 /* Override any GCC internal prototype to avoid an error.
18566 Use char because int might match the return type of a GCC
18567 builtin and then its argument prototype would still apply. */
18568 char SQLConnect ();
18570 main (void)
18572 return SQLConnect ();
18574 return 0;
18576 _ACEOF
18577 if ac_fn_c_try_link "$LINENO"
18578 then :
18579 case "$LIBEXT" in
18580 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18581 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'` ;;
18582 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18583 if ${ac_cv_lib_soname_odbc:+false} :
18584 then :
18585 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18586 fi ;;
18587 esac
18588 else $as_nop
18589 ac_cv_lib_soname_odbc=
18591 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18592 conftest$ac_exeext conftest.$ac_ext
18593 LIBS=$ac_check_soname_save_LIBS
18595 if ${ac_cv_lib_soname_odbc:+false} :
18596 then :
18597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18598 printf "%s\n" "not found" >&6; }
18599 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18601 else $as_nop
18602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18603 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18605 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18610 if test "x$with_netapi" != "xno"
18611 then
18612 rm -f conftest.err
18613 if ${NETAPI_CFLAGS:+false} :
18614 then :
18615 if test ${PKG_CONFIG+y}
18616 then :
18617 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18621 if ${NETAPI_LIBS:+false} :
18622 then :
18623 if test ${PKG_CONFIG+y}
18624 then :
18625 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18632 if test -s conftest.err; then
18633 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18634 cat conftest.err >&5
18636 rm -f conftest.err
18637 ac_save_CPPFLAGS=$CPPFLAGS
18638 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18640 printf %s "checking for -lnetapi... " >&6; }
18641 if test ${ac_cv_lib_soname_netapi+y}
18642 then :
18643 printf %s "(cached) " >&6
18644 else $as_nop
18645 ac_check_soname_save_LIBS=$LIBS
18646 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18650 /* Override any GCC internal prototype to avoid an error.
18651 Use char because int might match the return type of a GCC
18652 builtin and then its argument prototype would still apply. */
18653 char libnetapi_init ();
18655 main (void)
18657 return libnetapi_init ();
18659 return 0;
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"
18663 then :
18664 case "$LIBEXT" in
18665 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18666 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'` ;;
18667 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18668 if ${ac_cv_lib_soname_netapi:+false} :
18669 then :
18670 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18671 fi ;;
18672 esac
18673 else $as_nop
18674 ac_cv_lib_soname_netapi=
18676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18677 conftest$ac_exeext conftest.$ac_ext
18678 LIBS=$ac_check_soname_save_LIBS
18680 if ${ac_cv_lib_soname_netapi:+false} :
18681 then :
18682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18683 printf "%s\n" "not found" >&6; }
18684 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18686 else $as_nop
18687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18688 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18690 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18694 CPPFLAGS=$ac_save_CPPFLAGS
18697 if test "x$ac_cv_lib_soname_netapi" = "x"
18698 then :
18699 case "x$with_netapi" in
18700 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18701 xno) ;;
18702 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18703 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18704 esac
18705 enable_netapi=${enable_netapi:-no}
18709 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18710 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18711 then
18712 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18715 if test "x$with_vulkan" != "xno"
18716 then
18717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18718 printf %s "checking for -lvulkan... " >&6; }
18719 if test ${ac_cv_lib_soname_vulkan+y}
18720 then :
18721 printf %s "(cached) " >&6
18722 else $as_nop
18723 ac_check_soname_save_LIBS=$LIBS
18724 LIBS="-lvulkan $LIBS"
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18728 /* Override any GCC internal prototype to avoid an error.
18729 Use char because int might match the return type of a GCC
18730 builtin and then its argument prototype would still apply. */
18731 char vkGetInstanceProcAddr ();
18733 main (void)
18735 return vkGetInstanceProcAddr ();
18737 return 0;
18739 _ACEOF
18740 if ac_fn_c_try_link "$LINENO"
18741 then :
18742 case "$LIBEXT" in
18743 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18744 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'` ;;
18745 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18746 if ${ac_cv_lib_soname_vulkan:+false} :
18747 then :
18748 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18749 fi ;;
18750 esac
18751 else $as_nop
18752 ac_cv_lib_soname_vulkan=
18754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18755 conftest$ac_exeext conftest.$ac_ext
18756 LIBS=$ac_check_soname_save_LIBS
18758 if ${ac_cv_lib_soname_vulkan:+false} :
18759 then :
18760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18761 printf "%s\n" "not found" >&6; }
18763 else $as_nop
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18765 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18767 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18771 if test "x$ac_cv_lib_soname_vulkan" = "x"
18772 then
18773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18774 printf %s "checking for -lMoltenVK... " >&6; }
18775 if test ${ac_cv_lib_soname_MoltenVK+y}
18776 then :
18777 printf %s "(cached) " >&6
18778 else $as_nop
18779 ac_check_soname_save_LIBS=$LIBS
18780 LIBS="-lMoltenVK $LIBS"
18781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18782 /* end confdefs.h. */
18784 /* Override any GCC internal prototype to avoid an error.
18785 Use char because int might match the return type of a GCC
18786 builtin and then its argument prototype would still apply. */
18787 char vkGetInstanceProcAddr ();
18789 main (void)
18791 return vkGetInstanceProcAddr ();
18793 return 0;
18795 _ACEOF
18796 if ac_fn_c_try_link "$LINENO"
18797 then :
18798 case "$LIBEXT" in
18799 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18800 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'` ;;
18801 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18802 if ${ac_cv_lib_soname_MoltenVK:+false} :
18803 then :
18804 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18805 fi ;;
18806 esac
18807 else $as_nop
18808 ac_cv_lib_soname_MoltenVK=
18810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18811 conftest$ac_exeext conftest.$ac_ext
18812 LIBS=$ac_check_soname_save_LIBS
18814 if ${ac_cv_lib_soname_MoltenVK:+false} :
18815 then :
18816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18817 printf "%s\n" "not found" >&6; }
18819 else $as_nop
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18821 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18823 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18829 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18830 then :
18831 case "x$with_vulkan" in
18832 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18833 xno) ;;
18834 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18835 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18836 esac
18841 if test "x${GCC}" = "xyes"
18842 then
18843 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18845 saved_CFLAGS=$CFLAGS
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18847 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18848 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18849 then :
18850 printf %s "(cached) " >&6
18851 else $as_nop
18852 ac_wine_try_cflags_saved=$CFLAGS
18853 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int main(int argc, char **argv) { return 0; }
18857 _ACEOF
18858 if ac_fn_c_try_link "$LINENO"
18859 then :
18860 ac_cv_cflags__Werror_unknown_warning_option=yes
18861 else $as_nop
18862 ac_cv_cflags__Werror_unknown_warning_option=no
18864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18865 conftest$ac_exeext conftest.$ac_ext
18866 CFLAGS=$ac_wine_try_cflags_saved
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18869 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18870 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18871 then :
18872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18875 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18876 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18877 then :
18878 printf %s "(cached) " >&6
18879 else $as_nop
18880 ac_wine_try_cflags_saved=$CFLAGS
18881 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 int main(int argc, char **argv) { return 0; }
18885 _ACEOF
18886 if ac_fn_c_try_link "$LINENO"
18887 then :
18888 ac_cv_cflags__Werror_unused_command_line_argument=yes
18889 else $as_nop
18890 ac_cv_cflags__Werror_unused_command_line_argument=no
18892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18893 conftest$ac_exeext conftest.$ac_ext
18894 CFLAGS=$ac_wine_try_cflags_saved
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18897 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18898 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18899 then :
18900 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18903 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18904 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18905 then :
18906 printf %s "(cached) " >&6
18907 else $as_nop
18908 ac_wine_try_cflags_saved=$CFLAGS
18909 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 int main(int argc, char **argv) { return 0; }
18913 _ACEOF
18914 if ac_fn_c_try_link "$LINENO"
18915 then :
18916 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18917 else $as_nop
18918 ac_cv_cflags__Werror_ignored_optimization_argument=no
18920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18921 conftest$ac_exeext conftest.$ac_ext
18922 CFLAGS=$ac_wine_try_cflags_saved
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18925 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18926 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18927 then :
18928 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18931 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18932 if test ${ac_cv_cflags__fcf_protection_none+y}
18933 then :
18934 printf %s "(cached) " >&6
18935 else $as_nop
18936 ac_wine_try_cflags_saved=$CFLAGS
18937 CFLAGS="$CFLAGS -fcf-protection=none"
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 int main(int argc, char **argv) { return 0; }
18941 _ACEOF
18942 if ac_fn_c_try_link "$LINENO"
18943 then :
18944 ac_cv_cflags__fcf_protection_none=yes
18945 else $as_nop
18946 ac_cv_cflags__fcf_protection_none=no
18948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18949 conftest$ac_exeext conftest.$ac_ext
18950 CFLAGS=$ac_wine_try_cflags_saved
18952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18953 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18954 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18955 then :
18956 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
18959 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
18960 if test ${ac_cv_cflags__fvisibility_hidden+y}
18961 then :
18962 printf %s "(cached) " >&6
18963 else $as_nop
18964 ac_wine_try_cflags_saved=$CFLAGS
18965 CFLAGS="$CFLAGS -fvisibility=hidden"
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 int main(int argc, char **argv) { return 0; }
18969 _ACEOF
18970 if ac_fn_c_try_link "$LINENO"
18971 then :
18972 ac_cv_cflags__fvisibility_hidden=yes
18973 else $as_nop
18974 ac_cv_cflags__fvisibility_hidden=no
18976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18977 conftest$ac_exeext conftest.$ac_ext
18978 CFLAGS=$ac_wine_try_cflags_saved
18980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
18981 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
18982 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
18983 then :
18984 EXTRACFLAGS="$EXTRACFLAGS -fvisibility=hidden"
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18987 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18988 if test ${ac_cv_cflags__fno_stack_protector+y}
18989 then :
18990 printf %s "(cached) " >&6
18991 else $as_nop
18992 ac_wine_try_cflags_saved=$CFLAGS
18993 CFLAGS="$CFLAGS -fno-stack-protector"
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 int main(int argc, char **argv) { return 0; }
18997 _ACEOF
18998 if ac_fn_c_try_link "$LINENO"
18999 then :
19000 ac_cv_cflags__fno_stack_protector=yes
19001 else $as_nop
19002 ac_cv_cflags__fno_stack_protector=no
19004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19005 conftest$ac_exeext conftest.$ac_ext
19006 CFLAGS=$ac_wine_try_cflags_saved
19008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
19009 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
19010 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
19011 then :
19012 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
19014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
19015 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
19016 if test ${ac_cv_cflags__fno_strict_aliasing+y}
19017 then :
19018 printf %s "(cached) " >&6
19019 else $as_nop
19020 ac_wine_try_cflags_saved=$CFLAGS
19021 CFLAGS="$CFLAGS -fno-strict-aliasing"
19022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19023 /* end confdefs.h. */
19024 int main(int argc, char **argv) { return 0; }
19025 _ACEOF
19026 if ac_fn_c_try_link "$LINENO"
19027 then :
19028 ac_cv_cflags__fno_strict_aliasing=yes
19029 else $as_nop
19030 ac_cv_cflags__fno_strict_aliasing=no
19032 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19033 conftest$ac_exeext conftest.$ac_ext
19034 CFLAGS=$ac_wine_try_cflags_saved
19036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
19037 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
19038 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
19039 then :
19040 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
19043 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
19044 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
19045 then :
19046 printf %s "(cached) " >&6
19047 else $as_nop
19048 ac_wine_try_cflags_saved=$CFLAGS
19049 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h. */
19052 int main(int argc, char **argv) { return 0; }
19053 _ACEOF
19054 if ac_fn_c_try_link "$LINENO"
19055 then :
19056 ac_cv_cflags__Wdeclaration_after_statement=yes
19057 else $as_nop
19058 ac_cv_cflags__Wdeclaration_after_statement=no
19060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19061 conftest$ac_exeext conftest.$ac_ext
19062 CFLAGS=$ac_wine_try_cflags_saved
19064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
19065 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
19066 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
19067 then :
19068 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
19071 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
19072 if test ${ac_cv_cflags__Wempty_body+y}
19073 then :
19074 printf %s "(cached) " >&6
19075 else $as_nop
19076 ac_wine_try_cflags_saved=$CFLAGS
19077 CFLAGS="$CFLAGS -Wempty-body"
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 int main(int argc, char **argv) { return 0; }
19081 _ACEOF
19082 if ac_fn_c_try_link "$LINENO"
19083 then :
19084 ac_cv_cflags__Wempty_body=yes
19085 else $as_nop
19086 ac_cv_cflags__Wempty_body=no
19088 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19089 conftest$ac_exeext conftest.$ac_ext
19090 CFLAGS=$ac_wine_try_cflags_saved
19092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
19093 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
19094 if test "x$ac_cv_cflags__Wempty_body" = xyes
19095 then :
19096 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
19098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
19099 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
19100 if test ${ac_cv_cflags__Wignored_qualifiers+y}
19101 then :
19102 printf %s "(cached) " >&6
19103 else $as_nop
19104 ac_wine_try_cflags_saved=$CFLAGS
19105 CFLAGS="$CFLAGS -Wignored-qualifiers"
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19108 int main(int argc, char **argv) { return 0; }
19109 _ACEOF
19110 if ac_fn_c_try_link "$LINENO"
19111 then :
19112 ac_cv_cflags__Wignored_qualifiers=yes
19113 else $as_nop
19114 ac_cv_cflags__Wignored_qualifiers=no
19116 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19117 conftest$ac_exeext conftest.$ac_ext
19118 CFLAGS=$ac_wine_try_cflags_saved
19120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
19121 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
19122 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
19123 then :
19124 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
19126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
19127 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
19128 if test ${ac_cv_cflags__Winit_self+y}
19129 then :
19130 printf %s "(cached) " >&6
19131 else $as_nop
19132 ac_wine_try_cflags_saved=$CFLAGS
19133 CFLAGS="$CFLAGS -Winit-self"
19134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19135 /* end confdefs.h. */
19136 int main(int argc, char **argv) { return 0; }
19137 _ACEOF
19138 if ac_fn_c_try_link "$LINENO"
19139 then :
19140 ac_cv_cflags__Winit_self=yes
19141 else $as_nop
19142 ac_cv_cflags__Winit_self=no
19144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19145 conftest$ac_exeext conftest.$ac_ext
19146 CFLAGS=$ac_wine_try_cflags_saved
19148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
19149 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
19150 if test "x$ac_cv_cflags__Winit_self" = xyes
19151 then :
19152 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
19155 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
19156 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
19157 then :
19158 printf %s "(cached) " >&6
19159 else $as_nop
19160 ac_wine_try_cflags_saved=$CFLAGS
19161 CFLAGS="$CFLAGS -Wpacked-not-aligned"
19162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19163 /* end confdefs.h. */
19164 int main(int argc, char **argv) { return 0; }
19165 _ACEOF
19166 if ac_fn_c_try_link "$LINENO"
19167 then :
19168 ac_cv_cflags__Wpacked_not_aligned=yes
19169 else $as_nop
19170 ac_cv_cflags__Wpacked_not_aligned=no
19172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19173 conftest$ac_exeext conftest.$ac_ext
19174 CFLAGS=$ac_wine_try_cflags_saved
19176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
19177 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
19178 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
19179 then :
19180 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
19183 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
19184 if test ${ac_cv_cflags__Wpragma_pack+y}
19185 then :
19186 printf %s "(cached) " >&6
19187 else $as_nop
19188 ac_wine_try_cflags_saved=$CFLAGS
19189 CFLAGS="$CFLAGS -Wpragma-pack"
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 int main(int argc, char **argv) { return 0; }
19193 _ACEOF
19194 if ac_fn_c_try_link "$LINENO"
19195 then :
19196 ac_cv_cflags__Wpragma_pack=yes
19197 else $as_nop
19198 ac_cv_cflags__Wpragma_pack=no
19200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19201 conftest$ac_exeext conftest.$ac_ext
19202 CFLAGS=$ac_wine_try_cflags_saved
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
19205 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
19206 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
19207 then :
19208 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
19210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
19211 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
19212 if test ${ac_cv_cflags__Wshift_overflow_2+y}
19213 then :
19214 printf %s "(cached) " >&6
19215 else $as_nop
19216 ac_wine_try_cflags_saved=$CFLAGS
19217 CFLAGS="$CFLAGS -Wshift-overflow=2"
19218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19219 /* end confdefs.h. */
19220 int main(int argc, char **argv) { return 0; }
19221 _ACEOF
19222 if ac_fn_c_try_link "$LINENO"
19223 then :
19224 ac_cv_cflags__Wshift_overflow_2=yes
19225 else $as_nop
19226 ac_cv_cflags__Wshift_overflow_2=no
19228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19229 conftest$ac_exeext conftest.$ac_ext
19230 CFLAGS=$ac_wine_try_cflags_saved
19232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
19233 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
19234 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
19235 then :
19236 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
19239 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
19240 if test ${ac_cv_cflags__Wstrict_prototypes+y}
19241 then :
19242 printf %s "(cached) " >&6
19243 else $as_nop
19244 ac_wine_try_cflags_saved=$CFLAGS
19245 CFLAGS="$CFLAGS -Wstrict-prototypes"
19246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h. */
19248 int main(int argc, char **argv) { return 0; }
19249 _ACEOF
19250 if ac_fn_c_try_link "$LINENO"
19251 then :
19252 ac_cv_cflags__Wstrict_prototypes=yes
19253 else $as_nop
19254 ac_cv_cflags__Wstrict_prototypes=no
19256 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19257 conftest$ac_exeext conftest.$ac_ext
19258 CFLAGS=$ac_wine_try_cflags_saved
19260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
19261 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
19262 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
19263 then :
19264 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
19266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
19267 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
19268 if test ${ac_cv_cflags__Wtype_limits+y}
19269 then :
19270 printf %s "(cached) " >&6
19271 else $as_nop
19272 ac_wine_try_cflags_saved=$CFLAGS
19273 CFLAGS="$CFLAGS -Wtype-limits"
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276 int main(int argc, char **argv) { return 0; }
19277 _ACEOF
19278 if ac_fn_c_try_link "$LINENO"
19279 then :
19280 ac_cv_cflags__Wtype_limits=yes
19281 else $as_nop
19282 ac_cv_cflags__Wtype_limits=no
19284 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19285 conftest$ac_exeext conftest.$ac_ext
19286 CFLAGS=$ac_wine_try_cflags_saved
19288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
19289 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
19290 if test "x$ac_cv_cflags__Wtype_limits" = xyes
19291 then :
19292 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
19294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
19295 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
19296 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
19297 then :
19298 printf %s "(cached) " >&6
19299 else $as_nop
19300 ac_wine_try_cflags_saved=$CFLAGS
19301 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304 int main(int argc, char **argv) { return 0; }
19305 _ACEOF
19306 if ac_fn_c_try_link "$LINENO"
19307 then :
19308 ac_cv_cflags__Wunused_but_set_parameter=yes
19309 else $as_nop
19310 ac_cv_cflags__Wunused_but_set_parameter=no
19312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19313 conftest$ac_exeext conftest.$ac_ext
19314 CFLAGS=$ac_wine_try_cflags_saved
19316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
19317 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
19318 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
19319 then :
19320 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
19322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
19323 printf %s "checking whether the compiler supports -Wvla... " >&6; }
19324 if test ${ac_cv_cflags__Wvla+y}
19325 then :
19326 printf %s "(cached) " >&6
19327 else $as_nop
19328 ac_wine_try_cflags_saved=$CFLAGS
19329 CFLAGS="$CFLAGS -Wvla"
19330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19332 int main(int argc, char **argv) { return 0; }
19333 _ACEOF
19334 if ac_fn_c_try_link "$LINENO"
19335 then :
19336 ac_cv_cflags__Wvla=yes
19337 else $as_nop
19338 ac_cv_cflags__Wvla=no
19340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19341 conftest$ac_exeext conftest.$ac_ext
19342 CFLAGS=$ac_wine_try_cflags_saved
19344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
19345 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
19346 if test "x$ac_cv_cflags__Wvla" = xyes
19347 then :
19348 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
19350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
19351 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
19352 if test ${ac_cv_cflags__Wwrite_strings+y}
19353 then :
19354 printf %s "(cached) " >&6
19355 else $as_nop
19356 ac_wine_try_cflags_saved=$CFLAGS
19357 CFLAGS="$CFLAGS -Wwrite-strings"
19358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19360 int main(int argc, char **argv) { return 0; }
19361 _ACEOF
19362 if ac_fn_c_try_link "$LINENO"
19363 then :
19364 ac_cv_cflags__Wwrite_strings=yes
19365 else $as_nop
19366 ac_cv_cflags__Wwrite_strings=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19369 conftest$ac_exeext conftest.$ac_ext
19370 CFLAGS=$ac_wine_try_cflags_saved
19372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
19373 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
19374 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
19375 then :
19376 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
19379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
19380 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
19381 if test ${ac_cv_cflags__Wpointer_arith+y}
19382 then :
19383 printf %s "(cached) " >&6
19384 else $as_nop
19385 ac_wine_try_cflags_saved=$CFLAGS
19386 CFLAGS="$CFLAGS -Wpointer-arith"
19387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19388 /* end confdefs.h. */
19389 int main(int argc, char **argv) { return 0; }
19390 _ACEOF
19391 if ac_fn_c_try_link "$LINENO"
19392 then :
19393 ac_cv_cflags__Wpointer_arith=yes
19394 else $as_nop
19395 ac_cv_cflags__Wpointer_arith=no
19397 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19398 conftest$ac_exeext conftest.$ac_ext
19399 CFLAGS=$ac_wine_try_cflags_saved
19401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19402 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19403 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19404 then :
19405 saved_string_h_CFLAGS=$CFLAGS
19406 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19408 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19409 if test ${ac_cv_c_string_h_warnings+y}
19410 then :
19411 printf %s "(cached) " >&6
19412 else $as_nop
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <string.h>
19417 main (void)
19421 return 0;
19423 _ACEOF
19424 if ac_fn_c_try_compile "$LINENO"
19425 then :
19426 ac_cv_c_string_h_warnings=no
19427 else $as_nop
19428 ac_cv_c_string_h_warnings=yes
19430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19433 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19434 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19435 CFLAGS=$saved_string_h_CFLAGS
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19439 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19440 if test ${ac_cv_cflags__Wlogical_op+y}
19441 then :
19442 printf %s "(cached) " >&6
19443 else $as_nop
19444 ac_wine_try_cflags_saved=$CFLAGS
19445 CFLAGS="$CFLAGS -Wlogical-op"
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 int main(int argc, char **argv) { return 0; }
19449 _ACEOF
19450 if ac_fn_c_try_link "$LINENO"
19451 then :
19452 ac_cv_cflags__Wlogical_op=yes
19453 else $as_nop
19454 ac_cv_cflags__Wlogical_op=no
19456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19457 conftest$ac_exeext conftest.$ac_ext
19458 CFLAGS=$ac_wine_try_cflags_saved
19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19461 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19462 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19463 then :
19464 saved_string_h_CFLAGS=$CFLAGS
19465 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19467 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19468 if test ${ac_cv_c_logicalop_noisy+y}
19469 then :
19470 printf %s "(cached) " >&6
19471 else $as_nop
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 #include <string.h>
19475 char*f(const char *h,char n) {return strchr(h,n);}
19477 main (void)
19481 return 0;
19483 _ACEOF
19484 if ac_fn_c_try_compile "$LINENO"
19485 then :
19486 ac_cv_c_logicalop_noisy=no
19487 else $as_nop
19488 ac_cv_c_logicalop_noisy=yes
19490 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19493 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19494 CFLAGS=$saved_string_h_CFLAGS
19495 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19499 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19500 if test ${wine_cv_64bit_compare_swap+y}
19501 then :
19502 printf %s "(cached) " >&6
19503 else $as_nop
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19507 #error no
19508 #endif
19510 main (void)
19514 return 0;
19516 _ACEOF
19517 if ac_fn_c_try_compile "$LINENO"
19518 then :
19519 wine_cv_64bit_compare_swap="none needed"
19520 else $as_nop
19521 case $HOST_ARCH in
19522 i386) wine_cv_64bit_compare_swap="-march=i586" ;;
19523 arm) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19524 *) wine_cv_64bit_compare_swap="unknown" ;;
19525 esac
19526 if test "x$wine_cv_64bit_compare_swap" != xunknown
19527 then
19528 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19532 #error no
19533 #endif
19535 main (void)
19539 return 0;
19541 _ACEOF
19542 if ac_fn_c_try_compile "$LINENO"
19543 then :
19545 else $as_nop
19546 wine_cv_64bit_compare_swap="unknown"
19548 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19549 CFLAGS=$saved_CFLAGS
19552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19555 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19556 case "$wine_cv_64bit_compare_swap" in
19557 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19558 "none needed") ;;
19559 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19560 esac
19562 ac_debug_format_seen=""
19563 for ac_flag in $CFLAGS; do
19564 case $ac_flag in
19565 -gdwarf*) ac_debug_format_seen=yes ;;
19566 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19567 esac
19568 done
19569 if test "x$ac_debug_format_seen" = xdefault
19570 then
19571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19572 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19573 if test ${ac_cv_cflags__gdwarf_4+y}
19574 then :
19575 printf %s "(cached) " >&6
19576 else $as_nop
19577 ac_wine_try_cflags_saved=$CFLAGS
19578 CFLAGS="$CFLAGS -gdwarf-4"
19579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580 /* end confdefs.h. */
19581 int main(int argc, char **argv) { return 0; }
19582 _ACEOF
19583 if ac_fn_c_try_link "$LINENO"
19584 then :
19585 ac_cv_cflags__gdwarf_4=yes
19586 else $as_nop
19587 ac_cv_cflags__gdwarf_4=no
19589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19590 conftest$ac_exeext conftest.$ac_ext
19591 CFLAGS=$ac_wine_try_cflags_saved
19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19594 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19595 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19596 then :
19597 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19601 MSVCRTFLAGS=""
19603 case $host_os in
19604 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19605 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19606 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19607 then :
19608 printf %s "(cached) " >&6
19609 else $as_nop
19610 ac_wine_try_cflags_saved=$CFLAGS
19611 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 int main(int argc, char **argv) { return 0; }
19615 _ACEOF
19616 if ac_fn_c_try_link "$LINENO"
19617 then :
19618 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19619 else $as_nop
19620 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19623 conftest$ac_exeext conftest.$ac_ext
19624 CFLAGS=$ac_wine_try_cflags_saved
19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19627 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19628 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19629 then :
19630 DELAYLOADFLAG="-Wl,-delayload,"
19632 fi ;;
19633 *) MSVCRTFLAGS="-D_WIN32"
19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19635 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19636 if test ${ac_cv_cflags__fno_builtin+y}
19637 then :
19638 printf %s "(cached) " >&6
19639 else $as_nop
19640 ac_wine_try_cflags_saved=$CFLAGS
19641 CFLAGS="$CFLAGS -fno-builtin"
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 int main(int argc, char **argv) { return 0; }
19645 _ACEOF
19646 if ac_fn_c_try_link "$LINENO"
19647 then :
19648 ac_cv_cflags__fno_builtin=yes
19649 else $as_nop
19650 ac_cv_cflags__fno_builtin=no
19652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19653 conftest$ac_exeext conftest.$ac_ext
19654 CFLAGS=$ac_wine_try_cflags_saved
19656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19657 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19658 if test "x$ac_cv_cflags__fno_builtin" = xyes
19659 then :
19660 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19663 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19664 if test ${ac_cv_cflags__fshort_wchar+y}
19665 then :
19666 printf %s "(cached) " >&6
19667 else $as_nop
19668 ac_wine_try_cflags_saved=$CFLAGS
19669 CFLAGS="$CFLAGS -fshort-wchar"
19670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 /* end confdefs.h. */
19672 int main(int argc, char **argv) { return 0; }
19673 _ACEOF
19674 if ac_fn_c_try_link "$LINENO"
19675 then :
19676 ac_cv_cflags__fshort_wchar=yes
19677 else $as_nop
19678 ac_cv_cflags__fshort_wchar=no
19680 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19681 conftest$ac_exeext conftest.$ac_ext
19682 CFLAGS=$ac_wine_try_cflags_saved
19684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19685 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19686 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19687 then :
19688 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19691 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19692 if test ${ac_cv_cflags__Wno_format+y}
19693 then :
19694 printf %s "(cached) " >&6
19695 else $as_nop
19696 ac_wine_try_cflags_saved=$CFLAGS
19697 CFLAGS="$CFLAGS -Wno-format"
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 int main(int argc, char **argv) { return 0; }
19701 _ACEOF
19702 if ac_fn_c_try_link "$LINENO"
19703 then :
19704 ac_cv_cflags__Wno_format=yes
19705 else $as_nop
19706 ac_cv_cflags__Wno_format=no
19708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19709 conftest$ac_exeext conftest.$ac_ext
19710 CFLAGS=$ac_wine_try_cflags_saved
19712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19713 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19714 if test "x$ac_cv_cflags__Wno_format" = xyes
19715 then :
19716 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19717 fi ;;
19718 esac
19720 case $HOST_ARCH in
19721 i386) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19722 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19723 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19724 then :
19725 printf %s "(cached) " >&6
19726 else $as_nop
19727 ac_wine_try_cflags_saved=$CFLAGS
19728 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 int main(int argc, char **argv) { return 0; }
19732 _ACEOF
19733 if ac_fn_c_try_link "$LINENO"
19734 then :
19735 ac_cv_cflags__fno_omit_frame_pointer=yes
19736 else $as_nop
19737 ac_cv_cflags__fno_omit_frame_pointer=no
19739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19740 conftest$ac_exeext conftest.$ac_ext
19741 CFLAGS=$ac_wine_try_cflags_saved
19743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19744 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19745 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19746 then :
19747 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19748 fi ;;
19749 x86_64)
19750 case $host_os in
19751 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19752 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19753 if test ${ac_cv_cflags__Wno_format+y}
19754 then :
19755 printf %s "(cached) " >&6
19756 else $as_nop
19757 ac_wine_try_cflags_saved=$CFLAGS
19758 CFLAGS="$CFLAGS -Wno-format"
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19761 int main(int argc, char **argv) { return 0; }
19762 _ACEOF
19763 if ac_fn_c_try_link "$LINENO"
19764 then :
19765 ac_cv_cflags__Wno_format=yes
19766 else $as_nop
19767 ac_cv_cflags__Wno_format=no
19769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19770 conftest$ac_exeext conftest.$ac_ext
19771 CFLAGS=$ac_wine_try_cflags_saved
19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19774 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19775 if test "x$ac_cv_cflags__Wno_format" = xyes
19776 then :
19777 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19778 fi ;;
19779 *) if test -z "$PE_ARCHS"
19780 then
19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19782 printf %s "checking for working -mabi=ms... " >&6; }
19783 if test ${ac_cv_mabi_ms+y}
19784 then :
19785 printf %s "(cached) " >&6
19786 else $as_nop
19787 CFLAGS="$CFLAGS -mabi=ms"
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #include <stdarg.h>
19791 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19793 main (void)
19797 return 0;
19799 _ACEOF
19800 if ac_fn_c_try_compile "$LINENO"
19801 then :
19802 ac_cv_mabi_ms=yes
19803 else $as_nop
19804 ac_cv_mabi_ms=no
19806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19807 CFLAGS=$saved_CFLAGS
19809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19810 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19811 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
19813 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19814 esac ;;
19815 arm)
19816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19817 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19818 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19819 then :
19820 printf %s "(cached) " >&6
19821 else $as_nop
19822 ac_wine_try_cflags_saved=$CFLAGS
19823 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 int main(int argc, char **argv) { return 0; }
19827 _ACEOF
19828 if ac_fn_c_try_link "$LINENO"
19829 then :
19830 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19831 else $as_nop
19832 ac_cv_cflags__Wincompatible_function_pointer_types=no
19834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19835 conftest$ac_exeext conftest.$ac_ext
19836 CFLAGS=$ac_wine_try_cflags_saved
19838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19839 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19840 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19841 then :
19842 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19843 fi ;;
19844 esac
19846 CFLAGS=$saved_CFLAGS
19848 if test "x$enable_werror" = "xyes"
19849 then
19850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19851 printf %s "checking whether the compiler supports -Werror... " >&6; }
19852 if test ${ac_cv_cflags__Werror+y}
19853 then :
19854 printf %s "(cached) " >&6
19855 else $as_nop
19856 ac_wine_try_cflags_saved=$CFLAGS
19857 CFLAGS="$CFLAGS -Werror"
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19860 int main(int argc, char **argv) { return 0; }
19861 _ACEOF
19862 if ac_fn_c_try_link "$LINENO"
19863 then :
19864 ac_cv_cflags__Werror=yes
19865 else $as_nop
19866 ac_cv_cflags__Werror=no
19868 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19869 conftest$ac_exeext conftest.$ac_ext
19870 CFLAGS=$ac_wine_try_cflags_saved
19872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19873 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19874 if test "x$ac_cv_cflags__Werror" = xyes
19875 then :
19876 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19879 if test "x$enable_build_id" = "xyes"
19880 then
19881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19882 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19883 if test ${ac_cv_cflags__Wl___build_id+y}
19884 then :
19885 printf %s "(cached) " >&6
19886 else $as_nop
19887 ac_wine_try_cflags_saved=$CFLAGS
19888 CFLAGS="$CFLAGS -Wl,--build-id"
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 int main(int argc, char **argv) { return 0; }
19892 _ACEOF
19893 if ac_fn_c_try_link "$LINENO"
19894 then :
19895 ac_cv_cflags__Wl___build_id=yes
19896 else $as_nop
19897 ac_cv_cflags__Wl___build_id=no
19899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19900 conftest$ac_exeext conftest.$ac_ext
19901 CFLAGS=$ac_wine_try_cflags_saved
19903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19904 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19905 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19906 then :
19907 CFLAGS="$CFLAGS -Wl,--build-id"
19908 LDFLAGS="$LDFLAGS -Wl,--build-id"
19914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19915 printf %s "checking for the need to disable Fortify... " >&6; }
19916 if test ${ac_cv_c_fortify_enabled+y}
19917 then :
19918 printf %s "(cached) " >&6
19919 else $as_nop
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19922 #include <string.h>
19924 main (void)
19926 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19927 #error Fortify enabled
19928 #endif
19930 return 0;
19932 _ACEOF
19933 if ac_fn_c_try_compile "$LINENO"
19934 then :
19935 ac_cv_c_fortify_enabled=no
19936 else $as_nop
19937 ac_cv_c_fortify_enabled=yes
19939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19942 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19943 if test "$ac_cv_c_fortify_enabled" = yes
19944 then
19945 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19950 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19951 if test ${ac_cv_c_cfi_support+y}
19952 then :
19953 printf %s "(cached) " >&6
19954 else $as_nop
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19959 main (void)
19963 return 0;
19965 _ACEOF
19966 if ac_fn_c_try_compile "$LINENO"
19967 then :
19968 ac_cv_c_cfi_support="yes"
19969 else $as_nop
19970 ac_cv_c_cfi_support="no"
19972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19975 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19976 if test "$ac_cv_c_cfi_support" = "yes"
19977 then
19978 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19979 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19980 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19981 elif test $HOST_ARCH = x86_64
19982 then
19983 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19987 case "$HOST_ARCH,$PE_ARCHS" in
19988 x86_64,*i386*) wine_binary="wine" ;;
19989 x86_64,*) wine_binary="wine64" ;;
19990 *) wine_binary="wine" ;;
19991 esac
19992 WINELOADER_PROGRAMS="$wine_binary"
19995 case $host_os in
19996 linux*)
19997 if test $HOST_ARCH != unknown
19998 then
19999 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20000 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20003 darwin*|macosx*)
20004 if test "$wine_can_build_preloader" = "yes"
20005 then
20006 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
20007 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
20010 esac
20013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
20014 printf %s "checking for library containing dlopen... " >&6; }
20015 if test ${ac_cv_search_dlopen+y}
20016 then :
20017 printf %s "(cached) " >&6
20018 else $as_nop
20019 ac_func_search_save_LIBS=$LIBS
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20023 /* Override any GCC internal prototype to avoid an error.
20024 Use char because int might match the return type of a GCC
20025 builtin and then its argument prototype would still apply. */
20026 char dlopen ();
20028 main (void)
20030 return dlopen ();
20032 return 0;
20034 _ACEOF
20035 for ac_lib in '' dl
20037 if test -z "$ac_lib"; then
20038 ac_res="none required"
20039 else
20040 ac_res=-l$ac_lib
20041 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20043 if ac_fn_c_try_link "$LINENO"
20044 then :
20045 ac_cv_search_dlopen=$ac_res
20047 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20048 conftest$ac_exeext
20049 if test ${ac_cv_search_dlopen+y}
20050 then :
20051 break
20053 done
20054 if test ${ac_cv_search_dlopen+y}
20055 then :
20057 else $as_nop
20058 ac_cv_search_dlopen=no
20060 rm conftest.$ac_ext
20061 LIBS=$ac_func_search_save_LIBS
20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20064 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
20065 ac_res=$ac_cv_search_dlopen
20066 if test "$ac_res" != no
20067 then :
20068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20074 printf %s "checking for library containing gethostbyname... " >&6; }
20075 if test ${ac_cv_search_gethostbyname+y}
20076 then :
20077 printf %s "(cached) " >&6
20078 else $as_nop
20079 ac_func_search_save_LIBS=$LIBS
20080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20081 /* end confdefs.h. */
20083 /* Override any GCC internal prototype to avoid an error.
20084 Use char because int might match the return type of a GCC
20085 builtin and then its argument prototype would still apply. */
20086 char gethostbyname ();
20088 main (void)
20090 return gethostbyname ();
20092 return 0;
20094 _ACEOF
20095 for ac_lib in '' nsl
20097 if test -z "$ac_lib"; then
20098 ac_res="none required"
20099 else
20100 ac_res=-l$ac_lib
20101 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20103 if ac_fn_c_try_link "$LINENO"
20104 then :
20105 ac_cv_search_gethostbyname=$ac_res
20107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20108 conftest$ac_exeext
20109 if test ${ac_cv_search_gethostbyname+y}
20110 then :
20111 break
20113 done
20114 if test ${ac_cv_search_gethostbyname+y}
20115 then :
20117 else $as_nop
20118 ac_cv_search_gethostbyname=no
20120 rm conftest.$ac_ext
20121 LIBS=$ac_func_search_save_LIBS
20123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
20124 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
20125 ac_res=$ac_cv_search_gethostbyname
20126 if test "$ac_res" != no
20127 then :
20128 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
20134 printf %s "checking for library containing connect... " >&6; }
20135 if test ${ac_cv_search_connect+y}
20136 then :
20137 printf %s "(cached) " >&6
20138 else $as_nop
20139 ac_func_search_save_LIBS=$LIBS
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20143 /* Override any GCC internal prototype to avoid an error.
20144 Use char because int might match the return type of a GCC
20145 builtin and then its argument prototype would still apply. */
20146 char connect ();
20148 main (void)
20150 return connect ();
20152 return 0;
20154 _ACEOF
20155 for ac_lib in '' socket
20157 if test -z "$ac_lib"; then
20158 ac_res="none required"
20159 else
20160 ac_res=-l$ac_lib
20161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20163 if ac_fn_c_try_link "$LINENO"
20164 then :
20165 ac_cv_search_connect=$ac_res
20167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20168 conftest$ac_exeext
20169 if test ${ac_cv_search_connect+y}
20170 then :
20171 break
20173 done
20174 if test ${ac_cv_search_connect+y}
20175 then :
20177 else $as_nop
20178 ac_cv_search_connect=no
20180 rm conftest.$ac_ext
20181 LIBS=$ac_func_search_save_LIBS
20183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
20184 printf "%s\n" "$ac_cv_search_connect" >&6; }
20185 ac_res=$ac_cv_search_connect
20186 if test "$ac_res" != no
20187 then :
20188 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
20194 printf %s "checking for library containing inet_aton... " >&6; }
20195 if test ${ac_cv_search_inet_aton+y}
20196 then :
20197 printf %s "(cached) " >&6
20198 else $as_nop
20199 ac_func_search_save_LIBS=$LIBS
20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20203 /* Override any GCC internal prototype to avoid an error.
20204 Use char because int might match the return type of a GCC
20205 builtin and then its argument prototype would still apply. */
20206 char inet_aton ();
20208 main (void)
20210 return inet_aton ();
20212 return 0;
20214 _ACEOF
20215 for ac_lib in '' resolv
20217 if test -z "$ac_lib"; then
20218 ac_res="none required"
20219 else
20220 ac_res=-l$ac_lib
20221 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20223 if ac_fn_c_try_link "$LINENO"
20224 then :
20225 ac_cv_search_inet_aton=$ac_res
20227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20228 conftest$ac_exeext
20229 if test ${ac_cv_search_inet_aton+y}
20230 then :
20231 break
20233 done
20234 if test ${ac_cv_search_inet_aton+y}
20235 then :
20237 else $as_nop
20238 ac_cv_search_inet_aton=no
20240 rm conftest.$ac_ext
20241 LIBS=$ac_func_search_save_LIBS
20243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20244 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20245 ac_res=$ac_cv_search_inet_aton
20246 if test "$ac_res" != no
20247 then :
20248 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20253 ac_save_CFLAGS="$CFLAGS"
20254 CFLAGS="$CFLAGS $BUILTINFLAG"
20255 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
20256 if test "x$ac_cv_func_dladdr1" = xyes
20257 then :
20258 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
20261 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
20262 if test "x$ac_cv_func_dlinfo" = xyes
20263 then :
20264 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
20267 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
20268 if test "x$ac_cv_func_epoll_create" = xyes
20269 then :
20270 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
20273 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
20274 if test "x$ac_cv_func_fstatfs" = xyes
20275 then :
20276 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
20279 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
20280 if test "x$ac_cv_func_futimens" = xyes
20281 then :
20282 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
20285 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
20286 if test "x$ac_cv_func_futimes" = xyes
20287 then :
20288 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
20291 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
20292 if test "x$ac_cv_func_futimesat" = xyes
20293 then :
20294 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
20297 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20298 if test "x$ac_cv_func_getaddrinfo" = xyes
20299 then :
20300 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20303 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
20304 if test "x$ac_cv_func_getattrlist" = xyes
20305 then :
20306 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
20309 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
20310 if test "x$ac_cv_func_getauxval" = xyes
20311 then :
20312 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
20315 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
20316 if test "x$ac_cv_func_getifaddrs" = xyes
20317 then :
20318 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
20321 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
20322 if test "x$ac_cv_func_getrandom" = xyes
20323 then :
20324 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
20327 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
20328 if test "x$ac_cv_func_kqueue" = xyes
20329 then :
20330 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
20333 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
20334 if test "x$ac_cv_func_mach_continuous_time" = xyes
20335 then :
20336 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
20339 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
20340 if test "x$ac_cv_func_pipe2" = xyes
20341 then :
20342 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
20345 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
20346 if test "x$ac_cv_func_port_create" = xyes
20347 then :
20348 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
20351 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
20352 if test "x$ac_cv_func_posix_fadvise" = xyes
20353 then :
20354 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
20357 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
20358 if test "x$ac_cv_func_posix_fallocate" = xyes
20359 then :
20360 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
20363 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
20364 if test "x$ac_cv_func_prctl" = xyes
20365 then :
20366 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
20369 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
20370 if test "x$ac_cv_func_proc_pidinfo" = xyes
20371 then :
20372 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
20375 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20376 if test "x$ac_cv_func_sched_yield" = xyes
20377 then :
20378 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20381 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
20382 if test "x$ac_cv_func_setproctitle" = xyes
20383 then :
20384 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
20387 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
20388 if test "x$ac_cv_func_setprogname" = xyes
20389 then :
20390 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
20393 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
20394 if test "x$ac_cv_func_sigprocmask" = xyes
20395 then :
20396 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
20399 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
20400 if test "x$ac_cv_func_sysinfo" = xyes
20401 then :
20402 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
20405 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
20406 if test "x$ac_cv_func_tcdrain" = xyes
20407 then :
20408 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
20411 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
20412 if test "x$ac_cv_func_thr_kill2" = xyes
20413 then :
20414 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20418 CFLAGS="$ac_save_CFLAGS"
20420 case $host_os in
20421 darwin*|macosx*) ;;
20422 *) ac_save_LIBS=$LIBS
20423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20424 printf %s "checking for library containing clock_gettime... " >&6; }
20425 if test ${ac_cv_search_clock_gettime+y}
20426 then :
20427 printf %s "(cached) " >&6
20428 else $as_nop
20429 ac_func_search_save_LIBS=$LIBS
20430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20431 /* end confdefs.h. */
20433 /* Override any GCC internal prototype to avoid an error.
20434 Use char because int might match the return type of a GCC
20435 builtin and then its argument prototype would still apply. */
20436 char clock_gettime ();
20438 main (void)
20440 return clock_gettime ();
20442 return 0;
20444 _ACEOF
20445 for ac_lib in '' rt
20447 if test -z "$ac_lib"; then
20448 ac_res="none required"
20449 else
20450 ac_res=-l$ac_lib
20451 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20453 if ac_fn_c_try_link "$LINENO"
20454 then :
20455 ac_cv_search_clock_gettime=$ac_res
20457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20458 conftest$ac_exeext
20459 if test ${ac_cv_search_clock_gettime+y}
20460 then :
20461 break
20463 done
20464 if test ${ac_cv_search_clock_gettime+y}
20465 then :
20467 else $as_nop
20468 ac_cv_search_clock_gettime=no
20470 rm conftest.$ac_ext
20471 LIBS=$ac_func_search_save_LIBS
20473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20474 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20475 ac_res=$ac_cv_search_clock_gettime
20476 if test "$ac_res" != no
20477 then :
20478 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20480 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20482 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20486 LIBS=$ac_save_LIBS
20488 esac
20490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20491 printf %s "checking for sched_setaffinity... " >&6; }
20492 if test ${wine_cv_have_sched_setaffinity+y}
20493 then :
20494 printf %s "(cached) " >&6
20495 else $as_nop
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20498 #include <sched.h>
20500 main (void)
20502 sched_setaffinity(0, 0, 0);
20504 return 0;
20506 _ACEOF
20507 if ac_fn_c_try_link "$LINENO"
20508 then :
20509 wine_cv_have_sched_setaffinity=yes
20510 else $as_nop
20511 wine_cv_have_sched_setaffinity=no
20513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20514 conftest$ac_exeext conftest.$ac_ext
20516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20517 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20518 if test "$wine_cv_have_sched_setaffinity" = "yes"
20519 then
20521 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20527 printf %s "checking for inline... " >&6; }
20528 if test ${ac_cv_c_inline+y}
20529 then :
20530 printf %s "(cached) " >&6
20531 else $as_nop
20532 ac_cv_c_inline=no
20533 for ac_kw in inline __inline__ __inline; do
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20536 #ifndef __cplusplus
20537 typedef int foo_t;
20538 static $ac_kw foo_t static_foo (void) {return 0; }
20539 $ac_kw foo_t foo (void) {return 0; }
20540 #endif
20542 _ACEOF
20543 if ac_fn_c_try_compile "$LINENO"
20544 then :
20545 ac_cv_c_inline=$ac_kw
20547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20548 test "$ac_cv_c_inline" != no && break
20549 done
20552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20553 printf "%s\n" "$ac_cv_c_inline" >&6; }
20555 case $ac_cv_c_inline in
20556 inline | yes) ;;
20558 case $ac_cv_c_inline in
20559 no) ac_val=;;
20560 *) ac_val=$ac_cv_c_inline;;
20561 esac
20562 cat >>confdefs.h <<_ACEOF
20563 #ifndef __cplusplus
20564 #define inline $ac_val
20565 #endif
20566 _ACEOF
20568 esac
20570 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20572 if test "x$ac_cv_type_request_sense" = xyes
20573 then :
20575 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20581 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20582 #include <sys/socket.h>
20583 #ifdef HAVE_SYS_SOCKETVAR_H
20584 #include <sys/socketvar.h>
20585 #endif
20586 #ifdef HAVE_NET_ROUTE_H
20587 #include <net/route.h>
20588 #endif
20589 #ifdef HAVE_NETINET_IN_H
20590 #include <netinet/in.h>
20591 #endif
20592 #ifdef HAVE_NETINET_IN_SYSTM_H
20593 #include <netinet/in_systm.h>
20594 #endif
20595 #ifdef HAVE_NETINET_IP_H
20596 #include <netinet/ip.h>
20597 #endif
20598 #ifdef HAVE_NETINET_IN_PCB_H
20599 #include <netinet/in_pcb.h>
20600 #endif
20602 if test "x$ac_cv_type_struct_xinpgen" = xyes
20603 then :
20605 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20612 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20613 if test ${wine_cv_linux_gethostbyname_r_6+y}
20614 then :
20615 printf %s "(cached) " >&6
20616 else $as_nop
20617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20619 #include <netdb.h>
20621 main (void)
20624 char *name=0;
20625 struct hostent he;
20626 struct hostent *result;
20627 char *buf=0;
20628 int bufsize=0;
20629 int errnr;
20630 char *addr=0;
20631 int addrlen=0;
20632 int addrtype=0;
20633 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20634 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20637 return 0;
20639 _ACEOF
20640 if ac_fn_c_try_link "$LINENO"
20641 then :
20642 wine_cv_linux_gethostbyname_r_6=yes
20643 else $as_nop
20644 wine_cv_linux_gethostbyname_r_6=no
20647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20648 conftest$ac_exeext conftest.$ac_ext
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20652 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20653 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20654 then
20656 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20660 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20661 #include <sys/socket.h>
20662 #ifdef HAVE_SYS_UN_H
20663 # include <sys/un.h>
20664 #endif
20666 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20667 then :
20669 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20673 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20674 #include <sys/socket.h>
20675 #ifdef HAVE_SYS_UN_H
20676 # include <sys/un.h>
20677 #endif
20679 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20680 then :
20682 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20688 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20689 #ifdef HAVE_SCSI_SG_H
20690 #include <scsi/sg.h>
20691 #endif
20693 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20694 then :
20696 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20700 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>
20701 #ifdef HAVE_SCSI_SG_H
20702 #include <scsi/sg.h>
20703 #endif
20705 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20706 then :
20708 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20714 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20716 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20717 then :
20719 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20725 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20726 #ifdef HAVE_SYS_MTIO_H
20727 #include <sys/mtio.h>
20728 #endif
20730 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20731 then :
20733 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20737 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20738 #ifdef HAVE_SYS_MTIO_H
20739 #include <sys/mtio.h>
20740 #endif
20742 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20743 then :
20745 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20749 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20750 #ifdef HAVE_SYS_MTIO_H
20751 #include <sys/mtio.h>
20752 #endif
20754 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20755 then :
20757 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20763 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20764 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20765 then :
20767 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20771 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20772 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20773 then :
20775 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20779 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20780 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20781 then :
20783 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20787 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20788 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20789 then :
20791 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20795 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20796 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20797 then :
20799 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20803 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20804 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20805 then :
20807 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20811 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20812 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20813 then :
20815 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20819 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20820 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20821 then :
20823 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20827 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20828 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20829 then :
20831 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20835 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20836 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20837 then :
20839 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20843 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20844 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20845 then :
20847 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20853 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>
20854 #ifdef HAVE_NETINET_IN_H
20855 #include <netinet/in.h>
20856 #endif
20858 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20859 then :
20861 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20867 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
20868 #include <resolv.h>
20869 #endif
20871 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20872 then :
20874 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20880 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20881 #include <netinet/in.h>
20882 #endif
20884 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20885 then :
20887 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20893 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20894 #ifdef HAVE_SYS_SOCKETVAR_H
20895 #include <sys/socketvar.h>
20896 #endif
20897 #ifdef HAVE_NETINET_IN_H
20898 #include <netinet/in.h>
20899 #endif
20900 #ifdef HAVE_NETINET_IP_VAR_H
20901 #include <netinet/ip_var.h>
20902 #endif
20904 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20905 then :
20907 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20913 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
20914 #include <netinet/ip_var.h>
20915 #endif
20917 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20918 then :
20920 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20926 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20927 #ifdef HAVE_SYS_SOCKETVAR_H
20928 #include <sys/socketvar.h>
20929 #endif
20930 #ifdef HAVE_NETINET_IN_H
20931 #include <netinet/in.h>
20932 #endif
20933 #ifdef HAVE_NETINET6_IP6_VAR_H
20934 #include <netinet6/ip6_var.h>
20935 #endif
20937 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20938 then :
20940 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20946 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20947 #ifdef HAVE_SYS_SOCKETVAR_H
20948 #include <sys/socketvar.h>
20949 #endif
20950 #ifdef HAVE_NETINET_IN_H
20951 #include <netinet/in.h>
20952 #endif
20953 #ifdef HAVE_NETINET_IP_H
20954 #include <netinet/ip.h>
20955 #endif
20956 #ifdef HAVE_NETINET_IP_ICMP_H
20957 #include <netinet/ip_icmp.h>
20958 #endif
20959 #ifdef HAVE_NETINET_ICMP_VAR_H
20960 #include <netinet/icmp_var.h>
20961 #endif
20963 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20964 then :
20966 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20972 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20973 #ifdef HAVE_SYS_SOCKETVAR_H
20974 #include <sys/socketvar.h>
20975 #endif
20976 #ifdef HAVE_NETINET_IN_H
20977 #include <netinet/in.h>
20978 #endif
20979 #ifdef HAVE_NETINET_ICMP6_H
20980 #include <netinet/icmp6.h>
20981 #endif
20983 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20984 then :
20986 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20992 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20993 #ifdef HAVE_SYS_SOCKETVAR_H
20994 #include <sys/socketvar.h>
20995 #endif
20996 #ifdef HAVE_NETINET_IN_H
20997 #include <netinet/in.h>
20998 #endif
20999 #ifdef HAVE_NETINET_TCP_H
21000 #include <netinet/tcp.h>
21001 #endif
21002 #ifdef HAVE_NETINET_TCP_VAR_H
21003 #include <netinet/tcp_var.h>
21004 #endif
21006 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
21007 then :
21009 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
21015 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
21016 #include <netinet/tcp_var.h>
21017 #endif
21019 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
21020 then :
21022 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
21028 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
21029 #ifdef HAVE_NETINET_IN_H
21030 #include <netinet/in.h>
21031 #endif
21032 #ifdef HAVE_NETINET_IP_VAR_H
21033 #include <netinet/ip_var.h>
21034 #endif
21035 #ifdef HAVE_NETINET_UDP_H
21036 #include <netinet/udp.h>
21037 #endif
21038 #ifdef HAVE_NETINET_UDP_VAR_H
21039 #include <netinet/udp_var.h>
21040 #endif
21042 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
21043 then :
21045 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
21051 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
21052 #ifdef HAVE_NET_IF_H
21053 # include <net/if.h>
21054 #endif
21056 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
21057 then :
21059 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
21065 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
21066 # include <sys/sysinfo.h>
21067 #endif
21069 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
21070 then :
21072 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
21076 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
21077 # include <sys/sysinfo.h>
21078 #endif
21080 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
21081 then :
21083 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
21089 LIBS="$ac_save_LIBS"
21091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
21092 printf %s "checking for __builtin_popcount... " >&6; }
21093 if test ${ac_cv_have___builtin_popcount+y}
21094 then :
21095 printf %s "(cached) " >&6
21096 else $as_nop
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21101 main (void)
21103 return __builtin_popcount(1)
21105 return 0;
21107 _ACEOF
21108 if ac_fn_c_try_link "$LINENO"
21109 then :
21110 ac_cv_have___builtin_popcount="yes"
21111 else $as_nop
21112 ac_cv_have___builtin_popcount="no"
21114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21115 conftest$ac_exeext conftest.$ac_ext
21117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
21118 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
21119 if test "$ac_cv_have___builtin_popcount" = "yes"
21120 then
21122 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
21126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
21127 printf %s "checking for __clear_cache... " >&6; }
21128 if test ${ac_cv_have___clear_cache+y}
21129 then :
21130 printf %s "(cached) " >&6
21131 else $as_nop
21132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21133 /* end confdefs.h. */
21136 main (void)
21138 __clear_cache((void*)0, (void*)0); return 0;
21140 return 0;
21142 _ACEOF
21143 if ac_fn_c_try_link "$LINENO"
21144 then :
21145 ac_cv_have___clear_cache="yes"
21146 else $as_nop
21147 ac_cv_have___clear_cache="no"
21149 rm -f core conftest.err conftest.$ac_objext conftest.beam \
21150 conftest$ac_exeext conftest.$ac_ext
21152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
21153 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
21154 if test "$ac_cv_have___clear_cache" = "yes"
21155 then
21157 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
21162 case $host_cpu in
21163 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
21164 printf %s "checking whether we need to define __i386__... " >&6; }
21165 if test ${ac_cv_cpp_def___i386__+y}
21166 then :
21167 printf %s "(cached) " >&6
21168 else $as_nop
21169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21170 /* end confdefs.h. */
21171 #ifndef __i386__
21173 #endif
21174 _ACEOF
21175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21176 $EGREP "yes" >/dev/null 2>&1
21177 then :
21178 ac_cv_cpp_def___i386__=yes
21179 else $as_nop
21180 ac_cv_cpp_def___i386__=no
21182 rm -rf conftest*
21185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
21186 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
21187 if test "x$ac_cv_cpp_def___i386__" = xyes
21188 then :
21189 CFLAGS="$CFLAGS -D__i386__"
21190 LINTFLAGS="$LINTFLAGS -D__i386__"
21191 fi ;;
21192 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
21193 printf %s "checking whether we need to define __x86_64__... " >&6; }
21194 if test ${ac_cv_cpp_def___x86_64__+y}
21195 then :
21196 printf %s "(cached) " >&6
21197 else $as_nop
21198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21199 /* end confdefs.h. */
21200 #ifndef __x86_64__
21202 #endif
21203 _ACEOF
21204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21205 $EGREP "yes" >/dev/null 2>&1
21206 then :
21207 ac_cv_cpp_def___x86_64__=yes
21208 else $as_nop
21209 ac_cv_cpp_def___x86_64__=no
21211 rm -rf conftest*
21214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
21215 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
21216 if test "x$ac_cv_cpp_def___x86_64__" = xyes
21217 then :
21218 CFLAGS="$CFLAGS -D__x86_64__"
21219 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21220 fi ;;
21221 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
21222 printf %s "checking whether we need to define __sparc64__... " >&6; }
21223 if test ${ac_cv_cpp_def___sparc64__+y}
21224 then :
21225 printf %s "(cached) " >&6
21226 else $as_nop
21227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21229 #ifndef __sparc64__
21231 #endif
21232 _ACEOF
21233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21234 $EGREP "yes" >/dev/null 2>&1
21235 then :
21236 ac_cv_cpp_def___sparc64__=yes
21237 else $as_nop
21238 ac_cv_cpp_def___sparc64__=no
21240 rm -rf conftest*
21243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
21244 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
21245 if test "x$ac_cv_cpp_def___sparc64__" = xyes
21246 then :
21247 CFLAGS="$CFLAGS -D__sparc64__"
21248 LINTFLAGS="$LINTFLAGS -D__sparc64__"
21249 fi ;;
21250 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
21251 printf %s "checking whether we need to define __sparc__... " >&6; }
21252 if test ${ac_cv_cpp_def___sparc__+y}
21253 then :
21254 printf %s "(cached) " >&6
21255 else $as_nop
21256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21258 #ifndef __sparc__
21260 #endif
21261 _ACEOF
21262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21263 $EGREP "yes" >/dev/null 2>&1
21264 then :
21265 ac_cv_cpp_def___sparc__=yes
21266 else $as_nop
21267 ac_cv_cpp_def___sparc__=no
21269 rm -rf conftest*
21272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
21273 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
21274 if test "x$ac_cv_cpp_def___sparc__" = xyes
21275 then :
21276 CFLAGS="$CFLAGS -D__sparc__"
21277 LINTFLAGS="$LINTFLAGS -D__sparc__"
21278 fi ;;
21279 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
21280 printf %s "checking whether we need to define __powerpc64__... " >&6; }
21281 if test ${ac_cv_cpp_def___powerpc64__+y}
21282 then :
21283 printf %s "(cached) " >&6
21284 else $as_nop
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #ifndef __powerpc64__
21289 #endif
21290 _ACEOF
21291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21292 $EGREP "yes" >/dev/null 2>&1
21293 then :
21294 ac_cv_cpp_def___powerpc64__=yes
21295 else $as_nop
21296 ac_cv_cpp_def___powerpc64__=no
21298 rm -rf conftest*
21301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
21302 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
21303 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
21304 then :
21305 CFLAGS="$CFLAGS -D__powerpc64__"
21306 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
21307 fi ;;
21308 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
21309 printf %s "checking whether we need to define __powerpc__... " >&6; }
21310 if test ${ac_cv_cpp_def___powerpc__+y}
21311 then :
21312 printf %s "(cached) " >&6
21313 else $as_nop
21314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21316 #ifndef __powerpc__
21318 #endif
21319 _ACEOF
21320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21321 $EGREP "yes" >/dev/null 2>&1
21322 then :
21323 ac_cv_cpp_def___powerpc__=yes
21324 else $as_nop
21325 ac_cv_cpp_def___powerpc__=no
21327 rm -rf conftest*
21330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
21331 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
21332 if test "x$ac_cv_cpp_def___powerpc__" = xyes
21333 then :
21334 CFLAGS="$CFLAGS -D__powerpc__"
21335 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21336 fi ;;
21337 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
21338 printf %s "checking whether we need to define __aarch64__... " >&6; }
21339 if test ${ac_cv_cpp_def___aarch64__+y}
21340 then :
21341 printf %s "(cached) " >&6
21342 else $as_nop
21343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21345 #ifndef __aarch64__
21347 #endif
21348 _ACEOF
21349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21350 $EGREP "yes" >/dev/null 2>&1
21351 then :
21352 ac_cv_cpp_def___aarch64__=yes
21353 else $as_nop
21354 ac_cv_cpp_def___aarch64__=no
21356 rm -rf conftest*
21359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21360 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21361 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21362 then :
21363 CFLAGS="$CFLAGS -D__aarch64__"
21364 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21365 fi ;;
21366 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21367 printf %s "checking whether we need to define __arm__... " >&6; }
21368 if test ${ac_cv_cpp_def___arm__+y}
21369 then :
21370 printf %s "(cached) " >&6
21371 else $as_nop
21372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21373 /* end confdefs.h. */
21374 #ifndef __arm__
21376 #endif
21377 _ACEOF
21378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21379 $EGREP "yes" >/dev/null 2>&1
21380 then :
21381 ac_cv_cpp_def___arm__=yes
21382 else $as_nop
21383 ac_cv_cpp_def___arm__=no
21385 rm -rf conftest*
21388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21389 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21390 if test "x$ac_cv_cpp_def___arm__" = xyes
21391 then :
21392 CFLAGS="$CFLAGS -D__arm__"
21393 LINTFLAGS="$LINTFLAGS -D__arm__"
21394 fi ;;
21395 esac
21397 case $host_vendor in
21398 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21399 printf %s "checking whether we need to define __sun__... " >&6; }
21400 if test ${ac_cv_cpp_def___sun__+y}
21401 then :
21402 printf %s "(cached) " >&6
21403 else $as_nop
21404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21406 #ifndef __sun__
21408 #endif
21409 _ACEOF
21410 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21411 $EGREP "yes" >/dev/null 2>&1
21412 then :
21413 ac_cv_cpp_def___sun__=yes
21414 else $as_nop
21415 ac_cv_cpp_def___sun__=no
21417 rm -rf conftest*
21420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21421 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21422 if test "x$ac_cv_cpp_def___sun__" = xyes
21423 then :
21424 CFLAGS="$CFLAGS -D__sun__"
21425 LINTFLAGS="$LINTFLAGS -D__sun__"
21426 fi ;;
21427 esac
21433 ac_config_commands="$ac_config_commands include/stamp-h"
21435 printf %s "creating Makefile rules..." >&6
21437 makedep_flags=""
21438 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21440 wine_srcdir=
21441 test "$srcdir" = . || wine_srcdir="$srcdir/"
21443 ac_config_links="$ac_config_links wine:tools/winewrapper"
21444 wine_fn_config_symlink wine
21445 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
21446 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21447 wine_fn_config_symlink wine64
21450 wine_fn_config_makefile dlls/acledit enable_acledit
21451 wine_fn_config_makefile dlls/aclui enable_aclui
21452 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21453 wine_fn_config_makefile dlls/activeds enable_activeds
21454 wine_fn_config_makefile dlls/activeds/tests enable_tests
21455 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21456 wine_fn_config_makefile dlls/adsldp enable_adsldp
21457 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21458 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21459 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21460 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21461 wine_fn_config_makefile dlls/advpack enable_advpack
21462 wine_fn_config_makefile dlls/advpack/tests enable_tests
21463 wine_fn_config_makefile dlls/amsi enable_amsi
21464 wine_fn_config_makefile dlls/amstream enable_amstream
21465 wine_fn_config_makefile dlls/amstream/tests enable_tests
21466 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21467 wine_fn_config_makefile dlls/apphelp enable_apphelp
21468 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21469 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21470 wine_fn_config_makefile dlls/appxdeploymentclient enable_appxdeploymentclient
21471 wine_fn_config_makefile dlls/atl enable_atl
21472 wine_fn_config_makefile dlls/atl/tests enable_tests
21473 wine_fn_config_makefile dlls/atl100 enable_atl100
21474 wine_fn_config_makefile dlls/atl100/tests enable_tests
21475 wine_fn_config_makefile dlls/atl110 enable_atl110
21476 wine_fn_config_makefile dlls/atl110/tests enable_tests
21477 wine_fn_config_makefile dlls/atl80 enable_atl80
21478 wine_fn_config_makefile dlls/atl80/tests enable_tests
21479 wine_fn_config_makefile dlls/atl90 enable_atl90
21480 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21481 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21482 wine_fn_config_makefile dlls/atmlib enable_atmlib
21483 wine_fn_config_makefile dlls/authz enable_authz
21484 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21485 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21486 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21487 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21488 wine_fn_config_makefile dlls/avrt enable_avrt
21489 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21490 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21491 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21492 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21493 wine_fn_config_makefile dlls/browseui enable_browseui
21494 wine_fn_config_makefile dlls/browseui/tests enable_tests
21495 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21496 wine_fn_config_makefile dlls/cabinet enable_cabinet
21497 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21498 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21499 wine_fn_config_makefile dlls/cards enable_cards
21500 wine_fn_config_makefile dlls/cdosys enable_cdosys
21501 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21502 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21503 wine_fn_config_makefile dlls/clusapi enable_clusapi
21504 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21505 wine_fn_config_makefile dlls/combase enable_combase
21506 wine_fn_config_makefile dlls/combase/tests enable_tests
21507 wine_fn_config_makefile dlls/comcat enable_comcat
21508 wine_fn_config_makefile dlls/comcat/tests enable_tests
21509 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21510 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21511 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21512 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21513 wine_fn_config_makefile dlls/coml2 enable_coml2
21514 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21515 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21516 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21517 wine_fn_config_makefile dlls/compstui enable_compstui
21518 wine_fn_config_makefile dlls/compstui/tests enable_tests
21519 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21520 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21521 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21522 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21523 wine_fn_config_makefile dlls/connect enable_connect
21524 wine_fn_config_makefile dlls/credui enable_credui
21525 wine_fn_config_makefile dlls/credui/tests enable_tests
21526 wine_fn_config_makefile dlls/crtdll enable_crtdll
21527 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21528 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21529 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21530 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21531 wine_fn_config_makefile dlls/cryptext enable_cryptext
21532 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21533 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21534 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21535 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21536 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21537 wine_fn_config_makefile dlls/cryptui enable_cryptui
21538 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21539 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21540 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21541 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21542 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21543 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21544 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21545 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21546 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21547 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21548 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21549 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21550 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21551 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21552 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21553 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21554 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21555 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21556 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21557 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21558 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21559 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21560 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21561 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21562 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21563 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21564 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21565 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21566 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21567 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21568 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21569 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21570 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21571 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21572 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21573 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21574 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21575 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21576 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21577 wine_fn_config_makefile dlls/d3dim enable_d3dim
21578 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21579 wine_fn_config_makefile dlls/d3drm enable_d3drm
21580 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21581 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21582 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21583 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21584 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21585 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21586 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21587 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21588 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21589 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21590 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21591 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21592 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21593 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21594 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21595 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21596 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21597 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21598 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21599 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21600 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21601 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21602 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21603 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21604 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21605 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21606 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21607 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21608 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21609 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21610 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21611 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21612 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21613 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21614 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21615 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21616 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21617 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21618 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21619 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21620 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21621 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21622 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21623 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21624 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21625 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21626 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21627 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21628 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21629 wine_fn_config_makefile dlls/davclnt enable_davclnt
21630 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21631 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21632 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21633 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21634 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21635 wine_fn_config_makefile dlls/dcomp enable_dcomp
21636 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21637 wine_fn_config_makefile dlls/ddraw enable_ddraw
21638 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21639 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21640 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21641 wine_fn_config_makefile dlls/devenum enable_devenum
21642 wine_fn_config_makefile dlls/devenum/tests enable_tests
21643 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21644 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21645 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21646 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21647 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21648 wine_fn_config_makefile dlls/difxapi enable_difxapi
21649 wine_fn_config_makefile dlls/dinput enable_dinput
21650 wine_fn_config_makefile dlls/dinput/tests enable_tests
21651 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21652 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21653 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21654 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21655 wine_fn_config_makefile dlls/dispex enable_dispex
21656 wine_fn_config_makefile dlls/dispex/tests enable_tests
21657 wine_fn_config_makefile dlls/display.drv16 enable_win16
21658 wine_fn_config_makefile dlls/dmband enable_dmband
21659 wine_fn_config_makefile dlls/dmband/tests enable_tests
21660 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21661 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21662 wine_fn_config_makefile dlls/dmime enable_dmime
21663 wine_fn_config_makefile dlls/dmime/tests enable_tests
21664 wine_fn_config_makefile dlls/dmloader enable_dmloader
21665 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21666 wine_fn_config_makefile dlls/dmscript enable_dmscript
21667 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21668 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21669 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21670 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21671 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21672 wine_fn_config_makefile dlls/dmusic enable_dmusic
21673 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21674 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21675 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21676 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21677 wine_fn_config_makefile dlls/dplay enable_dplay
21678 wine_fn_config_makefile dlls/dplayx enable_dplayx
21679 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21680 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21681 wine_fn_config_makefile dlls/dpnet enable_dpnet
21682 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21683 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21684 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21685 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21686 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21687 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21688 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21689 wine_fn_config_makefile dlls/drmclien enable_drmclien
21690 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21691 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21692 wine_fn_config_makefile dlls/dsound enable_dsound
21693 wine_fn_config_makefile dlls/dsound/tests enable_tests
21694 wine_fn_config_makefile dlls/dsquery enable_dsquery
21695 wine_fn_config_makefile dlls/dssenh enable_dssenh
21696 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21697 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21698 wine_fn_config_makefile dlls/dswave enable_dswave
21699 wine_fn_config_makefile dlls/dswave/tests enable_tests
21700 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21701 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21702 wine_fn_config_makefile dlls/dwrite enable_dwrite
21703 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21704 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21705 wine_fn_config_makefile dlls/dxcore enable_dxcore
21706 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21707 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21708 wine_fn_config_makefile dlls/dxgi enable_dxgi
21709 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21710 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21711 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21712 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21713 wine_fn_config_makefile dlls/esent enable_esent
21714 wine_fn_config_makefile dlls/evr enable_evr
21715 wine_fn_config_makefile dlls/evr/tests enable_tests
21716 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21717 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21718 wine_fn_config_makefile dlls/faultrep enable_faultrep
21719 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21720 wine_fn_config_makefile dlls/feclient enable_feclient
21721 wine_fn_config_makefile dlls/fltlib enable_fltlib
21722 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21723 wine_fn_config_makefile dlls/fntcache enable_fntcache
21724 wine_fn_config_makefile dlls/fontsub enable_fontsub
21725 wine_fn_config_makefile dlls/fusion enable_fusion
21726 wine_fn_config_makefile dlls/fusion/tests enable_tests
21727 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21728 wine_fn_config_makefile dlls/gameux enable_gameux
21729 wine_fn_config_makefile dlls/gameux/tests enable_tests
21730 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21731 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21732 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21733 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21734 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21735 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21736 wine_fn_config_makefile dlls/geolocation enable_geolocation
21737 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21738 wine_fn_config_makefile dlls/glu32 enable_glu32
21739 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21740 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21741 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21742 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21743 wine_fn_config_makefile dlls/hal enable_hal
21744 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21745 wine_fn_config_makefile dlls/hid enable_hid
21746 wine_fn_config_makefile dlls/hid/tests enable_tests
21747 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21748 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21749 wine_fn_config_makefile dlls/hlink enable_hlink
21750 wine_fn_config_makefile dlls/hlink/tests enable_tests
21751 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21752 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21753 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21754 wine_fn_config_makefile dlls/http.sys enable_http_sys
21755 wine_fn_config_makefile dlls/httpapi enable_httpapi
21756 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21757 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21758 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21759 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21760 wine_fn_config_makefile dlls/iccvid enable_iccvid
21761 wine_fn_config_makefile dlls/icmp enable_icmp
21762 wine_fn_config_makefile dlls/ieframe enable_ieframe
21763 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21764 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21765 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21766 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21767 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21768 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21769 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21770 wine_fn_config_makefile dlls/imm32 enable_imm32
21771 wine_fn_config_makefile dlls/imm32/tests enable_tests
21772 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21773 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21774 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21775 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21776 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21777 wine_fn_config_makefile dlls/infosoft enable_infosoft
21778 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21779 wine_fn_config_makefile dlls/initpki enable_initpki
21780 wine_fn_config_makefile dlls/inkobj enable_inkobj
21781 wine_fn_config_makefile dlls/inseng enable_inseng
21782 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21783 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21784 wine_fn_config_makefile dlls/iprop enable_iprop
21785 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21786 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21787 wine_fn_config_makefile dlls/itircl enable_itircl
21788 wine_fn_config_makefile dlls/itss enable_itss
21789 wine_fn_config_makefile dlls/itss/tests enable_tests
21790 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21791 wine_fn_config_makefile dlls/jscript enable_jscript
21792 wine_fn_config_makefile dlls/jscript/tests enable_tests
21793 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21794 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21795 wine_fn_config_makefile dlls/kerberos enable_kerberos
21796 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21797 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21798 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21799 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21800 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21801 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21802 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21803 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21804 wine_fn_config_makefile dlls/ksuser enable_ksuser
21805 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21806 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21807 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21808 wine_fn_config_makefile dlls/loadperf enable_loadperf
21809 wine_fn_config_makefile dlls/localspl enable_localspl
21810 wine_fn_config_makefile dlls/localspl/tests enable_tests
21811 wine_fn_config_makefile dlls/localui enable_localui
21812 wine_fn_config_makefile dlls/localui/tests enable_tests
21813 wine_fn_config_makefile dlls/lz32 enable_lz32
21814 wine_fn_config_makefile dlls/lz32/tests enable_tests
21815 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21816 wine_fn_config_makefile dlls/magnification enable_magnification
21817 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21818 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21819 wine_fn_config_makefile dlls/mapistub enable_mapistub
21820 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21821 wine_fn_config_makefile dlls/mcicda enable_mcicda
21822 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21823 wine_fn_config_makefile dlls/mciseq enable_mciseq
21824 wine_fn_config_makefile dlls/mciwave enable_mciwave
21825 wine_fn_config_makefile dlls/mf enable_mf
21826 wine_fn_config_makefile dlls/mf/tests enable_tests
21827 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21828 wine_fn_config_makefile dlls/mferror enable_mferror
21829 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21830 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21831 wine_fn_config_makefile dlls/mfplat enable_mfplat
21832 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21833 wine_fn_config_makefile dlls/mfplay enable_mfplay
21834 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21835 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21836 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21837 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21838 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21839 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21840 wine_fn_config_makefile dlls/midimap enable_midimap
21841 wine_fn_config_makefile dlls/mlang enable_mlang
21842 wine_fn_config_makefile dlls/mlang/tests enable_tests
21843 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21844 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21845 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21846 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21847 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21848 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21849 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21850 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21851 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21852 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21853 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21854 wine_fn_config_makefile dlls/mpr enable_mpr
21855 wine_fn_config_makefile dlls/mpr/tests enable_tests
21856 wine_fn_config_makefile dlls/mprapi enable_mprapi
21857 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21858 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21859 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21860 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21861 wine_fn_config_makefile dlls/msado15 enable_msado15
21862 wine_fn_config_makefile dlls/msado15/tests enable_tests
21863 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21864 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21865 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21866 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21867 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21868 wine_fn_config_makefile dlls/mscms enable_mscms
21869 wine_fn_config_makefile dlls/mscms/tests enable_tests
21870 wine_fn_config_makefile dlls/mscoree enable_mscoree
21871 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21872 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21873 wine_fn_config_makefile dlls/msctf enable_msctf
21874 wine_fn_config_makefile dlls/msctf/tests enable_tests
21875 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21876 wine_fn_config_makefile dlls/msctfp enable_msctfp
21877 wine_fn_config_makefile dlls/msdaps enable_msdaps
21878 wine_fn_config_makefile dlls/msdasql enable_msdasql
21879 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21880 wine_fn_config_makefile dlls/msdelta enable_msdelta
21881 wine_fn_config_makefile dlls/msdmo enable_msdmo
21882 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21883 wine_fn_config_makefile dlls/msdrm enable_msdrm
21884 wine_fn_config_makefile dlls/msftedit enable_msftedit
21885 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21886 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21887 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21888 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21889 wine_fn_config_makefile dlls/mshtml enable_mshtml
21890 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21891 wine_fn_config_makefile dlls/msi enable_msi
21892 wine_fn_config_makefile dlls/msi/tests enable_tests
21893 wine_fn_config_makefile dlls/msident enable_msident
21894 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21895 wine_fn_config_makefile dlls/msimsg enable_msimsg
21896 wine_fn_config_makefile dlls/msimtf enable_msimtf
21897 wine_fn_config_makefile dlls/msisip enable_msisip
21898 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21899 wine_fn_config_makefile dlls/msls31 enable_msls31
21900 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21901 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21902 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21903 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21904 wine_fn_config_makefile dlls/msports enable_msports
21905 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21906 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21907 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21908 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21909 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21910 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21911 wine_fn_config_makefile dlls/mstask enable_mstask
21912 wine_fn_config_makefile dlls/mstask/tests enable_tests
21913 wine_fn_config_makefile dlls/msttsengine enable_msttsengine
21914 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21915 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21916 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21917 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21918 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21919 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21920 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21921 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21922 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21923 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21924 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21925 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21926 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21927 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21928 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21929 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21930 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21931 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21932 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21933 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21934 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21935 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21936 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21937 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21938 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21939 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21940 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21941 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21942 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21943 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21944 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21945 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21946 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21947 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21948 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21949 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21950 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21951 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21952 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21953 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21954 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21955 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21956 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21957 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21958 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21959 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21960 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21961 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21962 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21963 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21964 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21965 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21966 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21967 wine_fn_config_makefile dlls/mswsock enable_mswsock
21968 wine_fn_config_makefile dlls/msxml enable_msxml
21969 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21970 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21971 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21972 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21973 wine_fn_config_makefile dlls/msxml4/tests enable_tests
21974 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21975 wine_fn_config_makefile dlls/msxml6/tests enable_tests
21976 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21977 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21978 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21979 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21980 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21981 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21982 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21983 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21984 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21985 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21986 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21987 wine_fn_config_makefile dlls/netprofm enable_netprofm
21988 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21989 wine_fn_config_makefile dlls/netutils enable_netutils
21990 wine_fn_config_makefile dlls/newdev enable_newdev
21991 wine_fn_config_makefile dlls/ninput enable_ninput
21992 wine_fn_config_makefile dlls/ninput/tests enable_tests
21993 wine_fn_config_makefile dlls/normaliz enable_normaliz
21994 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21995 wine_fn_config_makefile dlls/npptools enable_npptools
21996 wine_fn_config_makefile dlls/nsi enable_nsi
21997 wine_fn_config_makefile dlls/nsi/tests enable_tests
21998 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21999 wine_fn_config_makefile dlls/ntdll enable_ntdll
22000 wine_fn_config_makefile dlls/ntdll/tests enable_tests
22001 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
22002 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
22003 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
22004 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
22005 wine_fn_config_makefile dlls/ntprint enable_ntprint
22006 wine_fn_config_makefile dlls/ntprint/tests enable_tests
22007 wine_fn_config_makefile dlls/objsel enable_objsel
22008 wine_fn_config_makefile dlls/odbc32 enable_odbc32
22009 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
22010 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
22011 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
22012 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
22013 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
22014 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
22015 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
22016 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
22017 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
22018 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
22019 wine_fn_config_makefile dlls/ole32 enable_ole32
22020 wine_fn_config_makefile dlls/ole32/tests enable_tests
22021 wine_fn_config_makefile dlls/oleacc enable_oleacc
22022 wine_fn_config_makefile dlls/oleacc/tests enable_tests
22023 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
22024 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
22025 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
22026 wine_fn_config_makefile dlls/olecli32 enable_olecli32
22027 wine_fn_config_makefile dlls/oledb32 enable_oledb32
22028 wine_fn_config_makefile dlls/oledb32/tests enable_tests
22029 wine_fn_config_makefile dlls/oledlg enable_oledlg
22030 wine_fn_config_makefile dlls/oledlg/tests enable_tests
22031 wine_fn_config_makefile dlls/olepro32 enable_olepro32
22032 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
22033 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
22034 wine_fn_config_makefile dlls/olethk32 enable_olethk32
22035 wine_fn_config_makefile dlls/opcservices enable_opcservices
22036 wine_fn_config_makefile dlls/opcservices/tests enable_tests
22037 wine_fn_config_makefile dlls/opencl enable_opencl
22038 wine_fn_config_makefile dlls/opengl32 enable_opengl32
22039 wine_fn_config_makefile dlls/opengl32/tests enable_tests
22040 wine_fn_config_makefile dlls/packager enable_packager
22041 wine_fn_config_makefile dlls/packager/tests enable_tests
22042 wine_fn_config_makefile dlls/pdh enable_pdh
22043 wine_fn_config_makefile dlls/pdh/tests enable_tests
22044 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
22045 wine_fn_config_makefile dlls/pidgen enable_pidgen
22046 wine_fn_config_makefile dlls/powrprof enable_powrprof
22047 wine_fn_config_makefile dlls/printui enable_printui
22048 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
22049 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
22050 wine_fn_config_makefile dlls/propsys enable_propsys
22051 wine_fn_config_makefile dlls/propsys/tests enable_tests
22052 wine_fn_config_makefile dlls/psapi enable_psapi
22053 wine_fn_config_makefile dlls/psapi/tests enable_tests
22054 wine_fn_config_makefile dlls/pstorec enable_pstorec
22055 wine_fn_config_makefile dlls/pstorec/tests enable_tests
22056 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
22057 wine_fn_config_makefile dlls/qasf enable_qasf
22058 wine_fn_config_makefile dlls/qasf/tests enable_tests
22059 wine_fn_config_makefile dlls/qcap enable_qcap
22060 wine_fn_config_makefile dlls/qcap/tests enable_tests
22061 wine_fn_config_makefile dlls/qdvd enable_qdvd
22062 wine_fn_config_makefile dlls/qdvd/tests enable_tests
22063 wine_fn_config_makefile dlls/qedit enable_qedit
22064 wine_fn_config_makefile dlls/qedit/tests enable_tests
22065 wine_fn_config_makefile dlls/qmgr enable_qmgr
22066 wine_fn_config_makefile dlls/qmgr/tests enable_tests
22067 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
22068 wine_fn_config_makefile dlls/quartz enable_quartz
22069 wine_fn_config_makefile dlls/quartz/tests enable_tests
22070 wine_fn_config_makefile dlls/query enable_query
22071 wine_fn_config_makefile dlls/qwave enable_qwave
22072 wine_fn_config_makefile dlls/qwave/tests enable_tests
22073 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
22074 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
22075 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
22076 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
22077 wine_fn_config_makefile dlls/regapi enable_regapi
22078 wine_fn_config_makefile dlls/resutils enable_resutils
22079 wine_fn_config_makefile dlls/riched20 enable_riched20
22080 wine_fn_config_makefile dlls/riched20/tests enable_tests
22081 wine_fn_config_makefile dlls/riched32 enable_riched32
22082 wine_fn_config_makefile dlls/riched32/tests enable_tests
22083 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
22084 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
22085 wine_fn_config_makefile dlls/rsabase enable_rsabase
22086 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
22087 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
22088 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
22089 wine_fn_config_makefile dlls/rtutils enable_rtutils
22090 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
22091 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
22092 wine_fn_config_makefile dlls/samlib enable_samlib
22093 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
22094 wine_fn_config_makefile dlls/sapi enable_sapi
22095 wine_fn_config_makefile dlls/sapi/tests enable_tests
22096 wine_fn_config_makefile dlls/sas enable_sas
22097 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
22098 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
22099 wine_fn_config_makefile dlls/sccbase enable_sccbase
22100 wine_fn_config_makefile dlls/schannel enable_schannel
22101 wine_fn_config_makefile dlls/schannel/tests enable_tests
22102 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
22103 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
22104 wine_fn_config_makefile dlls/scrobj enable_scrobj
22105 wine_fn_config_makefile dlls/scrobj/tests enable_tests
22106 wine_fn_config_makefile dlls/scrrun enable_scrrun
22107 wine_fn_config_makefile dlls/scrrun/tests enable_tests
22108 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
22109 wine_fn_config_makefile dlls/sechost enable_sechost
22110 wine_fn_config_makefile dlls/secur32 enable_secur32
22111 wine_fn_config_makefile dlls/secur32/tests enable_tests
22112 wine_fn_config_makefile dlls/security enable_security
22113 wine_fn_config_makefile dlls/sensapi enable_sensapi
22114 wine_fn_config_makefile dlls/serialui enable_serialui
22115 wine_fn_config_makefile dlls/serialui/tests enable_tests
22116 wine_fn_config_makefile dlls/setupapi enable_setupapi
22117 wine_fn_config_makefile dlls/setupapi/tests enable_tests
22118 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
22119 wine_fn_config_makefile dlls/sfc enable_sfc
22120 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
22121 wine_fn_config_makefile dlls/shcore enable_shcore
22122 wine_fn_config_makefile dlls/shcore/tests enable_tests
22123 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
22124 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
22125 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
22126 wine_fn_config_makefile dlls/shell.dll16 enable_win16
22127 wine_fn_config_makefile dlls/shell32 enable_shell32
22128 wine_fn_config_makefile dlls/shell32/tests enable_tests
22129 wine_fn_config_makefile dlls/shfolder enable_shfolder
22130 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
22131 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
22132 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
22133 wine_fn_config_makefile dlls/slc enable_slc
22134 wine_fn_config_makefile dlls/slc/tests enable_tests
22135 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
22136 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
22137 wine_fn_config_makefile dlls/softpub enable_softpub
22138 wine_fn_config_makefile dlls/sound.drv16 enable_win16
22139 wine_fn_config_makefile dlls/spoolss enable_spoolss
22140 wine_fn_config_makefile dlls/spoolss/tests enable_tests
22141 wine_fn_config_makefile dlls/sppc enable_sppc
22142 wine_fn_config_makefile dlls/srclient enable_srclient
22143 wine_fn_config_makefile dlls/srvcli enable_srvcli
22144 wine_fn_config_makefile dlls/srvsvc enable_srvsvc
22145 wine_fn_config_makefile dlls/sspicli enable_sspicli
22146 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
22147 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
22148 wine_fn_config_makefile dlls/sti enable_sti
22149 wine_fn_config_makefile dlls/sti/tests enable_tests
22150 wine_fn_config_makefile dlls/storage.dll16 enable_win16
22151 wine_fn_config_makefile dlls/stress.dll16 enable_win16
22152 wine_fn_config_makefile dlls/strmdll enable_strmdll
22153 wine_fn_config_makefile dlls/svrapi enable_svrapi
22154 wine_fn_config_makefile dlls/sxs enable_sxs
22155 wine_fn_config_makefile dlls/sxs/tests enable_tests
22156 wine_fn_config_makefile dlls/system.drv16 enable_win16
22157 wine_fn_config_makefile dlls/t2embed enable_t2embed
22158 wine_fn_config_makefile dlls/t2embed/tests enable_tests
22159 wine_fn_config_makefile dlls/tapi32 enable_tapi32
22160 wine_fn_config_makefile dlls/tapi32/tests enable_tests
22161 wine_fn_config_makefile dlls/taskschd enable_taskschd
22162 wine_fn_config_makefile dlls/taskschd/tests enable_tests
22163 wine_fn_config_makefile dlls/tbs enable_tbs
22164 wine_fn_config_makefile dlls/tdh enable_tdh
22165 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
22166 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
22167 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
22168 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
22169 wine_fn_config_makefile dlls/traffic enable_traffic
22170 wine_fn_config_makefile dlls/twain.dll16 enable_win16
22171 wine_fn_config_makefile dlls/twain_32 enable_twain_32
22172 wine_fn_config_makefile dlls/twain_32/tests enable_tests
22173 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
22174 wine_fn_config_makefile dlls/twinapi.appcore/tests enable_tests
22175 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
22176 wine_fn_config_makefile dlls/tzres enable_tzres
22177 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
22178 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
22179 wine_fn_config_makefile dlls/uianimation enable_uianimation
22180 wine_fn_config_makefile dlls/uianimation/tests enable_tests
22181 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
22182 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
22183 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
22184 wine_fn_config_makefile dlls/unicows enable_unicows
22185 wine_fn_config_makefile dlls/updspapi enable_updspapi
22186 wine_fn_config_makefile dlls/url enable_url
22187 wine_fn_config_makefile dlls/urlmon enable_urlmon
22188 wine_fn_config_makefile dlls/urlmon/tests enable_tests
22189 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
22190 wine_fn_config_makefile dlls/user.exe16 enable_win16
22191 wine_fn_config_makefile dlls/user32 enable_user32
22192 wine_fn_config_makefile dlls/user32/tests enable_tests
22193 wine_fn_config_makefile dlls/userenv enable_userenv
22194 wine_fn_config_makefile dlls/userenv/tests enable_tests
22195 wine_fn_config_makefile dlls/usp10 enable_usp10
22196 wine_fn_config_makefile dlls/usp10/tests enable_tests
22197 wine_fn_config_makefile dlls/utildll enable_utildll
22198 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
22199 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
22200 wine_fn_config_makefile dlls/vbscript enable_vbscript
22201 wine_fn_config_makefile dlls/vbscript/tests enable_tests
22202 wine_fn_config_makefile dlls/vcomp enable_vcomp
22203 wine_fn_config_makefile dlls/vcomp/tests enable_tests
22204 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
22205 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
22206 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
22207 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
22208 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
22209 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
22210 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
22211 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
22212 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
22213 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
22214 wine_fn_config_makefile dlls/ver.dll16 enable_win16
22215 wine_fn_config_makefile dlls/version enable_version
22216 wine_fn_config_makefile dlls/version/tests enable_tests
22217 wine_fn_config_makefile dlls/vga enable_vga
22218 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
22219 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
22220 wine_fn_config_makefile dlls/vmm.vxd enable_win16
22221 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
22222 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
22223 wine_fn_config_makefile dlls/vssapi enable_vssapi
22224 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
22225 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
22226 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
22227 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
22228 wine_fn_config_makefile dlls/w32skrnl enable_win16
22229 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
22230 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
22231 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
22232 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
22233 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
22234 wine_fn_config_makefile dlls/wdscore enable_wdscore
22235 wine_fn_config_makefile dlls/webservices enable_webservices
22236 wine_fn_config_makefile dlls/webservices/tests enable_tests
22237 wine_fn_config_makefile dlls/websocket enable_websocket
22238 wine_fn_config_makefile dlls/wer enable_wer
22239 wine_fn_config_makefile dlls/wer/tests enable_tests
22240 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
22241 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
22242 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
22243 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
22244 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
22245 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
22246 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
22247 wine_fn_config_makefile dlls/win32u enable_win32u
22248 wine_fn_config_makefile dlls/win32u/tests enable_tests
22249 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
22250 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
22251 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
22252 wine_fn_config_makefile dlls/windows.applicationmodel enable_windows_applicationmodel
22253 wine_fn_config_makefile dlls/windows.applicationmodel/tests enable_tests
22254 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
22255 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
22256 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
22257 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
22258 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
22259 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
22260 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
22261 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
22262 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
22263 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
22264 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
22265 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
22266 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
22267 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
22268 wine_fn_config_makefile dlls/windows.media.mediacontrol enable_windows_media_mediacontrol
22269 wine_fn_config_makefile dlls/windows.media.mediacontrol/tests enable_tests
22270 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
22271 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
22272 wine_fn_config_makefile dlls/windows.media enable_windows_media
22273 wine_fn_config_makefile dlls/windows.media/tests enable_tests
22274 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
22275 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
22276 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
22277 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
22278 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
22279 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier enable_windows_security_credentials_ui_userconsentverifier
22280 wine_fn_config_makefile dlls/windows.security.credentials.ui.userconsentverifier/tests enable_tests
22281 wine_fn_config_makefile dlls/windows.storage.applicationdata enable_windows_storage_applicationdata
22282 wine_fn_config_makefile dlls/windows.storage.applicationdata/tests enable_tests
22283 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
22284 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
22285 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
22286 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
22287 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
22288 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
22289 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
22290 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
22291 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
22292 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
22293 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
22294 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
22295 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
22296 wine_fn_config_makefile dlls/wined3d enable_wined3d
22297 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
22298 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
22299 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
22300 wine_fn_config_makefile dlls/winemapi enable_winemapi
22301 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
22302 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
22303 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
22304 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
22305 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
22306 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
22307 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
22308 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
22309 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
22310 wine_fn_config_makefile dlls/wing.dll16 enable_win16
22311 wine_fn_config_makefile dlls/wing32 enable_wing32
22312 wine_fn_config_makefile dlls/winhttp enable_winhttp
22313 wine_fn_config_makefile dlls/winhttp/tests enable_tests
22314 wine_fn_config_makefile dlls/wininet enable_wininet
22315 wine_fn_config_makefile dlls/wininet/tests enable_tests
22316 wine_fn_config_makefile dlls/winmm enable_winmm
22317 wine_fn_config_makefile dlls/winmm/tests enable_tests
22318 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
22319 wine_fn_config_makefile dlls/winnls32 enable_winnls32
22320 wine_fn_config_makefile dlls/winprint enable_winprint
22321 wine_fn_config_makefile dlls/winscard enable_winscard
22322 wine_fn_config_makefile dlls/winscard/tests enable_tests
22323 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
22324 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
22325 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
22326 wine_fn_config_makefile dlls/winsta enable_winsta
22327 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
22328 wine_fn_config_makefile dlls/wintab32 enable_wintab32
22329 wine_fn_config_makefile dlls/wintab32/tests enable_tests
22330 wine_fn_config_makefile dlls/wintrust enable_wintrust
22331 wine_fn_config_makefile dlls/wintrust/tests enable_tests
22332 wine_fn_config_makefile dlls/wintypes enable_wintypes
22333 wine_fn_config_makefile dlls/wintypes/tests enable_tests
22334 wine_fn_config_makefile dlls/winusb enable_winusb
22335 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
22336 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
22337 wine_fn_config_makefile dlls/wlanui enable_wlanui
22338 wine_fn_config_makefile dlls/wldap32 enable_wldap32
22339 wine_fn_config_makefile dlls/wldap32/tests enable_tests
22340 wine_fn_config_makefile dlls/wldp enable_wldp
22341 wine_fn_config_makefile dlls/wldp/tests enable_tests
22342 wine_fn_config_makefile dlls/wmasf enable_wmasf
22343 wine_fn_config_makefile dlls/wmi enable_wmi
22344 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
22345 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
22346 wine_fn_config_makefile dlls/wmp enable_wmp
22347 wine_fn_config_makefile dlls/wmp/tests enable_tests
22348 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
22349 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
22350 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
22351 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
22352 wine_fn_config_makefile dlls/wofutil enable_wofutil
22353 wine_fn_config_makefile dlls/wow32 enable_win16
22354 wine_fn_config_makefile dlls/wow64 enable_wow64
22355 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
22356 wine_fn_config_makefile dlls/wow64win enable_wow64win
22357 wine_fn_config_makefile dlls/wpc enable_wpc
22358 wine_fn_config_makefile dlls/wpc/tests enable_tests
22359 wine_fn_config_makefile dlls/wpcap enable_wpcap
22360 wine_fn_config_makefile dlls/wpcap/tests enable_tests
22361 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
22362 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
22363 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
22364 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
22365 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
22366 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
22367 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
22368 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
22369 wine_fn_config_makefile dlls/wsock32 enable_wsock32
22370 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
22371 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
22372 wine_fn_config_makefile dlls/wuapi enable_wuapi
22373 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
22374 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
22375 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
22376 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
22377 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
22378 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
22379 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
22380 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
22381 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
22382 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
22383 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
22384 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
22385 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
22386 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
22387 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
22388 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
22389 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
22390 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
22391 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
22392 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
22393 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
22394 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
22395 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
22396 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
22397 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
22398 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
22399 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
22400 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
22401 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
22402 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
22403 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
22404 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
22405 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
22406 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
22407 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22408 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22409 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22410 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
22411 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22412 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22413 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22414 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22415 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22416 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22417 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22418 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
22419 wine_fn_config_makefile dlls/xmllite enable_xmllite
22420 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22421 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22422 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22423 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22424 wine_fn_config_makefile fonts enable_fonts
22425 wine_fn_config_makefile include enable_include
22426 wine_fn_config_makefile libs/adsiid enable_adsiid
22427 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22428 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22429 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22430 wine_fn_config_makefile libs/dxguid enable_dxguid
22431 wine_fn_config_makefile libs/faudio enable_faudio
22432 wine_fn_config_makefile libs/fluidsynth enable_fluidsynth
22433 wine_fn_config_makefile libs/gsm enable_gsm
22434 wine_fn_config_makefile libs/jpeg enable_jpeg
22435 wine_fn_config_makefile libs/jxr enable_jxr
22436 wine_fn_config_makefile libs/lcms2 enable_lcms2
22437 wine_fn_config_makefile libs/ldap enable_ldap
22438 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22439 wine_fn_config_makefile libs/mpg123 enable_mpg123
22440 wine_fn_config_makefile libs/musl enable_musl
22441 wine_fn_config_makefile libs/png enable_png
22442 wine_fn_config_makefile libs/strmbase enable_strmbase
22443 wine_fn_config_makefile libs/strmiids enable_strmiids
22444 wine_fn_config_makefile libs/tiff enable_tiff
22445 wine_fn_config_makefile libs/uuid enable_uuid
22446 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22447 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22448 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22449 wine_fn_config_makefile libs/xml2 enable_xml2
22450 wine_fn_config_makefile libs/xslt enable_xslt
22451 wine_fn_config_makefile libs/zlib enable_zlib
22452 wine_fn_config_makefile libs/zydis enable_zydis
22453 wine_fn_config_makefile loader enable_loader
22454 wine_fn_config_makefile nls enable_nls
22455 wine_fn_config_makefile po enable_po
22456 wine_fn_config_makefile programs/arp enable_arp
22457 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22458 wine_fn_config_makefile programs/attrib enable_attrib
22459 wine_fn_config_makefile programs/cabarc enable_cabarc
22460 wine_fn_config_makefile programs/cacls enable_cacls
22461 wine_fn_config_makefile programs/certutil enable_certutil
22462 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22463 wine_fn_config_makefile programs/clock enable_clock
22464 wine_fn_config_makefile programs/cmd enable_cmd
22465 wine_fn_config_makefile programs/cmd/tests enable_tests
22466 wine_fn_config_makefile programs/conhost enable_conhost
22467 wine_fn_config_makefile programs/conhost/tests enable_tests
22468 wine_fn_config_makefile programs/control enable_control
22469 wine_fn_config_makefile programs/cscript enable_cscript
22470 wine_fn_config_makefile programs/dism enable_dism
22471 wine_fn_config_makefile programs/dllhost enable_dllhost
22472 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22473 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22474 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22475 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22476 wine_fn_config_makefile programs/eject enable_eject
22477 wine_fn_config_makefile programs/expand enable_expand
22478 wine_fn_config_makefile programs/explorer enable_explorer
22479 wine_fn_config_makefile programs/explorer/tests enable_tests
22480 wine_fn_config_makefile programs/extrac32 enable_extrac32
22481 wine_fn_config_makefile programs/fc enable_fc
22482 wine_fn_config_makefile programs/find enable_find
22483 wine_fn_config_makefile programs/find/tests enable_tests
22484 wine_fn_config_makefile programs/findstr enable_findstr
22485 wine_fn_config_makefile programs/findstr/tests enable_tests
22486 wine_fn_config_makefile programs/fsutil enable_fsutil
22487 wine_fn_config_makefile programs/fsutil/tests enable_tests
22488 wine_fn_config_makefile programs/hh enable_hh
22489 wine_fn_config_makefile programs/hostname enable_hostname
22490 wine_fn_config_makefile programs/icacls enable_icacls
22491 wine_fn_config_makefile programs/icinfo enable_icinfo
22492 wine_fn_config_makefile programs/iexplore enable_iexplore
22493 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22494 wine_fn_config_makefile programs/klist enable_klist
22495 wine_fn_config_makefile programs/lodctr enable_lodctr
22496 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22497 wine_fn_config_makefile programs/mshta enable_mshta
22498 wine_fn_config_makefile programs/msidb enable_msidb
22499 wine_fn_config_makefile programs/msiexec enable_msiexec
22500 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22501 wine_fn_config_makefile programs/net enable_net
22502 wine_fn_config_makefile programs/netsh enable_netsh
22503 wine_fn_config_makefile programs/netstat enable_netstat
22504 wine_fn_config_makefile programs/ngen enable_ngen
22505 wine_fn_config_makefile programs/notepad enable_notepad
22506 wine_fn_config_makefile programs/oleview enable_oleview
22507 wine_fn_config_makefile programs/ping enable_ping
22508 wine_fn_config_makefile programs/plugplay enable_plugplay
22509 wine_fn_config_makefile programs/pnputil enable_pnputil
22510 wine_fn_config_makefile programs/powershell enable_powershell
22511 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22512 wine_fn_config_makefile programs/progman enable_progman
22513 wine_fn_config_makefile programs/reg enable_reg
22514 wine_fn_config_makefile programs/reg/tests enable_tests
22515 wine_fn_config_makefile programs/regasm enable_regasm
22516 wine_fn_config_makefile programs/regedit enable_regedit
22517 wine_fn_config_makefile programs/regedit/tests enable_tests
22518 wine_fn_config_makefile programs/regini enable_regini
22519 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22520 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22521 wine_fn_config_makefile programs/robocopy enable_robocopy
22522 wine_fn_config_makefile programs/rpcss enable_rpcss
22523 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22524 wine_fn_config_makefile programs/rundll32 enable_rundll32
22525 wine_fn_config_makefile programs/sc enable_sc
22526 wine_fn_config_makefile programs/sc/tests enable_tests
22527 wine_fn_config_makefile programs/schtasks enable_schtasks
22528 wine_fn_config_makefile programs/schtasks/tests enable_tests
22529 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22530 wine_fn_config_makefile programs/secedit enable_secedit
22531 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22532 wine_fn_config_makefile programs/services enable_services
22533 wine_fn_config_makefile programs/services/tests enable_tests
22534 wine_fn_config_makefile programs/setx enable_setx
22535 wine_fn_config_makefile programs/shutdown enable_shutdown
22536 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22537 wine_fn_config_makefile programs/start enable_start
22538 wine_fn_config_makefile programs/subst enable_subst
22539 wine_fn_config_makefile programs/svchost enable_svchost
22540 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22541 wine_fn_config_makefile programs/taskkill enable_taskkill
22542 wine_fn_config_makefile programs/tasklist enable_tasklist
22543 wine_fn_config_makefile programs/tasklist/tests enable_tests
22544 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22545 wine_fn_config_makefile programs/termsv enable_termsv
22546 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22547 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22548 wine_fn_config_makefile programs/view enable_view
22549 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22550 wine_fn_config_makefile programs/where enable_where
22551 wine_fn_config_makefile programs/whoami enable_whoami
22552 wine_fn_config_makefile programs/wineboot enable_wineboot
22553 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22554 wine_fn_config_makefile programs/winecfg enable_winecfg
22555 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22556 wine_fn_config_makefile programs/winedbg enable_winedbg
22557 wine_fn_config_makefile programs/winedevice enable_winedevice
22558 wine_fn_config_makefile programs/winefile enable_winefile
22559 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22560 wine_fn_config_makefile programs/winemine enable_winemine
22561 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22562 wine_fn_config_makefile programs/winepath enable_winepath
22563 wine_fn_config_makefile programs/winetest enable_winetest
22564 wine_fn_config_makefile programs/winevdm enable_win16
22565 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22566 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22567 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22568 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22569 wine_fn_config_makefile programs/winver enable_winver
22570 wine_fn_config_makefile programs/wmic enable_wmic
22571 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22572 wine_fn_config_makefile programs/wordpad enable_wordpad
22573 wine_fn_config_makefile programs/write enable_write
22574 wine_fn_config_makefile programs/wscript enable_wscript
22575 wine_fn_config_makefile programs/wscript/tests enable_tests
22576 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22577 wine_fn_config_makefile programs/wusa enable_wusa
22578 wine_fn_config_makefile programs/xcopy enable_xcopy
22579 wine_fn_config_makefile programs/xcopy/tests enable_tests
22580 wine_fn_config_makefile server enable_server
22581 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22582 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22583 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22584 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22585 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22586 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22587 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22588 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22589 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22592 as_fn_append CONFIGURE_TARGETS " TAGS"
22593 as_fn_append CONFIGURE_TARGETS " tags"
22594 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22595 as_fn_append CONFIGURE_TARGETS " config.log"
22596 as_fn_append CONFIGURE_TARGETS " config.status"
22597 as_fn_append CONFIGURE_TARGETS " include/config.h"
22598 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22599 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22601 if test "x$enable_tools" != xno
22602 then
22603 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22604 ac_config_commands="$ac_config_commands tools/makedep"
22608 ac_config_commands="$ac_config_commands Makefile"
22612 SHELL=/bin/sh
22615 as_fn_append wine_rules "
22616 all: wine
22617 @echo \"Wine build complete.\"
22618 .INIT: Makefile
22619 .MAKEFILEDEPS:
22620 all: Makefile
22621 Makefile: config.status \$(MAKEDEP)
22622 @./config.status Makefile
22623 depend: \$(MAKEDEP)
22624 \$(MAKEDEP)$makedep_flags"
22627 as_fn_append wine_rules "
22628 config.status: ${wine_srcdir}configure
22629 @./config.status --recheck
22630 include/config.h: include/stamp-h
22631 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22632 @./config.status include/config.h include/stamp-h"
22634 if test "x$enable_maintainer_mode" = xyes
22635 then
22636 as_fn_append wine_rules "
22637 configure: configure.ac aclocal.m4
22638 autoconf --warnings=all
22639 include/config.h.in: include/stamp-h.in
22640 include/stamp-h.in: configure.ac aclocal.m4
22641 autoheader --warnings=all
22642 @echo timestamp > \$@"
22645 if test "x$enable_tools" != xno
22646 then
22647 as_fn_append wine_rules "
22648 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22649 @./config.status tools/makedep
22650 Makefile: tools/makedep$ac_exeext"
22651 else
22652 as_fn_append wine_rules "
22653 \$(MAKEDEP):
22654 @echo \"You need to run make in $toolsdir first\" && false"
22658 if test -n "$with_wine64"
22659 then
22660 case "$with_wine64" in
22661 /*) reldir="" ;;
22662 *) reldir="../" ;;
22663 esac
22664 rm -f fonts server 2>/dev/null
22665 as_fn_append wine_rules "
22666 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22667 loader/wine64 loader/wine64-preloader:
22668 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22669 $with_wine64/loader/wine:
22670 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22671 $with_wine64/loader/wine-preloader:
22672 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22673 clean::
22674 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22675 else
22676 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22677 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22678 fonts \
22679 loader/wine.inf \
22680 nls \
22681 programs/msidb/msidb \
22682 programs/msiexec/msiexec \
22683 programs/notepad/notepad \
22684 programs/regedit/regedit \
22685 programs/regsvr32/regsvr32 \
22686 programs/wineboot/wineboot \
22687 programs/winecfg/winecfg \
22688 programs/wineconsole/wineconsole \
22689 programs/winedbg/winedbg \
22690 programs/winefile/winefile \
22691 programs/winemine/winemine \
22692 programs/winepath/winepath \
22693 server/wineserver"
22695 case $host_os in
22696 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22697 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22698 esac
22702 as_fn_append wine_rules "
22703 distclean:: clean
22704 rm -rf autom4te.cache
22705 maintainer-clean::
22706 rm -f configure include/config.h.in"
22709 as_fn_append wine_rules "
22710 dlls/ntdll/unix/version.c: dummy
22711 @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)
22712 programs/winetest/build.rc: dummy
22713 @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)
22714 programs/winetest/build.nfo:
22715 @-\$(CC) -v 2>\$@
22716 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
22717 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22718 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22721 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22723 as_fn_append wine_rules "
22724 TAGS etags:
22725 rm -f TAGS
22726 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22727 tags ctags:
22728 rm -f tags
22729 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22730 dummy:
22731 .PHONY: depend dummy install-manpages"
22733 printf "%s\n" " done" >&6
22734 cat >confcache <<\_ACEOF
22735 # This file is a shell script that caches the results of configure
22736 # tests run on this system so they can be shared between configure
22737 # scripts and configure runs, see configure's option --config-cache.
22738 # It is not useful on other systems. If it contains results you don't
22739 # want to keep, you may remove or edit it.
22741 # config.status only pays attention to the cache file if you give it
22742 # the --recheck option to rerun configure.
22744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22746 # following values.
22748 _ACEOF
22750 # The following way of writing the cache mishandles newlines in values,
22751 # but we know of no workaround that is simple, portable, and efficient.
22752 # So, we kill variables containing newlines.
22753 # Ultrix sh set writes to stderr and can't be redirected directly,
22754 # and sets the high bit in the cache file unless we assign to the vars.
22756 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22757 eval ac_val=\$$ac_var
22758 case $ac_val in #(
22759 *${as_nl}*)
22760 case $ac_var in #(
22761 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22762 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22763 esac
22764 case $ac_var in #(
22765 _ | IFS | as_nl) ;; #(
22766 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22767 *) { eval $ac_var=; unset $ac_var;} ;;
22768 esac ;;
22769 esac
22770 done
22772 (set) 2>&1 |
22773 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22774 *${as_nl}ac_space=\ *)
22775 # `set' does not quote correctly, so add quotes: double-quote
22776 # substitution turns \\\\ into \\, and sed turns \\ into \.
22777 sed -n \
22778 "s/'/'\\\\''/g;
22779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22780 ;; #(
22782 # `set' quotes correctly as required by POSIX, so do not add quotes.
22783 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22785 esac |
22786 sort
22788 sed '
22789 /^ac_cv_env_/b end
22790 t clear
22791 :clear
22792 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22793 t end
22794 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22795 :end' >>confcache
22796 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22797 if test -w "$cache_file"; then
22798 if test "x$cache_file" != "x/dev/null"; then
22799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22800 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22801 if test ! -f "$cache_file" || test -h "$cache_file"; then
22802 cat confcache >"$cache_file"
22803 else
22804 case $cache_file in #(
22805 */* | ?:*)
22806 mv -f confcache "$cache_file"$$ &&
22807 mv -f "$cache_file"$$ "$cache_file" ;; #(
22809 mv -f confcache "$cache_file" ;;
22810 esac
22813 else
22814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22815 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22818 rm -f confcache
22820 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22821 # Let make expand exec_prefix.
22822 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22824 DEFS=-DHAVE_CONFIG_H
22826 ac_libobjs=
22827 ac_ltlibobjs=
22829 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22830 # 1. Remove the extension, and $U if already installed.
22831 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22832 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22833 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22834 # will be set to the directory where LIBOBJS objects are built.
22835 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22836 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22837 done
22838 LIBOBJS=$ac_libobjs
22840 LTLIBOBJS=$ac_ltlibobjs
22844 : "${CONFIG_STATUS=./config.status}"
22845 ac_write_fail=0
22846 ac_clean_files_save=$ac_clean_files
22847 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22849 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22850 as_write_fail=0
22851 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22852 #! $SHELL
22853 # Generated by $as_me.
22854 # Run this file to recreate the current configuration.
22855 # Compiler output produced by configure, useful for debugging
22856 # configure, is in config.log if it exists.
22858 debug=false
22859 ac_cs_recheck=false
22860 ac_cs_silent=false
22862 SHELL=\${CONFIG_SHELL-$SHELL}
22863 export SHELL
22864 _ASEOF
22865 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22866 ## -------------------- ##
22867 ## M4sh Initialization. ##
22868 ## -------------------- ##
22870 # Be more Bourne compatible
22871 DUALCASE=1; export DUALCASE # for MKS sh
22872 as_nop=:
22873 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22874 then :
22875 emulate sh
22876 NULLCMD=:
22877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22878 # is contrary to our usage. Disable this feature.
22879 alias -g '${1+"$@"}'='"$@"'
22880 setopt NO_GLOB_SUBST
22881 else $as_nop
22882 case `(set -o) 2>/dev/null` in #(
22883 *posix*) :
22884 set -o posix ;; #(
22885 *) :
22887 esac
22892 # Reset variables that may have inherited troublesome values from
22893 # the environment.
22895 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22896 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22897 # side effect of setting IFS to empty, thus disabling word splitting.)
22898 # Quoting is to prevent editors from complaining about space-tab.
22899 as_nl='
22901 export as_nl
22902 IFS=" "" $as_nl"
22904 PS1='$ '
22905 PS2='> '
22906 PS4='+ '
22908 # Ensure predictable behavior from utilities with locale-dependent output.
22909 LC_ALL=C
22910 export LC_ALL
22911 LANGUAGE=C
22912 export LANGUAGE
22914 # We cannot yet rely on "unset" to work, but we need these variables
22915 # to be unset--not just set to an empty or harmless value--now, to
22916 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22917 # also avoids known problems related to "unset" and subshell syntax
22918 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22919 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22920 do eval test \${$as_var+y} \
22921 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22922 done
22924 # Ensure that fds 0, 1, and 2 are open.
22925 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22926 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22927 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22929 # The user is always right.
22930 if ${PATH_SEPARATOR+false} :; then
22931 PATH_SEPARATOR=:
22932 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22933 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22934 PATH_SEPARATOR=';'
22939 # Find who we are. Look in the path if we contain no directory separator.
22940 as_myself=
22941 case $0 in #((
22942 *[\\/]* ) as_myself=$0 ;;
22943 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22944 for as_dir in $PATH
22946 IFS=$as_save_IFS
22947 case $as_dir in #(((
22948 '') as_dir=./ ;;
22949 */) ;;
22950 *) as_dir=$as_dir/ ;;
22951 esac
22952 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22953 done
22954 IFS=$as_save_IFS
22957 esac
22958 # We did not find ourselves, most probably we were run as `sh COMMAND'
22959 # in which case we are not to be found in the path.
22960 if test "x$as_myself" = x; then
22961 as_myself=$0
22963 if test ! -f "$as_myself"; then
22964 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22965 exit 1
22970 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22971 # ----------------------------------------
22972 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22973 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22974 # script with STATUS, using 1 if that was 0.
22975 as_fn_error ()
22977 as_status=$1; test $as_status -eq 0 && as_status=1
22978 if test "$4"; then
22979 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22980 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22982 printf "%s\n" "$as_me: error: $2" >&2
22983 as_fn_exit $as_status
22984 } # as_fn_error
22988 # as_fn_set_status STATUS
22989 # -----------------------
22990 # Set $? to STATUS, without forking.
22991 as_fn_set_status ()
22993 return $1
22994 } # as_fn_set_status
22996 # as_fn_exit STATUS
22997 # -----------------
22998 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22999 as_fn_exit ()
23001 set +e
23002 as_fn_set_status $1
23003 exit $1
23004 } # as_fn_exit
23006 # as_fn_unset VAR
23007 # ---------------
23008 # Portably unset VAR.
23009 as_fn_unset ()
23011 { eval $1=; unset $1;}
23013 as_unset=as_fn_unset
23015 # as_fn_append VAR VALUE
23016 # ----------------------
23017 # Append the text in VALUE to the end of the definition contained in VAR. Take
23018 # advantage of any shell optimizations that allow amortized linear growth over
23019 # repeated appends, instead of the typical quadratic growth present in naive
23020 # implementations.
23021 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
23022 then :
23023 eval 'as_fn_append ()
23025 eval $1+=\$2
23027 else $as_nop
23028 as_fn_append ()
23030 eval $1=\$$1\$2
23032 fi # as_fn_append
23034 # as_fn_arith ARG...
23035 # ------------------
23036 # Perform arithmetic evaluation on the ARGs, and store the result in the
23037 # global $as_val. Take advantage of shells that can avoid forks. The arguments
23038 # must be portable across $(()) and expr.
23039 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
23040 then :
23041 eval 'as_fn_arith ()
23043 as_val=$(( $* ))
23045 else $as_nop
23046 as_fn_arith ()
23048 as_val=`expr "$@" || test $? -eq 1`
23050 fi # as_fn_arith
23053 if expr a : '\(a\)' >/dev/null 2>&1 &&
23054 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23055 as_expr=expr
23056 else
23057 as_expr=false
23060 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23061 as_basename=basename
23062 else
23063 as_basename=false
23066 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23067 as_dirname=dirname
23068 else
23069 as_dirname=false
23072 as_me=`$as_basename -- "$0" ||
23073 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23074 X"$0" : 'X\(//\)$' \| \
23075 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23076 printf "%s\n" X/"$0" |
23077 sed '/^.*\/\([^/][^/]*\)\/*$/{
23078 s//\1/
23081 /^X\/\(\/\/\)$/{
23082 s//\1/
23085 /^X\/\(\/\).*/{
23086 s//\1/
23089 s/.*/./; q'`
23091 # Avoid depending upon Character Ranges.
23092 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23093 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23094 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23095 as_cr_digits='0123456789'
23096 as_cr_alnum=$as_cr_Letters$as_cr_digits
23099 # Determine whether it's possible to make 'echo' print without a newline.
23100 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
23101 # for compatibility with existing Makefiles.
23102 ECHO_C= ECHO_N= ECHO_T=
23103 case `echo -n x` in #(((((
23104 -n*)
23105 case `echo 'xy\c'` in
23106 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23107 xy) ECHO_C='\c';;
23108 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
23109 ECHO_T=' ';;
23110 esac;;
23112 ECHO_N='-n';;
23113 esac
23115 # For backward compatibility with old third-party macros, we provide
23116 # the shell variables $as_echo and $as_echo_n. New code should use
23117 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
23118 as_echo='printf %s\n'
23119 as_echo_n='printf %s'
23121 rm -f conf$$ conf$$.exe conf$$.file
23122 if test -d conf$$.dir; then
23123 rm -f conf$$.dir/conf$$.file
23124 else
23125 rm -f conf$$.dir
23126 mkdir conf$$.dir 2>/dev/null
23128 if (echo >conf$$.file) 2>/dev/null; then
23129 if ln -s conf$$.file conf$$ 2>/dev/null; then
23130 as_ln_s='ln -s'
23131 # ... but there are two gotchas:
23132 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23133 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23134 # In both cases, we have to default to `cp -pR'.
23135 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23136 as_ln_s='cp -pR'
23137 elif ln conf$$.file conf$$ 2>/dev/null; then
23138 as_ln_s=ln
23139 else
23140 as_ln_s='cp -pR'
23142 else
23143 as_ln_s='cp -pR'
23145 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23146 rmdir conf$$.dir 2>/dev/null
23149 # as_fn_mkdir_p
23150 # -------------
23151 # Create "$as_dir" as a directory, including parents if necessary.
23152 as_fn_mkdir_p ()
23155 case $as_dir in #(
23156 -*) as_dir=./$as_dir;;
23157 esac
23158 test -d "$as_dir" || eval $as_mkdir_p || {
23159 as_dirs=
23160 while :; do
23161 case $as_dir in #(
23162 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23163 *) as_qdir=$as_dir;;
23164 esac
23165 as_dirs="'$as_qdir' $as_dirs"
23166 as_dir=`$as_dirname -- "$as_dir" ||
23167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23168 X"$as_dir" : 'X\(//\)[^/]' \| \
23169 X"$as_dir" : 'X\(//\)$' \| \
23170 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23171 printf "%s\n" X"$as_dir" |
23172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23173 s//\1/
23176 /^X\(\/\/\)[^/].*/{
23177 s//\1/
23180 /^X\(\/\/\)$/{
23181 s//\1/
23184 /^X\(\/\).*/{
23185 s//\1/
23188 s/.*/./; q'`
23189 test -d "$as_dir" && break
23190 done
23191 test -z "$as_dirs" || eval "mkdir $as_dirs"
23192 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
23195 } # as_fn_mkdir_p
23196 if mkdir -p . 2>/dev/null; then
23197 as_mkdir_p='mkdir -p "$as_dir"'
23198 else
23199 test -d ./-p && rmdir ./-p
23200 as_mkdir_p=false
23204 # as_fn_executable_p FILE
23205 # -----------------------
23206 # Test if FILE is an executable regular file.
23207 as_fn_executable_p ()
23209 test -f "$1" && test -x "$1"
23210 } # as_fn_executable_p
23211 as_test_x='test -x'
23212 as_executable_p=as_fn_executable_p
23214 # Sed expression to map a string onto a valid CPP name.
23215 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23217 # Sed expression to map a string onto a valid variable name.
23218 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23221 exec 6>&1
23222 ## ----------------------------------- ##
23223 ## Main body of $CONFIG_STATUS script. ##
23224 ## ----------------------------------- ##
23225 _ASEOF
23226 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
23228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23229 # Save the log message, to keep $0 and so on meaningful, and to
23230 # report actual input values of CONFIG_FILES etc. instead of their
23231 # values after options handling.
23232 ac_log="
23233 This file was extended by Wine $as_me 8.21, which was
23234 generated by GNU Autoconf 2.71. Invocation command line was
23236 CONFIG_FILES = $CONFIG_FILES
23237 CONFIG_HEADERS = $CONFIG_HEADERS
23238 CONFIG_LINKS = $CONFIG_LINKS
23239 CONFIG_COMMANDS = $CONFIG_COMMANDS
23240 $ $0 $@
23242 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23245 _ACEOF
23248 case $ac_config_headers in *"
23249 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
23250 esac
23253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23254 # Files that config.status was made for.
23255 config_headers="$ac_config_headers"
23256 config_links="$ac_config_links"
23257 config_commands="$ac_config_commands"
23259 _ACEOF
23261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23262 ac_cs_usage="\
23263 \`$as_me' instantiates files and other configuration actions
23264 from templates according to the current configuration. Unless the files
23265 and actions are specified as TAGs, all are instantiated by default.
23267 Usage: $0 [OPTION]... [TAG]...
23269 -h, --help print this help, then exit
23270 -V, --version print version number and configuration settings, then exit
23271 --config print configuration, then exit
23272 -q, --quiet, --silent
23273 do not print progress messages
23274 -d, --debug don't remove temporary files
23275 --recheck update $as_me by reconfiguring in the same conditions
23276 --header=FILE[:TEMPLATE]
23277 instantiate the configuration header FILE
23279 Configuration headers:
23280 $config_headers
23282 Configuration links:
23283 $config_links
23285 Configuration commands:
23286 $config_commands
23288 Report bugs to <wine-devel@winehq.org>.
23289 Wine home page: <https://www.winehq.org>."
23291 _ACEOF
23292 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
23293 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
23294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23295 ac_cs_config='$ac_cs_config_escaped'
23296 ac_cs_version="\\
23297 Wine config.status 8.21
23298 configured by $0, generated by GNU Autoconf 2.71,
23299 with options \\"\$ac_cs_config\\"
23301 Copyright (C) 2021 Free Software Foundation, Inc.
23302 This config.status script is free software; the Free Software Foundation
23303 gives unlimited permission to copy, distribute and modify it."
23305 ac_pwd='$ac_pwd'
23306 srcdir='$srcdir'
23307 test -n "\$AWK" || AWK=awk
23308 _ACEOF
23310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23311 # The default lists apply if the user does not specify any file.
23312 ac_need_defaults=:
23313 while test $# != 0
23315 case $1 in
23316 --*=?*)
23317 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23318 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23319 ac_shift=:
23321 --*=)
23322 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23323 ac_optarg=
23324 ac_shift=:
23327 ac_option=$1
23328 ac_optarg=$2
23329 ac_shift=shift
23331 esac
23333 case $ac_option in
23334 # Handling of the options.
23335 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23336 ac_cs_recheck=: ;;
23337 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23338 printf "%s\n" "$ac_cs_version"; exit ;;
23339 --config | --confi | --conf | --con | --co | --c )
23340 printf "%s\n" "$ac_cs_config"; exit ;;
23341 --debug | --debu | --deb | --de | --d | -d )
23342 debug=: ;;
23343 --header | --heade | --head | --hea )
23344 $ac_shift
23345 case $ac_optarg in
23346 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23347 esac
23348 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
23349 ac_need_defaults=false;;
23350 --he | --h)
23351 # Conflict between --help and --header
23352 as_fn_error $? "ambiguous option: \`$1'
23353 Try \`$0 --help' for more information.";;
23354 --help | --hel | -h )
23355 printf "%s\n" "$ac_cs_usage"; exit ;;
23356 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23357 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23358 ac_cs_silent=: ;;
23360 # This is an error.
23361 -*) as_fn_error $? "unrecognized option: \`$1'
23362 Try \`$0 --help' for more information." ;;
23364 *) as_fn_append ac_config_targets " $1"
23365 ac_need_defaults=false ;;
23367 esac
23368 shift
23369 done
23371 ac_configure_extra_args=
23373 if $ac_cs_silent; then
23374 exec 6>/dev/null
23375 ac_configure_extra_args="$ac_configure_extra_args --silent"
23378 _ACEOF
23379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23380 if \$ac_cs_recheck; then
23381 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23382 shift
23383 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
23384 CONFIG_SHELL='$SHELL'
23385 export CONFIG_SHELL
23386 exec "\$@"
23389 _ACEOF
23390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23391 exec 5>>config.log
23393 echo
23394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23395 ## Running $as_me. ##
23396 _ASBOX
23397 printf "%s\n" "$ac_log"
23398 } >&5
23400 _ACEOF
23401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23403 # INIT-COMMANDS
23405 wine_fn_output_makedep ()
23407 as_dir=tools; as_fn_mkdir_p
23408 $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
23410 wine_fn_output_makefile ()
23412 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
23413 # This Makefile understands the following targets:
23415 # all (default): build wine
23416 # clean: remove all intermediate files
23417 # distclean: also remove all files created by configure
23418 # test: run tests
23419 # testclean: clean test results to force running all tests again
23420 # install-lib: install libraries needed to run applications
23421 # install-dev: install development environment
23422 # install: install everything
23423 # uninstall: uninstall everything
23424 # ctags: create a tags file for vim and others.
23425 # etags: create a TAGS file for Emacs.
23427 SHELL = $SHELL
23428 PATH_SEPARATOR = $PATH_SEPARATOR
23429 PACKAGE_NAME = $PACKAGE_NAME
23430 PACKAGE_TARNAME = $PACKAGE_TARNAME
23431 PACKAGE_VERSION = $PACKAGE_VERSION
23432 PACKAGE_STRING = $PACKAGE_STRING
23433 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23434 PACKAGE_URL = $PACKAGE_URL
23435 exec_prefix = $exec_prefix
23436 prefix = $prefix
23437 program_transform_name = $program_transform_name
23438 bindir = $bindir
23439 sbindir = $sbindir
23440 libexecdir = $libexecdir
23441 datarootdir = $datarootdir
23442 datadir = $datadir
23443 sysconfdir = $sysconfdir
23444 sharedstatedir = $sharedstatedir
23445 localstatedir = $localstatedir
23446 runstatedir = $runstatedir
23447 includedir = $includedir
23448 oldincludedir = $oldincludedir
23449 docdir = $docdir
23450 infodir = $infodir
23451 htmldir = $htmldir
23452 dvidir = $dvidir
23453 pdfdir = $pdfdir
23454 psdir = $psdir
23455 libdir = $libdir
23456 localedir = $localedir
23457 mandir = $mandir
23458 DEFS = $DEFS
23459 ECHO_C = $ECHO_C
23460 ECHO_N = $ECHO_N
23461 ECHO_T = $ECHO_T
23462 LIBS = $LIBS
23463 build_alias = $build_alias
23464 host_alias = $host_alias
23465 target_alias = $target_alias
23466 system_dllpath = $system_dllpath
23467 build = $build
23468 build_cpu = $build_cpu
23469 build_vendor = $build_vendor
23470 build_os = $build_os
23471 host = $host
23472 host_cpu = $host_cpu
23473 host_vendor = $host_vendor
23474 host_os = $host_os
23475 dlldir = $dlldir
23476 fontdir = $fontdir
23477 nlsdir = $nlsdir
23478 srcdir = $srcdir
23479 SET_MAKE = $SET_MAKE
23480 CC = $CC
23481 CFLAGS = $CFLAGS
23482 LDFLAGS = $LDFLAGS
23483 CPPFLAGS = $CPPFLAGS
23484 ac_ct_CC = $ac_ct_CC
23485 EXEEXT = $EXEEXT
23486 OBJEXT = $OBJEXT
23487 CXX = $CXX
23488 CXXFLAGS = $CXXFLAGS
23489 ac_ct_CXX = $ac_ct_CXX
23490 CPPBIN = $CPPBIN
23491 LD = $LD
23492 TARGETFLAGS = $TARGETFLAGS
23493 toolsext = $toolsext
23494 HOST_ARCH = $HOST_ARCH
23495 aarch64_CC = $aarch64_CC
23496 aarch64_CFLAGS = $aarch64_CFLAGS
23497 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23498 aarch64_LDFLAGS = $aarch64_LDFLAGS
23499 aarch64_DEBUG = $aarch64_DEBUG
23500 aarch64_TARGET = $aarch64_TARGET
23501 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23502 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23503 arm_CC = $arm_CC
23504 arm_CFLAGS = $arm_CFLAGS
23505 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23506 arm_LDFLAGS = $arm_LDFLAGS
23507 arm_DEBUG = $arm_DEBUG
23508 arm_TARGET = $arm_TARGET
23509 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23510 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23511 arm64ec_CC = $arm64ec_CC
23512 arm64ec_CFLAGS = $arm64ec_CFLAGS
23513 arm64ec_EXTRACFLAGS = $arm64ec_EXTRACFLAGS
23514 arm64ec_LDFLAGS = $arm64ec_LDFLAGS
23515 arm64ec_DEBUG = $arm64ec_DEBUG
23516 arm64ec_TARGET = $arm64ec_TARGET
23517 arm64ec_DELAYLOADFLAG = $arm64ec_DELAYLOADFLAG
23518 arm64ec_DISABLED_SUBDIRS = $arm64ec_DISABLED_SUBDIRS
23519 i386_CC = $i386_CC
23520 i386_CFLAGS = $i386_CFLAGS
23521 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23522 i386_LDFLAGS = $i386_LDFLAGS
23523 i386_DEBUG = $i386_DEBUG
23524 i386_TARGET = $i386_TARGET
23525 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23526 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23527 x86_64_CC = $x86_64_CC
23528 x86_64_CFLAGS = $x86_64_CFLAGS
23529 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23530 x86_64_LDFLAGS = $x86_64_LDFLAGS
23531 x86_64_DEBUG = $x86_64_DEBUG
23532 x86_64_TARGET = $x86_64_TARGET
23533 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23534 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23535 toolsdir = $toolsdir
23536 MAKEDEP = $MAKEDEP
23537 RUNTESTFLAGS = $RUNTESTFLAGS
23538 SED_CMD = $SED_CMD
23539 FLEX = $FLEX
23540 BISON = $BISON
23541 AR = $AR
23542 ac_ct_AR = $ac_ct_AR
23543 STRIP = $STRIP
23544 RANLIB = $RANLIB
23545 LN_S = $LN_S
23546 GREP = $GREP
23547 EGREP = $EGREP
23548 LDCONFIG = $LDCONFIG
23549 MSGFMT = $MSGFMT
23550 PKG_CONFIG = $PKG_CONFIG
23551 FONTFORGE = $FONTFORGE
23552 RSVG = $RSVG
23553 CONVERT = $CONVERT
23554 ICOTOOL = $ICOTOOL
23555 I386_LIBS = $I386_LIBS
23556 OPENGL_LIBS = $OPENGL_LIBS
23557 DLLFLAGS = $DLLFLAGS
23558 LDDLLFLAGS = $LDDLLFLAGS
23559 LDEXECFLAGS = $LDEXECFLAGS
23560 EXTRACFLAGS = $EXTRACFLAGS
23561 UNIXDLLFLAGS = $UNIXDLLFLAGS
23562 UNIXLDFLAGS = $UNIXLDFLAGS
23563 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23564 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23565 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23566 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23567 DLLEXT = $DLLEXT
23568 LDD = $LDD
23569 OTOOL = $OTOOL
23570 READELF = $READELF
23571 SUBDIRS = $SUBDIRS
23572 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23573 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23574 CARBON_LIBS = $CARBON_LIBS
23575 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23576 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23577 IOKIT_LIBS = $IOKIT_LIBS
23578 METAL_LIBS = $METAL_LIBS
23579 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23580 CORESERVICES_LIBS = $CORESERVICES_LIBS
23581 APPKIT_LIBS = $APPKIT_LIBS
23582 SECURITY_LIBS = $SECURITY_LIBS
23583 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23584 COREAUDIO_LIBS = $COREAUDIO_LIBS
23585 OPENCL_LIBS = $OPENCL_LIBS
23586 OBJC = $OBJC
23587 OBJCFLAGS = $OBJCFLAGS
23588 ac_ct_OBJC = $ac_ct_OBJC
23589 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23590 PE_ARCHS = $PE_ARCHS
23591 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23592 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23593 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23594 FLUIDSYNTH_PE_CFLAGS = $FLUIDSYNTH_PE_CFLAGS
23595 FLUIDSYNTH_PE_LIBS = $FLUIDSYNTH_PE_LIBS
23596 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23597 GSM_PE_LIBS = $GSM_PE_LIBS
23598 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23599 JPEG_PE_LIBS = $JPEG_PE_LIBS
23600 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23601 JXR_PE_LIBS = $JXR_PE_LIBS
23602 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23603 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23604 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23605 LDAP_PE_LIBS = $LDAP_PE_LIBS
23606 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23607 MPG123_PE_LIBS = $MPG123_PE_LIBS
23608 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23609 MUSL_PE_LIBS = $MUSL_PE_LIBS
23610 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23611 PNG_PE_LIBS = $PNG_PE_LIBS
23612 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23613 TIFF_PE_LIBS = $TIFF_PE_LIBS
23614 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23615 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23616 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23617 XML2_PE_LIBS = $XML2_PE_LIBS
23618 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23619 XSLT_PE_LIBS = $XSLT_PE_LIBS
23620 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23621 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23622 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23623 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23624 PTHREAD_LIBS = $PTHREAD_LIBS
23625 XMKMF = $XMKMF
23626 CPP = $CPP
23627 X_CFLAGS = $X_CFLAGS
23628 X_PRE_LIBS = $X_PRE_LIBS
23629 X_LIBS = $X_LIBS
23630 X_EXTRA_LIBS = $X_EXTRA_LIBS
23631 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23632 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23633 WAYLAND_SCANNER = $WAYLAND_SCANNER
23634 XKBCOMMON_CFLAGS = $XKBCOMMON_CFLAGS
23635 XKBCOMMON_LIBS = $XKBCOMMON_LIBS
23636 XKBREGISTRY_CFLAGS = $XKBREGISTRY_CFLAGS
23637 XKBREGISTRY_LIBS = $XKBREGISTRY_LIBS
23638 PCAP_LIBS = $PCAP_LIBS
23639 PCSCLITE_LIBS = $PCSCLITE_LIBS
23640 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23641 INOTIFY_LIBS = $INOTIFY_LIBS
23642 DBUS_CFLAGS = $DBUS_CFLAGS
23643 DBUS_LIBS = $DBUS_LIBS
23644 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23645 GNUTLS_LIBS = $GNUTLS_LIBS
23646 SANE_CFLAGS = $SANE_CFLAGS
23647 SANE_LIBS = $SANE_LIBS
23648 USB_CFLAGS = $USB_CFLAGS
23649 USB_LIBS = $USB_LIBS
23650 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23651 GPHOTO2_LIBS = $GPHOTO2_LIBS
23652 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23653 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23654 RESOLV_LIBS = $RESOLV_LIBS
23655 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23656 FREETYPE_LIBS = $FREETYPE_LIBS
23657 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23658 PULSE_CFLAGS = $PULSE_CFLAGS
23659 PULSE_LIBS = $PULSE_LIBS
23660 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23661 GSTREAMER_LIBS = $GSTREAMER_LIBS
23662 ALSA_LIBS = $ALSA_LIBS
23663 OSS4_CFLAGS = $OSS4_CFLAGS
23664 OSS4_LIBS = $OSS4_LIBS
23665 UDEV_CFLAGS = $UDEV_CFLAGS
23666 UDEV_LIBS = $UDEV_LIBS
23667 UNWIND_CFLAGS = $UNWIND_CFLAGS
23668 UNWIND_LIBS = $UNWIND_LIBS
23669 SDL2_CFLAGS = $SDL2_CFLAGS
23670 SDL2_LIBS = $SDL2_LIBS
23671 CAPI20_CFLAGS = $CAPI20_CFLAGS
23672 CAPI20_LIBS = $CAPI20_LIBS
23673 CUPS_CFLAGS = $CUPS_CFLAGS
23674 CUPS_LIBS = $CUPS_LIBS
23675 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23676 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23677 KRB5_CFLAGS = $KRB5_CFLAGS
23678 KRB5_LIBS = $KRB5_LIBS
23679 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23680 GSSAPI_LIBS = $GSSAPI_LIBS
23681 PROCSTAT_LIBS = $PROCSTAT_LIBS
23682 NETAPI_CFLAGS = $NETAPI_CFLAGS
23683 NETAPI_LIBS = $NETAPI_LIBS
23684 MSVCRTFLAGS = $MSVCRTFLAGS
23685 DELAYLOADFLAG = $DELAYLOADFLAG
23686 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23687 RT_LIBS = $RT_LIBS
23688 TAGSFLAGS = $TAGSFLAGS
23689 LIBOBJS = $LIBOBJS
23690 LTLIBOBJS = $LTLIBOBJS
23691 $SET_MAKE
23692 $wine_rules
23693 _WINE_EOF
23694 as_fn_error $? "could not create Makefile" "$LINENO" 5
23697 _ACEOF
23699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23701 # Handling of arguments.
23702 for ac_config_target in $ac_config_targets
23704 case $ac_config_target in
23705 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23706 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23707 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23708 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23709 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23710 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23712 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23713 esac
23714 done
23717 # If the user did not use the arguments to specify the items to instantiate,
23718 # then the envvar interface is used. Set only those that are not.
23719 # We use the long form for the default assignment because of an extremely
23720 # bizarre bug on SunOS 4.1.3.
23721 if $ac_need_defaults; then
23722 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23723 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23724 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23727 # Have a temporary directory for convenience. Make it in the build tree
23728 # simply because there is no reason against having it here, and in addition,
23729 # creating and moving files from /tmp can sometimes cause problems.
23730 # Hook for its removal unless debugging.
23731 # Note that there is a small window in which the directory will not be cleaned:
23732 # after its creation but before its name has been assigned to `$tmp'.
23733 $debug ||
23735 tmp= ac_tmp=
23736 trap 'exit_status=$?
23737 : "${ac_tmp:=$tmp}"
23738 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23740 trap 'as_fn_exit 1' 1 2 13 15
23742 # Create a (secure) tmp directory for tmp files.
23745 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23746 test -d "$tmp"
23747 } ||
23749 tmp=./conf$$-$RANDOM
23750 (umask 077 && mkdir "$tmp")
23751 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23752 ac_tmp=$tmp
23754 # Set up the scripts for CONFIG_HEADERS section.
23755 # No need to generate them if there are no CONFIG_HEADERS.
23756 # This happens for instance with `./config.status Makefile'.
23757 if test -n "$CONFIG_HEADERS"; then
23758 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23759 BEGIN {
23760 _ACEOF
23762 # Transform confdefs.h into an awk script `defines.awk', embedded as
23763 # here-document in config.status, that substitutes the proper values into
23764 # config.h.in to produce config.h.
23766 # Create a delimiter string that does not exist in confdefs.h, to ease
23767 # handling of long lines.
23768 ac_delim='%!_!# '
23769 for ac_last_try in false false :; do
23770 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23771 if test -z "$ac_tt"; then
23772 break
23773 elif $ac_last_try; then
23774 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23775 else
23776 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23778 done
23780 # For the awk script, D is an array of macro values keyed by name,
23781 # likewise P contains macro parameters if any. Preserve backslash
23782 # newline sequences.
23784 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23785 sed -n '
23786 s/.\{148\}/&'"$ac_delim"'/g
23787 t rset
23788 :rset
23789 s/^[ ]*#[ ]*define[ ][ ]*/ /
23790 t def
23792 :def
23793 s/\\$//
23794 t bsnl
23795 s/["\\]/\\&/g
23796 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23797 D["\1"]=" \3"/p
23798 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23800 :bsnl
23801 s/["\\]/\\&/g
23802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23803 D["\1"]=" \3\\\\\\n"\\/p
23804 t cont
23805 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23806 t cont
23808 :cont
23810 s/.\{148\}/&'"$ac_delim"'/g
23811 t clear
23812 :clear
23813 s/\\$//
23814 t bsnlc
23815 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23817 :bsnlc
23818 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23819 b cont
23820 ' <confdefs.h | sed '
23821 s/'"$ac_delim"'/"\\\
23822 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23825 for (key in D) D_is_set[key] = 1
23826 FS = "\a"
23828 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23829 line = \$ 0
23830 split(line, arg, " ")
23831 if (arg[1] == "#") {
23832 defundef = arg[2]
23833 mac1 = arg[3]
23834 } else {
23835 defundef = substr(arg[1], 2)
23836 mac1 = arg[2]
23838 split(mac1, mac2, "(") #)
23839 macro = mac2[1]
23840 prefix = substr(line, 1, index(line, defundef) - 1)
23841 if (D_is_set[macro]) {
23842 # Preserve the white space surrounding the "#".
23843 print prefix "define", macro P[macro] D[macro]
23844 next
23845 } else {
23846 # Replace #undef with comments. This is necessary, for example,
23847 # in the case of _POSIX_SOURCE, which is predefined and required
23848 # on some systems where configure will not decide to define it.
23849 if (defundef == "undef") {
23850 print "/*", prefix defundef, macro, "*/"
23851 next
23855 { print }
23856 _ACAWK
23857 _ACEOF
23858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23859 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23860 fi # test -n "$CONFIG_HEADERS"
23863 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23864 shift
23865 for ac_tag
23867 case $ac_tag in
23868 :[FHLC]) ac_mode=$ac_tag; continue;;
23869 esac
23870 case $ac_mode$ac_tag in
23871 :[FHL]*:*);;
23872 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23873 :[FH]-) ac_tag=-:-;;
23874 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23875 esac
23876 ac_save_IFS=$IFS
23877 IFS=:
23878 set x $ac_tag
23879 IFS=$ac_save_IFS
23880 shift
23881 ac_file=$1
23882 shift
23884 case $ac_mode in
23885 :L) ac_source=$1;;
23886 :[FH])
23887 ac_file_inputs=
23888 for ac_f
23890 case $ac_f in
23891 -) ac_f="$ac_tmp/stdin";;
23892 *) # Look for the file first in the build tree, then in the source tree
23893 # (if the path is not absolute). The absolute path cannot be DOS-style,
23894 # because $ac_f cannot contain `:'.
23895 test -f "$ac_f" ||
23896 case $ac_f in
23897 [\\/$]*) false;;
23898 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23899 esac ||
23900 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23901 esac
23902 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23903 as_fn_append ac_file_inputs " '$ac_f'"
23904 done
23906 # Let's still pretend it is `configure' which instantiates (i.e., don't
23907 # use $as_me), people would be surprised to read:
23908 # /* config.h. Generated by config.status. */
23909 configure_input='Generated from '`
23910 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23911 `' by configure.'
23912 if test x"$ac_file" != x-; then
23913 configure_input="$ac_file. $configure_input"
23914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23915 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23917 # Neutralize special characters interpreted by sed in replacement strings.
23918 case $configure_input in #(
23919 *\&* | *\|* | *\\* )
23920 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23921 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23922 *) ac_sed_conf_input=$configure_input;;
23923 esac
23925 case $ac_tag in
23926 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23927 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23928 esac
23930 esac
23932 ac_dir=`$as_dirname -- "$ac_file" ||
23933 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23934 X"$ac_file" : 'X\(//\)[^/]' \| \
23935 X"$ac_file" : 'X\(//\)$' \| \
23936 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23937 printf "%s\n" X"$ac_file" |
23938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23939 s//\1/
23942 /^X\(\/\/\)[^/].*/{
23943 s//\1/
23946 /^X\(\/\/\)$/{
23947 s//\1/
23950 /^X\(\/\).*/{
23951 s//\1/
23954 s/.*/./; q'`
23955 as_dir="$ac_dir"; as_fn_mkdir_p
23956 ac_builddir=.
23958 case "$ac_dir" in
23959 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23961 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23962 # A ".." for each directory in $ac_dir_suffix.
23963 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23964 case $ac_top_builddir_sub in
23965 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23966 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23967 esac ;;
23968 esac
23969 ac_abs_top_builddir=$ac_pwd
23970 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23971 # for backward compatibility:
23972 ac_top_builddir=$ac_top_build_prefix
23974 case $srcdir in
23975 .) # We are building in place.
23976 ac_srcdir=.
23977 ac_top_srcdir=$ac_top_builddir_sub
23978 ac_abs_top_srcdir=$ac_pwd ;;
23979 [\\/]* | ?:[\\/]* ) # Absolute name.
23980 ac_srcdir=$srcdir$ac_dir_suffix;
23981 ac_top_srcdir=$srcdir
23982 ac_abs_top_srcdir=$srcdir ;;
23983 *) # Relative name.
23984 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23985 ac_top_srcdir=$ac_top_build_prefix$srcdir
23986 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23987 esac
23988 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23991 case $ac_mode in
23995 # CONFIG_HEADER
23997 if test x"$ac_file" != x-; then
23999 printf "%s\n" "/* $configure_input */" >&1 \
24000 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
24001 } >"$ac_tmp/config.h" \
24002 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24003 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24005 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
24006 else
24007 rm -f "$ac_file"
24008 mv "$ac_tmp/config.h" "$ac_file" \
24009 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24011 else
24012 printf "%s\n" "/* $configure_input */" >&1 \
24013 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24014 || as_fn_error $? "could not create -" "$LINENO" 5
24019 # CONFIG_LINK
24022 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
24024 else
24025 # Prefer the file from the source tree if names are identical.
24026 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
24027 ac_source=$srcdir/$ac_source
24030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
24031 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
24033 if test ! -r "$ac_source"; then
24034 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
24036 rm -f "$ac_file"
24038 # Try a relative symlink, then a hard link, then a copy.
24039 case $ac_source in
24040 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
24041 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
24042 esac
24043 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
24044 ln "$ac_source" "$ac_file" 2>/dev/null ||
24045 cp -p "$ac_source" "$ac_file" ||
24046 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
24049 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
24050 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
24052 esac
24055 case $ac_file$ac_mode in
24056 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24057 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
24058 "Makefile":C) wine_fn_output_makefile Makefile ;;
24060 esac
24061 done # for ac_tag
24064 as_fn_exit 0
24065 _ACEOF
24066 ac_clean_files=$ac_clean_files_save
24068 test $ac_write_fail = 0 ||
24069 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24072 # configure is writing to config.log, and then calls config.status.
24073 # config.status does its own redirection, appending to config.log.
24074 # Unfortunately, on DOS this fails, as config.log is still kept open
24075 # by configure, so config.status won't be able to write to it; its
24076 # output is simply discarded. So we exec the FD to /dev/null,
24077 # effectively closing config.log, so it can be properly (re)opened and
24078 # appended to by config.status. When coming back to configure, we
24079 # need to make the FD available again.
24080 if test "$no_create" != yes; then
24081 ac_cs_success=:
24082 ac_config_status_args=
24083 test "$silent" = yes &&
24084 ac_config_status_args="$ac_config_status_args --quiet"
24085 exec 5>/dev/null
24086 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24087 exec 5>>config.log
24088 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24089 # would make configure fail if this is the last instruction.
24090 $ac_cs_success || as_fn_exit 1
24092 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24094 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24098 if test "$no_create" = "yes"
24099 then
24100 exit 0
24103 ac_save_IFS="$IFS"
24104 if test "x$wine_notices" != x; then
24105 echo >&6
24106 IFS="|"
24107 for msg in $wine_notices; do
24108 IFS="$ac_save_IFS"
24109 if ${msg:+false} :
24110 then :
24112 else $as_nop
24113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
24114 printf "%s\n" "$as_me: $msg" >&6;}
24116 done
24118 IFS="|"
24119 for msg in $wine_warnings; do
24120 IFS="$ac_save_IFS"
24121 if ${msg:+false} :
24122 then :
24124 else $as_nop
24125 echo >&2
24126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
24127 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
24129 done
24130 IFS="$ac_save_IFS"
24132 printf "%s\n" "
24133 $as_me: Finished. Do '${ac_make}' to compile Wine.
24134 " >&6