ntdll/tests: Test NtQueryDirectoryFile with wildcards.
[wine.git] / configure
blob7a2aaadfc5e282f079ee05b60ae8a5e1a302305c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.15.
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.15'
615 PACKAGE_STRING='Wine 8.15'
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 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxcore
1127 enable_dxdiagn
1128 enable_dxgi
1129 enable_dxtrans
1130 enable_dxva2
1131 enable_esent
1132 enable_evr
1133 enable_explorerframe
1134 enable_faultrep
1135 enable_feclient
1136 enable_fltlib
1137 enable_fltmgr_sys
1138 enable_fntcache
1139 enable_fontsub
1140 enable_fusion
1141 enable_fwpuclnt
1142 enable_gameux
1143 enable_gamingtcui
1144 enable_gdi32
1145 enable_gdiplus
1146 enable_geolocation
1147 enable_glu32
1148 enable_gphoto2_ds
1149 enable_gpkcsp
1150 enable_graphicscapture
1151 enable_hal
1152 enable_hhctrl_ocx
1153 enable_hid
1154 enable_hidclass_sys
1155 enable_hidparse_sys
1156 enable_hlink
1157 enable_hnetcfg
1158 enable_hrtfapo
1159 enable_http_sys
1160 enable_httpapi
1161 enable_hvsimanagementapi
1162 enable_ia2comproxy
1163 enable_iccvid
1164 enable_icmp
1165 enable_ieframe
1166 enable_ieproxy
1167 enable_imaadp32_acm
1168 enable_imagehlp
1169 enable_imm32
1170 enable_inetcomm
1171 enable_inetcpl_cpl
1172 enable_inetmib1
1173 enable_infosoft
1174 enable_initpki
1175 enable_inkobj
1176 enable_inseng
1177 enable_iphlpapi
1178 enable_iprop
1179 enable_ir50_32
1180 enable_irprops_cpl
1181 enable_itircl
1182 enable_itss
1183 enable_joy_cpl
1184 enable_jscript
1185 enable_jsproxy
1186 enable_kerberos
1187 enable_kernel32
1188 enable_kernelbase
1189 enable_ksecdd_sys
1190 enable_ksproxy_ax
1191 enable_ksuser
1192 enable_ktmw32
1193 enable_l3codeca_acm
1194 enable_light_msstyles
1195 enable_loadperf
1196 enable_localspl
1197 enable_localui
1198 enable_lz32
1199 enable_magnification
1200 enable_mapi32
1201 enable_mapistub
1202 enable_mciavi32
1203 enable_mcicda
1204 enable_mciqtz32
1205 enable_mciseq
1206 enable_mciwave
1207 enable_mf
1208 enable_mf3216
1209 enable_mferror
1210 enable_mfmediaengine
1211 enable_mfplat
1212 enable_mfplay
1213 enable_mfreadwrite
1214 enable_mfsrcsnk
1215 enable_mgmtapi
1216 enable_midimap
1217 enable_mlang
1218 enable_mmcndmgr
1219 enable_mmdevapi
1220 enable_mountmgr_sys
1221 enable_mp3dmod
1222 enable_mpr
1223 enable_mprapi
1224 enable_msacm32_drv
1225 enable_msacm32
1226 enable_msado15
1227 enable_msadp32_acm
1228 enable_msasn1
1229 enable_msauddecmft
1230 enable_mscat32
1231 enable_mscms
1232 enable_mscoree
1233 enable_mscorwks
1234 enable_msctf
1235 enable_msctfmonitor
1236 enable_msctfp
1237 enable_msdaps
1238 enable_msdasql
1239 enable_msdelta
1240 enable_msdmo
1241 enable_msdrm
1242 enable_msftedit
1243 enable_msg711_acm
1244 enable_msgsm32_acm
1245 enable_mshtml_tlb
1246 enable_mshtml
1247 enable_msi
1248 enable_msident
1249 enable_msimg32
1250 enable_msimsg
1251 enable_msimtf
1252 enable_msisip
1253 enable_msisys_ocx
1254 enable_msls31
1255 enable_msmpeg2vdec
1256 enable_msnet32
1257 enable_mspatcha
1258 enable_msports
1259 enable_msrle32
1260 enable_msscript_ocx
1261 enable_mssign32
1262 enable_mssip32
1263 enable_mstask
1264 enable_msv1_0
1265 enable_msvcirt
1266 enable_msvcm80
1267 enable_msvcm90
1268 enable_msvcp100
1269 enable_msvcp110
1270 enable_msvcp120
1271 enable_msvcp120_app
1272 enable_msvcp140
1273 enable_msvcp140_1
1274 enable_msvcp140_2
1275 enable_msvcp140_atomic_wait
1276 enable_msvcp140_codecvt_ids
1277 enable_msvcp60
1278 enable_msvcp70
1279 enable_msvcp71
1280 enable_msvcp80
1281 enable_msvcp90
1282 enable_msvcp_win
1283 enable_msvcr100
1284 enable_msvcr110
1285 enable_msvcr120
1286 enable_msvcr120_app
1287 enable_msvcr70
1288 enable_msvcr71
1289 enable_msvcr80
1290 enable_msvcr90
1291 enable_msvcrt
1292 enable_msvcrt20
1293 enable_msvcrt40
1294 enable_msvcrtd
1295 enable_msvfw32
1296 enable_msvidc32
1297 enable_mswsock
1298 enable_msxml
1299 enable_msxml2
1300 enable_msxml3
1301 enable_msxml4
1302 enable_msxml6
1303 enable_mtxdm
1304 enable_ncrypt
1305 enable_nddeapi
1306 enable_ndis_sys
1307 enable_netapi32
1308 enable_netcfgx
1309 enable_netio_sys
1310 enable_netprofm
1311 enable_netutils
1312 enable_newdev
1313 enable_ninput
1314 enable_normaliz
1315 enable_npmshtml
1316 enable_npptools
1317 enable_nsi
1318 enable_nsiproxy_sys
1319 enable_ntdll
1320 enable_ntdsapi
1321 enable_ntoskrnl_exe
1322 enable_ntprint
1323 enable_objsel
1324 enable_odbc32
1325 enable_odbcbcp
1326 enable_odbccp32
1327 enable_odbccu32
1328 enable_ole32
1329 enable_oleacc
1330 enable_oleaut32
1331 enable_olecli32
1332 enable_oledb32
1333 enable_oledlg
1334 enable_olepro32
1335 enable_olesvr32
1336 enable_olethk32
1337 enable_opcservices
1338 enable_opencl
1339 enable_opengl32
1340 enable_packager
1341 enable_pdh
1342 enable_photometadatahandler
1343 enable_pidgen
1344 enable_powrprof
1345 enable_printui
1346 enable_prntvpt
1347 enable_propsys
1348 enable_psapi
1349 enable_pstorec
1350 enable_pwrshplugin
1351 enable_qasf
1352 enable_qcap
1353 enable_qdvd
1354 enable_qedit
1355 enable_qmgr
1356 enable_qmgrprxy
1357 enable_quartz
1358 enable_query
1359 enable_qwave
1360 enable_rasapi32
1361 enable_rasdlg
1362 enable_regapi
1363 enable_resutils
1364 enable_riched20
1365 enable_riched32
1366 enable_rpcrt4
1367 enable_rsabase
1368 enable_rsaenh
1369 enable_rstrtmgr
1370 enable_rtutils
1371 enable_rtworkq
1372 enable_samlib
1373 enable_sane_ds
1374 enable_sapi
1375 enable_sas
1376 enable_scarddlg
1377 enable_scardsvr
1378 enable_sccbase
1379 enable_schannel
1380 enable_schedsvc
1381 enable_scrobj
1382 enable_scrrun
1383 enable_scsiport_sys
1384 enable_sechost
1385 enable_secur32
1386 enable_security
1387 enable_sensapi
1388 enable_serialui
1389 enable_setupapi
1390 enable_sfc
1391 enable_sfc_os
1392 enable_shcore
1393 enable_shdoclc
1394 enable_shdocvw
1395 enable_shell32
1396 enable_shfolder
1397 enable_shlwapi
1398 enable_slbcsp
1399 enable_slc
1400 enable_snmpapi
1401 enable_softpub
1402 enable_spoolss
1403 enable_sppc
1404 enable_srclient
1405 enable_srvcli
1406 enable_sspicli
1407 enable_stdole2_tlb
1408 enable_stdole32_tlb
1409 enable_sti
1410 enable_strmdll
1411 enable_svrapi
1412 enable_sxs
1413 enable_t2embed
1414 enable_tapi32
1415 enable_taskschd
1416 enable_tbs
1417 enable_tdh
1418 enable_tdi_sys
1419 enable_threadpoolwinrt
1420 enable_traffic
1421 enable_twain_32
1422 enable_twinapi_appcore
1423 enable_tzres
1424 enable_ucrtbase
1425 enable_uianimation
1426 enable_uiautomationcore
1427 enable_uiribbon
1428 enable_unicows
1429 enable_updspapi
1430 enable_url
1431 enable_urlmon
1432 enable_usbd_sys
1433 enable_user32
1434 enable_userenv
1435 enable_usp10
1436 enable_utildll
1437 enable_uxtheme
1438 enable_vbscript
1439 enable_vcomp
1440 enable_vcomp100
1441 enable_vcomp110
1442 enable_vcomp120
1443 enable_vcomp140
1444 enable_vcomp90
1445 enable_vcruntime140
1446 enable_vcruntime140_1
1447 enable_vdmdbg
1448 enable_version
1449 enable_vga
1450 enable_virtdisk
1451 enable_vssapi
1452 enable_vulkan_1
1453 enable_wbemdisp
1454 enable_wbemprox
1455 enable_wdscore
1456 enable_webservices
1457 enable_websocket
1458 enable_wer
1459 enable_wevtapi
1460 enable_wevtsvc
1461 enable_wiaservc
1462 enable_wimgapi
1463 enable_win32u
1464 enable_windows_devices_bluetooth
1465 enable_windows_devices_enumeration
1466 enable_windows_devices_usb
1467 enable_windows_gaming_input
1468 enable_windows_gaming_ui_gamebar
1469 enable_windows_globalization
1470 enable_windows_media_devices
1471 enable_windows_media_speech
1472 enable_windows_media
1473 enable_windows_networking_hostname
1474 enable_windows_networking
1475 enable_windows_perception_stub
1476 enable_windows_system_profile_systemmanufacturers
1477 enable_windows_ui
1478 enable_windowscodecs
1479 enable_windowscodecsext
1480 enable_winealsa_drv
1481 enable_wineandroid_drv
1482 enable_winebus_sys
1483 enable_winecoreaudio_drv
1484 enable_winecrt0
1485 enable_wined3d
1486 enable_winegstreamer
1487 enable_winehid_sys
1488 enable_winemac_drv
1489 enable_winemapi
1490 enable_wineoss_drv
1491 enable_wineps_drv
1492 enable_winepulse_drv
1493 enable_wineusb_sys
1494 enable_winevulkan
1495 enable_winewayland_drv
1496 enable_winex11_drv
1497 enable_winexinput_sys
1498 enable_wing32
1499 enable_winhttp
1500 enable_wininet
1501 enable_winmm
1502 enable_winnls32
1503 enable_winprint
1504 enable_winscard
1505 enable_winspool_drv
1506 enable_winsta
1507 enable_wintab32
1508 enable_wintrust
1509 enable_wintypes
1510 enable_winusb
1511 enable_wlanapi
1512 enable_wlanui
1513 enable_wldap32
1514 enable_wldp
1515 enable_wmasf
1516 enable_wmi
1517 enable_wmiutils
1518 enable_wmp
1519 enable_wmphoto
1520 enable_wmvcore
1521 enable_wnaspi32
1522 enable_wofutil
1523 enable_wow64
1524 enable_wow64cpu
1525 enable_wow64win
1526 enable_wpc
1527 enable_wpcap
1528 enable_ws2_32
1529 enable_wsdapi
1530 enable_wshom_ocx
1531 enable_wsnmp32
1532 enable_wsock32
1533 enable_wtsapi32
1534 enable_wuapi
1535 enable_wuaueng
1536 enable_x3daudio1_0
1537 enable_x3daudio1_1
1538 enable_x3daudio1_2
1539 enable_x3daudio1_3
1540 enable_x3daudio1_4
1541 enable_x3daudio1_5
1542 enable_x3daudio1_6
1543 enable_x3daudio1_7
1544 enable_xactengine2_0
1545 enable_xactengine2_4
1546 enable_xactengine2_7
1547 enable_xactengine2_9
1548 enable_xactengine3_0
1549 enable_xactengine3_1
1550 enable_xactengine3_2
1551 enable_xactengine3_3
1552 enable_xactengine3_4
1553 enable_xactengine3_5
1554 enable_xactengine3_6
1555 enable_xactengine3_7
1556 enable_xapofx1_1
1557 enable_xapofx1_2
1558 enable_xapofx1_3
1559 enable_xapofx1_4
1560 enable_xapofx1_5
1561 enable_xaudio2_0
1562 enable_xaudio2_1
1563 enable_xaudio2_2
1564 enable_xaudio2_3
1565 enable_xaudio2_4
1566 enable_xaudio2_5
1567 enable_xaudio2_6
1568 enable_xaudio2_7
1569 enable_xaudio2_8
1570 enable_xaudio2_9
1571 enable_xinput1_1
1572 enable_xinput1_2
1573 enable_xinput1_3
1574 enable_xinput1_4
1575 enable_xinput9_1_0
1576 enable_xinputuap
1577 enable_xmllite
1578 enable_xolehlp
1579 enable_xpsprint
1580 enable_xpssvcs
1581 enable_fonts
1582 enable_include
1583 enable_adsiid
1584 enable_dmoguids
1585 enable_dxerr8
1586 enable_dxerr9
1587 enable_dxguid
1588 enable_faudio
1589 enable_gsm
1590 enable_jpeg
1591 enable_jxr
1592 enable_lcms2
1593 enable_ldap
1594 enable_mfuuid
1595 enable_mpg123
1596 enable_musl
1597 enable_png
1598 enable_strmbase
1599 enable_strmiids
1600 enable_tiff
1601 enable_uuid
1602 enable_vkd3d
1603 enable_wbemuuid
1604 enable_wmcodecdspuuid
1605 enable_xml2
1606 enable_xslt
1607 enable_zlib
1608 enable_zydis
1609 enable_loader
1610 enable_nls
1611 enable_po
1612 enable_arp
1613 enable_aspnet_regiis
1614 enable_attrib
1615 enable_cabarc
1616 enable_cacls
1617 enable_certutil
1618 enable_chcp_com
1619 enable_clock
1620 enable_cmd
1621 enable_conhost
1622 enable_control
1623 enable_cscript
1624 enable_dism
1625 enable_dllhost
1626 enable_dplaysvr
1627 enable_dpnsvr
1628 enable_dpvsetup
1629 enable_dxdiag
1630 enable_eject
1631 enable_expand
1632 enable_explorer
1633 enable_extrac32
1634 enable_fc
1635 enable_find
1636 enable_findstr
1637 enable_fsutil
1638 enable_hh
1639 enable_hostname
1640 enable_icacls
1641 enable_icinfo
1642 enable_iexplore
1643 enable_ipconfig
1644 enable_klist
1645 enable_lodctr
1646 enable_mofcomp
1647 enable_mshta
1648 enable_msidb
1649 enable_msiexec
1650 enable_msinfo32
1651 enable_net
1652 enable_netsh
1653 enable_netstat
1654 enable_ngen
1655 enable_notepad
1656 enable_oleview
1657 enable_ping
1658 enable_plugplay
1659 enable_pnputil
1660 enable_powershell
1661 enable_presentationfontcache
1662 enable_progman
1663 enable_reg
1664 enable_regasm
1665 enable_regedit
1666 enable_regini
1667 enable_regsvcs
1668 enable_regsvr32
1669 enable_robocopy
1670 enable_rpcss
1671 enable_rundll32
1672 enable_sc
1673 enable_schtasks
1674 enable_sdbinst
1675 enable_secedit
1676 enable_servicemodelreg
1677 enable_services
1678 enable_setx
1679 enable_shutdown
1680 enable_spoolsv
1681 enable_start
1682 enable_subst
1683 enable_svchost
1684 enable_systeminfo
1685 enable_taskkill
1686 enable_tasklist
1687 enable_taskmgr
1688 enable_termsv
1689 enable_uninstaller
1690 enable_unlodctr
1691 enable_view
1692 enable_wevtutil
1693 enable_where
1694 enable_whoami
1695 enable_wineboot
1696 enable_winebrowser
1697 enable_winecfg
1698 enable_wineconsole
1699 enable_winedbg
1700 enable_winedevice
1701 enable_winefile
1702 enable_winemenubuilder
1703 enable_winemine
1704 enable_winemsibuilder
1705 enable_winepath
1706 enable_winetest
1707 enable_winhlp32
1708 enable_winmgmt
1709 enable_winver
1710 enable_wmic
1711 enable_wmplayer
1712 enable_wordpad
1713 enable_write
1714 enable_wscript
1715 enable_wuauserv
1716 enable_wusa
1717 enable_xcopy
1718 enable_server
1719 enable_tools
1720 enable_sfnt2fon
1721 enable_widl
1722 enable_winebuild
1723 enable_winedump
1724 enable_winegcc
1725 enable_winemaker
1726 enable_wmc
1727 enable_wrc
1729 ac_precious_vars='build_alias
1730 host_alias
1731 target_alias
1733 CFLAGS
1734 LDFLAGS
1735 LIBS
1736 CPPFLAGS
1738 CXXFLAGS
1740 OBJC
1741 OBJCFLAGS
1742 FAUDIO_PE_CFLAGS
1743 FAUDIO_PE_LIBS
1744 GSM_PE_CFLAGS
1745 GSM_PE_LIBS
1746 JPEG_PE_CFLAGS
1747 JPEG_PE_LIBS
1748 JXR_PE_CFLAGS
1749 JXR_PE_LIBS
1750 LCMS2_PE_CFLAGS
1751 LCMS2_PE_LIBS
1752 LDAP_PE_CFLAGS
1753 LDAP_PE_LIBS
1754 MPG123_PE_CFLAGS
1755 MPG123_PE_LIBS
1756 MUSL_PE_CFLAGS
1757 MUSL_PE_LIBS
1758 PNG_PE_CFLAGS
1759 PNG_PE_LIBS
1760 TIFF_PE_CFLAGS
1761 TIFF_PE_LIBS
1762 VKD3D_PE_CFLAGS
1763 VKD3D_PE_LIBS
1764 XML2_PE_CFLAGS
1765 XML2_PE_LIBS
1766 XSLT_PE_CFLAGS
1767 XSLT_PE_LIBS
1768 ZLIB_PE_CFLAGS
1769 ZLIB_PE_LIBS
1770 ZYDIS_PE_CFLAGS
1771 ZYDIS_PE_LIBS
1772 XMKMF
1774 WAYLAND_CLIENT_CFLAGS
1775 WAYLAND_CLIENT_LIBS
1776 INOTIFY_CFLAGS
1777 INOTIFY_LIBS
1778 DBUS_CFLAGS
1779 DBUS_LIBS
1780 GNUTLS_CFLAGS
1781 GNUTLS_LIBS
1782 SANE_CFLAGS
1783 SANE_LIBS
1784 USB_CFLAGS
1785 USB_LIBS
1786 GPHOTO2_CFLAGS
1787 GPHOTO2_LIBS
1788 GPHOTO2_PORT_CFLAGS
1789 GPHOTO2_PORT_LIBS
1790 FREETYPE_CFLAGS
1791 FREETYPE_LIBS
1792 PULSE_CFLAGS
1793 PULSE_LIBS
1794 GSTREAMER_CFLAGS
1795 GSTREAMER_LIBS
1796 UDEV_CFLAGS
1797 UDEV_LIBS
1798 UNWIND_CFLAGS
1799 UNWIND_LIBS
1800 SDL2_CFLAGS
1801 SDL2_LIBS
1802 CAPI20_CFLAGS
1803 CAPI20_LIBS
1804 CUPS_CFLAGS
1805 CUPS_LIBS
1806 FONTCONFIG_CFLAGS
1807 FONTCONFIG_LIBS
1808 KRB5_CFLAGS
1809 KRB5_LIBS
1810 GSSAPI_CFLAGS
1811 GSSAPI_LIBS
1812 NETAPI_CFLAGS
1813 NETAPI_LIBS'
1816 # Initialize some variables set by options.
1817 ac_init_help=
1818 ac_init_version=false
1819 ac_unrecognized_opts=
1820 ac_unrecognized_sep=
1821 # The variables have the same names as the options, with
1822 # dashes changed to underlines.
1823 cache_file=/dev/null
1824 exec_prefix=NONE
1825 no_create=
1826 no_recursion=
1827 prefix=NONE
1828 program_prefix=NONE
1829 program_suffix=NONE
1830 program_transform_name=s,x,x,
1831 silent=
1832 site=
1833 srcdir=
1834 verbose=
1835 x_includes=NONE
1836 x_libraries=NONE
1838 # Installation directory options.
1839 # These are left unexpanded so users can "make install exec_prefix=/foo"
1840 # and all the variables that are supposed to be based on exec_prefix
1841 # by default will actually change.
1842 # Use braces instead of parens because sh, perl, etc. also accept them.
1843 # (The list follows the same order as the GNU Coding Standards.)
1844 bindir='${exec_prefix}/bin'
1845 sbindir='${exec_prefix}/sbin'
1846 libexecdir='${exec_prefix}/libexec'
1847 datarootdir='${prefix}/share'
1848 datadir='${datarootdir}'
1849 sysconfdir='${prefix}/etc'
1850 sharedstatedir='${prefix}/com'
1851 localstatedir='${prefix}/var'
1852 runstatedir='${localstatedir}/run'
1853 includedir='${prefix}/include'
1854 oldincludedir='/usr/include'
1855 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1856 infodir='${datarootdir}/info'
1857 htmldir='${docdir}'
1858 dvidir='${docdir}'
1859 pdfdir='${docdir}'
1860 psdir='${docdir}'
1861 libdir='${exec_prefix}/lib'
1862 localedir='${datarootdir}/locale'
1863 mandir='${datarootdir}/man'
1865 ac_prev=
1866 ac_dashdash=
1867 for ac_option
1869 # If the previous option needs an argument, assign it.
1870 if test -n "$ac_prev"; then
1871 eval $ac_prev=\$ac_option
1872 ac_prev=
1873 continue
1876 case $ac_option in
1877 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1878 *=) ac_optarg= ;;
1879 *) ac_optarg=yes ;;
1880 esac
1882 case $ac_dashdash$ac_option in
1884 ac_dashdash=yes ;;
1886 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1887 ac_prev=bindir ;;
1888 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1889 bindir=$ac_optarg ;;
1891 -build | --build | --buil | --bui | --bu)
1892 ac_prev=build_alias ;;
1893 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1894 build_alias=$ac_optarg ;;
1896 -cache-file | --cache-file | --cache-fil | --cache-fi \
1897 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1898 ac_prev=cache_file ;;
1899 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1900 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1901 cache_file=$ac_optarg ;;
1903 --config-cache | -C)
1904 cache_file=config.cache ;;
1906 -datadir | --datadir | --datadi | --datad)
1907 ac_prev=datadir ;;
1908 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1909 datadir=$ac_optarg ;;
1911 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1912 | --dataroo | --dataro | --datar)
1913 ac_prev=datarootdir ;;
1914 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1915 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1916 datarootdir=$ac_optarg ;;
1918 -disable-* | --disable-*)
1919 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1920 # Reject names that are not valid shell variable names.
1921 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1922 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1923 ac_useropt_orig=$ac_useropt
1924 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1925 case $ac_user_opts in
1927 "enable_$ac_useropt"
1928 "*) ;;
1929 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1930 ac_unrecognized_sep=', ';;
1931 esac
1932 eval enable_$ac_useropt=no ;;
1934 -docdir | --docdir | --docdi | --doc | --do)
1935 ac_prev=docdir ;;
1936 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1937 docdir=$ac_optarg ;;
1939 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1940 ac_prev=dvidir ;;
1941 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1942 dvidir=$ac_optarg ;;
1944 -enable-* | --enable-*)
1945 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1946 # Reject names that are not valid shell variable names.
1947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1948 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1949 ac_useropt_orig=$ac_useropt
1950 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1951 case $ac_user_opts in
1953 "enable_$ac_useropt"
1954 "*) ;;
1955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1956 ac_unrecognized_sep=', ';;
1957 esac
1958 eval enable_$ac_useropt=\$ac_optarg ;;
1960 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1961 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1962 | --exec | --exe | --ex)
1963 ac_prev=exec_prefix ;;
1964 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1965 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1966 | --exec=* | --exe=* | --ex=*)
1967 exec_prefix=$ac_optarg ;;
1969 -gas | --gas | --ga | --g)
1970 # Obsolete; use --with-gas.
1971 with_gas=yes ;;
1973 -help | --help | --hel | --he | -h)
1974 ac_init_help=long ;;
1975 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1976 ac_init_help=recursive ;;
1977 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1978 ac_init_help=short ;;
1980 -host | --host | --hos | --ho)
1981 ac_prev=host_alias ;;
1982 -host=* | --host=* | --hos=* | --ho=*)
1983 host_alias=$ac_optarg ;;
1985 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1986 ac_prev=htmldir ;;
1987 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1988 | --ht=*)
1989 htmldir=$ac_optarg ;;
1991 -includedir | --includedir | --includedi | --included | --include \
1992 | --includ | --inclu | --incl | --inc)
1993 ac_prev=includedir ;;
1994 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1995 | --includ=* | --inclu=* | --incl=* | --inc=*)
1996 includedir=$ac_optarg ;;
1998 -infodir | --infodir | --infodi | --infod | --info | --inf)
1999 ac_prev=infodir ;;
2000 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2001 infodir=$ac_optarg ;;
2003 -libdir | --libdir | --libdi | --libd)
2004 ac_prev=libdir ;;
2005 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2006 libdir=$ac_optarg ;;
2008 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2009 | --libexe | --libex | --libe)
2010 ac_prev=libexecdir ;;
2011 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2012 | --libexe=* | --libex=* | --libe=*)
2013 libexecdir=$ac_optarg ;;
2015 -localedir | --localedir | --localedi | --localed | --locale)
2016 ac_prev=localedir ;;
2017 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2018 localedir=$ac_optarg ;;
2020 -localstatedir | --localstatedir | --localstatedi | --localstated \
2021 | --localstate | --localstat | --localsta | --localst | --locals)
2022 ac_prev=localstatedir ;;
2023 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2024 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2025 localstatedir=$ac_optarg ;;
2027 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2028 ac_prev=mandir ;;
2029 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2030 mandir=$ac_optarg ;;
2032 -nfp | --nfp | --nf)
2033 # Obsolete; use --without-fp.
2034 with_fp=no ;;
2036 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2037 | --no-cr | --no-c | -n)
2038 no_create=yes ;;
2040 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2041 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2042 no_recursion=yes ;;
2044 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2045 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2046 | --oldin | --oldi | --old | --ol | --o)
2047 ac_prev=oldincludedir ;;
2048 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2049 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2050 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2051 oldincludedir=$ac_optarg ;;
2053 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2054 ac_prev=prefix ;;
2055 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2056 prefix=$ac_optarg ;;
2058 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2059 | --program-pre | --program-pr | --program-p)
2060 ac_prev=program_prefix ;;
2061 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2062 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2063 program_prefix=$ac_optarg ;;
2065 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2066 | --program-suf | --program-su | --program-s)
2067 ac_prev=program_suffix ;;
2068 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2069 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2070 program_suffix=$ac_optarg ;;
2072 -program-transform-name | --program-transform-name \
2073 | --program-transform-nam | --program-transform-na \
2074 | --program-transform-n | --program-transform- \
2075 | --program-transform | --program-transfor \
2076 | --program-transfo | --program-transf \
2077 | --program-trans | --program-tran \
2078 | --progr-tra | --program-tr | --program-t)
2079 ac_prev=program_transform_name ;;
2080 -program-transform-name=* | --program-transform-name=* \
2081 | --program-transform-nam=* | --program-transform-na=* \
2082 | --program-transform-n=* | --program-transform-=* \
2083 | --program-transform=* | --program-transfor=* \
2084 | --program-transfo=* | --program-transf=* \
2085 | --program-trans=* | --program-tran=* \
2086 | --progr-tra=* | --program-tr=* | --program-t=*)
2087 program_transform_name=$ac_optarg ;;
2089 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2090 ac_prev=pdfdir ;;
2091 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2092 pdfdir=$ac_optarg ;;
2094 -psdir | --psdir | --psdi | --psd | --ps)
2095 ac_prev=psdir ;;
2096 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2097 psdir=$ac_optarg ;;
2099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2100 | -silent | --silent | --silen | --sile | --sil)
2101 silent=yes ;;
2103 -runstatedir | --runstatedir | --runstatedi | --runstated \
2104 | --runstate | --runstat | --runsta | --runst | --runs \
2105 | --run | --ru | --r)
2106 ac_prev=runstatedir ;;
2107 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2108 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2109 | --run=* | --ru=* | --r=*)
2110 runstatedir=$ac_optarg ;;
2112 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2113 ac_prev=sbindir ;;
2114 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2115 | --sbi=* | --sb=*)
2116 sbindir=$ac_optarg ;;
2118 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2119 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2120 | --sharedst | --shareds | --shared | --share | --shar \
2121 | --sha | --sh)
2122 ac_prev=sharedstatedir ;;
2123 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2124 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2125 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2126 | --sha=* | --sh=*)
2127 sharedstatedir=$ac_optarg ;;
2129 -site | --site | --sit)
2130 ac_prev=site ;;
2131 -site=* | --site=* | --sit=*)
2132 site=$ac_optarg ;;
2134 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2135 ac_prev=srcdir ;;
2136 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2137 srcdir=$ac_optarg ;;
2139 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2140 | --syscon | --sysco | --sysc | --sys | --sy)
2141 ac_prev=sysconfdir ;;
2142 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2143 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2144 sysconfdir=$ac_optarg ;;
2146 -target | --target | --targe | --targ | --tar | --ta | --t)
2147 ac_prev=target_alias ;;
2148 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2149 target_alias=$ac_optarg ;;
2151 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2152 verbose=yes ;;
2154 -version | --version | --versio | --versi | --vers | -V)
2155 ac_init_version=: ;;
2157 -with-* | --with-*)
2158 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2159 # Reject names that are not valid shell variable names.
2160 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2161 as_fn_error $? "invalid package name: \`$ac_useropt'"
2162 ac_useropt_orig=$ac_useropt
2163 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2164 case $ac_user_opts in
2166 "with_$ac_useropt"
2167 "*) ;;
2168 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2169 ac_unrecognized_sep=', ';;
2170 esac
2171 eval with_$ac_useropt=\$ac_optarg ;;
2173 -without-* | --without-*)
2174 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2175 # Reject names that are not valid shell variable names.
2176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2177 as_fn_error $? "invalid package name: \`$ac_useropt'"
2178 ac_useropt_orig=$ac_useropt
2179 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2180 case $ac_user_opts in
2182 "with_$ac_useropt"
2183 "*) ;;
2184 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2185 ac_unrecognized_sep=', ';;
2186 esac
2187 eval with_$ac_useropt=no ;;
2189 --x)
2190 # Obsolete; use --with-x.
2191 with_x=yes ;;
2193 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2194 | --x-incl | --x-inc | --x-in | --x-i)
2195 ac_prev=x_includes ;;
2196 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2197 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2198 x_includes=$ac_optarg ;;
2200 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2201 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2202 ac_prev=x_libraries ;;
2203 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2204 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2205 x_libraries=$ac_optarg ;;
2207 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2208 Try \`$0 --help' for more information"
2211 *=*)
2212 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2213 # Reject names that are not valid shell variable names.
2214 case $ac_envvar in #(
2215 '' | [0-9]* | *[!_$as_cr_alnum]* )
2216 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2217 esac
2218 eval $ac_envvar=\$ac_optarg
2219 export $ac_envvar ;;
2222 # FIXME: should be removed in autoconf 3.0.
2223 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2225 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2226 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2229 esac
2230 done
2232 if test -n "$ac_prev"; then
2233 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2234 as_fn_error $? "missing argument to $ac_option"
2237 if test -n "$ac_unrecognized_opts"; then
2238 case $enable_option_checking in
2239 no) ;;
2240 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2241 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2242 esac
2245 # Check all directory arguments for consistency.
2246 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2247 datadir sysconfdir sharedstatedir localstatedir includedir \
2248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2249 libdir localedir mandir runstatedir
2251 eval ac_val=\$$ac_var
2252 # Remove trailing slashes.
2253 case $ac_val in
2254 */ )
2255 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2256 eval $ac_var=\$ac_val;;
2257 esac
2258 # Be sure to have absolute directory names.
2259 case $ac_val in
2260 [\\/$]* | ?:[\\/]* ) continue;;
2261 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2262 esac
2263 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2264 done
2266 # There might be people who depend on the old broken behavior: `$host'
2267 # used to hold the argument of --host etc.
2268 # FIXME: To remove some day.
2269 build=$build_alias
2270 host=$host_alias
2271 target=$target_alias
2273 # FIXME: To remove some day.
2274 if test "x$host_alias" != x; then
2275 if test "x$build_alias" = x; then
2276 cross_compiling=maybe
2277 elif test "x$build_alias" != "x$host_alias"; then
2278 cross_compiling=yes
2282 ac_tool_prefix=
2283 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2285 test "$silent" = yes && exec 6>/dev/null
2288 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2289 ac_ls_di=`ls -di .` &&
2290 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2291 as_fn_error $? "working directory cannot be determined"
2292 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2293 as_fn_error $? "pwd does not report name of working directory"
2296 # Find the source files, if location was not specified.
2297 if test -z "$srcdir"; then
2298 ac_srcdir_defaulted=yes
2299 # Try the directory containing this script, then the parent directory.
2300 ac_confdir=`$as_dirname -- "$as_myself" ||
2301 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2302 X"$as_myself" : 'X\(//\)[^/]' \| \
2303 X"$as_myself" : 'X\(//\)$' \| \
2304 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2305 printf "%s\n" X"$as_myself" |
2306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2307 s//\1/
2310 /^X\(\/\/\)[^/].*/{
2311 s//\1/
2314 /^X\(\/\/\)$/{
2315 s//\1/
2318 /^X\(\/\).*/{
2319 s//\1/
2322 s/.*/./; q'`
2323 srcdir=$ac_confdir
2324 if test ! -r "$srcdir/$ac_unique_file"; then
2325 srcdir=..
2327 else
2328 ac_srcdir_defaulted=no
2330 if test ! -r "$srcdir/$ac_unique_file"; then
2331 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2332 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2334 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2335 ac_abs_confdir=`(
2336 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2337 pwd)`
2338 # When building in place, set srcdir=.
2339 if test "$ac_abs_confdir" = "$ac_pwd"; then
2340 srcdir=.
2342 # Remove unnecessary trailing slashes from srcdir.
2343 # Double slashes in file names in object file debugging info
2344 # mess up M-x gdb in Emacs.
2345 case $srcdir in
2346 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2347 esac
2348 for ac_var in $ac_precious_vars; do
2349 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2350 eval ac_env_${ac_var}_value=\$${ac_var}
2351 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2352 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2353 done
2356 # Report the --help message.
2358 if test "$ac_init_help" = "long"; then
2359 # Omit some internal or obsolete options to make the list less imposing.
2360 # This message is too long to be a string in the A/UX 3.1 sh.
2361 cat <<_ACEOF
2362 \`configure' configures Wine 8.15 to adapt to many kinds of systems.
2364 Usage: $0 [OPTION]... [VAR=VALUE]...
2366 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2367 VAR=VALUE. See below for descriptions of some of the useful variables.
2369 Defaults for the options are specified in brackets.
2371 Configuration:
2372 -h, --help display this help and exit
2373 --help=short display options specific to this package
2374 --help=recursive display the short help of all the included packages
2375 -V, --version display version information and exit
2376 -q, --quiet, --silent do not print \`checking ...' messages
2377 --cache-file=FILE cache test results in FILE [disabled]
2378 -C, --config-cache alias for \`--cache-file=config.cache'
2379 -n, --no-create do not create output files
2380 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2382 Installation directories:
2383 --prefix=PREFIX install architecture-independent files in PREFIX
2384 [$ac_default_prefix]
2385 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2386 [PREFIX]
2388 By default, \`make install' will install all the files in
2389 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2390 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2391 for instance \`--prefix=\$HOME'.
2393 For better control, use the options below.
2395 Fine tuning of the installation directories:
2396 --bindir=DIR user executables [EPREFIX/bin]
2397 --sbindir=DIR system admin executables [EPREFIX/sbin]
2398 --libexecdir=DIR program executables [EPREFIX/libexec]
2399 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2400 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2401 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2402 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2403 --libdir=DIR object code libraries [EPREFIX/lib]
2404 --includedir=DIR C header files [PREFIX/include]
2405 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2406 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2407 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2408 --infodir=DIR info documentation [DATAROOTDIR/info]
2409 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2410 --mandir=DIR man documentation [DATAROOTDIR/man]
2411 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2412 --htmldir=DIR html documentation [DOCDIR]
2413 --dvidir=DIR dvi documentation [DOCDIR]
2414 --pdfdir=DIR pdf documentation [DOCDIR]
2415 --psdir=DIR ps documentation [DOCDIR]
2416 _ACEOF
2418 cat <<\_ACEOF
2420 X features:
2421 --x-includes=DIR X include files are in DIR
2422 --x-libraries=DIR X library files are in DIR
2424 System types:
2425 --build=BUILD configure for building on BUILD [guessed]
2426 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2427 _ACEOF
2430 if test -n "$ac_init_help"; then
2431 case $ac_init_help in
2432 short | recursive ) echo "Configuration of Wine 8.15:";;
2433 esac
2434 cat <<\_ACEOF
2436 Optional Features:
2437 --disable-option-checking ignore unrecognized --enable/--with options
2438 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2439 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2440 --enable-archs={i386,x86_64,arm,aarch64}
2441 enable multiple architectures for PE compilation
2442 --disable-win16 do not include Win16 support
2443 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2444 binaries)
2445 --disable-tests do not build the regression tests
2446 --enable-build-id include .buildid section in output objects
2447 --enable-maintainer-mode
2448 enable maintainer-specific build rules
2449 --enable-silent-rules use silent build rules (override: "make V=1")
2450 --enable-werror treat compilation warnings as errors
2451 --disable-largefile omit support for large files
2453 Optional Packages:
2454 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2455 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2456 --without-alsa do not use the Alsa sound support
2457 --without-capi do not use CAPI (ISDN support)
2458 --without-coreaudio do not use the CoreAudio sound support
2459 --without-cups do not use CUPS
2460 --without-dbus do not use DBus (dynamic device support)
2461 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2462 --without-fontconfig do not use fontconfig
2463 --without-freetype do not use the FreeType library
2464 --without-gettext do not use gettext
2465 --with-gettextpo use the GetTextPO library to rebuild po files
2466 --without-gphoto do not use gphoto (Digital Camera support)
2467 --without-gnutls do not use GnuTLS (schannel support)
2468 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2469 --without-gstreamer do not use GStreamer (codecs support)
2470 --without-inotify do not use inotify (filesystem change notifications)
2471 --without-krb5 do not use krb5 (Kerberos)
2472 --without-mingw do not use the MinGW cross-compiler
2473 --without-netapi do not use the Samba NetAPI library
2474 --without-opencl do not use OpenCL
2475 --without-opengl do not use OpenGL
2476 --without-osmesa do not use the OSMesa library
2477 --without-oss do not use the OSS sound support
2478 --without-pcap do not use the Packet Capture library
2479 --without-pcsclite do not use PCSC lite
2480 --without-pthread do not use the pthread library
2481 --without-pulse do not use PulseAudio sound support
2482 --without-sane do not use SANE (scanner support)
2483 --without-sdl do not use SDL
2484 --without-udev do not use udev (plug and play support)
2485 --without-unwind do not use the libunwind library (exception
2486 handling)
2487 --without-usb do not use the libusb library
2488 --without-v4l2 do not use v4l2 (video capture)
2489 --without-vulkan do not use Vulkan
2490 --without-wayland do not build the Wayland driver
2491 --without-xcomposite do not use the Xcomposite extension
2492 --without-xcursor do not use the Xcursor extension
2493 --without-xfixes do not use Xfixes for clipboard change notifications
2494 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2495 --without-xinput do not use the Xinput extension
2496 --without-xinput2 do not use the Xinput 2 extension
2497 --without-xrandr do not use Xrandr (multi-monitor support)
2498 --without-xrender do not use the Xrender extension
2499 --without-xshape do not use the Xshape extension
2500 --without-xshm do not use XShm (shared memory extension)
2501 --without-xxf86vm do not use XFree video mode extension
2502 --with-system-dllpath=PATH
2503 load external PE dependencies from colon-separated
2504 path PATH
2505 --with-wine-tools=DIR use Wine tools from directory DIR
2506 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2507 --with-x use the X Window System
2509 Some influential environment variables:
2510 CC C compiler command
2511 CFLAGS C compiler flags
2512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2513 nonstandard directory <lib dir>
2514 LIBS libraries to pass to the linker, e.g. -l<library>
2515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2516 you have headers in a nonstandard directory <include dir>
2517 CXX C++ compiler command
2518 CXXFLAGS C++ compiler flags
2519 OBJC Objective C compiler command
2520 OBJCFLAGS Objective C compiler flags
2521 FAUDIO_PE_CFLAGS
2522 C compiler flags for the PE faudio, overriding the bundled
2523 version
2524 FAUDIO_PE_LIBS
2525 Linker flags for the PE faudio, overriding the bundled version
2526 GSM_PE_CFLAGS
2527 C compiler flags for the PE gsm, overriding the bundled version
2528 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2529 JPEG_PE_CFLAGS
2530 C compiler flags for the PE jpeg, overriding the bundled version
2531 JPEG_PE_LIBS
2532 Linker flags for the PE jpeg, overriding the bundled version
2533 JXR_PE_CFLAGS
2534 C compiler flags for the PE jxr, overriding the bundled version
2535 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2536 LCMS2_PE_CFLAGS
2537 C compiler flags for the PE lcms2, overriding the bundled
2538 version
2539 LCMS2_PE_LIBS
2540 Linker flags for the PE lcms2, overriding the bundled version
2541 LDAP_PE_CFLAGS
2542 C compiler flags for the PE ldap, overriding the bundled version
2543 LDAP_PE_LIBS
2544 Linker flags for the PE ldap, overriding the bundled version
2545 MPG123_PE_CFLAGS
2546 C compiler flags for the PE mpg123, overriding the bundled
2547 version
2548 MPG123_PE_LIBS
2549 Linker flags for the PE mpg123, overriding the bundled version
2550 MUSL_PE_CFLAGS
2551 C compiler flags for the PE musl, overriding the bundled version
2552 MUSL_PE_LIBS
2553 Linker flags for the PE musl, overriding the bundled version
2554 PNG_PE_CFLAGS
2555 C compiler flags for the PE png, overriding the bundled version
2556 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2557 TIFF_PE_CFLAGS
2558 C compiler flags for the PE tiff, overriding the bundled version
2559 TIFF_PE_LIBS
2560 Linker flags for the PE tiff, overriding the bundled version
2561 VKD3D_PE_CFLAGS
2562 C compiler flags for the PE vkd3d, overriding the bundled
2563 version
2564 VKD3D_PE_LIBS
2565 Linker flags for the PE vkd3d, overriding the bundled version
2566 XML2_PE_CFLAGS
2567 C compiler flags for the PE xml2, overriding the bundled version
2568 XML2_PE_LIBS
2569 Linker flags for the PE xml2, overriding the bundled version
2570 XSLT_PE_CFLAGS
2571 C compiler flags for the PE xslt, overriding the bundled version
2572 XSLT_PE_LIBS
2573 Linker flags for the PE xslt, overriding the bundled version
2574 ZLIB_PE_CFLAGS
2575 C compiler flags for the PE zlib, overriding the bundled version
2576 ZLIB_PE_LIBS
2577 Linker flags for the PE zlib, overriding the bundled version
2578 ZYDIS_PE_CFLAGS
2579 C compiler flags for the PE zydis, overriding the bundled
2580 version
2581 ZYDIS_PE_LIBS
2582 Linker flags for the PE zydis, overriding the bundled version
2583 XMKMF Path to xmkmf, Makefile generator for X Window System
2584 CPP C preprocessor
2585 WAYLAND_CLIENT_CFLAGS
2586 C compiler flags for wayland-client, overriding pkg-config
2587 WAYLAND_CLIENT_LIBS
2588 Linker flags for wayland-client, overriding pkg-config
2589 INOTIFY_CFLAGS
2590 C compiler flags for libinotify, overriding pkg-config
2591 INOTIFY_LIBS
2592 Linker flags for libinotify, overriding pkg-config
2593 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2594 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2595 GNUTLS_CFLAGS
2596 C compiler flags for gnutls, overriding pkg-config
2597 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2598 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2599 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2600 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2601 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2602 GPHOTO2_CFLAGS
2603 C compiler flags for libgphoto2, overriding pkg-config
2604 GPHOTO2_LIBS
2605 Linker flags for libgphoto2, overriding pkg-config
2606 GPHOTO2_PORT_CFLAGS
2607 C compiler flags for libgphoto2_port, overriding pkg-config
2608 GPHOTO2_PORT_LIBS
2609 Linker flags for libgphoto2_port, overriding pkg-config
2610 FREETYPE_CFLAGS
2611 C compiler flags for freetype2, overriding pkg-config
2612 FREETYPE_LIBS
2613 Linker flags for freetype2, overriding pkg-config
2614 PULSE_CFLAGS
2615 C compiler flags for libpulse, overriding pkg-config
2616 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2617 GSTREAMER_CFLAGS
2618 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2619 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2620 GSTREAMER_LIBS
2621 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2622 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2623 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2624 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2625 UNWIND_CFLAGS
2626 C compiler flags for libunwind, overriding pkg-config
2627 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2628 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2629 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2630 CAPI20_CFLAGS
2631 C compiler flags for capi20, overriding pkg-config
2632 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2633 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2634 CUPS_LIBS Linker flags for cups, overriding pkg-config
2635 FONTCONFIG_CFLAGS
2636 C compiler flags for fontconfig, overriding pkg-config
2637 FONTCONFIG_LIBS
2638 Linker flags for fontconfig, overriding pkg-config
2639 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2640 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2641 GSSAPI_CFLAGS
2642 C compiler flags for krb5-gssapi, overriding pkg-config
2643 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2644 NETAPI_CFLAGS
2645 C compiler flags for netapi, overriding pkg-config
2646 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2648 Use these variables to override the choices made by `configure' or to help
2649 it to find libraries and programs with nonstandard names/locations.
2651 Report bugs to <wine-devel@winehq.org>.
2652 Wine home page: <https://www.winehq.org>.
2653 _ACEOF
2654 ac_status=$?
2657 if test "$ac_init_help" = "recursive"; then
2658 # If there are subdirs, report their specific --help.
2659 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2660 test -d "$ac_dir" ||
2661 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2662 continue
2663 ac_builddir=.
2665 case "$ac_dir" in
2666 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2668 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2669 # A ".." for each directory in $ac_dir_suffix.
2670 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2671 case $ac_top_builddir_sub in
2672 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2673 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2674 esac ;;
2675 esac
2676 ac_abs_top_builddir=$ac_pwd
2677 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2678 # for backward compatibility:
2679 ac_top_builddir=$ac_top_build_prefix
2681 case $srcdir in
2682 .) # We are building in place.
2683 ac_srcdir=.
2684 ac_top_srcdir=$ac_top_builddir_sub
2685 ac_abs_top_srcdir=$ac_pwd ;;
2686 [\\/]* | ?:[\\/]* ) # Absolute name.
2687 ac_srcdir=$srcdir$ac_dir_suffix;
2688 ac_top_srcdir=$srcdir
2689 ac_abs_top_srcdir=$srcdir ;;
2690 *) # Relative name.
2691 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2692 ac_top_srcdir=$ac_top_build_prefix$srcdir
2693 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2694 esac
2695 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2697 cd "$ac_dir" || { ac_status=$?; continue; }
2698 # Check for configure.gnu first; this name is used for a wrapper for
2699 # Metaconfig's "Configure" on case-insensitive file systems.
2700 if test -f "$ac_srcdir/configure.gnu"; then
2701 echo &&
2702 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2703 elif test -f "$ac_srcdir/configure"; then
2704 echo &&
2705 $SHELL "$ac_srcdir/configure" --help=recursive
2706 else
2707 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2708 fi || ac_status=$?
2709 cd "$ac_pwd" || { ac_status=$?; break; }
2710 done
2713 test -n "$ac_init_help" && exit $ac_status
2714 if $ac_init_version; then
2715 cat <<\_ACEOF
2716 Wine configure 8.15
2717 generated by GNU Autoconf 2.71
2719 Copyright (C) 2021 Free Software Foundation, Inc.
2720 This configure script is free software; the Free Software Foundation
2721 gives unlimited permission to copy, distribute and modify it.
2722 _ACEOF
2723 exit
2726 ## ------------------------ ##
2727 ## Autoconf initialization. ##
2728 ## ------------------------ ##
2730 # ac_fn_c_try_compile LINENO
2731 # --------------------------
2732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2733 ac_fn_c_try_compile ()
2735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2736 rm -f conftest.$ac_objext conftest.beam
2737 if { { ac_try="$ac_compile"
2738 case "(($ac_try" in
2739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740 *) ac_try_echo=$ac_try;;
2741 esac
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 printf "%s\n" "$ac_try_echo"; } >&5
2744 (eval "$ac_compile") 2>conftest.err
2745 ac_status=$?
2746 if test -s conftest.err; then
2747 grep -v '^ *+' conftest.err >conftest.er1
2748 cat conftest.er1 >&5
2749 mv -f conftest.er1 conftest.err
2751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2752 test $ac_status = 0; } && {
2753 test -z "$ac_c_werror_flag" ||
2754 test ! -s conftest.err
2755 } && test -s conftest.$ac_objext
2756 then :
2757 ac_retval=0
2758 else $as_nop
2759 printf "%s\n" "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_retval=1
2764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 as_fn_set_status $ac_retval
2767 } # ac_fn_c_try_compile
2769 # ac_fn_cxx_try_compile LINENO
2770 # ----------------------------
2771 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2772 ac_fn_cxx_try_compile ()
2774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2775 rm -f conftest.$ac_objext conftest.beam
2776 if { { ac_try="$ac_compile"
2777 case "(($ac_try" in
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2780 esac
2781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2782 printf "%s\n" "$ac_try_echo"; } >&5
2783 (eval "$ac_compile") 2>conftest.err
2784 ac_status=$?
2785 if test -s conftest.err; then
2786 grep -v '^ *+' conftest.err >conftest.er1
2787 cat conftest.er1 >&5
2788 mv -f conftest.er1 conftest.err
2790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2791 test $ac_status = 0; } && {
2792 test -z "$ac_cxx_werror_flag" ||
2793 test ! -s conftest.err
2794 } && test -s conftest.$ac_objext
2795 then :
2796 ac_retval=0
2797 else $as_nop
2798 printf "%s\n" "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2801 ac_retval=1
2803 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2804 as_fn_set_status $ac_retval
2806 } # ac_fn_cxx_try_compile
2808 # ac_fn_c_try_link LINENO
2809 # -----------------------
2810 # Try to link conftest.$ac_ext, and return whether this succeeded.
2811 ac_fn_c_try_link ()
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2815 if { { ac_try="$ac_link"
2816 case "(($ac_try" in
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2819 esac
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 printf "%s\n" "$ac_try_echo"; } >&5
2822 (eval "$ac_link") 2>conftest.err
2823 ac_status=$?
2824 if test -s conftest.err; then
2825 grep -v '^ *+' conftest.err >conftest.er1
2826 cat conftest.er1 >&5
2827 mv -f conftest.er1 conftest.err
2829 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2830 test $ac_status = 0; } && {
2831 test -z "$ac_c_werror_flag" ||
2832 test ! -s conftest.err
2833 } && test -s conftest$ac_exeext && {
2834 test "$cross_compiling" = yes ||
2835 test -x conftest$ac_exeext
2837 then :
2838 ac_retval=0
2839 else $as_nop
2840 printf "%s\n" "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2843 ac_retval=1
2845 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2846 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2847 # interfere with the next link command; also delete a directory that is
2848 # left behind by Apple's compiler. We do this before executing the actions.
2849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 as_fn_set_status $ac_retval
2853 } # ac_fn_c_try_link
2855 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2856 # -------------------------------------------------------
2857 # Tests whether HEADER exists and can be compiled using the include files in
2858 # INCLUDES, setting the cache variable VAR accordingly.
2859 ac_fn_c_check_header_compile ()
2861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2863 printf %s "checking for $2... " >&6; }
2864 if eval test \${$3+y}
2865 then :
2866 printf %s "(cached) " >&6
2867 else $as_nop
2868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2869 /* end confdefs.h. */
2871 #include <$2>
2872 _ACEOF
2873 if ac_fn_c_try_compile "$LINENO"
2874 then :
2875 eval "$3=yes"
2876 else $as_nop
2877 eval "$3=no"
2879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2881 eval ac_res=\$$3
2882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2883 printf "%s\n" "$ac_res" >&6; }
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2886 } # ac_fn_c_check_header_compile
2888 # ac_fn_objc_try_compile LINENO
2889 # -----------------------------
2890 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2891 ac_fn_objc_try_compile ()
2893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2894 rm -f conftest.$ac_objext conftest.beam
2895 if { { ac_try="$ac_compile"
2896 case "(($ac_try" in
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2899 esac
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 printf "%s\n" "$ac_try_echo"; } >&5
2902 (eval "$ac_compile") 2>conftest.err
2903 ac_status=$?
2904 if test -s conftest.err; then
2905 grep -v '^ *+' conftest.err >conftest.er1
2906 cat conftest.er1 >&5
2907 mv -f conftest.er1 conftest.err
2909 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2910 test $ac_status = 0; } && {
2911 test -z "$ac_objc_werror_flag" ||
2912 test ! -s conftest.err
2913 } && test -s conftest.$ac_objext
2914 then :
2915 ac_retval=0
2916 else $as_nop
2917 printf "%s\n" "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 ac_retval=1
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2923 as_fn_set_status $ac_retval
2925 } # ac_fn_objc_try_compile
2927 # ac_fn_c_check_func LINENO FUNC VAR
2928 # ----------------------------------
2929 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2930 ac_fn_c_check_func ()
2932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2934 printf %s "checking for $2... " >&6; }
2935 if eval test \${$3+y}
2936 then :
2937 printf %s "(cached) " >&6
2938 else $as_nop
2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2940 /* end confdefs.h. */
2941 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2943 #define $2 innocuous_$2
2945 /* System header to define __stub macros and hopefully few prototypes,
2946 which can conflict with char $2 (); below. */
2948 #include <limits.h>
2949 #undef $2
2951 /* Override any GCC internal prototype to avoid an error.
2952 Use char because int might match the return type of a GCC
2953 builtin and then its argument prototype would still apply. */
2954 #ifdef __cplusplus
2955 extern "C"
2956 #endif
2957 char $2 ();
2958 /* The GNU C library defines this for functions which it implements
2959 to always fail with ENOSYS. Some functions are actually named
2960 something starting with __ and the normal name is an alias. */
2961 #if defined __stub_$2 || defined __stub___$2
2962 choke me
2963 #endif
2966 main (void)
2968 return $2 ();
2970 return 0;
2972 _ACEOF
2973 if ac_fn_c_try_link "$LINENO"
2974 then :
2975 eval "$3=yes"
2976 else $as_nop
2977 eval "$3=no"
2979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2980 conftest$ac_exeext conftest.$ac_ext
2982 eval ac_res=\$$3
2983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2984 printf "%s\n" "$ac_res" >&6; }
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 } # ac_fn_c_check_func
2989 # ac_fn_c_try_cpp LINENO
2990 # ----------------------
2991 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2992 ac_fn_c_try_cpp ()
2994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2995 if { { ac_try="$ac_cpp conftest.$ac_ext"
2996 case "(($ac_try" in
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
2999 esac
3000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3001 printf "%s\n" "$ac_try_echo"; } >&5
3002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3003 ac_status=$?
3004 if test -s conftest.err; then
3005 grep -v '^ *+' conftest.err >conftest.er1
3006 cat conftest.er1 >&5
3007 mv -f conftest.er1 conftest.err
3009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3010 test $ac_status = 0; } > conftest.i && {
3011 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3012 test ! -s conftest.err
3014 then :
3015 ac_retval=0
3016 else $as_nop
3017 printf "%s\n" "$as_me: failed program was:" >&5
3018 sed 's/^/| /' conftest.$ac_ext >&5
3020 ac_retval=1
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3023 as_fn_set_status $ac_retval
3025 } # ac_fn_c_try_cpp
3027 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3028 # ----------------------------------------------------
3029 # Tries to find if the field MEMBER exists in type AGGR, after including
3030 # INCLUDES, setting cache variable VAR accordingly.
3031 ac_fn_c_check_member ()
3033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3035 printf %s "checking for $2.$3... " >&6; }
3036 if eval test \${$4+y}
3037 then :
3038 printf %s "(cached) " >&6
3039 else $as_nop
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041 /* end confdefs.h. */
3044 main (void)
3046 static $2 ac_aggr;
3047 if (ac_aggr.$3)
3048 return 0;
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_compile "$LINENO"
3054 then :
3055 eval "$4=yes"
3056 else $as_nop
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3061 main (void)
3063 static $2 ac_aggr;
3064 if (sizeof ac_aggr.$3)
3065 return 0;
3067 return 0;
3069 _ACEOF
3070 if ac_fn_c_try_compile "$LINENO"
3071 then :
3072 eval "$4=yes"
3073 else $as_nop
3074 eval "$4=no"
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3080 eval ac_res=\$$4
3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3082 printf "%s\n" "$ac_res" >&6; }
3083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3085 } # ac_fn_c_check_member
3087 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3088 # -------------------------------------------
3089 # Tests whether TYPE exists after having included INCLUDES, setting cache
3090 # variable VAR accordingly.
3091 ac_fn_c_check_type ()
3093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3095 printf %s "checking for $2... " >&6; }
3096 if eval test \${$3+y}
3097 then :
3098 printf %s "(cached) " >&6
3099 else $as_nop
3100 eval "$3=no"
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3105 main (void)
3107 if (sizeof ($2))
3108 return 0;
3110 return 0;
3112 _ACEOF
3113 if ac_fn_c_try_compile "$LINENO"
3114 then :
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3119 main (void)
3121 if (sizeof (($2)))
3122 return 0;
3124 return 0;
3126 _ACEOF
3127 if ac_fn_c_try_compile "$LINENO"
3128 then :
3130 else $as_nop
3131 eval "$3=yes"
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3137 eval ac_res=\$$3
3138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3139 printf "%s\n" "$ac_res" >&6; }
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 } # ac_fn_c_check_type
3143 ac_configure_args_raw=
3144 for ac_arg
3146 case $ac_arg in
3147 *\'*)
3148 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3149 esac
3150 as_fn_append ac_configure_args_raw " '$ac_arg'"
3151 done
3153 case $ac_configure_args_raw in
3154 *$as_nl*)
3155 ac_safe_unquote= ;;
3157 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3158 ac_unsafe_a="$ac_unsafe_z#~"
3159 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3160 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3161 esac
3163 cat >config.log <<_ACEOF
3164 This file contains any messages produced by compilers while
3165 running configure, to aid debugging if configure makes a mistake.
3167 It was created by Wine $as_me 8.15, which was
3168 generated by GNU Autoconf 2.71. Invocation command line was
3170 $ $0$ac_configure_args_raw
3172 _ACEOF
3173 exec 5>>config.log
3175 cat <<_ASUNAME
3176 ## --------- ##
3177 ## Platform. ##
3178 ## --------- ##
3180 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3181 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3182 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3183 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3184 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3186 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3187 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3189 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3190 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3191 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3192 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3193 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3194 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3195 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3197 _ASUNAME
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 for as_dir in $PATH
3202 IFS=$as_save_IFS
3203 case $as_dir in #(((
3204 '') as_dir=./ ;;
3205 */) ;;
3206 *) as_dir=$as_dir/ ;;
3207 esac
3208 printf "%s\n" "PATH: $as_dir"
3209 done
3210 IFS=$as_save_IFS
3212 } >&5
3214 cat >&5 <<_ACEOF
3217 ## ----------- ##
3218 ## Core tests. ##
3219 ## ----------- ##
3221 _ACEOF
3224 # Keep a trace of the command line.
3225 # Strip out --no-create and --no-recursion so they do not pile up.
3226 # Strip out --silent because we don't want to record it for future runs.
3227 # Also quote any args containing shell meta-characters.
3228 # Make two passes to allow for proper duplicate-argument suppression.
3229 ac_configure_args=
3230 ac_configure_args0=
3231 ac_configure_args1=
3232 ac_must_keep_next=false
3233 for ac_pass in 1 2
3235 for ac_arg
3237 case $ac_arg in
3238 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3239 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3240 | -silent | --silent | --silen | --sile | --sil)
3241 continue ;;
3242 *\'*)
3243 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3244 esac
3245 case $ac_pass in
3246 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3248 as_fn_append ac_configure_args1 " '$ac_arg'"
3249 if test $ac_must_keep_next = true; then
3250 ac_must_keep_next=false # Got value, back to normal.
3251 else
3252 case $ac_arg in
3253 *=* | --config-cache | -C | -disable-* | --disable-* \
3254 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3255 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3256 | -with-* | --with-* | -without-* | --without-* | --x)
3257 case "$ac_configure_args0 " in
3258 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3259 esac
3261 -* ) ac_must_keep_next=true ;;
3262 esac
3264 as_fn_append ac_configure_args " '$ac_arg'"
3266 esac
3267 done
3268 done
3269 { ac_configure_args0=; unset ac_configure_args0;}
3270 { ac_configure_args1=; unset ac_configure_args1;}
3272 # When interrupted or exit'd, cleanup temporary files, and complete
3273 # config.log. We remove comments because anyway the quotes in there
3274 # would cause problems or look ugly.
3275 # WARNING: Use '\'' to represent an apostrophe within the trap.
3276 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3277 trap 'exit_status=$?
3278 # Sanitize IFS.
3279 IFS=" "" $as_nl"
3280 # Save into config.log some information that might help in debugging.
3282 echo
3284 printf "%s\n" "## ---------------- ##
3285 ## Cache variables. ##
3286 ## ---------------- ##"
3287 echo
3288 # The following way of writing the cache mishandles newlines in values,
3290 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3291 eval ac_val=\$$ac_var
3292 case $ac_val in #(
3293 *${as_nl}*)
3294 case $ac_var in #(
3295 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3296 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3297 esac
3298 case $ac_var in #(
3299 _ | IFS | as_nl) ;; #(
3300 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3301 *) { eval $ac_var=; unset $ac_var;} ;;
3302 esac ;;
3303 esac
3304 done
3305 (set) 2>&1 |
3306 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3307 *${as_nl}ac_space=\ *)
3308 sed -n \
3309 "s/'\''/'\''\\\\'\'''\''/g;
3310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3311 ;; #(
3313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3315 esac |
3316 sort
3318 echo
3320 printf "%s\n" "## ----------------- ##
3321 ## Output variables. ##
3322 ## ----------------- ##"
3323 echo
3324 for ac_var in $ac_subst_vars
3326 eval ac_val=\$$ac_var
3327 case $ac_val in
3328 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3329 esac
3330 printf "%s\n" "$ac_var='\''$ac_val'\''"
3331 done | sort
3332 echo
3334 if test -n "$ac_subst_files"; then
3335 printf "%s\n" "## ------------------- ##
3336 ## File substitutions. ##
3337 ## ------------------- ##"
3338 echo
3339 for ac_var in $ac_subst_files
3341 eval ac_val=\$$ac_var
3342 case $ac_val in
3343 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3344 esac
3345 printf "%s\n" "$ac_var='\''$ac_val'\''"
3346 done | sort
3347 echo
3350 if test -s confdefs.h; then
3351 printf "%s\n" "## ----------- ##
3352 ## confdefs.h. ##
3353 ## ----------- ##"
3354 echo
3355 cat confdefs.h
3356 echo
3358 test "$ac_signal" != 0 &&
3359 printf "%s\n" "$as_me: caught signal $ac_signal"
3360 printf "%s\n" "$as_me: exit $exit_status"
3361 } >&5
3362 rm -f core *.core core.conftest.* &&
3363 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3364 exit $exit_status
3366 for ac_signal in 1 2 13 15; do
3367 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3368 done
3369 ac_signal=0
3371 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3372 rm -f -r conftest* confdefs.h
3374 printf "%s\n" "/* confdefs.h */" > confdefs.h
3376 # Predefined preprocessor variables.
3378 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3382 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3384 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3386 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3388 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3391 # Let the site file select an alternate cache file if it wants to.
3392 # Prefer an explicitly selected file to automatically selected ones.
3393 if test -n "$CONFIG_SITE"; then
3394 ac_site_files="$CONFIG_SITE"
3395 elif test "x$prefix" != xNONE; then
3396 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3397 else
3398 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3401 for ac_site_file in $ac_site_files
3403 case $ac_site_file in #(
3404 */*) :
3405 ;; #(
3406 *) :
3407 ac_site_file=./$ac_site_file ;;
3408 esac
3409 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3411 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3412 sed 's/^/| /' "$ac_site_file" >&5
3413 . "$ac_site_file" \
3414 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3415 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3416 as_fn_error $? "failed to load site script $ac_site_file
3417 See \`config.log' for more details" "$LINENO" 5; }
3419 done
3421 if test -r "$cache_file"; then
3422 # Some versions of bash will fail to source /dev/null (special files
3423 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3424 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3426 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3427 case $cache_file in
3428 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3429 *) . "./$cache_file";;
3430 esac
3432 else
3433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3434 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3435 >$cache_file
3438 # Test code for whether the C compiler supports C89 (global declarations)
3439 ac_c_conftest_c89_globals='
3440 /* Does the compiler advertise C89 conformance?
3441 Do not test the value of __STDC__, because some compilers set it to 0
3442 while being otherwise adequately conformant. */
3443 #if !defined __STDC__
3444 # error "Compiler does not advertise C89 conformance"
3445 #endif
3447 #include <stddef.h>
3448 #include <stdarg.h>
3449 struct stat;
3450 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3451 struct buf { int x; };
3452 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3453 static char *e (p, i)
3454 char **p;
3455 int i;
3457 return p[i];
3459 static char *f (char * (*g) (char **, int), char **p, ...)
3461 char *s;
3462 va_list v;
3463 va_start (v,p);
3464 s = g (p, va_arg (v,int));
3465 va_end (v);
3466 return s;
3469 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3470 function prototypes and stuff, but not \xHH hex character constants.
3471 These do not provoke an error unfortunately, instead are silently treated
3472 as an "x". The following induces an error, until -std is added to get
3473 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3474 array size at least. It is necessary to write \x00 == 0 to get something
3475 that is true only with -std. */
3476 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3478 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3479 inside strings and character constants. */
3480 #define FOO(x) '\''x'\''
3481 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3483 int test (int i, double x);
3484 struct s1 {int (*f) (int a);};
3485 struct s2 {int (*f) (double a);};
3486 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3487 int, int);'
3489 # Test code for whether the C compiler supports C89 (body of main).
3490 ac_c_conftest_c89_main='
3491 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3494 # Test code for whether the C compiler supports C99 (global declarations)
3495 ac_c_conftest_c99_globals='
3496 // Does the compiler advertise C99 conformance?
3497 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3498 # error "Compiler does not advertise C99 conformance"
3499 #endif
3501 #include <stdbool.h>
3502 extern int puts (const char *);
3503 extern int printf (const char *, ...);
3504 extern int dprintf (int, const char *, ...);
3505 extern void *malloc (size_t);
3507 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3508 // dprintf is used instead of fprintf to avoid needing to declare
3509 // FILE and stderr.
3510 #define debug(...) dprintf (2, __VA_ARGS__)
3511 #define showlist(...) puts (#__VA_ARGS__)
3512 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3513 static void
3514 test_varargs_macros (void)
3516 int x = 1234;
3517 int y = 5678;
3518 debug ("Flag");
3519 debug ("X = %d\n", x);
3520 showlist (The first, second, and third items.);
3521 report (x>y, "x is %d but y is %d", x, y);
3524 // Check long long types.
3525 #define BIG64 18446744073709551615ull
3526 #define BIG32 4294967295ul
3527 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3528 #if !BIG_OK
3529 #error "your preprocessor is broken"
3530 #endif
3531 #if BIG_OK
3532 #else
3533 #error "your preprocessor is broken"
3534 #endif
3535 static long long int bignum = -9223372036854775807LL;
3536 static unsigned long long int ubignum = BIG64;
3538 struct incomplete_array
3540 int datasize;
3541 double data[];
3544 struct named_init {
3545 int number;
3546 const wchar_t *name;
3547 double average;
3550 typedef const char *ccp;
3552 static inline int
3553 test_restrict (ccp restrict text)
3555 // See if C++-style comments work.
3556 // Iterate through items via the restricted pointer.
3557 // Also check for declarations in for loops.
3558 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3559 continue;
3560 return 0;
3563 // Check varargs and va_copy.
3564 static bool
3565 test_varargs (const char *format, ...)
3567 va_list args;
3568 va_start (args, format);
3569 va_list args_copy;
3570 va_copy (args_copy, args);
3572 const char *str = "";
3573 int number = 0;
3574 float fnumber = 0;
3576 while (*format)
3578 switch (*format++)
3580 case '\''s'\'': // string
3581 str = va_arg (args_copy, const char *);
3582 break;
3583 case '\''d'\'': // int
3584 number = va_arg (args_copy, int);
3585 break;
3586 case '\''f'\'': // float
3587 fnumber = va_arg (args_copy, double);
3588 break;
3589 default:
3590 break;
3593 va_end (args_copy);
3594 va_end (args);
3596 return *str && number && fnumber;
3600 # Test code for whether the C compiler supports C99 (body of main).
3601 ac_c_conftest_c99_main='
3602 // Check bool.
3603 _Bool success = false;
3604 success |= (argc != 0);
3606 // Check restrict.
3607 if (test_restrict ("String literal") == 0)
3608 success = true;
3609 char *restrict newvar = "Another string";
3611 // Check varargs.
3612 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3613 test_varargs_macros ();
3615 // Check flexible array members.
3616 struct incomplete_array *ia =
3617 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3618 ia->datasize = 10;
3619 for (int i = 0; i < ia->datasize; ++i)
3620 ia->data[i] = i * 1.234;
3622 // Check named initializers.
3623 struct named_init ni = {
3624 .number = 34,
3625 .name = L"Test wide string",
3626 .average = 543.34343,
3629 ni.number = 58;
3631 int dynamic_array[ni.number];
3632 dynamic_array[0] = argv[0][0];
3633 dynamic_array[ni.number - 1] = 543;
3635 // work around unused variable warnings
3636 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3637 || dynamic_array[ni.number - 1] != 543);
3640 # Test code for whether the C compiler supports C11 (global declarations)
3641 ac_c_conftest_c11_globals='
3642 // Does the compiler advertise C11 conformance?
3643 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3644 # error "Compiler does not advertise C11 conformance"
3645 #endif
3647 // Check _Alignas.
3648 char _Alignas (double) aligned_as_double;
3649 char _Alignas (0) no_special_alignment;
3650 extern char aligned_as_int;
3651 char _Alignas (0) _Alignas (int) aligned_as_int;
3653 // Check _Alignof.
3654 enum
3656 int_alignment = _Alignof (int),
3657 int_array_alignment = _Alignof (int[100]),
3658 char_alignment = _Alignof (char)
3660 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3662 // Check _Noreturn.
3663 int _Noreturn does_not_return (void) { for (;;) continue; }
3665 // Check _Static_assert.
3666 struct test_static_assert
3668 int x;
3669 _Static_assert (sizeof (int) <= sizeof (long int),
3670 "_Static_assert does not work in struct");
3671 long int y;
3674 // Check UTF-8 literals.
3675 #define u8 syntax error!
3676 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3678 // Check duplicate typedefs.
3679 typedef long *long_ptr;
3680 typedef long int *long_ptr;
3681 typedef long_ptr long_ptr;
3683 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3684 struct anonymous
3686 union {
3687 struct { int i; int j; };
3688 struct { int k; long int l; } w;
3690 int m;
3691 } v1;
3694 # Test code for whether the C compiler supports C11 (body of main).
3695 ac_c_conftest_c11_main='
3696 _Static_assert ((offsetof (struct anonymous, i)
3697 == offsetof (struct anonymous, w.k)),
3698 "Anonymous union alignment botch");
3699 v1.i = 2;
3700 v1.w.k = 5;
3701 ok |= v1.i != 5;
3704 # Test code for whether the C compiler supports C11 (complete).
3705 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3706 ${ac_c_conftest_c99_globals}
3707 ${ac_c_conftest_c11_globals}
3710 main (int argc, char **argv)
3712 int ok = 0;
3713 ${ac_c_conftest_c89_main}
3714 ${ac_c_conftest_c99_main}
3715 ${ac_c_conftest_c11_main}
3716 return ok;
3720 # Test code for whether the C compiler supports C99 (complete).
3721 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3722 ${ac_c_conftest_c99_globals}
3725 main (int argc, char **argv)
3727 int ok = 0;
3728 ${ac_c_conftest_c89_main}
3729 ${ac_c_conftest_c99_main}
3730 return ok;
3734 # Test code for whether the C compiler supports C89 (complete).
3735 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3738 main (int argc, char **argv)
3740 int ok = 0;
3741 ${ac_c_conftest_c89_main}
3742 return ok;
3746 # Test code for whether the C++ compiler supports C++98 (global declarations)
3747 ac_cxx_conftest_cxx98_globals='
3748 // Does the compiler advertise C++98 conformance?
3749 #if !defined __cplusplus || __cplusplus < 199711L
3750 # error "Compiler does not advertise C++98 conformance"
3751 #endif
3753 // These inclusions are to reject old compilers that
3754 // lack the unsuffixed header files.
3755 #include <cstdlib>
3756 #include <exception>
3758 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3759 extern void assert (int);
3760 namespace std {
3761 extern int strcmp (const char *, const char *);
3764 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3765 using std::exception;
3766 using std::strcmp;
3768 namespace {
3770 void test_exception_syntax()
3772 try {
3773 throw "test";
3774 } catch (const char *s) {
3775 // Extra parentheses suppress a warning when building autoconf itself,
3776 // due to lint rules shared with more typical C programs.
3777 assert (!(strcmp) (s, "test"));
3781 template <typename T> struct test_template
3783 T const val;
3784 explicit test_template(T t) : val(t) {}
3785 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3788 } // anonymous namespace
3791 # Test code for whether the C++ compiler supports C++98 (body of main)
3792 ac_cxx_conftest_cxx98_main='
3793 assert (argc);
3794 assert (! argv[0]);
3796 test_exception_syntax ();
3797 test_template<double> tt (2.0);
3798 assert (tt.add (4) == 6.0);
3799 assert (true && !false);
3803 # Test code for whether the C++ compiler supports C++11 (global declarations)
3804 ac_cxx_conftest_cxx11_globals='
3805 // Does the compiler advertise C++ 2011 conformance?
3806 #if !defined __cplusplus || __cplusplus < 201103L
3807 # error "Compiler does not advertise C++11 conformance"
3808 #endif
3810 namespace cxx11test
3812 constexpr int get_val() { return 20; }
3814 struct testinit
3816 int i;
3817 double d;
3820 class delegate
3822 public:
3823 delegate(int n) : n(n) {}
3824 delegate(): delegate(2354) {}
3826 virtual int getval() { return this->n; };
3827 protected:
3828 int n;
3831 class overridden : public delegate
3833 public:
3834 overridden(int n): delegate(n) {}
3835 virtual int getval() override final { return this->n * 2; }
3838 class nocopy
3840 public:
3841 nocopy(int i): i(i) {}
3842 nocopy() = default;
3843 nocopy(const nocopy&) = delete;
3844 nocopy & operator=(const nocopy&) = delete;
3845 private:
3846 int i;
3849 // for testing lambda expressions
3850 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3852 return f(v);
3855 // for testing variadic templates and trailing return types
3856 template <typename V> auto sum(V first) -> V
3858 return first;
3860 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3862 return first + sum(rest...);
3867 # Test code for whether the C++ compiler supports C++11 (body of main)
3868 ac_cxx_conftest_cxx11_main='
3870 // Test auto and decltype
3871 auto a1 = 6538;
3872 auto a2 = 48573953.4;
3873 auto a3 = "String literal";
3875 int total = 0;
3876 for (auto i = a3; *i; ++i) { total += *i; }
3878 decltype(a2) a4 = 34895.034;
3881 // Test constexpr
3882 short sa[cxx11test::get_val()] = { 0 };
3885 // Test initializer lists
3886 cxx11test::testinit il = { 4323, 435234.23544 };
3889 // Test range-based for
3890 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3891 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3892 for (auto &x : array) { x += 23; }
3895 // Test lambda expressions
3896 using cxx11test::eval;
3897 assert (eval ([](int x) { return x*2; }, 21) == 42);
3898 double d = 2.0;
3899 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3900 assert (d == 5.0);
3901 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3902 assert (d == 5.0);
3905 // Test use of variadic templates
3906 using cxx11test::sum;
3907 auto a = sum(1);
3908 auto b = sum(1, 2);
3909 auto c = sum(1.0, 2.0, 3.0);
3912 // Test constructor delegation
3913 cxx11test::delegate d1;
3914 cxx11test::delegate d2();
3915 cxx11test::delegate d3(45);
3918 // Test override and final
3919 cxx11test::overridden o1(55464);
3922 // Test nullptr
3923 char *c = nullptr;
3926 // Test template brackets
3927 test_template<::test_template<int>> v(test_template<int>(12));
3930 // Unicode literals
3931 char const *utf8 = u8"UTF-8 string \u2500";
3932 char16_t const *utf16 = u"UTF-8 string \u2500";
3933 char32_t const *utf32 = U"UTF-32 string \u2500";
3937 # Test code for whether the C compiler supports C++11 (complete).
3938 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3939 ${ac_cxx_conftest_cxx11_globals}
3942 main (int argc, char **argv)
3944 int ok = 0;
3945 ${ac_cxx_conftest_cxx98_main}
3946 ${ac_cxx_conftest_cxx11_main}
3947 return ok;
3951 # Test code for whether the C compiler supports C++98 (complete).
3952 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3954 main (int argc, char **argv)
3956 int ok = 0;
3957 ${ac_cxx_conftest_cxx98_main}
3958 return ok;
3962 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3963 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3964 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3965 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3966 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3967 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3968 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3969 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3970 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3972 # Auxiliary files required by this configure script.
3973 ac_aux_files="config.guess config.sub"
3975 # Locations in which to look for auxiliary files.
3976 ac_aux_dir_candidates="${srcdir}/tools"
3978 # Search for a directory containing all of the required auxiliary files,
3979 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3980 # If we don't find one directory that contains all the files we need,
3981 # we report the set of missing files from the *first* directory in
3982 # $ac_aux_dir_candidates and give up.
3983 ac_missing_aux_files=""
3984 ac_first_candidate=:
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 as_found=false
3988 for as_dir in $ac_aux_dir_candidates
3990 IFS=$as_save_IFS
3991 case $as_dir in #(((
3992 '') as_dir=./ ;;
3993 */) ;;
3994 *) as_dir=$as_dir/ ;;
3995 esac
3996 as_found=:
3998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3999 ac_aux_dir_found=yes
4000 ac_install_sh=
4001 for ac_aux in $ac_aux_files
4003 # As a special case, if "install-sh" is required, that requirement
4004 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4005 # and $ac_install_sh is set appropriately for whichever one is found.
4006 if test x"$ac_aux" = x"install-sh"
4007 then
4008 if test -f "${as_dir}install-sh"; then
4009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4010 ac_install_sh="${as_dir}install-sh -c"
4011 elif test -f "${as_dir}install.sh"; then
4012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4013 ac_install_sh="${as_dir}install.sh -c"
4014 elif test -f "${as_dir}shtool"; then
4015 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4016 ac_install_sh="${as_dir}shtool install -c"
4017 else
4018 ac_aux_dir_found=no
4019 if $ac_first_candidate; then
4020 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4021 else
4022 break
4025 else
4026 if test -f "${as_dir}${ac_aux}"; then
4027 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4028 else
4029 ac_aux_dir_found=no
4030 if $ac_first_candidate; then
4031 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4032 else
4033 break
4037 done
4038 if test "$ac_aux_dir_found" = yes; then
4039 ac_aux_dir="$as_dir"
4040 break
4042 ac_first_candidate=false
4044 as_found=false
4045 done
4046 IFS=$as_save_IFS
4047 if $as_found
4048 then :
4050 else $as_nop
4051 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4055 # These three variables are undocumented and unsupported,
4056 # and are intended to be withdrawn in a future Autoconf release.
4057 # They can cause serious problems if a builder's source tree is in a directory
4058 # whose full name contains unusual characters.
4059 if test -f "${ac_aux_dir}config.guess"; then
4060 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4062 if test -f "${ac_aux_dir}config.sub"; then
4063 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4065 if test -f "$ac_aux_dir/configure"; then
4066 ac_configure="$SHELL ${ac_aux_dir}configure"
4069 # Check that the precious variables saved in the cache have kept the same
4070 # value.
4071 ac_cache_corrupted=false
4072 for ac_var in $ac_precious_vars; do
4073 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4074 eval ac_new_set=\$ac_env_${ac_var}_set
4075 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4076 eval ac_new_val=\$ac_env_${ac_var}_value
4077 case $ac_old_set,$ac_new_set in
4078 set,)
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4080 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4081 ac_cache_corrupted=: ;;
4082 ,set)
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4084 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4085 ac_cache_corrupted=: ;;
4086 ,);;
4088 if test "x$ac_old_val" != "x$ac_new_val"; then
4089 # differences in whitespace do not lead to failure.
4090 ac_old_val_w=`echo x $ac_old_val`
4091 ac_new_val_w=`echo x $ac_new_val`
4092 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4094 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4095 ac_cache_corrupted=:
4096 else
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4098 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4099 eval $ac_var=\$ac_old_val
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4102 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4104 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4105 fi;;
4106 esac
4107 # Pass precious variables to config.status.
4108 if test "$ac_new_set" = set; then
4109 case $ac_new_val in
4110 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4111 *) ac_arg=$ac_var=$ac_new_val ;;
4112 esac
4113 case " $ac_configure_args " in
4114 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4115 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4116 esac
4118 done
4119 if $ac_cache_corrupted; then
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4123 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4124 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4125 and start over" "$LINENO" 5
4127 ## -------------------- ##
4128 ## Main body of script. ##
4129 ## -------------------- ##
4131 ac_ext=c
4132 ac_cpp='$CPP $CPPFLAGS'
4133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4139 ac_config_headers="$ac_config_headers include/config.h"
4143 libwine_version="1.0"
4146 # Check whether --enable-archs was given.
4147 if test ${enable_archs+y}
4148 then :
4149 enableval=$enable_archs;
4152 # Check whether --enable-win16 was given.
4153 if test ${enable_win16+y}
4154 then :
4155 enableval=$enable_win16;
4158 # Check whether --enable-win64 was given.
4159 if test ${enable_win64+y}
4160 then :
4161 enableval=$enable_win64;
4164 # Check whether --enable-tests was given.
4165 if test ${enable_tests+y}
4166 then :
4167 enableval=$enable_tests;
4170 # Check whether --enable-build-id was given.
4171 if test ${enable_build_id+y}
4172 then :
4173 enableval=$enable_build_id;
4176 # Check whether --enable-maintainer-mode was given.
4177 if test ${enable_maintainer_mode+y}
4178 then :
4179 enableval=$enable_maintainer_mode;
4182 # Check whether --enable-silent-rules was given.
4183 if test ${enable_silent_rules+y}
4184 then :
4185 enableval=$enable_silent_rules;
4188 # Check whether --enable-werror was given.
4189 if test ${enable_werror+y}
4190 then :
4191 enableval=$enable_werror;
4196 # Check whether --with-alsa was given.
4197 if test ${with_alsa+y}
4198 then :
4199 withval=$with_alsa;
4203 # Check whether --with-capi was given.
4204 if test ${with_capi+y}
4205 then :
4206 withval=$with_capi;
4210 # Check whether --with-coreaudio was given.
4211 if test ${with_coreaudio+y}
4212 then :
4213 withval=$with_coreaudio;
4217 # Check whether --with-cups was given.
4218 if test ${with_cups+y}
4219 then :
4220 withval=$with_cups;
4224 # Check whether --with-dbus was given.
4225 if test ${with_dbus+y}
4226 then :
4227 withval=$with_dbus;
4231 # Check whether --with-float-abi was given.
4232 if test ${with_float_abi+y}
4233 then :
4234 withval=$with_float_abi;
4238 # Check whether --with-fontconfig was given.
4239 if test ${with_fontconfig+y}
4240 then :
4241 withval=$with_fontconfig;
4245 # Check whether --with-freetype was given.
4246 if test ${with_freetype+y}
4247 then :
4248 withval=$with_freetype;
4252 # Check whether --with-gettext was given.
4253 if test ${with_gettext+y}
4254 then :
4255 withval=$with_gettext;
4259 # Check whether --with-gettextpo was given.
4260 if test ${with_gettextpo+y}
4261 then :
4262 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4266 # Check whether --with-gphoto was given.
4267 if test ${with_gphoto+y}
4268 then :
4269 withval=$with_gphoto;
4273 # Check whether --with-gnutls was given.
4274 if test ${with_gnutls+y}
4275 then :
4276 withval=$with_gnutls;
4280 # Check whether --with-gssapi was given.
4281 if test ${with_gssapi+y}
4282 then :
4283 withval=$with_gssapi;
4287 # Check whether --with-gstreamer was given.
4288 if test ${with_gstreamer+y}
4289 then :
4290 withval=$with_gstreamer;
4294 # Check whether --with-inotify was given.
4295 if test ${with_inotify+y}
4296 then :
4297 withval=$with_inotify;
4301 # Check whether --with-krb5 was given.
4302 if test ${with_krb5+y}
4303 then :
4304 withval=$with_krb5;
4308 # Check whether --with-mingw was given.
4309 if test ${with_mingw+y}
4310 then :
4311 withval=$with_mingw;
4315 # Check whether --with-netapi was given.
4316 if test ${with_netapi+y}
4317 then :
4318 withval=$with_netapi;
4322 # Check whether --with-opencl was given.
4323 if test ${with_opencl+y}
4324 then :
4325 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4329 # Check whether --with-opengl was given.
4330 if test ${with_opengl+y}
4331 then :
4332 withval=$with_opengl;
4336 # Check whether --with-osmesa was given.
4337 if test ${with_osmesa+y}
4338 then :
4339 withval=$with_osmesa;
4343 # Check whether --with-oss was given.
4344 if test ${with_oss+y}
4345 then :
4346 withval=$with_oss;
4350 # Check whether --with-pcap was given.
4351 if test ${with_pcap+y}
4352 then :
4353 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4357 # Check whether --with-pcsclite was given.
4358 if test ${with_pcsclite+y}
4359 then :
4360 withval=$with_pcsclite;
4364 # Check whether --with-pthread was given.
4365 if test ${with_pthread+y}
4366 then :
4367 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4371 # Check whether --with-pulse was given.
4372 if test ${with_pulse+y}
4373 then :
4374 withval=$with_pulse;
4378 # Check whether --with-sane was given.
4379 if test ${with_sane+y}
4380 then :
4381 withval=$with_sane;
4385 # Check whether --with-sdl was given.
4386 if test ${with_sdl+y}
4387 then :
4388 withval=$with_sdl;
4392 # Check whether --with-udev was given.
4393 if test ${with_udev+y}
4394 then :
4395 withval=$with_udev;
4399 # Check whether --with-unwind was given.
4400 if test ${with_unwind+y}
4401 then :
4402 withval=$with_unwind;
4406 # Check whether --with-usb was given.
4407 if test ${with_usb+y}
4408 then :
4409 withval=$with_usb;
4413 # Check whether --with-v4l2 was given.
4414 if test ${with_v4l2+y}
4415 then :
4416 withval=$with_v4l2;
4420 # Check whether --with-vulkan was given.
4421 if test ${with_vulkan+y}
4422 then :
4423 withval=$with_vulkan;
4427 # Check whether --with-wayland was given.
4428 if test ${with_wayland+y}
4429 then :
4430 withval=$with_wayland;
4434 # Check whether --with-xcomposite was given.
4435 if test ${with_xcomposite+y}
4436 then :
4437 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4441 # Check whether --with-xcursor was given.
4442 if test ${with_xcursor+y}
4443 then :
4444 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4448 # Check whether --with-xfixes was given.
4449 if test ${with_xfixes+y}
4450 then :
4451 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4455 # Check whether --with-xinerama was given.
4456 if test ${with_xinerama+y}
4457 then :
4458 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4462 # Check whether --with-xinput was given.
4463 if test ${with_xinput+y}
4464 then :
4465 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4469 # Check whether --with-xinput2 was given.
4470 if test ${with_xinput2+y}
4471 then :
4472 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4476 # Check whether --with-xrandr was given.
4477 if test ${with_xrandr+y}
4478 then :
4479 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4483 # Check whether --with-xrender was given.
4484 if test ${with_xrender+y}
4485 then :
4486 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4490 # Check whether --with-xshape was given.
4491 if test ${with_xshape+y}
4492 then :
4493 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4497 # Check whether --with-xshm was given.
4498 if test ${with_xshm+y}
4499 then :
4500 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4504 # Check whether --with-xxf86vm was given.
4505 if test ${with_xxf86vm+y}
4506 then :
4507 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
4512 # Check whether --with-system-dllpath was given.
4513 if test ${with_system_dllpath+y}
4514 then :
4515 withval=$with_system_dllpath; system_dllpath=$withval
4520 # Check whether --with-wine-tools was given.
4521 if test ${with_wine_tools+y}
4522 then :
4523 withval=$with_wine_tools;
4527 # Check whether --with-wine64 was given.
4528 if test ${with_wine64+y}
4529 then :
4530 withval=$with_wine64;
4537 # Make sure we can run config.sub.
4538 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4539 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4542 printf %s "checking build system type... " >&6; }
4543 if test ${ac_cv_build+y}
4544 then :
4545 printf %s "(cached) " >&6
4546 else $as_nop
4547 ac_build_alias=$build_alias
4548 test "x$ac_build_alias" = x &&
4549 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4550 test "x$ac_build_alias" = x &&
4551 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4552 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4553 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4557 printf "%s\n" "$ac_cv_build" >&6; }
4558 case $ac_cv_build in
4559 *-*-*) ;;
4560 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4561 esac
4562 build=$ac_cv_build
4563 ac_save_IFS=$IFS; IFS='-'
4564 set x $ac_cv_build
4565 shift
4566 build_cpu=$1
4567 build_vendor=$2
4568 shift; shift
4569 # Remember, the first character of IFS is used to create $*,
4570 # except with old shells:
4571 build_os=$*
4572 IFS=$ac_save_IFS
4573 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4577 printf %s "checking host system type... " >&6; }
4578 if test ${ac_cv_host+y}
4579 then :
4580 printf %s "(cached) " >&6
4581 else $as_nop
4582 if test "x$host_alias" = x; then
4583 ac_cv_host=$ac_cv_build
4584 else
4585 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4586 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4591 printf "%s\n" "$ac_cv_host" >&6; }
4592 case $ac_cv_host in
4593 *-*-*) ;;
4594 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4595 esac
4596 host=$ac_cv_host
4597 ac_save_IFS=$IFS; IFS='-'
4598 set x $ac_cv_host
4599 shift
4600 host_cpu=$1
4601 host_vendor=$2
4602 shift; shift
4603 # Remember, the first character of IFS is used to create $*,
4604 # except with old shells:
4605 host_os=$*
4606 IFS=$ac_save_IFS
4607 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4611 dlldir=\${libdir}/wine
4613 fontdir=\${datadir}/wine/fonts
4615 nlsdir=\${datadir}/wine/nls
4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4621 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4622 set x ${MAKE-make}
4623 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4624 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4625 then :
4626 printf %s "(cached) " >&6
4627 else $as_nop
4628 cat >conftest.make <<\_ACEOF
4629 SHELL = /bin/sh
4630 all:
4631 @echo '@@@%%%=$(MAKE)=@@@%%%'
4632 _ACEOF
4633 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4634 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4635 *@@@%%%=?*=@@@%%%*)
4636 eval ac_cv_prog_make_${ac_make}_set=yes;;
4638 eval ac_cv_prog_make_${ac_make}_set=no;;
4639 esac
4640 rm -f conftest.make
4642 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4644 printf "%s\n" "yes" >&6; }
4645 SET_MAKE=
4646 else
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 printf "%s\n" "no" >&6; }
4649 SET_MAKE="MAKE=${MAKE-make}"
4661 ac_ext=c
4662 ac_cpp='$CPP $CPPFLAGS'
4663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4666 if test -n "$ac_tool_prefix"; then
4667 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 printf %s "checking for $ac_word... " >&6; }
4671 if test ${ac_cv_prog_CC+y}
4672 then :
4673 printf %s "(cached) " >&6
4674 else $as_nop
4675 if test -n "$CC"; then
4676 ac_cv_prog_CC="$CC" # Let the user override the test.
4677 else
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4679 for as_dir in $PATH
4681 IFS=$as_save_IFS
4682 case $as_dir in #(((
4683 '') as_dir=./ ;;
4684 */) ;;
4685 *) as_dir=$as_dir/ ;;
4686 esac
4687 for ac_exec_ext in '' $ac_executable_extensions; do
4688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4689 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4691 break 2
4693 done
4694 done
4695 IFS=$as_save_IFS
4699 CC=$ac_cv_prog_CC
4700 if test -n "$CC"; then
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4702 printf "%s\n" "$CC" >&6; }
4703 else
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 printf "%s\n" "no" >&6; }
4710 if test -z "$ac_cv_prog_CC"; then
4711 ac_ct_CC=$CC
4712 # Extract the first word of "gcc", so it can be a program name with args.
4713 set dummy gcc; ac_word=$2
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 printf %s "checking for $ac_word... " >&6; }
4716 if test ${ac_cv_prog_ac_ct_CC+y}
4717 then :
4718 printf %s "(cached) " >&6
4719 else $as_nop
4720 if test -n "$ac_ct_CC"; then
4721 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4722 else
4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724 for as_dir in $PATH
4726 IFS=$as_save_IFS
4727 case $as_dir in #(((
4728 '') as_dir=./ ;;
4729 */) ;;
4730 *) as_dir=$as_dir/ ;;
4731 esac
4732 for ac_exec_ext in '' $ac_executable_extensions; do
4733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4734 ac_cv_prog_ac_ct_CC="gcc"
4735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4736 break 2
4738 done
4739 done
4740 IFS=$as_save_IFS
4744 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4745 if test -n "$ac_ct_CC"; then
4746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4747 printf "%s\n" "$ac_ct_CC" >&6; }
4748 else
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750 printf "%s\n" "no" >&6; }
4753 if test "x$ac_ct_CC" = x; then
4754 CC=""
4755 else
4756 case $cross_compiling:$ac_tool_warned in
4757 yes:)
4758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4759 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4760 ac_tool_warned=yes ;;
4761 esac
4762 CC=$ac_ct_CC
4764 else
4765 CC="$ac_cv_prog_CC"
4768 if test -z "$CC"; then
4769 if test -n "$ac_tool_prefix"; then
4770 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4771 set dummy ${ac_tool_prefix}cc; ac_word=$2
4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4773 printf %s "checking for $ac_word... " >&6; }
4774 if test ${ac_cv_prog_CC+y}
4775 then :
4776 printf %s "(cached) " >&6
4777 else $as_nop
4778 if test -n "$CC"; then
4779 ac_cv_prog_CC="$CC" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4784 IFS=$as_save_IFS
4785 case $as_dir in #(((
4786 '') as_dir=./ ;;
4787 */) ;;
4788 *) as_dir=$as_dir/ ;;
4789 esac
4790 for ac_exec_ext in '' $ac_executable_extensions; do
4791 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4792 ac_cv_prog_CC="${ac_tool_prefix}cc"
4793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4802 CC=$ac_cv_prog_CC
4803 if test -n "$CC"; then
4804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4805 printf "%s\n" "$CC" >&6; }
4806 else
4807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4808 printf "%s\n" "no" >&6; }
4814 if test -z "$CC"; then
4815 # Extract the first word of "cc", so it can be a program name with args.
4816 set dummy cc; ac_word=$2
4817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 printf %s "checking for $ac_word... " >&6; }
4819 if test ${ac_cv_prog_CC+y}
4820 then :
4821 printf %s "(cached) " >&6
4822 else $as_nop
4823 if test -n "$CC"; then
4824 ac_cv_prog_CC="$CC" # Let the user override the test.
4825 else
4826 ac_prog_rejected=no
4827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4828 for as_dir in $PATH
4830 IFS=$as_save_IFS
4831 case $as_dir in #(((
4832 '') as_dir=./ ;;
4833 */) ;;
4834 *) as_dir=$as_dir/ ;;
4835 esac
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4838 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4839 ac_prog_rejected=yes
4840 continue
4842 ac_cv_prog_CC="cc"
4843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4850 if test $ac_prog_rejected = yes; then
4851 # We found a bogon in the path, so make sure we never use it.
4852 set dummy $ac_cv_prog_CC
4853 shift
4854 if test $# != 0; then
4855 # We chose a different compiler from the bogus one.
4856 # However, it has the same basename, so the bogon will be chosen
4857 # first if we set CC to just the basename; use the full file name.
4858 shift
4859 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4864 CC=$ac_cv_prog_CC
4865 if test -n "$CC"; then
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4867 printf "%s\n" "$CC" >&6; }
4868 else
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 printf "%s\n" "no" >&6; }
4875 if test -z "$CC"; then
4876 if test -n "$ac_tool_prefix"; then
4877 for ac_prog in cl.exe
4879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 printf %s "checking for $ac_word... " >&6; }
4883 if test ${ac_cv_prog_CC+y}
4884 then :
4885 printf %s "(cached) " >&6
4886 else $as_nop
4887 if test -n "$CC"; then
4888 ac_cv_prog_CC="$CC" # Let the user override the test.
4889 else
4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891 for as_dir in $PATH
4893 IFS=$as_save_IFS
4894 case $as_dir in #(((
4895 '') as_dir=./ ;;
4896 */) ;;
4897 *) as_dir=$as_dir/ ;;
4898 esac
4899 for ac_exec_ext in '' $ac_executable_extensions; do
4900 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4903 break 2
4905 done
4906 done
4907 IFS=$as_save_IFS
4911 CC=$ac_cv_prog_CC
4912 if test -n "$CC"; then
4913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4914 printf "%s\n" "$CC" >&6; }
4915 else
4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 printf "%s\n" "no" >&6; }
4921 test -n "$CC" && break
4922 done
4924 if test -z "$CC"; then
4925 ac_ct_CC=$CC
4926 for ac_prog in cl.exe
4928 # Extract the first word of "$ac_prog", so it can be a program name with args.
4929 set dummy $ac_prog; ac_word=$2
4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 printf %s "checking for $ac_word... " >&6; }
4932 if test ${ac_cv_prog_ac_ct_CC+y}
4933 then :
4934 printf %s "(cached) " >&6
4935 else $as_nop
4936 if test -n "$ac_ct_CC"; then
4937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4942 IFS=$as_save_IFS
4943 case $as_dir in #(((
4944 '') as_dir=./ ;;
4945 */) ;;
4946 *) as_dir=$as_dir/ ;;
4947 esac
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_ac_ct_CC="$ac_prog"
4951 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4952 break 2
4954 done
4955 done
4956 IFS=$as_save_IFS
4960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4961 if test -n "$ac_ct_CC"; then
4962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4963 printf "%s\n" "$ac_ct_CC" >&6; }
4964 else
4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 printf "%s\n" "no" >&6; }
4970 test -n "$ac_ct_CC" && break
4971 done
4973 if test "x$ac_ct_CC" = x; then
4974 CC=""
4975 else
4976 case $cross_compiling:$ac_tool_warned in
4977 yes:)
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4979 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4980 ac_tool_warned=yes ;;
4981 esac
4982 CC=$ac_ct_CC
4987 if test -z "$CC"; then
4988 if test -n "$ac_tool_prefix"; then
4989 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4990 set dummy ${ac_tool_prefix}clang; ac_word=$2
4991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 printf %s "checking for $ac_word... " >&6; }
4993 if test ${ac_cv_prog_CC+y}
4994 then :
4995 printf %s "(cached) " >&6
4996 else $as_nop
4997 if test -n "$CC"; then
4998 ac_cv_prog_CC="$CC" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 case $as_dir in #(((
5005 '') as_dir=./ ;;
5006 */) ;;
5007 *) as_dir=$as_dir/ ;;
5008 esac
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_CC="${ac_tool_prefix}clang"
5012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5013 break 2
5015 done
5016 done
5017 IFS=$as_save_IFS
5021 CC=$ac_cv_prog_CC
5022 if test -n "$CC"; then
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5024 printf "%s\n" "$CC" >&6; }
5025 else
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 printf "%s\n" "no" >&6; }
5032 if test -z "$ac_cv_prog_CC"; then
5033 ac_ct_CC=$CC
5034 # Extract the first word of "clang", so it can be a program name with args.
5035 set dummy clang; ac_word=$2
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 printf %s "checking for $ac_word... " >&6; }
5038 if test ${ac_cv_prog_ac_ct_CC+y}
5039 then :
5040 printf %s "(cached) " >&6
5041 else $as_nop
5042 if test -n "$ac_ct_CC"; then
5043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 case $as_dir in #(((
5050 '') as_dir=./ ;;
5051 */) ;;
5052 *) as_dir=$as_dir/ ;;
5053 esac
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_CC="clang"
5057 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5058 break 2
5060 done
5061 done
5062 IFS=$as_save_IFS
5066 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5067 if test -n "$ac_ct_CC"; then
5068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5069 printf "%s\n" "$ac_ct_CC" >&6; }
5070 else
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5072 printf "%s\n" "no" >&6; }
5075 if test "x$ac_ct_CC" = x; then
5076 CC=""
5077 else
5078 case $cross_compiling:$ac_tool_warned in
5079 yes:)
5080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5081 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5082 ac_tool_warned=yes ;;
5083 esac
5084 CC=$ac_ct_CC
5086 else
5087 CC="$ac_cv_prog_CC"
5093 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5094 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5095 as_fn_error $? "no acceptable C compiler found in \$PATH
5096 See \`config.log' for more details" "$LINENO" 5; }
5098 # Provide some information about the compiler.
5099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5100 set X $ac_compile
5101 ac_compiler=$2
5102 for ac_option in --version -v -V -qversion -version; do
5103 { { ac_try="$ac_compiler $ac_option >&5"
5104 case "(($ac_try" in
5105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5106 *) ac_try_echo=$ac_try;;
5107 esac
5108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5109 printf "%s\n" "$ac_try_echo"; } >&5
5110 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5111 ac_status=$?
5112 if test -s conftest.err; then
5113 sed '10a\
5114 ... rest of stderr output deleted ...
5115 10q' conftest.err >conftest.er1
5116 cat conftest.er1 >&5
5118 rm -f conftest.er1 conftest.err
5119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5120 test $ac_status = 0; }
5121 done
5123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5124 /* end confdefs.h. */
5127 main (void)
5131 return 0;
5133 _ACEOF
5134 ac_clean_files_save=$ac_clean_files
5135 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5136 # Try to create an executable without -o first, disregard a.out.
5137 # It will help us diagnose broken compilers, and finding out an intuition
5138 # of exeext.
5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5140 printf %s "checking whether the C compiler works... " >&6; }
5141 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5143 # The possible output files:
5144 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5146 ac_rmfiles=
5147 for ac_file in $ac_files
5149 case $ac_file in
5150 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5151 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5152 esac
5153 done
5154 rm -f $ac_rmfiles
5156 if { { ac_try="$ac_link_default"
5157 case "(($ac_try" in
5158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5159 *) ac_try_echo=$ac_try;;
5160 esac
5161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5162 printf "%s\n" "$ac_try_echo"; } >&5
5163 (eval "$ac_link_default") 2>&5
5164 ac_status=$?
5165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5166 test $ac_status = 0; }
5167 then :
5168 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5169 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5170 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5171 # so that the user can short-circuit this test for compilers unknown to
5172 # Autoconf.
5173 for ac_file in $ac_files ''
5175 test -f "$ac_file" || continue
5176 case $ac_file in
5177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5179 [ab].out )
5180 # We found the default executable, but exeext='' is most
5181 # certainly right.
5182 break;;
5183 *.* )
5184 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5185 then :; else
5186 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5188 # We set ac_cv_exeext here because the later test for it is not
5189 # safe: cross compilers may not add the suffix if given an `-o'
5190 # argument, so we may need to know it at that point already.
5191 # Even if this section looks crufty: it has the advantage of
5192 # actually working.
5193 break;;
5195 break;;
5196 esac
5197 done
5198 test "$ac_cv_exeext" = no && ac_cv_exeext=
5200 else $as_nop
5201 ac_file=''
5203 if test -z "$ac_file"
5204 then :
5205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 printf "%s\n" "no" >&6; }
5207 printf "%s\n" "$as_me: failed program was:" >&5
5208 sed 's/^/| /' conftest.$ac_ext >&5
5210 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5211 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5212 as_fn_error 77 "C compiler cannot create executables
5213 See \`config.log' for more details" "$LINENO" 5; }
5214 else $as_nop
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5216 printf "%s\n" "yes" >&6; }
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5219 printf %s "checking for C compiler default output file name... " >&6; }
5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5221 printf "%s\n" "$ac_file" >&6; }
5222 ac_exeext=$ac_cv_exeext
5224 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5225 ac_clean_files=$ac_clean_files_save
5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5227 printf %s "checking for suffix of executables... " >&6; }
5228 if { { ac_try="$ac_link"
5229 case "(($ac_try" in
5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;;
5232 esac
5233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5234 printf "%s\n" "$ac_try_echo"; } >&5
5235 (eval "$ac_link") 2>&5
5236 ac_status=$?
5237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5238 test $ac_status = 0; }
5239 then :
5240 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5241 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5242 # work properly (i.e., refer to `conftest.exe'), while it won't with
5243 # `rm'.
5244 for ac_file in conftest.exe conftest conftest.*; do
5245 test -f "$ac_file" || continue
5246 case $ac_file in
5247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5248 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5249 break;;
5250 * ) break;;
5251 esac
5252 done
5253 else $as_nop
5254 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5255 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5256 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5257 See \`config.log' for more details" "$LINENO" 5; }
5259 rm -f conftest conftest$ac_cv_exeext
5260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5261 printf "%s\n" "$ac_cv_exeext" >&6; }
5263 rm -f conftest.$ac_ext
5264 EXEEXT=$ac_cv_exeext
5265 ac_exeext=$EXEEXT
5266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5267 /* end confdefs.h. */
5268 #include <stdio.h>
5270 main (void)
5272 FILE *f = fopen ("conftest.out", "w");
5273 return ferror (f) || fclose (f) != 0;
5276 return 0;
5278 _ACEOF
5279 ac_clean_files="$ac_clean_files conftest.out"
5280 # Check that the compiler produces executables we can run. If not, either
5281 # the compiler is broken, or we cross compile.
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5283 printf %s "checking whether we are cross compiling... " >&6; }
5284 if test "$cross_compiling" != yes; then
5285 { { ac_try="$ac_link"
5286 case "(($ac_try" in
5287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5288 *) ac_try_echo=$ac_try;;
5289 esac
5290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5291 printf "%s\n" "$ac_try_echo"; } >&5
5292 (eval "$ac_link") 2>&5
5293 ac_status=$?
5294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5295 test $ac_status = 0; }
5296 if { ac_try='./conftest$ac_cv_exeext'
5297 { { case "(($ac_try" in
5298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5299 *) ac_try_echo=$ac_try;;
5300 esac
5301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5302 printf "%s\n" "$ac_try_echo"; } >&5
5303 (eval "$ac_try") 2>&5
5304 ac_status=$?
5305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5306 test $ac_status = 0; }; }; then
5307 cross_compiling=no
5308 else
5309 if test "$cross_compiling" = maybe; then
5310 cross_compiling=yes
5311 else
5312 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5313 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5314 as_fn_error 77 "cannot run C compiled programs.
5315 If you meant to cross compile, use \`--host'.
5316 See \`config.log' for more details" "$LINENO" 5; }
5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5321 printf "%s\n" "$cross_compiling" >&6; }
5323 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5324 ac_clean_files=$ac_clean_files_save
5325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5326 printf %s "checking for suffix of object files... " >&6; }
5327 if test ${ac_cv_objext+y}
5328 then :
5329 printf %s "(cached) " >&6
5330 else $as_nop
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5335 main (void)
5339 return 0;
5341 _ACEOF
5342 rm -f conftest.o conftest.obj
5343 if { { ac_try="$ac_compile"
5344 case "(($ac_try" in
5345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5346 *) ac_try_echo=$ac_try;;
5347 esac
5348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5349 printf "%s\n" "$ac_try_echo"; } >&5
5350 (eval "$ac_compile") 2>&5
5351 ac_status=$?
5352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5353 test $ac_status = 0; }
5354 then :
5355 for ac_file in conftest.o conftest.obj conftest.*; do
5356 test -f "$ac_file" || continue;
5357 case $ac_file in
5358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5359 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5360 break;;
5361 esac
5362 done
5363 else $as_nop
5364 printf "%s\n" "$as_me: failed program was:" >&5
5365 sed 's/^/| /' conftest.$ac_ext >&5
5367 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5368 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5369 as_fn_error $? "cannot compute suffix of object files: cannot compile
5370 See \`config.log' for more details" "$LINENO" 5; }
5372 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5375 printf "%s\n" "$ac_cv_objext" >&6; }
5376 OBJEXT=$ac_cv_objext
5377 ac_objext=$OBJEXT
5378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5379 printf %s "checking whether the compiler supports GNU C... " >&6; }
5380 if test ${ac_cv_c_compiler_gnu+y}
5381 then :
5382 printf %s "(cached) " >&6
5383 else $as_nop
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5390 #ifndef __GNUC__
5391 choke me
5392 #endif
5395 return 0;
5397 _ACEOF
5398 if ac_fn_c_try_compile "$LINENO"
5399 then :
5400 ac_compiler_gnu=yes
5401 else $as_nop
5402 ac_compiler_gnu=no
5404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5405 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5409 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5412 if test $ac_compiler_gnu = yes; then
5413 GCC=yes
5414 else
5415 GCC=
5417 ac_test_CFLAGS=${CFLAGS+y}
5418 ac_save_CFLAGS=$CFLAGS
5419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5420 printf %s "checking whether $CC accepts -g... " >&6; }
5421 if test ${ac_cv_prog_cc_g+y}
5422 then :
5423 printf %s "(cached) " >&6
5424 else $as_nop
5425 ac_save_c_werror_flag=$ac_c_werror_flag
5426 ac_c_werror_flag=yes
5427 ac_cv_prog_cc_g=no
5428 CFLAGS="-g"
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5433 main (void)
5437 return 0;
5439 _ACEOF
5440 if ac_fn_c_try_compile "$LINENO"
5441 then :
5442 ac_cv_prog_cc_g=yes
5443 else $as_nop
5444 CFLAGS=""
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5449 main (void)
5453 return 0;
5455 _ACEOF
5456 if ac_fn_c_try_compile "$LINENO"
5457 then :
5459 else $as_nop
5460 ac_c_werror_flag=$ac_save_c_werror_flag
5461 CFLAGS="-g"
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5466 main (void)
5470 return 0;
5472 _ACEOF
5473 if ac_fn_c_try_compile "$LINENO"
5474 then :
5475 ac_cv_prog_cc_g=yes
5477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5482 ac_c_werror_flag=$ac_save_c_werror_flag
5484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5485 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5486 if test $ac_test_CFLAGS; then
5487 CFLAGS=$ac_save_CFLAGS
5488 elif test $ac_cv_prog_cc_g = yes; then
5489 if test "$GCC" = yes; then
5490 CFLAGS="-g -O2"
5491 else
5492 CFLAGS="-g"
5494 else
5495 if test "$GCC" = yes; then
5496 CFLAGS="-O2"
5497 else
5498 CFLAGS=
5501 ac_prog_cc_stdc=no
5502 if test x$ac_prog_cc_stdc = xno
5503 then :
5504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5505 printf %s "checking for $CC option to enable C11 features... " >&6; }
5506 if test ${ac_cv_prog_cc_c11+y}
5507 then :
5508 printf %s "(cached) " >&6
5509 else $as_nop
5510 ac_cv_prog_cc_c11=no
5511 ac_save_CC=$CC
5512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5513 /* end confdefs.h. */
5514 $ac_c_conftest_c11_program
5515 _ACEOF
5516 for ac_arg in '' -std=gnu11
5518 CC="$ac_save_CC $ac_arg"
5519 if ac_fn_c_try_compile "$LINENO"
5520 then :
5521 ac_cv_prog_cc_c11=$ac_arg
5523 rm -f core conftest.err conftest.$ac_objext conftest.beam
5524 test "x$ac_cv_prog_cc_c11" != "xno" && break
5525 done
5526 rm -f conftest.$ac_ext
5527 CC=$ac_save_CC
5530 if test "x$ac_cv_prog_cc_c11" = xno
5531 then :
5532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5533 printf "%s\n" "unsupported" >&6; }
5534 else $as_nop
5535 if test "x$ac_cv_prog_cc_c11" = x
5536 then :
5537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5538 printf "%s\n" "none needed" >&6; }
5539 else $as_nop
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5541 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5542 CC="$CC $ac_cv_prog_cc_c11"
5544 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5545 ac_prog_cc_stdc=c11
5548 if test x$ac_prog_cc_stdc = xno
5549 then :
5550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5551 printf %s "checking for $CC option to enable C99 features... " >&6; }
5552 if test ${ac_cv_prog_cc_c99+y}
5553 then :
5554 printf %s "(cached) " >&6
5555 else $as_nop
5556 ac_cv_prog_cc_c99=no
5557 ac_save_CC=$CC
5558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5560 $ac_c_conftest_c99_program
5561 _ACEOF
5562 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5564 CC="$ac_save_CC $ac_arg"
5565 if ac_fn_c_try_compile "$LINENO"
5566 then :
5567 ac_cv_prog_cc_c99=$ac_arg
5569 rm -f core conftest.err conftest.$ac_objext conftest.beam
5570 test "x$ac_cv_prog_cc_c99" != "xno" && break
5571 done
5572 rm -f conftest.$ac_ext
5573 CC=$ac_save_CC
5576 if test "x$ac_cv_prog_cc_c99" = xno
5577 then :
5578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5579 printf "%s\n" "unsupported" >&6; }
5580 else $as_nop
5581 if test "x$ac_cv_prog_cc_c99" = x
5582 then :
5583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5584 printf "%s\n" "none needed" >&6; }
5585 else $as_nop
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5587 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5588 CC="$CC $ac_cv_prog_cc_c99"
5590 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5591 ac_prog_cc_stdc=c99
5594 if test x$ac_prog_cc_stdc = xno
5595 then :
5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5597 printf %s "checking for $CC option to enable C89 features... " >&6; }
5598 if test ${ac_cv_prog_cc_c89+y}
5599 then :
5600 printf %s "(cached) " >&6
5601 else $as_nop
5602 ac_cv_prog_cc_c89=no
5603 ac_save_CC=$CC
5604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5606 $ac_c_conftest_c89_program
5607 _ACEOF
5608 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5610 CC="$ac_save_CC $ac_arg"
5611 if ac_fn_c_try_compile "$LINENO"
5612 then :
5613 ac_cv_prog_cc_c89=$ac_arg
5615 rm -f core conftest.err conftest.$ac_objext conftest.beam
5616 test "x$ac_cv_prog_cc_c89" != "xno" && break
5617 done
5618 rm -f conftest.$ac_ext
5619 CC=$ac_save_CC
5622 if test "x$ac_cv_prog_cc_c89" = xno
5623 then :
5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5625 printf "%s\n" "unsupported" >&6; }
5626 else $as_nop
5627 if test "x$ac_cv_prog_cc_c89" = x
5628 then :
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5630 printf "%s\n" "none needed" >&6; }
5631 else $as_nop
5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5633 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5634 CC="$CC $ac_cv_prog_cc_c89"
5636 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5637 ac_prog_cc_stdc=c89
5641 ac_ext=c
5642 ac_cpp='$CPP $CPPFLAGS'
5643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5653 ac_ext=cpp
5654 ac_cpp='$CXXCPP $CPPFLAGS'
5655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5658 if test -z "$CXX"; then
5659 if test -n "$CCC"; then
5660 CXX=$CCC
5661 else
5662 if test -n "$ac_tool_prefix"; then
5663 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5665 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5666 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 printf %s "checking for $ac_word... " >&6; }
5669 if test ${ac_cv_prog_CXX+y}
5670 then :
5671 printf %s "(cached) " >&6
5672 else $as_nop
5673 if test -n "$CXX"; then
5674 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5675 else
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH
5679 IFS=$as_save_IFS
5680 case $as_dir in #(((
5681 '') as_dir=./ ;;
5682 */) ;;
5683 *) as_dir=$as_dir/ ;;
5684 esac
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5687 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5689 break 2
5691 done
5692 done
5693 IFS=$as_save_IFS
5697 CXX=$ac_cv_prog_CXX
5698 if test -n "$CXX"; then
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5700 printf "%s\n" "$CXX" >&6; }
5701 else
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 printf "%s\n" "no" >&6; }
5707 test -n "$CXX" && break
5708 done
5710 if test -z "$CXX"; then
5711 ac_ct_CXX=$CXX
5712 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5714 # Extract the first word of "$ac_prog", so it can be a program name with args.
5715 set dummy $ac_prog; ac_word=$2
5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 printf %s "checking for $ac_word... " >&6; }
5718 if test ${ac_cv_prog_ac_ct_CXX+y}
5719 then :
5720 printf %s "(cached) " >&6
5721 else $as_nop
5722 if test -n "$ac_ct_CXX"; then
5723 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5728 IFS=$as_save_IFS
5729 case $as_dir in #(((
5730 '') as_dir=./ ;;
5731 */) ;;
5732 *) as_dir=$as_dir/ ;;
5733 esac
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_ac_ct_CXX="$ac_prog"
5737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5738 break 2
5740 done
5741 done
5742 IFS=$as_save_IFS
5746 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5747 if test -n "$ac_ct_CXX"; then
5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5749 printf "%s\n" "$ac_ct_CXX" >&6; }
5750 else
5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 printf "%s\n" "no" >&6; }
5756 test -n "$ac_ct_CXX" && break
5757 done
5759 if test "x$ac_ct_CXX" = x; then
5760 CXX="g++"
5761 else
5762 case $cross_compiling:$ac_tool_warned in
5763 yes:)
5764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5765 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5766 ac_tool_warned=yes ;;
5767 esac
5768 CXX=$ac_ct_CXX
5774 # Provide some information about the compiler.
5775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5776 set X $ac_compile
5777 ac_compiler=$2
5778 for ac_option in --version -v -V -qversion; do
5779 { { ac_try="$ac_compiler $ac_option >&5"
5780 case "(($ac_try" in
5781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5782 *) ac_try_echo=$ac_try;;
5783 esac
5784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5785 printf "%s\n" "$ac_try_echo"; } >&5
5786 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5787 ac_status=$?
5788 if test -s conftest.err; then
5789 sed '10a\
5790 ... rest of stderr output deleted ...
5791 10q' conftest.err >conftest.er1
5792 cat conftest.er1 >&5
5794 rm -f conftest.er1 conftest.err
5795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5796 test $ac_status = 0; }
5797 done
5799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5800 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5801 if test ${ac_cv_cxx_compiler_gnu+y}
5802 then :
5803 printf %s "(cached) " >&6
5804 else $as_nop
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main (void)
5811 #ifndef __GNUC__
5812 choke me
5813 #endif
5816 return 0;
5818 _ACEOF
5819 if ac_fn_cxx_try_compile "$LINENO"
5820 then :
5821 ac_compiler_gnu=yes
5822 else $as_nop
5823 ac_compiler_gnu=no
5825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5826 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5830 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5833 if test $ac_compiler_gnu = yes; then
5834 GXX=yes
5835 else
5836 GXX=
5838 ac_test_CXXFLAGS=${CXXFLAGS+y}
5839 ac_save_CXXFLAGS=$CXXFLAGS
5840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5841 printf %s "checking whether $CXX accepts -g... " >&6; }
5842 if test ${ac_cv_prog_cxx_g+y}
5843 then :
5844 printf %s "(cached) " >&6
5845 else $as_nop
5846 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5847 ac_cxx_werror_flag=yes
5848 ac_cv_prog_cxx_g=no
5849 CXXFLAGS="-g"
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5854 main (void)
5858 return 0;
5860 _ACEOF
5861 if ac_fn_cxx_try_compile "$LINENO"
5862 then :
5863 ac_cv_prog_cxx_g=yes
5864 else $as_nop
5865 CXXFLAGS=""
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5870 main (void)
5874 return 0;
5876 _ACEOF
5877 if ac_fn_cxx_try_compile "$LINENO"
5878 then :
5880 else $as_nop
5881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5882 CXXFLAGS="-g"
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5887 main (void)
5891 return 0;
5893 _ACEOF
5894 if ac_fn_cxx_try_compile "$LINENO"
5895 then :
5896 ac_cv_prog_cxx_g=yes
5898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5903 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5906 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5907 if test $ac_test_CXXFLAGS; then
5908 CXXFLAGS=$ac_save_CXXFLAGS
5909 elif test $ac_cv_prog_cxx_g = yes; then
5910 if test "$GXX" = yes; then
5911 CXXFLAGS="-g -O2"
5912 else
5913 CXXFLAGS="-g"
5915 else
5916 if test "$GXX" = yes; then
5917 CXXFLAGS="-O2"
5918 else
5919 CXXFLAGS=
5922 ac_prog_cxx_stdcxx=no
5923 if test x$ac_prog_cxx_stdcxx = xno
5924 then :
5925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5926 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5927 if test ${ac_cv_prog_cxx_cxx11+y}
5928 then :
5929 printf %s "(cached) " >&6
5930 else $as_nop
5931 ac_cv_prog_cxx_cxx11=no
5932 ac_save_CXX=$CXX
5933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 $ac_cxx_conftest_cxx11_program
5936 _ACEOF
5937 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5939 CXX="$ac_save_CXX $ac_arg"
5940 if ac_fn_cxx_try_compile "$LINENO"
5941 then :
5942 ac_cv_prog_cxx_cxx11=$ac_arg
5944 rm -f core conftest.err conftest.$ac_objext conftest.beam
5945 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5946 done
5947 rm -f conftest.$ac_ext
5948 CXX=$ac_save_CXX
5951 if test "x$ac_cv_prog_cxx_cxx11" = xno
5952 then :
5953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5954 printf "%s\n" "unsupported" >&6; }
5955 else $as_nop
5956 if test "x$ac_cv_prog_cxx_cxx11" = x
5957 then :
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5959 printf "%s\n" "none needed" >&6; }
5960 else $as_nop
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5962 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5963 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5965 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5966 ac_prog_cxx_stdcxx=cxx11
5969 if test x$ac_prog_cxx_stdcxx = xno
5970 then :
5971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5972 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5973 if test ${ac_cv_prog_cxx_cxx98+y}
5974 then :
5975 printf %s "(cached) " >&6
5976 else $as_nop
5977 ac_cv_prog_cxx_cxx98=no
5978 ac_save_CXX=$CXX
5979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5981 $ac_cxx_conftest_cxx98_program
5982 _ACEOF
5983 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5985 CXX="$ac_save_CXX $ac_arg"
5986 if ac_fn_cxx_try_compile "$LINENO"
5987 then :
5988 ac_cv_prog_cxx_cxx98=$ac_arg
5990 rm -f core conftest.err conftest.$ac_objext conftest.beam
5991 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5992 done
5993 rm -f conftest.$ac_ext
5994 CXX=$ac_save_CXX
5997 if test "x$ac_cv_prog_cxx_cxx98" = xno
5998 then :
5999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6000 printf "%s\n" "unsupported" >&6; }
6001 else $as_nop
6002 if test "x$ac_cv_prog_cxx_cxx98" = x
6003 then :
6004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6005 printf "%s\n" "none needed" >&6; }
6006 else $as_nop
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6008 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6009 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6011 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6012 ac_prog_cxx_stdcxx=cxx98
6016 ac_ext=c
6017 ac_cpp='$CPP $CPPFLAGS'
6018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6022 if test -n "$ac_tool_prefix"; then
6023 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6024 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6026 printf %s "checking for $ac_word... " >&6; }
6027 if test ${ac_cv_prog_CPPBIN+y}
6028 then :
6029 printf %s "(cached) " >&6
6030 else $as_nop
6031 if test -n "$CPPBIN"; then
6032 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6033 else
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 for as_dir in $PATH
6037 IFS=$as_save_IFS
6038 case $as_dir in #(((
6039 '') as_dir=./ ;;
6040 */) ;;
6041 *) as_dir=$as_dir/ ;;
6042 esac
6043 for ac_exec_ext in '' $ac_executable_extensions; do
6044 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6045 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6046 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6047 break 2
6049 done
6050 done
6051 IFS=$as_save_IFS
6055 CPPBIN=$ac_cv_prog_CPPBIN
6056 if test -n "$CPPBIN"; then
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6058 printf "%s\n" "$CPPBIN" >&6; }
6059 else
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 printf "%s\n" "no" >&6; }
6066 if test -z "$ac_cv_prog_CPPBIN"; then
6067 ac_ct_CPPBIN=$CPPBIN
6068 # Extract the first word of "cpp", so it can be a program name with args.
6069 set dummy cpp; ac_word=$2
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071 printf %s "checking for $ac_word... " >&6; }
6072 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6073 then :
6074 printf %s "(cached) " >&6
6075 else $as_nop
6076 if test -n "$ac_ct_CPPBIN"; then
6077 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6078 else
6079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 for as_dir in $PATH
6082 IFS=$as_save_IFS
6083 case $as_dir in #(((
6084 '') as_dir=./ ;;
6085 */) ;;
6086 *) as_dir=$as_dir/ ;;
6087 esac
6088 for ac_exec_ext in '' $ac_executable_extensions; do
6089 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6090 ac_cv_prog_ac_ct_CPPBIN="cpp"
6091 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6092 break 2
6094 done
6095 done
6096 IFS=$as_save_IFS
6100 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6101 if test -n "$ac_ct_CPPBIN"; then
6102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6103 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6104 else
6105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 printf "%s\n" "no" >&6; }
6109 if test "x$ac_ct_CPPBIN" = x; then
6110 CPPBIN="cpp"
6111 else
6112 case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118 CPPBIN=$ac_ct_CPPBIN
6120 else
6121 CPPBIN="$ac_cv_prog_CPPBIN"
6125 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6127 if test -n "$ac_tool_prefix"; then
6128 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6129 set dummy ${ac_tool_prefix}ld; ac_word=$2
6130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 printf %s "checking for $ac_word... " >&6; }
6132 if test ${ac_cv_prog_LD+y}
6133 then :
6134 printf %s "(cached) " >&6
6135 else $as_nop
6136 if test -n "$LD"; then
6137 ac_cv_prog_LD="$LD" # Let the user override the test.
6138 else
6139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 for as_dir in $PATH
6142 IFS=$as_save_IFS
6143 case $as_dir in #(((
6144 '') as_dir=./ ;;
6145 */) ;;
6146 *) as_dir=$as_dir/ ;;
6147 esac
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6150 ac_cv_prog_LD="${ac_tool_prefix}ld"
6151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6160 LD=$ac_cv_prog_LD
6161 if test -n "$LD"; then
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6163 printf "%s\n" "$LD" >&6; }
6164 else
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 printf "%s\n" "no" >&6; }
6171 if test -z "$ac_cv_prog_LD"; then
6172 ac_ct_LD=$LD
6173 # Extract the first word of "ld", so it can be a program name with args.
6174 set dummy ld; ac_word=$2
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176 printf %s "checking for $ac_word... " >&6; }
6177 if test ${ac_cv_prog_ac_ct_LD+y}
6178 then :
6179 printf %s "(cached) " >&6
6180 else $as_nop
6181 if test -n "$ac_ct_LD"; then
6182 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6183 else
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 for as_dir in $PATH
6187 IFS=$as_save_IFS
6188 case $as_dir in #(((
6189 '') as_dir=./ ;;
6190 */) ;;
6191 *) as_dir=$as_dir/ ;;
6192 esac
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6195 ac_cv_prog_ac_ct_LD="ld"
6196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6197 break 2
6199 done
6200 done
6201 IFS=$as_save_IFS
6205 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6206 if test -n "$ac_ct_LD"; then
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6208 printf "%s\n" "$ac_ct_LD" >&6; }
6209 else
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6211 printf "%s\n" "no" >&6; }
6214 if test "x$ac_ct_LD" = x; then
6215 LD=""
6216 else
6217 case $cross_compiling:$ac_tool_warned in
6218 yes:)
6219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6220 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6221 ac_tool_warned=yes ;;
6222 esac
6223 LD=$ac_ct_LD
6225 else
6226 LD="$ac_cv_prog_LD"
6230 case $host in
6231 *-darwin*)
6232 with_fontconfig=${with_fontconfig:-no}
6234 *-mingw32*|*-cygwin*)
6235 enable_win16=${enable_win16:-no}
6236 with_mingw=${with_mingw:-no}
6238 esac
6241 case $host in
6242 x86_64*|amd64*)
6243 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6244 then
6245 CC="$CC -m32"
6246 CXX="$CXX -m32"
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6249 printf %s "checking whether $CC works... " >&6; }
6250 if test ${wine_cv_cc_m32+y}
6251 then :
6252 printf %s "(cached) " >&6
6253 else $as_nop
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6258 main (void)
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_link "$LINENO"
6266 then :
6267 wine_cv_cc_m32=yes
6268 else $as_nop
6269 wine_cv_cc_m32=no
6271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6272 conftest$ac_exeext conftest.$ac_ext
6274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6275 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6276 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
6277 host_cpu="i386"
6278 notice_platform="32-bit "
6279 TARGETFLAGS="$TARGETFLAGS -m32"
6280 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6281 export PKG_CONFIG_LIBDIR
6282 with_unwind=${with_unwind:-no}
6283 else
6284 CC="$CC -m64"
6285 CXX="$CXX -m64"
6286 host_cpu="x86_64"
6287 notice_platform="64-bit "
6288 TARGETFLAGS="$TARGETFLAGS -m64"
6291 arm*)
6292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6293 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6294 if test ${wine_cv_thumb2+y}
6295 then :
6296 printf %s "(cached) " >&6
6297 else $as_nop
6298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6299 /* end confdefs.h. */
6302 main (void)
6304 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_link "$LINENO"
6310 then :
6311 wine_cv_thumb2=yes
6312 else $as_nop
6313 wine_cv_thumb2=no
6315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6316 conftest$ac_exeext conftest.$ac_ext
6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6319 printf "%s\n" "$wine_cv_thumb2" >&6; }
6320 if test x"$wine_cv_thumb2" = xyes
6321 then
6322 CFLAGS="$CFLAGS -mthumb"
6323 TARGETFLAGS="$TARGETFLAGS -mthumb"
6324 else
6325 CFLAGS="$CFLAGS -marm"
6326 TARGETFLAGS="$TARGETFLAGS -marm"
6328 case $with_float_abi in
6329 soft|softfp|hard)
6330 float_abi=$with_float_abi ;;
6332 case $host_os in
6333 *eabihf)
6334 float_abi=hard ;;
6336 float_abi=softfp
6337 saved_CFLAGS=$CFLAGS
6338 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6340 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6341 if test ${wine_cv_float_abi+y}
6342 then :
6343 printf %s "(cached) " >&6
6344 else $as_nop
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6349 main (void)
6351 asm("vmrs r2,fpscr");
6353 return 0;
6355 _ACEOF
6356 if ac_fn_c_try_link "$LINENO"
6357 then :
6358 wine_cv_float_abi=yes
6359 else $as_nop
6360 wine_cv_float_abi=no
6362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6363 conftest$ac_exeext conftest.$ac_ext
6365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6366 printf "%s\n" "$wine_cv_float_abi" >&6; }
6367 if test $wine_cv_float_abi = no
6368 then
6369 float_abi=soft
6370 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6372 CFLAGS=$saved_CFLAGS
6373 esac
6375 esac
6376 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6377 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6379 i[3456789]86*)
6380 with_unwind=${with_unwind:-no}
6382 esac
6384 enable_win16=${enable_win16:-i386}
6385 enable_win64=${enable_win64:-no}
6386 enable_wow64=${enable_wow64:-aarch64,x86_64}
6387 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6388 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6390 enable_winetest=${enable_winetest:-$enable_tests}
6392 if test "x$enable_win64" = "xyes"
6393 then
6394 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6395 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6398 case $build_os in
6399 cygwin*|mingw32*) toolsext=".exe"
6401 *) toolsext=""
6403 esac
6405 HOST_ARCH=unknown
6406 case "$host_cpu" in
6407 aarch64*) HOST_ARCH=aarch64 ;;
6408 arm*) HOST_ARCH=arm ;;
6409 i[3456789]86*) HOST_ARCH=i386 ;;
6410 x86_64) HOST_ARCH=x86_64 ;;
6411 esac
6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6415 printf %s "checking for the directory containing the Wine tools... " >&6; }
6416 if test ${wine_cv_toolsdir+y}
6417 then :
6418 printf %s "(cached) " >&6
6419 else $as_nop
6420 wine_cv_toolsdir="$with_wine_tools"
6421 if test -z "$with_wine_tools"; then
6422 if test "$cross_compiling" = "yes"; then
6423 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6424 elif test -n "$with_wine64"; then
6425 wine_cv_toolsdir="$with_wine64"
6429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6430 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6431 if test -z "$wine_cv_toolsdir"; then
6432 wine_makedep=tools/makedep$toolsext
6433 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6434 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6435 enable_tools=${enable_tools:-no}
6436 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6437 else
6438 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6440 toolsdir=$wine_cv_toolsdir
6442 MAKEDEP=$wine_makedep
6444 RUNTESTFLAGS="-q -P wine"
6446 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'"
6449 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6450 then
6451 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6454 for ac_prog in flex
6456 # Extract the first word of "$ac_prog", so it can be a program name with args.
6457 set dummy $ac_prog; ac_word=$2
6458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6459 printf %s "checking for $ac_word... " >&6; }
6460 if test ${ac_cv_prog_FLEX+y}
6461 then :
6462 printf %s "(cached) " >&6
6463 else $as_nop
6464 if test -n "$FLEX"; then
6465 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6470 IFS=$as_save_IFS
6471 case $as_dir in #(((
6472 '') as_dir=./ ;;
6473 */) ;;
6474 *) as_dir=$as_dir/ ;;
6475 esac
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_FLEX="$ac_prog"
6479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6480 break 2
6482 done
6483 done
6484 IFS=$as_save_IFS
6488 FLEX=$ac_cv_prog_FLEX
6489 if test -n "$FLEX"; then
6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6491 printf "%s\n" "$FLEX" >&6; }
6492 else
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 printf "%s\n" "no" >&6; }
6498 test -n "$FLEX" && break
6499 done
6500 test -n "$FLEX" || FLEX="none"
6502 if test "$FLEX" = "none"
6503 then
6504 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6507 printf %s "checking whether flex is recent enough... " >&6; }
6508 if test ${wine_cv_recent_flex+y}
6509 then :
6510 printf %s "(cached) " >&6
6511 else $as_nop
6512 cat >conftest.l <<EOF
6513 %top{
6514 #include "prediluvian.h"
6518 if $FLEX -t conftest.l >/dev/null 2>&5
6519 then
6520 wine_cv_recent_flex=yes
6521 else
6522 wine_cv_recent_flex=no
6525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6526 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6527 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
6529 for ac_prog in bison
6531 # Extract the first word of "$ac_prog", so it can be a program name with args.
6532 set dummy $ac_prog; ac_word=$2
6533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 printf %s "checking for $ac_word... " >&6; }
6535 if test ${ac_cv_prog_BISON+y}
6536 then :
6537 printf %s "(cached) " >&6
6538 else $as_nop
6539 if test -n "$BISON"; then
6540 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6541 else
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 for as_dir in $PATH
6545 IFS=$as_save_IFS
6546 case $as_dir in #(((
6547 '') as_dir=./ ;;
6548 */) ;;
6549 *) as_dir=$as_dir/ ;;
6550 esac
6551 for ac_exec_ext in '' $ac_executable_extensions; do
6552 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6553 ac_cv_prog_BISON="$ac_prog"
6554 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6555 break 2
6557 done
6558 done
6559 IFS=$as_save_IFS
6563 BISON=$ac_cv_prog_BISON
6564 if test -n "$BISON"; then
6565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6566 printf "%s\n" "$BISON" >&6; }
6567 else
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6569 printf "%s\n" "no" >&6; }
6573 test -n "$BISON" && break
6574 done
6575 test -n "$BISON" || BISON="none"
6577 if test "$BISON" = "none"
6578 then
6579 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6582 printf %s "checking whether bison is recent enough... " >&6; }
6583 if test ${wine_cv_recent_bison+y}
6584 then :
6585 printf %s "(cached) " >&6
6586 else $as_nop
6587 cat >conftest.y <<EOF
6588 %define parse.error verbose
6590 empty: ;
6592 if $BISON conftest.y >/dev/null 2>&5
6593 then
6594 wine_cv_recent_bison=yes
6595 else
6596 wine_cv_recent_bison=no
6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6600 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6601 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
6603 if test -n "$ac_tool_prefix"; then
6604 for ac_prog in ar gar
6606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 printf %s "checking for $ac_word... " >&6; }
6610 if test ${ac_cv_prog_AR+y}
6611 then :
6612 printf %s "(cached) " >&6
6613 else $as_nop
6614 if test -n "$AR"; then
6615 ac_cv_prog_AR="$AR" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 case $as_dir in #(((
6622 '') as_dir=./ ;;
6623 */) ;;
6624 *) as_dir=$as_dir/ ;;
6625 esac
6626 for ac_exec_ext in '' $ac_executable_extensions; do
6627 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6628 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6629 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6630 break 2
6632 done
6633 done
6634 IFS=$as_save_IFS
6638 AR=$ac_cv_prog_AR
6639 if test -n "$AR"; then
6640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6641 printf "%s\n" "$AR" >&6; }
6642 else
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644 printf "%s\n" "no" >&6; }
6648 test -n "$AR" && break
6649 done
6651 if test -z "$AR"; then
6652 ac_ct_AR=$AR
6653 for ac_prog in ar gar
6655 # Extract the first word of "$ac_prog", so it can be a program name with args.
6656 set dummy $ac_prog; ac_word=$2
6657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658 printf %s "checking for $ac_word... " >&6; }
6659 if test ${ac_cv_prog_ac_ct_AR+y}
6660 then :
6661 printf %s "(cached) " >&6
6662 else $as_nop
6663 if test -n "$ac_ct_AR"; then
6664 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6665 else
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 for as_dir in $PATH
6669 IFS=$as_save_IFS
6670 case $as_dir in #(((
6671 '') as_dir=./ ;;
6672 */) ;;
6673 *) as_dir=$as_dir/ ;;
6674 esac
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6677 ac_cv_prog_ac_ct_AR="$ac_prog"
6678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6679 break 2
6681 done
6682 done
6683 IFS=$as_save_IFS
6687 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6688 if test -n "$ac_ct_AR"; then
6689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6690 printf "%s\n" "$ac_ct_AR" >&6; }
6691 else
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 printf "%s\n" "no" >&6; }
6697 test -n "$ac_ct_AR" && break
6698 done
6700 if test "x$ac_ct_AR" = x; then
6701 AR="ar"
6702 else
6703 case $cross_compiling:$ac_tool_warned in
6704 yes:)
6705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6706 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6707 ac_tool_warned=yes ;;
6708 esac
6709 AR=$ac_ct_AR
6713 if test -n "$ac_tool_prefix"; then
6714 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6715 set dummy ${ac_tool_prefix}strip; ac_word=$2
6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 printf %s "checking for $ac_word... " >&6; }
6718 if test ${ac_cv_prog_STRIP+y}
6719 then :
6720 printf %s "(cached) " >&6
6721 else $as_nop
6722 if test -n "$STRIP"; then
6723 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6724 else
6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726 for as_dir in $PATH
6728 IFS=$as_save_IFS
6729 case $as_dir in #(((
6730 '') as_dir=./ ;;
6731 */) ;;
6732 *) as_dir=$as_dir/ ;;
6733 esac
6734 for ac_exec_ext in '' $ac_executable_extensions; do
6735 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6736 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6738 break 2
6740 done
6741 done
6742 IFS=$as_save_IFS
6746 STRIP=$ac_cv_prog_STRIP
6747 if test -n "$STRIP"; then
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6749 printf "%s\n" "$STRIP" >&6; }
6750 else
6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6752 printf "%s\n" "no" >&6; }
6757 if test -z "$ac_cv_prog_STRIP"; then
6758 ac_ct_STRIP=$STRIP
6759 # Extract the first word of "strip", so it can be a program name with args.
6760 set dummy strip; ac_word=$2
6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6762 printf %s "checking for $ac_word... " >&6; }
6763 if test ${ac_cv_prog_ac_ct_STRIP+y}
6764 then :
6765 printf %s "(cached) " >&6
6766 else $as_nop
6767 if test -n "$ac_ct_STRIP"; then
6768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6773 IFS=$as_save_IFS
6774 case $as_dir in #(((
6775 '') as_dir=./ ;;
6776 */) ;;
6777 *) as_dir=$as_dir/ ;;
6778 esac
6779 for ac_exec_ext in '' $ac_executable_extensions; do
6780 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6781 ac_cv_prog_ac_ct_STRIP="strip"
6782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6783 break 2
6785 done
6786 done
6787 IFS=$as_save_IFS
6791 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6792 if test -n "$ac_ct_STRIP"; then
6793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6794 printf "%s\n" "$ac_ct_STRIP" >&6; }
6795 else
6796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6797 printf "%s\n" "no" >&6; }
6800 if test "x$ac_ct_STRIP" = x; then
6801 STRIP="strip"
6802 else
6803 case $cross_compiling:$ac_tool_warned in
6804 yes:)
6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6806 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6807 ac_tool_warned=yes ;;
6808 esac
6809 STRIP=$ac_ct_STRIP
6811 else
6812 STRIP="$ac_cv_prog_STRIP"
6815 if test -n "$ac_tool_prefix"; then
6816 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6817 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819 printf %s "checking for $ac_word... " >&6; }
6820 if test ${ac_cv_prog_RANLIB+y}
6821 then :
6822 printf %s "(cached) " >&6
6823 else $as_nop
6824 if test -n "$RANLIB"; then
6825 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6826 else
6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6828 for as_dir in $PATH
6830 IFS=$as_save_IFS
6831 case $as_dir in #(((
6832 '') as_dir=./ ;;
6833 */) ;;
6834 *) as_dir=$as_dir/ ;;
6835 esac
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6840 break 2
6842 done
6843 done
6844 IFS=$as_save_IFS
6848 RANLIB=$ac_cv_prog_RANLIB
6849 if test -n "$RANLIB"; then
6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6851 printf "%s\n" "$RANLIB" >&6; }
6852 else
6853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 printf "%s\n" "no" >&6; }
6859 if test -z "$ac_cv_prog_RANLIB"; then
6860 ac_ct_RANLIB=$RANLIB
6861 # Extract the first word of "ranlib", so it can be a program name with args.
6862 set dummy ranlib; ac_word=$2
6863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6864 printf %s "checking for $ac_word... " >&6; }
6865 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6866 then :
6867 printf %s "(cached) " >&6
6868 else $as_nop
6869 if test -n "$ac_ct_RANLIB"; then
6870 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6871 else
6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873 for as_dir in $PATH
6875 IFS=$as_save_IFS
6876 case $as_dir in #(((
6877 '') as_dir=./ ;;
6878 */) ;;
6879 *) as_dir=$as_dir/ ;;
6880 esac
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6883 ac_cv_prog_ac_ct_RANLIB="ranlib"
6884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6885 break 2
6887 done
6888 done
6889 IFS=$as_save_IFS
6893 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6894 if test -n "$ac_ct_RANLIB"; then
6895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6896 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6897 else
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 printf "%s\n" "no" >&6; }
6902 if test "x$ac_ct_RANLIB" = x; then
6903 RANLIB=":"
6904 else
6905 case $cross_compiling:$ac_tool_warned in
6906 yes:)
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6908 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6909 ac_tool_warned=yes ;;
6910 esac
6911 RANLIB=$ac_ct_RANLIB
6913 else
6914 RANLIB="$ac_cv_prog_RANLIB"
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6918 printf %s "checking whether ln -s works... " >&6; }
6919 LN_S=$as_ln_s
6920 if test "$LN_S" = "ln -s"; then
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6922 printf "%s\n" "yes" >&6; }
6923 else
6924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6925 printf "%s\n" "no, using $LN_S" >&6; }
6928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6929 printf %s "checking for grep that handles long lines and -e... " >&6; }
6930 if test ${ac_cv_path_GREP+y}
6931 then :
6932 printf %s "(cached) " >&6
6933 else $as_nop
6934 if test -z "$GREP"; then
6935 ac_path_GREP_found=false
6936 # Loop through the user's path and test for each of PROGNAME-LIST
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6938 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6940 IFS=$as_save_IFS
6941 case $as_dir in #(((
6942 '') as_dir=./ ;;
6943 */) ;;
6944 *) as_dir=$as_dir/ ;;
6945 esac
6946 for ac_prog in grep ggrep
6948 for ac_exec_ext in '' $ac_executable_extensions; do
6949 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6950 as_fn_executable_p "$ac_path_GREP" || continue
6951 # Check for GNU ac_path_GREP and select it if it is found.
6952 # Check for GNU $ac_path_GREP
6953 case `"$ac_path_GREP" --version 2>&1` in
6954 *GNU*)
6955 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6957 ac_count=0
6958 printf %s 0123456789 >"conftest.in"
6959 while :
6961 cat "conftest.in" "conftest.in" >"conftest.tmp"
6962 mv "conftest.tmp" "conftest.in"
6963 cp "conftest.in" "conftest.nl"
6964 printf "%s\n" 'GREP' >> "conftest.nl"
6965 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6966 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6967 as_fn_arith $ac_count + 1 && ac_count=$as_val
6968 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6969 # Best one so far, save it but keep looking for a better one
6970 ac_cv_path_GREP="$ac_path_GREP"
6971 ac_path_GREP_max=$ac_count
6973 # 10*(2^10) chars as input seems more than enough
6974 test $ac_count -gt 10 && break
6975 done
6976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6977 esac
6979 $ac_path_GREP_found && break 3
6980 done
6981 done
6982 done
6983 IFS=$as_save_IFS
6984 if test -z "$ac_cv_path_GREP"; then
6985 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6987 else
6988 ac_cv_path_GREP=$GREP
6992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6993 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6994 GREP="$ac_cv_path_GREP"
6997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6998 printf %s "checking for egrep... " >&6; }
6999 if test ${ac_cv_path_EGREP+y}
7000 then :
7001 printf %s "(cached) " >&6
7002 else $as_nop
7003 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7004 then ac_cv_path_EGREP="$GREP -E"
7005 else
7006 if test -z "$EGREP"; then
7007 ac_path_EGREP_found=false
7008 # Loop through the user's path and test for each of PROGNAME-LIST
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7012 IFS=$as_save_IFS
7013 case $as_dir in #(((
7014 '') as_dir=./ ;;
7015 */) ;;
7016 *) as_dir=$as_dir/ ;;
7017 esac
7018 for ac_prog in egrep
7020 for ac_exec_ext in '' $ac_executable_extensions; do
7021 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7022 as_fn_executable_p "$ac_path_EGREP" || continue
7023 # Check for GNU ac_path_EGREP and select it if it is found.
7024 # Check for GNU $ac_path_EGREP
7025 case `"$ac_path_EGREP" --version 2>&1` in
7026 *GNU*)
7027 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7029 ac_count=0
7030 printf %s 0123456789 >"conftest.in"
7031 while :
7033 cat "conftest.in" "conftest.in" >"conftest.tmp"
7034 mv "conftest.tmp" "conftest.in"
7035 cp "conftest.in" "conftest.nl"
7036 printf "%s\n" 'EGREP' >> "conftest.nl"
7037 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7038 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7039 as_fn_arith $ac_count + 1 && ac_count=$as_val
7040 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7041 # Best one so far, save it but keep looking for a better one
7042 ac_cv_path_EGREP="$ac_path_EGREP"
7043 ac_path_EGREP_max=$ac_count
7045 # 10*(2^10) chars as input seems more than enough
7046 test $ac_count -gt 10 && break
7047 done
7048 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7049 esac
7051 $ac_path_EGREP_found && break 3
7052 done
7053 done
7054 done
7055 IFS=$as_save_IFS
7056 if test -z "$ac_cv_path_EGREP"; then
7057 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7059 else
7060 ac_cv_path_EGREP=$EGREP
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7066 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7067 EGREP="$ac_cv_path_EGREP"
7070 # Extract the first word of "ldconfig", so it can be a program name with args.
7071 set dummy ldconfig; ac_word=$2
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073 printf %s "checking for $ac_word... " >&6; }
7074 if test ${ac_cv_path_LDCONFIG+y}
7075 then :
7076 printf %s "(cached) " >&6
7077 else $as_nop
7078 case $LDCONFIG in
7079 [\\/]* | ?:[\\/]*)
7080 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7084 for as_dir in /sbin /usr/sbin $PATH
7086 IFS=$as_save_IFS
7087 case $as_dir in #(((
7088 '') as_dir=./ ;;
7089 */) ;;
7090 *) as_dir=$as_dir/ ;;
7091 esac
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7094 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7096 break 2
7098 done
7099 done
7100 IFS=$as_save_IFS
7102 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7104 esac
7106 LDCONFIG=$ac_cv_path_LDCONFIG
7107 if test -n "$LDCONFIG"; then
7108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7109 printf "%s\n" "$LDCONFIG" >&6; }
7110 else
7111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7112 printf "%s\n" "no" >&6; }
7116 for ac_prog in msgfmt
7118 # Extract the first word of "$ac_prog", so it can be a program name with args.
7119 set dummy $ac_prog; ac_word=$2
7120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 printf %s "checking for $ac_word... " >&6; }
7122 if test ${ac_cv_prog_MSGFMT+y}
7123 then :
7124 printf %s "(cached) " >&6
7125 else $as_nop
7126 if test -n "$MSGFMT"; then
7127 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7128 else
7129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7130 for as_dir in $PATH
7132 IFS=$as_save_IFS
7133 case $as_dir in #(((
7134 '') as_dir=./ ;;
7135 */) ;;
7136 *) as_dir=$as_dir/ ;;
7137 esac
7138 for ac_exec_ext in '' $ac_executable_extensions; do
7139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7140 ac_cv_prog_MSGFMT="$ac_prog"
7141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7142 break 2
7144 done
7145 done
7146 IFS=$as_save_IFS
7150 MSGFMT=$ac_cv_prog_MSGFMT
7151 if test -n "$MSGFMT"; then
7152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7153 printf "%s\n" "$MSGFMT" >&6; }
7154 else
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7156 printf "%s\n" "no" >&6; }
7160 test -n "$MSGFMT" && break
7161 done
7162 test -n "$MSGFMT" || MSGFMT="false"
7164 if test ${ac_tool_prefix+y}
7165 then :
7166 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7167 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169 printf %s "checking for $ac_word... " >&6; }
7170 if test ${ac_cv_prog_PKG_CONFIG+y}
7171 then :
7172 printf %s "(cached) " >&6
7173 else $as_nop
7174 if test -n "$PKG_CONFIG"; then
7175 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7176 else
7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7178 for as_dir in $PATH
7180 IFS=$as_save_IFS
7181 case $as_dir in #(((
7182 '') as_dir=./ ;;
7183 */) ;;
7184 *) as_dir=$as_dir/ ;;
7185 esac
7186 for ac_exec_ext in '' $ac_executable_extensions; do
7187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7188 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7190 break 2
7192 done
7193 done
7194 IFS=$as_save_IFS
7198 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7199 if test -n "$PKG_CONFIG"; then
7200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7201 printf "%s\n" "$PKG_CONFIG" >&6; }
7202 else
7203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7204 printf "%s\n" "no" >&6; }
7209 if ${ac_cv_prog_PKG_CONFIG:+false} :
7210 then :
7211 if test "x$cross_compiling" = xyes
7212 then :
7214 else $as_nop
7215 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7216 # Extract the first word of "pkg-config", so it can be a program name with args.
7217 set dummy pkg-config; ac_word=$2
7218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 printf %s "checking for $ac_word... " >&6; }
7220 if test ${ac_cv_prog_PKG_CONFIG+y}
7221 then :
7222 printf %s "(cached) " >&6
7223 else $as_nop
7224 if test -n "$PKG_CONFIG"; then
7225 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7230 IFS=$as_save_IFS
7231 case $as_dir in #(((
7232 '') as_dir=./ ;;
7233 */) ;;
7234 *) as_dir=$as_dir/ ;;
7235 esac
7236 for ac_exec_ext in '' $ac_executable_extensions; do
7237 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7238 ac_cv_prog_PKG_CONFIG="pkg-config"
7239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7240 break 2
7242 done
7243 done
7244 IFS=$as_save_IFS
7248 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7249 if test -n "$PKG_CONFIG"; then
7250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7251 printf "%s\n" "$PKG_CONFIG" >&6; }
7252 else
7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 printf "%s\n" "no" >&6; }
7259 else $as_nop
7260 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7263 if test "x$enable_maintainer_mode" != "xyes"
7264 then
7265 FONTFORGE=""
7266 RSVG=""
7267 CONVERT=""
7268 ICOTOOL=""
7269 else
7270 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7271 for ac_prog in fontforge
7273 # Extract the first word of "$ac_prog", so it can be a program name with args.
7274 set dummy $ac_prog; ac_word=$2
7275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 printf %s "checking for $ac_word... " >&6; }
7277 if test ${ac_cv_prog_FONTFORGE+y}
7278 then :
7279 printf %s "(cached) " >&6
7280 else $as_nop
7281 if test -n "$FONTFORGE"; then
7282 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7283 else
7284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 for as_dir in $PATH
7287 IFS=$as_save_IFS
7288 case $as_dir in #(((
7289 '') as_dir=./ ;;
7290 */) ;;
7291 *) as_dir=$as_dir/ ;;
7292 esac
7293 for ac_exec_ext in '' $ac_executable_extensions; do
7294 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7295 ac_cv_prog_FONTFORGE="$ac_prog"
7296 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7297 break 2
7299 done
7300 done
7301 IFS=$as_save_IFS
7305 FONTFORGE=$ac_cv_prog_FONTFORGE
7306 if test -n "$FONTFORGE"; then
7307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7308 printf "%s\n" "$FONTFORGE" >&6; }
7309 else
7310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 printf "%s\n" "no" >&6; }
7315 test -n "$FONTFORGE" && break
7316 done
7317 test -n "$FONTFORGE" || FONTFORGE="false"
7319 for ac_prog in rsvg-convert rsvg
7321 # Extract the first word of "$ac_prog", so it can be a program name with args.
7322 set dummy $ac_prog; ac_word=$2
7323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 printf %s "checking for $ac_word... " >&6; }
7325 if test ${ac_cv_prog_RSVG+y}
7326 then :
7327 printf %s "(cached) " >&6
7328 else $as_nop
7329 if test -n "$RSVG"; then
7330 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 case $as_dir in #(((
7337 '') as_dir=./ ;;
7338 */) ;;
7339 *) as_dir=$as_dir/ ;;
7340 esac
7341 for ac_exec_ext in '' $ac_executable_extensions; do
7342 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7343 ac_cv_prog_RSVG="$ac_prog"
7344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7345 break 2
7347 done
7348 done
7349 IFS=$as_save_IFS
7353 RSVG=$ac_cv_prog_RSVG
7354 if test -n "$RSVG"; then
7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7356 printf "%s\n" "$RSVG" >&6; }
7357 else
7358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7359 printf "%s\n" "no" >&6; }
7363 test -n "$RSVG" && break
7364 done
7365 test -n "$RSVG" || RSVG="false"
7367 for ac_prog in convert
7369 # Extract the first word of "$ac_prog", so it can be a program name with args.
7370 set dummy $ac_prog; ac_word=$2
7371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 printf %s "checking for $ac_word... " >&6; }
7373 if test ${ac_cv_prog_CONVERT+y}
7374 then :
7375 printf %s "(cached) " >&6
7376 else $as_nop
7377 if test -n "$CONVERT"; then
7378 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7379 else
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7381 for as_dir in $PATH
7383 IFS=$as_save_IFS
7384 case $as_dir in #(((
7385 '') as_dir=./ ;;
7386 */) ;;
7387 *) as_dir=$as_dir/ ;;
7388 esac
7389 for ac_exec_ext in '' $ac_executable_extensions; do
7390 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7391 ac_cv_prog_CONVERT="$ac_prog"
7392 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7393 break 2
7395 done
7396 done
7397 IFS=$as_save_IFS
7401 CONVERT=$ac_cv_prog_CONVERT
7402 if test -n "$CONVERT"; then
7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7404 printf "%s\n" "$CONVERT" >&6; }
7405 else
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7407 printf "%s\n" "no" >&6; }
7411 test -n "$CONVERT" && break
7412 done
7413 test -n "$CONVERT" || CONVERT="false"
7415 for ac_prog in icotool
7417 # Extract the first word of "$ac_prog", so it can be a program name with args.
7418 set dummy $ac_prog; ac_word=$2
7419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 printf %s "checking for $ac_word... " >&6; }
7421 if test ${ac_cv_prog_ICOTOOL+y}
7422 then :
7423 printf %s "(cached) " >&6
7424 else $as_nop
7425 if test -n "$ICOTOOL"; then
7426 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7427 else
7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7429 for as_dir in $PATH
7431 IFS=$as_save_IFS
7432 case $as_dir in #(((
7433 '') as_dir=./ ;;
7434 */) ;;
7435 *) as_dir=$as_dir/ ;;
7436 esac
7437 for ac_exec_ext in '' $ac_executable_extensions; do
7438 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7439 ac_cv_prog_ICOTOOL="$ac_prog"
7440 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7441 break 2
7443 done
7444 done
7445 IFS=$as_save_IFS
7449 ICOTOOL=$ac_cv_prog_ICOTOOL
7450 if test -n "$ICOTOOL"; then
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7452 printf "%s\n" "$ICOTOOL" >&6; }
7453 else
7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7455 printf "%s\n" "no" >&6; }
7459 test -n "$ICOTOOL" && break
7460 done
7461 test -n "$ICOTOOL" || ICOTOOL="false"
7463 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7464 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7466 if test "$CONVERT" = false
7467 then
7468 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7469 else
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7471 printf %s "checking for recent enough imagemagick... " >&6; }
7472 convert_version=`convert --version | head -n1`
7473 if test "x$convert_version" != "x"
7474 then
7475 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7476 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7477 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7478 then
7479 CONVERT=false
7482 if test "$CONVERT" = false
7483 then
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7485 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7486 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7487 else
7488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7489 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7493 if test "$ICOTOOL" = false
7494 then
7495 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7496 else
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7498 printf %s "checking for recent enough icotool... " >&6; }
7499 icotool_version=`icotool --version | head -n1`
7500 if test "x$icotool_version" != "x"
7501 then
7502 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7503 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7504 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7505 then
7506 ICOTOOL=false
7507 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7510 if test "$ICOTOOL" = false
7511 then
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7513 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7514 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7515 else
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7517 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7521 with_gettext=yes
7522 with_gettextpo=yes
7524 enable_werror=yes
7527 test "x$with_gettext" != xno || MSGFMT=false
7528 if test "$MSGFMT" != "false"
7529 then
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7531 printf %s "checking whether msgfmt supports contexts... " >&6; }
7532 if test ${wine_cv_msgfmt_contexts+y}
7533 then :
7534 printf %s "(cached) " >&6
7535 else $as_nop
7536 cat >conftest.po <<EOF
7537 # comment
7538 msgctxt "ctxt"
7539 msgid "id"
7540 msgstr "str"
7542 if $MSGFMT -o /dev/null conftest.po 2>&5
7543 then
7544 wine_cv_msgfmt_contexts=yes
7545 else
7546 wine_cv_msgfmt_contexts=no
7549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7550 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7551 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7553 if test "$MSGFMT" = false
7554 then :
7555 case "x$with_gettext" in
7556 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7557 xno) ;;
7558 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7559 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7560 esac
7561 enable_po=${enable_po:-no}
7565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7566 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7567 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7568 then :
7569 printf %s "(cached) " >&6
7570 else $as_nop
7571 ac_check_lib_save_LIBS=$LIBS
7572 LIBS="-li386 $LIBS"
7573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7574 /* end confdefs.h. */
7576 /* Override any GCC internal prototype to avoid an error.
7577 Use char because int might match the return type of a GCC
7578 builtin and then its argument prototype would still apply. */
7579 char i386_set_ldt ();
7581 main (void)
7583 return i386_set_ldt ();
7585 return 0;
7587 _ACEOF
7588 if ac_fn_c_try_link "$LINENO"
7589 then :
7590 ac_cv_lib_i386_i386_set_ldt=yes
7591 else $as_nop
7592 ac_cv_lib_i386_i386_set_ldt=no
7594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7595 conftest$ac_exeext conftest.$ac_ext
7596 LIBS=$ac_check_lib_save_LIBS
7598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7599 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7600 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7601 then :
7602 I386_LIBS="-li386"
7607 OPENGL_LIBS=""
7611 # Check whether --enable-largefile was given.
7612 if test ${enable_largefile+y}
7613 then :
7614 enableval=$enable_largefile;
7617 if test "$enable_largefile" != no; then
7619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7620 printf %s "checking for special C compiler options needed for large files... " >&6; }
7621 if test ${ac_cv_sys_largefile_CC+y}
7622 then :
7623 printf %s "(cached) " >&6
7624 else $as_nop
7625 ac_cv_sys_largefile_CC=no
7626 if test "$GCC" != yes; then
7627 ac_save_CC=$CC
7628 while :; do
7629 # IRIX 6.2 and later do not support large files by default,
7630 # so use the C compiler's -n32 option if that helps.
7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h. */
7633 #include <sys/types.h>
7634 /* Check that off_t can represent 2**63 - 1 correctly.
7635 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7636 since some C++ compilers masquerading as C compilers
7637 incorrectly reject 9223372036854775807. */
7638 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7639 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7640 && LARGE_OFF_T % 2147483647 == 1)
7641 ? 1 : -1];
7643 main (void)
7647 return 0;
7649 _ACEOF
7650 if ac_fn_c_try_compile "$LINENO"
7651 then :
7652 break
7654 rm -f core conftest.err conftest.$ac_objext conftest.beam
7655 CC="$CC -n32"
7656 if ac_fn_c_try_compile "$LINENO"
7657 then :
7658 ac_cv_sys_largefile_CC=' -n32'; break
7660 rm -f core conftest.err conftest.$ac_objext conftest.beam
7661 break
7662 done
7663 CC=$ac_save_CC
7664 rm -f conftest.$ac_ext
7667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7668 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7669 if test "$ac_cv_sys_largefile_CC" != no; then
7670 CC=$CC$ac_cv_sys_largefile_CC
7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7674 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7675 if test ${ac_cv_sys_file_offset_bits+y}
7676 then :
7677 printf %s "(cached) " >&6
7678 else $as_nop
7679 while :; do
7680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681 /* end confdefs.h. */
7682 #include <sys/types.h>
7683 /* Check that off_t can represent 2**63 - 1 correctly.
7684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7685 since some C++ compilers masquerading as C compilers
7686 incorrectly reject 9223372036854775807. */
7687 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7689 && LARGE_OFF_T % 2147483647 == 1)
7690 ? 1 : -1];
7692 main (void)
7696 return 0;
7698 _ACEOF
7699 if ac_fn_c_try_compile "$LINENO"
7700 then :
7701 ac_cv_sys_file_offset_bits=no; break
7703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7705 /* end confdefs.h. */
7706 #define _FILE_OFFSET_BITS 64
7707 #include <sys/types.h>
7708 /* Check that off_t can represent 2**63 - 1 correctly.
7709 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7710 since some C++ compilers masquerading as C compilers
7711 incorrectly reject 9223372036854775807. */
7712 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7713 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7714 && LARGE_OFF_T % 2147483647 == 1)
7715 ? 1 : -1];
7717 main (void)
7721 return 0;
7723 _ACEOF
7724 if ac_fn_c_try_compile "$LINENO"
7725 then :
7726 ac_cv_sys_file_offset_bits=64; break
7728 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7729 ac_cv_sys_file_offset_bits=unknown
7730 break
7731 done
7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7734 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7735 case $ac_cv_sys_file_offset_bits in #(
7736 no | unknown) ;;
7738 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7740 esac
7741 rm -rf conftest*
7742 if test $ac_cv_sys_file_offset_bits = unknown; then
7743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7744 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7745 if test ${ac_cv_sys_large_files+y}
7746 then :
7747 printf %s "(cached) " >&6
7748 else $as_nop
7749 while :; do
7750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751 /* end confdefs.h. */
7752 #include <sys/types.h>
7753 /* Check that off_t can represent 2**63 - 1 correctly.
7754 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7755 since some C++ compilers masquerading as C compilers
7756 incorrectly reject 9223372036854775807. */
7757 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7758 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7759 && LARGE_OFF_T % 2147483647 == 1)
7760 ? 1 : -1];
7762 main (void)
7766 return 0;
7768 _ACEOF
7769 if ac_fn_c_try_compile "$LINENO"
7770 then :
7771 ac_cv_sys_large_files=no; break
7773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h. */
7776 #define _LARGE_FILES 1
7777 #include <sys/types.h>
7778 /* Check that off_t can represent 2**63 - 1 correctly.
7779 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7780 since some C++ compilers masquerading as C compilers
7781 incorrectly reject 9223372036854775807. */
7782 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7783 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7784 && LARGE_OFF_T % 2147483647 == 1)
7785 ? 1 : -1];
7787 main (void)
7791 return 0;
7793 _ACEOF
7794 if ac_fn_c_try_compile "$LINENO"
7795 then :
7796 ac_cv_sys_large_files=1; break
7798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7799 ac_cv_sys_large_files=unknown
7800 break
7801 done
7803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7804 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7805 case $ac_cv_sys_large_files in #(
7806 no | unknown) ;;
7808 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7810 esac
7811 rm -rf conftest*
7816 ac_header= ac_cache=
7817 for ac_item in $ac_header_c_list
7819 if test $ac_cache; then
7820 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7821 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7822 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7824 ac_header= ac_cache=
7825 elif test $ac_header; then
7826 ac_cache=$ac_item
7827 else
7828 ac_header=$ac_item
7830 done
7839 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7840 then :
7842 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7845 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_CL_cl_h" = xyes
7847 then :
7848 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_EGL_egl_h" = xyes
7853 then :
7854 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7859 then :
7860 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_arpa_inet_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_asm_types_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_asm_user_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_elf_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_float_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_gettext_po_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_libproc_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_link_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_linux_filter_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_input_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_linux_major_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_linux_param_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_linux_serial_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_linux_types_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_linux_wireless_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_lwp_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_mach_mach_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_machine_cpu_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_mntent_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_netdb_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_netinet_in_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_port_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_pthread_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_pwd_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_sched_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_scsi_sg_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_stdint_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sys_attr_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sys_auxv_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_cdio_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_epoll_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_event_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_extattr_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_filio_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_ipc_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_link_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_modem_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_mtio_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_param_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_prctl_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_queue_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_random_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_resource_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_shm_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_signal_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_sockio_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_strtio_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_syscall_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_sys_times_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_sys_uio_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_sys_user_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_utsname_h" = xyes
8285 then :
8286 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8289 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8290 if test "x$ac_cv_header_sys_vnode_h" = xyes
8291 then :
8292 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8295 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8296 if test "x$ac_cv_header_sys_xattr_h" = xyes
8297 then :
8298 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_syscall_h" = xyes
8303 then :
8304 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_utime_h" = xyes
8309 then :
8310 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8313 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8314 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8315 then :
8316 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8319 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8320 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8321 then :
8322 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8326 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8327 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8328 then :
8330 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8334 if test $ac_cv_header_sys_mkdev_h = no; then
8335 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8336 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8337 then :
8339 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8345 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8346 if test ${ac_cv_header_stat_broken+y}
8347 then :
8348 printf %s "(cached) " >&6
8349 else $as_nop
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8352 #include <sys/types.h>
8353 #include <sys/stat.h>
8355 #if defined S_ISBLK && defined S_IFDIR
8356 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8357 #endif
8359 #if defined S_ISBLK && defined S_IFCHR
8360 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8361 #endif
8363 #if defined S_ISLNK && defined S_IFREG
8364 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8365 #endif
8367 #if defined S_ISSOCK && defined S_IFREG
8368 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8369 #endif
8371 _ACEOF
8372 if ac_fn_c_try_compile "$LINENO"
8373 then :
8374 ac_cv_header_stat_broken=no
8375 else $as_nop
8376 ac_cv_header_stat_broken=yes
8378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8381 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8382 if test $ac_cv_header_stat_broken = yes; then
8384 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8390 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8391 #ifdef HAVE_SYS_PARAM_H
8392 # include <sys/param.h>
8393 #endif
8395 if test "x$ac_cv_header_sys_conf_h" = xyes
8396 then :
8397 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8401 #ifdef HAVE_SYS_PARAM_H
8402 # include <sys/param.h>
8403 #endif
8405 if test "x$ac_cv_header_sys_mount_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8411 #ifdef HAVE_SYS_PARAM_H
8412 # include <sys/param.h>
8413 #endif
8415 if test "x$ac_cv_header_sys_statfs_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8420 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8421 #ifdef HAVE_SYS_PARAM_H
8422 # include <sys/param.h>
8423 #endif
8425 if test "x$ac_cv_header_sys_user_h" = xyes
8426 then :
8427 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8430 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8431 #ifdef HAVE_SYS_PARAM_H
8432 # include <sys/param.h>
8433 #endif
8435 if test "x$ac_cv_header_sys_vfs_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8442 saved_sysctl_h_CFLAGS=$CFLAGS
8443 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8444 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8445 #ifdef HAVE_SYS_PARAM_H
8446 # include <sys/param.h>
8447 #endif
8449 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8450 then :
8451 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8455 CFLAGS=$saved_sysctl_h_CFLAGS
8457 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8458 #include <sys/socket.h>
8459 #ifdef HAVE_SYS_SOCKETVAR_H
8460 # include <sys/socketvar.h>
8461 #endif
8462 #ifdef HAVE_NET_ROUTE_H
8463 # include <net/route.h>
8464 #endif
8465 #ifdef HAVE_NETINET_IN_H
8466 # include <netinet/in.h>
8467 #endif
8468 #ifdef HAVE_NETINET_IN_SYSTM_H
8469 # include <netinet/in_systm.h>
8470 #endif
8471 #ifdef HAVE_NET_IF_H
8472 # include <net/if.h>
8473 #endif
8474 #ifdef HAVE_NETINET_IP_H
8475 # include <netinet/ip.h>
8476 #endif
8478 if test "x$ac_cv_header_netinet_ip_h" = xyes
8479 then :
8480 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8483 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8484 #include <sys/socket.h>
8485 #ifdef HAVE_SYS_SOCKETVAR_H
8486 # include <sys/socketvar.h>
8487 #endif
8488 #ifdef HAVE_NET_ROUTE_H
8489 # include <net/route.h>
8490 #endif
8491 #ifdef HAVE_NETINET_IN_H
8492 # include <netinet/in.h>
8493 #endif
8494 #ifdef HAVE_NETINET_IN_SYSTM_H
8495 # include <netinet/in_systm.h>
8496 #endif
8497 #ifdef HAVE_NET_IF_H
8498 # include <net/if.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IP_H
8501 # include <netinet/ip.h>
8502 #endif
8504 if test "x$ac_cv_header_net_if_h" = xyes
8505 then :
8506 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8509 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8510 #include <sys/socket.h>
8511 #ifdef HAVE_SYS_SOCKETVAR_H
8512 # include <sys/socketvar.h>
8513 #endif
8514 #ifdef HAVE_NET_ROUTE_H
8515 # include <net/route.h>
8516 #endif
8517 #ifdef HAVE_NETINET_IN_H
8518 # include <netinet/in.h>
8519 #endif
8520 #ifdef HAVE_NETINET_IN_SYSTM_H
8521 # include <netinet/in_systm.h>
8522 #endif
8523 #ifdef HAVE_NET_IF_H
8524 # include <net/if.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IP_H
8527 # include <netinet/ip.h>
8528 #endif
8530 if test "x$ac_cv_header_net_if_arp_h" = xyes
8531 then :
8532 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8535 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8536 #include <sys/socket.h>
8537 #ifdef HAVE_SYS_SOCKETVAR_H
8538 # include <sys/socketvar.h>
8539 #endif
8540 #ifdef HAVE_NET_ROUTE_H
8541 # include <net/route.h>
8542 #endif
8543 #ifdef HAVE_NETINET_IN_H
8544 # include <netinet/in.h>
8545 #endif
8546 #ifdef HAVE_NETINET_IN_SYSTM_H
8547 # include <netinet/in_systm.h>
8548 #endif
8549 #ifdef HAVE_NET_IF_H
8550 # include <net/if.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IP_H
8553 # include <netinet/ip.h>
8554 #endif
8556 if test "x$ac_cv_header_net_if_dl_h" = xyes
8557 then :
8558 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8561 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8562 #include <sys/socket.h>
8563 #ifdef HAVE_SYS_SOCKETVAR_H
8564 # include <sys/socketvar.h>
8565 #endif
8566 #ifdef HAVE_NET_ROUTE_H
8567 # include <net/route.h>
8568 #endif
8569 #ifdef HAVE_NETINET_IN_H
8570 # include <netinet/in.h>
8571 #endif
8572 #ifdef HAVE_NETINET_IN_SYSTM_H
8573 # include <netinet/in_systm.h>
8574 #endif
8575 #ifdef HAVE_NET_IF_H
8576 # include <net/if.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IP_H
8579 # include <netinet/ip.h>
8580 #endif
8582 if test "x$ac_cv_header_net_if_types_h" = xyes
8583 then :
8584 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8587 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8588 #include <sys/socket.h>
8589 #ifdef HAVE_SYS_SOCKETVAR_H
8590 # include <sys/socketvar.h>
8591 #endif
8592 #ifdef HAVE_NET_ROUTE_H
8593 # include <net/route.h>
8594 #endif
8595 #ifdef HAVE_NETINET_IN_H
8596 # include <netinet/in.h>
8597 #endif
8598 #ifdef HAVE_NETINET_IN_SYSTM_H
8599 # include <netinet/in_systm.h>
8600 #endif
8601 #ifdef HAVE_NET_IF_H
8602 # include <net/if.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IP_H
8605 # include <netinet/ip.h>
8606 #endif
8608 if test "x$ac_cv_header_net_route_h" = xyes
8609 then :
8610 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8613 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8614 #include <sys/socket.h>
8615 #ifdef HAVE_SYS_SOCKETVAR_H
8616 # include <sys/socketvar.h>
8617 #endif
8618 #ifdef HAVE_NET_ROUTE_H
8619 # include <net/route.h>
8620 #endif
8621 #ifdef HAVE_NETINET_IN_H
8622 # include <netinet/in.h>
8623 #endif
8624 #ifdef HAVE_NETINET_IN_SYSTM_H
8625 # include <netinet/in_systm.h>
8626 #endif
8627 #ifdef HAVE_NET_IF_H
8628 # include <net/if.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IP_H
8631 # include <netinet/ip.h>
8632 #endif
8634 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8635 then :
8636 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8639 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8640 #include <sys/socket.h>
8641 #ifdef HAVE_SYS_SOCKETVAR_H
8642 # include <sys/socketvar.h>
8643 #endif
8644 #ifdef HAVE_NET_ROUTE_H
8645 # include <net/route.h>
8646 #endif
8647 #ifdef HAVE_NETINET_IN_H
8648 # include <netinet/in.h>
8649 #endif
8650 #ifdef HAVE_NETINET_IN_SYSTM_H
8651 # include <netinet/in_systm.h>
8652 #endif
8653 #ifdef HAVE_NET_IF_H
8654 # include <net/if.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IP_H
8657 # include <netinet/ip.h>
8658 #endif
8660 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8661 then :
8662 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8665 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8666 #include <sys/socket.h>
8667 #ifdef HAVE_SYS_SOCKETVAR_H
8668 # include <sys/socketvar.h>
8669 #endif
8670 #ifdef HAVE_NET_ROUTE_H
8671 # include <net/route.h>
8672 #endif
8673 #ifdef HAVE_NETINET_IN_H
8674 # include <netinet/in.h>
8675 #endif
8676 #ifdef HAVE_NETINET_IN_SYSTM_H
8677 # include <netinet/in_systm.h>
8678 #endif
8679 #ifdef HAVE_NET_IF_H
8680 # include <net/if.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IP_H
8683 # include <netinet/ip.h>
8684 #endif
8686 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8687 then :
8688 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8691 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8692 #include <sys/socket.h>
8693 #ifdef HAVE_SYS_SOCKETVAR_H
8694 # include <sys/socketvar.h>
8695 #endif
8696 #ifdef HAVE_NET_ROUTE_H
8697 # include <net/route.h>
8698 #endif
8699 #ifdef HAVE_NETINET_IN_H
8700 # include <netinet/in.h>
8701 #endif
8702 #ifdef HAVE_NETINET_IN_SYSTM_H
8703 # include <netinet/in_systm.h>
8704 #endif
8705 #ifdef HAVE_NET_IF_H
8706 # include <net/if.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IP_H
8709 # include <netinet/ip.h>
8710 #endif
8712 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8713 then :
8714 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8717 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8718 #include <sys/socket.h>
8719 #ifdef HAVE_SYS_SOCKETVAR_H
8720 # include <sys/socketvar.h>
8721 #endif
8722 #ifdef HAVE_NET_ROUTE_H
8723 # include <net/route.h>
8724 #endif
8725 #ifdef HAVE_NETINET_IN_H
8726 # include <netinet/in.h>
8727 #endif
8728 #ifdef HAVE_NETINET_IN_SYSTM_H
8729 # include <netinet/in_systm.h>
8730 #endif
8731 #ifdef HAVE_NET_IF_H
8732 # include <net/if.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IP_H
8735 # include <netinet/ip.h>
8736 #endif
8738 if test "x$ac_cv_header_netinet_udp_h" = xyes
8739 then :
8740 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8743 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8744 #include <sys/socket.h>
8745 #ifdef HAVE_SYS_SOCKETVAR_H
8746 # include <sys/socketvar.h>
8747 #endif
8748 #ifdef HAVE_NET_ROUTE_H
8749 # include <net/route.h>
8750 #endif
8751 #ifdef HAVE_NETINET_IN_H
8752 # include <netinet/in.h>
8753 #endif
8754 #ifdef HAVE_NETINET_IN_SYSTM_H
8755 # include <netinet/in_systm.h>
8756 #endif
8757 #ifdef HAVE_NET_IF_H
8758 # include <net/if.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IP_H
8761 # include <netinet/ip.h>
8762 #endif
8764 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8765 then :
8766 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8769 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8770 #include <sys/socket.h>
8771 #ifdef HAVE_SYS_SOCKETVAR_H
8772 # include <sys/socketvar.h>
8773 #endif
8774 #ifdef HAVE_NET_ROUTE_H
8775 # include <net/route.h>
8776 #endif
8777 #ifdef HAVE_NETINET_IN_H
8778 # include <netinet/in.h>
8779 #endif
8780 #ifdef HAVE_NETINET_IN_SYSTM_H
8781 # include <netinet/in_systm.h>
8782 #endif
8783 #ifdef HAVE_NET_IF_H
8784 # include <net/if.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IP_H
8787 # include <netinet/ip.h>
8788 #endif
8790 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8791 then :
8792 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8795 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8796 #include <sys/socket.h>
8797 #ifdef HAVE_SYS_SOCKETVAR_H
8798 # include <sys/socketvar.h>
8799 #endif
8800 #ifdef HAVE_NET_ROUTE_H
8801 # include <net/route.h>
8802 #endif
8803 #ifdef HAVE_NETINET_IN_H
8804 # include <netinet/in.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IN_SYSTM_H
8807 # include <netinet/in_systm.h>
8808 #endif
8809 #ifdef HAVE_NET_IF_H
8810 # include <net/if.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IP_H
8813 # include <netinet/ip.h>
8814 #endif
8816 if test "x$ac_cv_header_sys_un_h" = xyes
8817 then :
8818 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8823 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8824 #include <sys/socket.h>
8825 #ifdef HAVE_SYS_SOCKETVAR_H
8826 # include <sys/socketvar.h>
8827 #endif
8828 #ifdef HAVE_NETINET_IN_H
8829 # include <netinet/in.h>
8830 #endif
8831 #ifdef HAVE_NETINET_IN_SYSTM_H
8832 # include <netinet/in_systm.h>
8833 #endif
8834 #ifdef HAVE_NETINET_IP_H
8835 # include <netinet/ip.h>
8836 #endif
8837 #ifdef HAVE_NETINET_IP_VAR_H
8838 # include <netinet/ip_var.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IP_ICMP_H
8841 # include <netinet/ip_icmp.h>
8842 #endif
8843 #ifdef HAVE_NETINET_UDP_H
8844 # include <netinet/udp.h>
8845 #endif
8846 #ifdef HAVE_NETINET_TCP_H
8847 # include <netinet/tcp.h>
8848 #endif
8850 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8851 then :
8852 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8855 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8856 #include <sys/socket.h>
8857 #ifdef HAVE_SYS_SOCKETVAR_H
8858 # include <sys/socketvar.h>
8859 #endif
8860 #ifdef HAVE_NETINET_IN_H
8861 # include <netinet/in.h>
8862 #endif
8863 #ifdef HAVE_NETINET_IN_SYSTM_H
8864 # include <netinet/in_systm.h>
8865 #endif
8866 #ifdef HAVE_NETINET_IP_H
8867 # include <netinet/ip.h>
8868 #endif
8869 #ifdef HAVE_NETINET_IP_VAR_H
8870 # include <netinet/ip_var.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IP_ICMP_H
8873 # include <netinet/ip_icmp.h>
8874 #endif
8875 #ifdef HAVE_NETINET_UDP_H
8876 # include <netinet/udp.h>
8877 #endif
8878 #ifdef HAVE_NETINET_TCP_H
8879 # include <netinet/tcp.h>
8880 #endif
8882 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8883 then :
8884 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8887 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8888 #include <sys/socket.h>
8889 #ifdef HAVE_SYS_SOCKETVAR_H
8890 # include <sys/socketvar.h>
8891 #endif
8892 #ifdef HAVE_NETINET_IN_H
8893 # include <netinet/in.h>
8894 #endif
8895 #ifdef HAVE_NETINET_IN_SYSTM_H
8896 # include <netinet/in_systm.h>
8897 #endif
8898 #ifdef HAVE_NETINET_IP_H
8899 # include <netinet/ip.h>
8900 #endif
8901 #ifdef HAVE_NETINET_IP_VAR_H
8902 # include <netinet/ip_var.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IP_ICMP_H
8905 # include <netinet/ip_icmp.h>
8906 #endif
8907 #ifdef HAVE_NETINET_UDP_H
8908 # include <netinet/udp.h>
8909 #endif
8910 #ifdef HAVE_NETINET_TCP_H
8911 # include <netinet/tcp.h>
8912 #endif
8914 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8915 then :
8916 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8919 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8920 #include <sys/socket.h>
8921 #ifdef HAVE_SYS_SOCKETVAR_H
8922 # include <sys/socketvar.h>
8923 #endif
8924 #ifdef HAVE_NETINET_IN_H
8925 # include <netinet/in.h>
8926 #endif
8927 #ifdef HAVE_NETINET_IN_SYSTM_H
8928 # include <netinet/in_systm.h>
8929 #endif
8930 #ifdef HAVE_NETINET_IP_H
8931 # include <netinet/ip.h>
8932 #endif
8933 #ifdef HAVE_NETINET_IP_VAR_H
8934 # include <netinet/ip_var.h>
8935 #endif
8936 #ifdef HAVE_NETINET_IP_ICMP_H
8937 # include <netinet/ip_icmp.h>
8938 #endif
8939 #ifdef HAVE_NETINET_UDP_H
8940 # include <netinet/udp.h>
8941 #endif
8942 #ifdef HAVE_NETINET_TCP_H
8943 # include <netinet/tcp.h>
8944 #endif
8946 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8947 then :
8948 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8953 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8954 #include <sys/socket.h>
8955 #ifdef HAVE_ASM_TYPES_H
8956 # include <asm/types.h>
8957 #endif
8958 #ifdef HAVE_LINUX_TYPES_H
8959 # include <linux/types.h>
8960 #endif
8962 if test "x$ac_cv_header_linux_ipx_h" = xyes
8963 then :
8964 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8967 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8968 #include <sys/socket.h>
8969 #ifdef HAVE_ASM_TYPES_H
8970 # include <asm/types.h>
8971 #endif
8972 #ifdef HAVE_LINUX_TYPES_H
8973 # include <linux/types.h>
8974 #endif
8976 if test "x$ac_cv_header_linux_irda_h" = xyes
8977 then :
8978 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8981 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8982 #include <sys/socket.h>
8983 #ifdef HAVE_ASM_TYPES_H
8984 # include <asm/types.h>
8985 #endif
8986 #ifdef HAVE_LINUX_TYPES_H
8987 # include <linux/types.h>
8988 #endif
8990 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8991 then :
8992 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8998 #include <sys/socket.h>
8999 #ifdef HAVE_NETINET_IN_H
9000 # include <netinet/in.h>
9001 #endif
9002 #ifdef HAVE_ARPA_NAMESER_H
9003 # include <arpa/nameser.h>
9004 #endif
9006 if test "x$ac_cv_header_resolv_h" = xyes
9007 then :
9008 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9013 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9015 if test "x$ac_cv_header_ifaddrs_h" = xyes
9016 then :
9017 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9022 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9024 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9025 then :
9026 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9031 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9032 #ifdef HAVE_SYS_UCONTEXT_H
9033 #include <sys/ucontext.h>
9034 #endif
9036 if test "x$ac_cv_header_sys_thr_h" = xyes
9037 then :
9038 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9043 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9044 #include <pthread.h>
9045 #endif
9047 if test "x$ac_cv_header_pthread_np_h" = xyes
9048 then :
9049 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9054 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9055 #include <sys/types.h>
9056 #ifdef HAVE_ASM_TYPES_H
9057 #include <asm/types.h>
9058 #endif
9060 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9061 then :
9062 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9067 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9068 #include <sys/param.h>
9069 #endif
9070 #include <sys/socket.h>
9071 #ifdef HAVE_SYS_QUEUE_H
9072 #include <sys/queue.h>
9073 #endif
9075 if test "x$ac_cv_header_libprocstat_h" = xyes
9076 then :
9077 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9082 if test "x$ac_cv_header_sys_xattr_h" = xyes
9083 then
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9085 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9086 if test ${wine_cv_xattr_extra_args+y}
9087 then :
9088 printf %s "(cached) " >&6
9089 else $as_nop
9090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9091 /* end confdefs.h. */
9092 #include <sys/xattr.h>
9094 main (void)
9096 getxattr("", "", "", 0, 0, 0);
9098 return 0;
9100 _ACEOF
9101 if ac_fn_c_try_compile "$LINENO"
9102 then :
9103 wine_cv_xattr_extra_args=yes
9104 else $as_nop
9105 wine_cv_xattr_extra_args=no
9107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9110 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9111 test $wine_cv_xattr_extra_args != yes ||
9112 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9117 DLLFLAGS=""
9119 LDDLLFLAGS=""
9121 LDEXECFLAGS=""
9123 EXTRACFLAGS=""
9125 UNIXDLLFLAGS="-fPIC"
9127 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9129 TOP_INSTALL_LIB=""
9131 TOP_INSTALL_DEV=""
9133 WINELOADER_LDFLAGS=""
9135 WINEPRELOADER_LDFLAGS=""
9137 DLLEXT=".so"
9139 LIBEXT="so"
9140 # Extract the first word of "ldd", so it can be a program name with args.
9141 set dummy ldd; ac_word=$2
9142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143 printf %s "checking for $ac_word... " >&6; }
9144 if test ${ac_cv_path_LDD+y}
9145 then :
9146 printf %s "(cached) " >&6
9147 else $as_nop
9148 case $LDD in
9149 [\\/]* | ?:[\\/]*)
9150 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9154 as_dummy="/sbin:/usr/sbin:$PATH"
9155 for as_dir in $as_dummy
9157 IFS=$as_save_IFS
9158 case $as_dir in #(((
9159 '') as_dir=./ ;;
9160 */) ;;
9161 *) as_dir=$as_dir/ ;;
9162 esac
9163 for ac_exec_ext in '' $ac_executable_extensions; do
9164 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9165 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9167 break 2
9169 done
9170 done
9171 IFS=$as_save_IFS
9173 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9175 esac
9177 LDD=$ac_cv_path_LDD
9178 if test -n "$LDD"; then
9179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9180 printf "%s\n" "$LDD" >&6; }
9181 else
9182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 printf "%s\n" "no" >&6; }
9187 if test -n "$ac_tool_prefix"; then
9188 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9189 set dummy ${ac_tool_prefix}otool; ac_word=$2
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 printf %s "checking for $ac_word... " >&6; }
9192 if test ${ac_cv_prog_OTOOL+y}
9193 then :
9194 printf %s "(cached) " >&6
9195 else $as_nop
9196 if test -n "$OTOOL"; then
9197 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9198 else
9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9200 for as_dir in $PATH
9202 IFS=$as_save_IFS
9203 case $as_dir in #(((
9204 '') as_dir=./ ;;
9205 */) ;;
9206 *) as_dir=$as_dir/ ;;
9207 esac
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9212 break 2
9214 done
9215 done
9216 IFS=$as_save_IFS
9220 OTOOL=$ac_cv_prog_OTOOL
9221 if test -n "$OTOOL"; then
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9223 printf "%s\n" "$OTOOL" >&6; }
9224 else
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9226 printf "%s\n" "no" >&6; }
9231 if test -z "$ac_cv_prog_OTOOL"; then
9232 ac_ct_OTOOL=$OTOOL
9233 # Extract the first word of "otool", so it can be a program name with args.
9234 set dummy otool; ac_word=$2
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printf %s "checking for $ac_word... " >&6; }
9237 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9238 then :
9239 printf %s "(cached) " >&6
9240 else $as_nop
9241 if test -n "$ac_ct_OTOOL"; then
9242 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9243 else
9244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 for as_dir in $PATH
9247 IFS=$as_save_IFS
9248 case $as_dir in #(((
9249 '') as_dir=./ ;;
9250 */) ;;
9251 *) as_dir=$as_dir/ ;;
9252 esac
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_ac_ct_OTOOL="otool"
9256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9257 break 2
9259 done
9260 done
9261 IFS=$as_save_IFS
9265 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9266 if test -n "$ac_ct_OTOOL"; then
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9268 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9269 else
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printf "%s\n" "no" >&6; }
9274 if test "x$ac_ct_OTOOL" = x; then
9275 OTOOL="otool"
9276 else
9277 case $cross_compiling:$ac_tool_warned in
9278 yes:)
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9280 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9281 ac_tool_warned=yes ;;
9282 esac
9283 OTOOL=$ac_ct_OTOOL
9285 else
9286 OTOOL="$ac_cv_prog_OTOOL"
9289 if test -n "$ac_tool_prefix"; then
9290 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9291 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 printf %s "checking for $ac_word... " >&6; }
9294 if test ${ac_cv_prog_READELF+y}
9295 then :
9296 printf %s "(cached) " >&6
9297 else $as_nop
9298 if test -n "$READELF"; then
9299 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9300 else
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 for as_dir in $PATH
9304 IFS=$as_save_IFS
9305 case $as_dir in #(((
9306 '') as_dir=./ ;;
9307 */) ;;
9308 *) as_dir=$as_dir/ ;;
9309 esac
9310 for ac_exec_ext in '' $ac_executable_extensions; do
9311 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9312 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9314 break 2
9316 done
9317 done
9318 IFS=$as_save_IFS
9322 READELF=$ac_cv_prog_READELF
9323 if test -n "$READELF"; then
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9325 printf "%s\n" "$READELF" >&6; }
9326 else
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9328 printf "%s\n" "no" >&6; }
9333 if test -z "$ac_cv_prog_READELF"; then
9334 ac_ct_READELF=$READELF
9335 # Extract the first word of "readelf", so it can be a program name with args.
9336 set dummy readelf; ac_word=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s "checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_ac_ct_READELF+y}
9340 then :
9341 printf %s "(cached) " >&6
9342 else $as_nop
9343 if test -n "$ac_ct_READELF"; then
9344 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9345 else
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in $PATH
9349 IFS=$as_save_IFS
9350 case $as_dir in #(((
9351 '') as_dir=./ ;;
9352 */) ;;
9353 *) as_dir=$as_dir/ ;;
9354 esac
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_ac_ct_READELF="readelf"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9359 break 2
9361 done
9362 done
9363 IFS=$as_save_IFS
9367 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9368 if test -n "$ac_ct_READELF"; then
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9370 printf "%s\n" "$ac_ct_READELF" >&6; }
9371 else
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 printf "%s\n" "no" >&6; }
9376 if test "x$ac_ct_READELF" = x; then
9377 READELF="true"
9378 else
9379 case $cross_compiling:$ac_tool_warned in
9380 yes:)
9381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9382 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9383 ac_tool_warned=yes ;;
9384 esac
9385 READELF=$ac_ct_READELF
9387 else
9388 READELF="$ac_cv_prog_READELF"
9391 wine_rules="all:"
9392 SUBDIRS=""
9394 DISABLED_SUBDIRS=""
9396 CONFIGURE_TARGETS=""
9399 wine_fn_config_makefile ()
9401 as_fn_append SUBDIRS " \\$as_nl $1"
9402 eval enable=\$$2
9403 case "$enable" in
9404 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9405 *aarch64*|*arm*|*i386*|*x86_64*)
9406 if test -n "$PE_ARCHS"
9407 then
9408 for i in $PE_ARCHS
9410 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9411 done
9412 else
9413 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9414 fi;;
9415 esac
9418 wine_fn_config_symlink ()
9420 ac_links=$@
9421 as_fn_append wine_rules "
9422 $ac_links:
9423 @./config.status \$@"
9424 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9427 case $host_os in
9428 cygwin*|mingw32*)
9429 LIBEXT="dll"
9430 DLLEXT=""
9431 EXTRACFLAGS="-D__WINE_PE_BUILD"
9432 case $host_cpu in
9433 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9434 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9435 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9436 then :
9437 printf %s "(cached) " >&6
9438 else $as_nop
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"
9446 then :
9447 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9448 else $as_nop
9449 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9451 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9456 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9457 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9458 then :
9459 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9460 fi ;;
9461 esac
9462 enable_loader=${enable_loader:-no}
9463 enable_server=${enable_server:-no}
9464 with_x=${with_x:-no}
9465 with_pthread=${with_pthread:-no}
9468 darwin*|macosx*)
9469 LIBEXT="dylib"
9470 DLLFLAGS="$DLLFLAGS -fPIC"
9471 LDDLLFLAGS="-fPIC"
9472 enable_winemac_drv=${enable_winemac_drv:-yes}
9473 CARBON_LIBS="-framework Carbon"
9475 COREFOUNDATION_LIBS="-framework CoreFoundation"
9477 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9479 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9481 METAL_LIBS="-framework Metal"
9483 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9485 CORESERVICES_LIBS="-framework CoreServices"
9487 APPKIT_LIBS="-framework AppKit"
9489 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9491 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9494 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9496 case $host_cpu in
9497 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9498 *) wine_can_build_preloader=no ;;
9499 esac
9501 if test "$wine_can_build_preloader" = "yes"
9502 then
9503 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"
9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9505 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9506 if test ${ac_cv_cflags__Wl__no_pie+y}
9507 then :
9508 printf %s "(cached) " >&6
9509 else $as_nop
9510 ac_wine_try_cflags_saved=$CFLAGS
9511 CFLAGS="$CFLAGS -Wl,-no_pie"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9514 int main(int argc, char **argv) { return 0; }
9515 _ACEOF
9516 if ac_fn_c_try_link "$LINENO"
9517 then :
9518 ac_cv_cflags__Wl__no_pie=yes
9519 else $as_nop
9520 ac_cv_cflags__Wl__no_pie=no
9522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9523 conftest$ac_exeext conftest.$ac_ext
9524 CFLAGS=$ac_wine_try_cflags_saved
9526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9527 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9528 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9529 then :
9530 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9532 case $host_cpu in
9533 *i[3456]86*)
9534 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9536 *x86_64*)
9537 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9539 esac
9540 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9541 else
9542 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9545 if test "x$with_coreaudio" != "xno";
9546 then
9547 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9549 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9551 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9552 then
9553 OPENCL_LIBS="-framework OpenCL"
9555 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9559 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9560 ac_ext=m
9561 ac_cpp='$OBJCPP $CPPFLAGS'
9562 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9563 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9564 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9566 ac_ext=m
9567 ac_cpp='$OBJCPP $CPPFLAGS'
9568 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9569 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9570 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9571 if test -n "$ac_tool_prefix"; then
9572 for ac_prog in gcc objcc objc cc CC clang
9574 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9575 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9577 printf %s "checking for $ac_word... " >&6; }
9578 if test ${ac_cv_prog_OBJC+y}
9579 then :
9580 printf %s "(cached) " >&6
9581 else $as_nop
9582 if test -n "$OBJC"; then
9583 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9584 else
9585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9586 for as_dir in $PATH
9588 IFS=$as_save_IFS
9589 case $as_dir in #(((
9590 '') as_dir=./ ;;
9591 */) ;;
9592 *) as_dir=$as_dir/ ;;
9593 esac
9594 for ac_exec_ext in '' $ac_executable_extensions; do
9595 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9596 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9597 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9598 break 2
9600 done
9601 done
9602 IFS=$as_save_IFS
9606 OBJC=$ac_cv_prog_OBJC
9607 if test -n "$OBJC"; then
9608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9609 printf "%s\n" "$OBJC" >&6; }
9610 else
9611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612 printf "%s\n" "no" >&6; }
9616 test -n "$OBJC" && break
9617 done
9619 if test -z "$OBJC"; then
9620 ac_ct_OBJC=$OBJC
9621 for ac_prog in gcc objcc objc cc CC clang
9623 # Extract the first word of "$ac_prog", so it can be a program name with args.
9624 set dummy $ac_prog; ac_word=$2
9625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9626 printf %s "checking for $ac_word... " >&6; }
9627 if test ${ac_cv_prog_ac_ct_OBJC+y}
9628 then :
9629 printf %s "(cached) " >&6
9630 else $as_nop
9631 if test -n "$ac_ct_OBJC"; then
9632 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9633 else
9634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 for as_dir in $PATH
9637 IFS=$as_save_IFS
9638 case $as_dir in #(((
9639 '') as_dir=./ ;;
9640 */) ;;
9641 *) as_dir=$as_dir/ ;;
9642 esac
9643 for ac_exec_ext in '' $ac_executable_extensions; do
9644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9645 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9647 break 2
9649 done
9650 done
9651 IFS=$as_save_IFS
9655 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9656 if test -n "$ac_ct_OBJC"; then
9657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9658 printf "%s\n" "$ac_ct_OBJC" >&6; }
9659 else
9660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9661 printf "%s\n" "no" >&6; }
9665 test -n "$ac_ct_OBJC" && break
9666 done
9668 if test "x$ac_ct_OBJC" = x; then
9669 OBJC="gcc"
9670 else
9671 case $cross_compiling:$ac_tool_warned in
9672 yes:)
9673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9674 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9675 ac_tool_warned=yes ;;
9676 esac
9677 OBJC=$ac_ct_OBJC
9681 # Provide some information about the compiler.
9682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9683 set X $ac_compile
9684 ac_compiler=$2
9685 for ac_option in --version -v -V -qversion; do
9686 { { ac_try="$ac_compiler $ac_option >&5"
9687 case "(($ac_try" in
9688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9690 esac
9691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9692 printf "%s\n" "$ac_try_echo"; } >&5
9693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9694 ac_status=$?
9695 if test -s conftest.err; then
9696 sed '10a\
9697 ... rest of stderr output deleted ...
9698 10q' conftest.err >conftest.er1
9699 cat conftest.er1 >&5
9701 rm -f conftest.er1 conftest.err
9702 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9703 test $ac_status = 0; }
9704 done
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9707 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9708 if test ${ac_cv_objc_compiler_gnu+y}
9709 then :
9710 printf %s "(cached) " >&6
9711 else $as_nop
9712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9716 main (void)
9718 #ifndef __GNUC__
9719 choke me
9720 #endif
9723 return 0;
9725 _ACEOF
9726 if ac_fn_objc_try_compile "$LINENO"
9727 then :
9728 ac_compiler_gnu=yes
9729 else $as_nop
9730 ac_compiler_gnu=no
9732 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9733 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9737 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9738 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9740 if test $ac_compiler_gnu = yes; then
9741 GOBJC=yes
9742 else
9743 GOBJC=
9745 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9746 ac_save_OBJCFLAGS=$OBJCFLAGS
9747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9748 printf %s "checking whether $OBJC accepts -g... " >&6; }
9749 if test ${ac_cv_prog_objc_g+y}
9750 then :
9751 printf %s "(cached) " >&6
9752 else $as_nop
9753 ac_save_objc_werror_flag=$ac_objc_werror_flag
9754 ac_objc_werror_flag=yes
9755 ac_cv_prog_objc_g=no
9756 OBJCFLAGS="-g"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9761 main (void)
9765 return 0;
9767 _ACEOF
9768 if ac_fn_objc_try_compile "$LINENO"
9769 then :
9770 ac_cv_prog_objc_g=yes
9771 else $as_nop
9772 OBJCFLAGS=""
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9777 main (void)
9781 return 0;
9783 _ACEOF
9784 if ac_fn_objc_try_compile "$LINENO"
9785 then :
9787 else $as_nop
9788 ac_objc_werror_flag=$ac_save_objc_werror_flag
9789 OBJCFLAGS="-g"
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9794 main (void)
9798 return 0;
9800 _ACEOF
9801 if ac_fn_objc_try_compile "$LINENO"
9802 then :
9803 ac_cv_prog_objc_g=yes
9805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9810 ac_objc_werror_flag=$ac_save_objc_werror_flag
9812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9813 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9814 if test $ac_test_OBJCFLAGS; then
9815 OBJCFLAGS=$ac_save_OBJCFLAGS
9816 elif test $ac_cv_prog_objc_g = yes; then
9817 if test "$GOBJC" = yes; then
9818 OBJCFLAGS="-g -O2"
9819 else
9820 OBJCFLAGS="-g"
9822 else
9823 if test "$GOBJC" = yes; then
9824 OBJCFLAGS="-O2"
9825 else
9826 OBJCFLAGS=
9829 ac_ext=m
9830 ac_cpp='$OBJCPP $CPPFLAGS'
9831 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9832 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9833 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 #include <Metal/Metal.h>
9840 main (void)
9842 id<MTLDevice> device; device.registryID;
9844 return 0;
9846 _ACEOF
9847 if ac_fn_objc_try_compile "$LINENO"
9848 then :
9849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9850 printf "%s\n" "yes" >&6; }
9852 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9854 else $as_nop
9855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9856 printf "%s\n" "no" >&6; }
9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9859 ac_ext=c
9860 ac_cpp='$CPP $CPPFLAGS'
9861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9866 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9867 WINELOADER_DEPENDS="wine_info.plist"
9871 linux-android*)
9873 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9875 DLLFLAGS="$DLLFLAGS -fPIC"
9876 LDDLLFLAGS="-fPIC"
9877 LDEXECFLAGS="-Wl,-pie"
9878 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9880 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9881 if test ${ac_cv_cflags__Wl__z_defs+y}
9882 then :
9883 printf %s "(cached) " >&6
9884 else $as_nop
9885 ac_wine_try_cflags_saved=$CFLAGS
9886 CFLAGS="$CFLAGS -Wl,-z,defs"
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 int main(int argc, char **argv) { return 0; }
9890 _ACEOF
9891 if ac_fn_c_try_link "$LINENO"
9892 then :
9893 ac_cv_cflags__Wl__z_defs=yes
9894 else $as_nop
9895 ac_cv_cflags__Wl__z_defs=no
9897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9898 conftest$ac_exeext conftest.$ac_ext
9899 CFLAGS=$ac_wine_try_cflags_saved
9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9902 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9903 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9904 then :
9905 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9908 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9909 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9910 then :
9911 printf %s "(cached) " >&6
9912 else $as_nop
9913 ac_wine_try_cflags_saved=$CFLAGS
9914 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 int main(int argc, char **argv) { return 0; }
9918 _ACEOF
9919 if ac_fn_c_try_link "$LINENO"
9920 then :
9921 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9922 else $as_nop
9923 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9930 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9931 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9932 then :
9933 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9935 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9938 printf %s "checking for -lEGL... " >&6; }
9939 if test ${ac_cv_lib_soname_EGL+y}
9940 then :
9941 printf %s "(cached) " >&6
9942 else $as_nop
9943 ac_check_soname_save_LIBS=$LIBS
9944 LIBS="-lEGL $LIBS"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 char eglGetProcAddress ();
9953 main (void)
9955 return eglGetProcAddress ();
9957 return 0;
9959 _ACEOF
9960 if ac_fn_c_try_link "$LINENO"
9961 then :
9962 case "$LIBEXT" in
9963 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9964 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'` ;;
9965 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9966 if ${ac_cv_lib_soname_EGL:+false} :
9967 then :
9968 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9969 fi ;;
9970 esac
9971 else $as_nop
9972 ac_cv_lib_soname_EGL=
9974 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LIBS=$ac_check_soname_save_LIBS
9978 if ${ac_cv_lib_soname_EGL:+false} :
9979 then :
9980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9981 printf "%s\n" "not found" >&6; }
9983 else $as_nop
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9985 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9987 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9992 printf %s "checking for -lGLESv2... " >&6; }
9993 if test ${ac_cv_lib_soname_GLESv2+y}
9994 then :
9995 printf %s "(cached) " >&6
9996 else $as_nop
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lGLESv2 $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 char glFlush ();
10007 main (void)
10009 return glFlush ();
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"
10015 then :
10016 case "$LIBEXT" in
10017 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_GLESv2:+false} :
10021 then :
10022 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 fi ;;
10024 esac
10025 else $as_nop
10026 ac_cv_lib_soname_GLESv2=
10028 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LIBS=$ac_check_soname_save_LIBS
10032 if ${ac_cv_lib_soname_GLESv2:+false} :
10033 then :
10034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10035 printf "%s\n" "not found" >&6; }
10037 else $as_nop
10038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10039 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10041 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10046 if test "x$exec_prefix" = xNONE
10047 then
10048 case $host_cpu in
10049 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10050 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10051 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10052 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10053 esac
10059 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10061 test "$ac_cv_sys_file_offset_bits" = 64 &&
10062 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10064 case $host_cpu in
10065 *i[3456789]86*)
10066 DLLFLAGS="$DLLFLAGS -fno-PIC"
10067 LDDLLFLAGS="-fno-PIC"
10068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10069 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10070 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10071 then :
10072 printf %s "(cached) " >&6
10073 else $as_nop
10074 ac_wine_try_cflags_saved=$CFLAGS
10075 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10078 int main(int argc, char **argv) { return 0; }
10079 _ACEOF
10080 if ac_fn_c_try_link "$LINENO"
10081 then :
10082 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10083 else $as_nop
10084 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10087 conftest$ac_exeext conftest.$ac_ext
10088 CFLAGS=$ac_wine_try_cflags_saved
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10091 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10092 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10093 then :
10094 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10098 DLLFLAGS="$DLLFLAGS -fPIC"
10099 LDDLLFLAGS="-fPIC" ;;
10100 esac
10102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10103 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10104 if test ${ac_cv_cflags__Wl__z_defs+y}
10105 then :
10106 printf %s "(cached) " >&6
10107 else $as_nop
10108 ac_wine_try_cflags_saved=$CFLAGS
10109 CFLAGS="$CFLAGS -Wl,-z,defs"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int main(int argc, char **argv) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"
10115 then :
10116 ac_cv_cflags__Wl__z_defs=yes
10117 else $as_nop
10118 ac_cv_cflags__Wl__z_defs=no
10120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10121 conftest$ac_exeext conftest.$ac_ext
10122 CFLAGS=$ac_wine_try_cflags_saved
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10125 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10126 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10127 then :
10128 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10131 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10132 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10133 then :
10134 printf %s "(cached) " >&6
10135 else $as_nop
10136 ac_wine_try_cflags_saved=$CFLAGS
10137 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10139 /* end confdefs.h. */
10140 int main(int argc, char **argv) { return 0; }
10141 _ACEOF
10142 if ac_fn_c_try_link "$LINENO"
10143 then :
10144 ac_cv_cflags__Wl___export_dynamic=yes
10145 else $as_nop
10146 ac_cv_cflags__Wl___export_dynamic=no
10148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10149 conftest$ac_exeext conftest.$ac_ext
10150 CFLAGS=$ac_wine_try_cflags_saved
10152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10153 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10154 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10155 then :
10156 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10158 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10160 case $host_os in
10161 linux*)
10162 as_fn_append WINELOADER_LDFLAGS " -pie"
10163 case $HOST_ARCH in
10164 i386|arm)
10165 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10168 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10169 if test ${ac_cv_cflags__static_pie+y}
10170 then :
10171 printf %s "(cached) " >&6
10172 else $as_nop
10173 ac_wine_try_cflags_saved=$CFLAGS
10174 CFLAGS="$CFLAGS -static-pie"
10175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10176 /* end confdefs.h. */
10177 int main(int argc, char **argv) { return 0; }
10178 _ACEOF
10179 if ac_fn_c_try_link "$LINENO"
10180 then :
10181 ac_cv_cflags__static_pie=yes
10182 else $as_nop
10183 ac_cv_cflags__static_pie=no
10185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10186 conftest$ac_exeext conftest.$ac_ext
10187 CFLAGS=$ac_wine_try_cflags_saved
10189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10190 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10191 if test "x$ac_cv_cflags__static_pie" = xyes
10192 then :
10193 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10194 else $as_nop
10195 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10198 esac
10201 case $HOST_ARCH in
10202 i386|arm)
10203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10204 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10205 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10206 then :
10207 printf %s "(cached) " >&6
10208 else $as_nop
10209 ac_wine_try_cflags_saved=$CFLAGS
10210 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10213 int main(int argc, char **argv) { return 0; }
10214 _ACEOF
10215 if ac_fn_c_try_link "$LINENO"
10216 then :
10217 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10218 else $as_nop
10219 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10222 conftest$ac_exeext conftest.$ac_ext
10223 CFLAGS=$ac_wine_try_cflags_saved
10225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10226 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10227 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10228 then :
10229 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10230 else $as_nop
10231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10232 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10233 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10234 then :
10235 printf %s "(cached) " >&6
10236 else $as_nop
10237 ac_wine_try_cflags_saved=$CFLAGS
10238 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10240 /* end confdefs.h. */
10241 int main(int argc, char **argv) { return 0; }
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"
10244 then :
10245 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10246 else $as_nop
10247 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10249 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10254 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10255 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10256 then :
10257 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10262 as_fn_append WINELOADER_LDFLAGS " -pie"
10264 esac
10266 esac
10268 esac
10270 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10271 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10272 enable_winemac_drv=${enable_winemac_drv:-no}
10274 PE_ARCHS=""
10276 cross_archs=
10277 if test ${enable_archs+y}
10278 then :
10279 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10280 ac_save_IFS=$IFS
10281 IFS=' ,'
10282 set x $enable_archs
10283 IFS=$ac_save_IFS
10284 shift
10285 for arch
10287 case $arch in
10288 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10289 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10290 esac
10291 done
10292 else $as_nop
10293 if test "x$with_mingw" != xno
10294 then
10295 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10299 for wine_arch in $cross_archs
10301 case "x$with_mingw" in
10302 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10303 esac
10304 if eval \${${wine_arch}_CC:+false} :
10305 then :
10306 case $wine_arch in
10307 aarch64)
10308 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10310 # Extract the first word of "$ac_prog", so it can be a program name with args.
10311 set dummy $ac_prog; ac_word=$2
10312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10313 printf %s "checking for $ac_word... " >&6; }
10314 if test ${ac_cv_prog_aarch64_CC+y}
10315 then :
10316 printf %s "(cached) " >&6
10317 else $as_nop
10318 if test -n "$aarch64_CC"; then
10319 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10320 else
10321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 for as_dir in $PATH
10324 IFS=$as_save_IFS
10325 case $as_dir in #(((
10326 '') as_dir=./ ;;
10327 */) ;;
10328 *) as_dir=$as_dir/ ;;
10329 esac
10330 for ac_exec_ext in '' $ac_executable_extensions; do
10331 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10332 ac_cv_prog_aarch64_CC="$ac_prog"
10333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10334 break 2
10336 done
10337 done
10338 IFS=$as_save_IFS
10342 aarch64_CC=$ac_cv_prog_aarch64_CC
10343 if test -n "$aarch64_CC"; then
10344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10345 printf "%s\n" "$aarch64_CC" >&6; }
10346 else
10347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10348 printf "%s\n" "no" >&6; }
10352 test -n "$aarch64_CC" && break
10353 done
10354 test -n "$aarch64_CC" || aarch64_CC="false"
10357 arm)
10358 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10360 # Extract the first word of "$ac_prog", so it can be a program name with args.
10361 set dummy $ac_prog; ac_word=$2
10362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10363 printf %s "checking for $ac_word... " >&6; }
10364 if test ${ac_cv_prog_arm_CC+y}
10365 then :
10366 printf %s "(cached) " >&6
10367 else $as_nop
10368 if test -n "$arm_CC"; then
10369 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10370 else
10371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10372 for as_dir in $PATH
10374 IFS=$as_save_IFS
10375 case $as_dir in #(((
10376 '') as_dir=./ ;;
10377 */) ;;
10378 *) as_dir=$as_dir/ ;;
10379 esac
10380 for ac_exec_ext in '' $ac_executable_extensions; do
10381 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10382 ac_cv_prog_arm_CC="$ac_prog"
10383 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10384 break 2
10386 done
10387 done
10388 IFS=$as_save_IFS
10392 arm_CC=$ac_cv_prog_arm_CC
10393 if test -n "$arm_CC"; then
10394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10395 printf "%s\n" "$arm_CC" >&6; }
10396 else
10397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10398 printf "%s\n" "no" >&6; }
10402 test -n "$arm_CC" && break
10403 done
10404 test -n "$arm_CC" || arm_CC="false"
10407 i386)
10408 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 "
10409 for ac_prog in $ac_prefix_list clang
10411 # Extract the first word of "$ac_prog", so it can be a program name with args.
10412 set dummy $ac_prog; ac_word=$2
10413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10414 printf %s "checking for $ac_word... " >&6; }
10415 if test ${ac_cv_prog_i386_CC+y}
10416 then :
10417 printf %s "(cached) " >&6
10418 else $as_nop
10419 if test -n "$i386_CC"; then
10420 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10421 else
10422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10423 for as_dir in $PATH
10425 IFS=$as_save_IFS
10426 case $as_dir in #(((
10427 '') as_dir=./ ;;
10428 */) ;;
10429 *) as_dir=$as_dir/ ;;
10430 esac
10431 for ac_exec_ext in '' $ac_executable_extensions; do
10432 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10433 ac_cv_prog_i386_CC="$ac_prog"
10434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10435 break 2
10437 done
10438 done
10439 IFS=$as_save_IFS
10443 i386_CC=$ac_cv_prog_i386_CC
10444 if test -n "$i386_CC"; then
10445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10446 printf "%s\n" "$i386_CC" >&6; }
10447 else
10448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10449 printf "%s\n" "no" >&6; }
10453 test -n "$i386_CC" && break
10454 done
10455 test -n "$i386_CC" || i386_CC="false"
10458 x86_64)
10459 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10460 for ac_prog in $ac_prefix_list clang
10462 # Extract the first word of "$ac_prog", so it can be a program name with args.
10463 set dummy $ac_prog; ac_word=$2
10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10465 printf %s "checking for $ac_word... " >&6; }
10466 if test ${ac_cv_prog_x86_64_CC+y}
10467 then :
10468 printf %s "(cached) " >&6
10469 else $as_nop
10470 if test -n "$x86_64_CC"; then
10471 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10472 else
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10476 IFS=$as_save_IFS
10477 case $as_dir in #(((
10478 '') as_dir=./ ;;
10479 */) ;;
10480 *) as_dir=$as_dir/ ;;
10481 esac
10482 for ac_exec_ext in '' $ac_executable_extensions; do
10483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10484 ac_cv_prog_x86_64_CC="$ac_prog"
10485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10486 break 2
10488 done
10489 done
10490 IFS=$as_save_IFS
10494 x86_64_CC=$ac_cv_prog_x86_64_CC
10495 if test -n "$x86_64_CC"; then
10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10497 printf "%s\n" "$x86_64_CC" >&6; }
10498 else
10499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10500 printf "%s\n" "no" >&6; }
10504 test -n "$x86_64_CC" && break
10505 done
10506 test -n "$x86_64_CC" || x86_64_CC="false"
10509 esac
10512 saved_CC=$CC
10513 saved_CFLAGS=$CFLAGS
10514 saved_LDFLAGS=$LDFLAGS
10516 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10517 LDFLAGS=$CROSSLDFLAGS
10518 eval CC=\$${wine_arch}_CC
10519 eval ${wine_arch}_CFLAGS=\$CFLAGS
10520 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10521 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10523 target=""
10524 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10526 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10527 then :
10529 else $as_nop
10530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10531 printf %s "checking whether $CC works... " >&6; }
10532 if eval test \${$as_wine_cv_crosscc+y}
10533 then :
10534 printf %s "(cached) " >&6
10535 else $as_nop
10536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10537 /* end confdefs.h. */
10540 main (void)
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_compile "$LINENO"
10548 then :
10549 eval "$as_wine_cv_crosscc=yes"
10550 else $as_nop
10551 eval "$as_wine_cv_crosscc=no"
10553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10555 eval ac_res=\$$as_wine_cv_crosscc
10556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10557 printf "%s\n" "$ac_res" >&6; }
10559 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10560 then :
10561 set x $CC
10562 shift
10563 while test $# -ge 1
10565 case "$1" in
10566 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10567 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10568 esac
10569 shift
10570 done
10572 llvm_target=$target
10573 if test -z "$llvm_target"
10574 then
10575 case $wine_arch in
10576 i386) llvm_target=i686-windows ;;
10577 arm) llvm_target=armv7-windows ;;
10578 *) llvm_target=$wine_arch-windows ;;
10579 esac
10581 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10582 case $llvm_target in
10583 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10584 esac
10585 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10587 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10588 if eval test \${$as_ac_var+y}
10589 then :
10590 printf %s "(cached) " >&6
10591 else $as_nop
10592 ac_wine_try_cflags_saved=$CFLAGS
10593 ac_wine_try_cflags_saved_exeext=$ac_exeext
10594 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10595 ac_exeext=".exe"
10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10597 /* end confdefs.h. */
10598 int __cdecl mainCRTStartup(void) { return 0; }
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"
10601 then :
10602 eval "$as_ac_var=yes"
10603 else $as_nop
10604 eval "$as_ac_var=no"
10606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10607 conftest$ac_exeext conftest.$ac_ext
10608 CFLAGS=$ac_wine_try_cflags_saved
10609 ac_exeext=$ac_wine_try_cflags_saved_exeext
10611 eval ac_res=\$$as_ac_var
10612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10613 printf "%s\n" "$ac_res" >&6; }
10614 if eval test \"x\$"$as_ac_var"\" = x"yes"
10615 then :
10616 target=$llvm_target
10617 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10618 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10619 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10620 fi }
10621 eval "${wine_arch}_TARGET=\$target"
10625 if test -z "$target"
10626 then
10627 if test ${enable_archs+y}
10628 then :
10629 as_fn_error $? "MinGW $wine_arch compiler not found.
10630 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10632 CC=$saved_CC
10633 CFLAGS=$saved_CFLAGS
10634 LDFLAGS=$saved_LDFLAGS
10635 continue
10638 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10641 printf %s "checking for $CC option to enable C99 features... " >&6; }
10642 if eval test \${$as_wine_cv_crosscc_c99+y}
10643 then :
10644 printf %s "(cached) " >&6
10645 else $as_nop
10646 eval "$as_wine_cv_crosscc_c99=no"
10647 for arg in '' '-std=gnu99' '-D__STDC__'
10649 test -z "$arg" || CC="$CC $arg"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10652 $ac_c_conftest_c99_program
10653 _ACEOF
10654 if ac_fn_c_try_compile "$LINENO"
10655 then :
10656 eval "$as_wine_cv_crosscc_c99=\$arg"
10657 else $as_nop
10658 eval "$as_wine_cv_crosscc_c99=no"
10660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10661 eval CC=\$${wine_arch}_CC
10662 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10663 then :
10665 else $as_nop
10666 break
10668 done
10671 eval res=\$$as_wine_cv_crosscc_c99
10673 case "x$res" in
10674 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10675 printf "%s\n" "none needed" >&6; } ;;
10676 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10677 printf "%s\n" "unsupported" >&6; }
10678 CC=$saved_CC
10679 CFLAGS=$saved_CFLAGS
10680 LDFLAGS=$saved_LDFLAGS
10681 if test ${enable_archs+y}
10682 then :
10683 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10684 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10686 continue
10688 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10689 printf "%s\n" "$res" >&6; }
10690 as_fn_append ${wine_arch}_CC " $res" ;;
10691 esac
10693 as_fn_append PE_ARCHS " $wine_arch"
10694 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10696 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10697 if eval test \${$as_ac_var+y}
10698 then :
10699 printf %s "(cached) " >&6
10700 else $as_nop
10701 ac_wine_try_cflags_saved=$CFLAGS
10702 ac_wine_try_cflags_saved_exeext=$ac_exeext
10703 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10704 ac_exeext=".exe"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int __cdecl mainCRTStartup(void) { return 0; }
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"
10710 then :
10711 eval "$as_ac_var=yes"
10712 else $as_nop
10713 eval "$as_ac_var=no"
10715 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10716 conftest$ac_exeext conftest.$ac_ext
10717 CFLAGS=$ac_wine_try_cflags_saved
10718 ac_exeext=$ac_wine_try_cflags_saved_exeext
10720 eval ac_res=\$$as_ac_var
10721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10722 printf "%s\n" "$ac_res" >&6; }
10723 if eval test \"x\$"$as_ac_var"\" = x"yes"
10724 then :
10725 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10726 fi }
10727 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10729 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10730 if eval test \${$as_ac_var+y}
10731 then :
10732 printf %s "(cached) " >&6
10733 else $as_nop
10734 ac_wine_try_cflags_saved=$CFLAGS
10735 ac_wine_try_cflags_saved_exeext=$ac_exeext
10736 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10737 ac_exeext=".exe"
10738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10739 /* end confdefs.h. */
10740 int __cdecl mainCRTStartup(void) { return 0; }
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"
10743 then :
10744 eval "$as_ac_var=yes"
10745 else $as_nop
10746 eval "$as_ac_var=no"
10748 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10749 conftest$ac_exeext conftest.$ac_ext
10750 CFLAGS=$ac_wine_try_cflags_saved
10751 ac_exeext=$ac_wine_try_cflags_saved_exeext
10753 eval ac_res=\$$as_ac_var
10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10755 printf "%s\n" "$ac_res" >&6; }
10756 if eval test \"x\$"$as_ac_var"\" = x"yes"
10757 then :
10758 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10759 fi }
10760 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10762 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10763 if eval test \${$as_ac_var+y}
10764 then :
10765 printf %s "(cached) " >&6
10766 else $as_nop
10767 ac_wine_try_cflags_saved=$CFLAGS
10768 ac_wine_try_cflags_saved_exeext=$ac_exeext
10769 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10770 ac_exeext=".exe"
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10773 int __cdecl mainCRTStartup(void) { return 0; }
10774 _ACEOF
10775 if ac_fn_c_try_link "$LINENO"
10776 then :
10777 eval "$as_ac_var=yes"
10778 else $as_nop
10779 eval "$as_ac_var=no"
10781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10782 conftest$ac_exeext conftest.$ac_ext
10783 CFLAGS=$ac_wine_try_cflags_saved
10784 ac_exeext=$ac_wine_try_cflags_saved_exeext
10786 eval ac_res=\$$as_ac_var
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10788 printf "%s\n" "$ac_res" >&6; }
10789 if eval test \"x\$"$as_ac_var"\" = x"yes"
10790 then :
10791 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10792 fi }
10793 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10795 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10796 if eval test \${$as_ac_var+y}
10797 then :
10798 printf %s "(cached) " >&6
10799 else $as_nop
10800 ac_wine_try_cflags_saved=$CFLAGS
10801 ac_wine_try_cflags_saved_exeext=$ac_exeext
10802 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10803 ac_exeext=".exe"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10806 int __cdecl mainCRTStartup(void) { return 0; }
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"
10809 then :
10810 eval "$as_ac_var=yes"
10811 else $as_nop
10812 eval "$as_ac_var=no"
10814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10815 conftest$ac_exeext conftest.$ac_ext
10816 CFLAGS=$ac_wine_try_cflags_saved
10817 ac_exeext=$ac_wine_try_cflags_saved_exeext
10819 eval ac_res=\$$as_ac_var
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10821 printf "%s\n" "$ac_res" >&6; }
10822 if eval test \"x\$"$as_ac_var"\" = x"yes"
10823 then :
10824 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10825 fi }
10826 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10828 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10829 if eval test \${$as_ac_var+y}
10830 then :
10831 printf %s "(cached) " >&6
10832 else $as_nop
10833 ac_wine_try_cflags_saved=$CFLAGS
10834 ac_wine_try_cflags_saved_exeext=$ac_exeext
10835 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10836 ac_exeext=".exe"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10839 int __cdecl mainCRTStartup(void) { return 0; }
10840 _ACEOF
10841 if ac_fn_c_try_link "$LINENO"
10842 then :
10843 eval "$as_ac_var=yes"
10844 else $as_nop
10845 eval "$as_ac_var=no"
10847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10848 conftest$ac_exeext conftest.$ac_ext
10849 CFLAGS=$ac_wine_try_cflags_saved
10850 ac_exeext=$ac_wine_try_cflags_saved_exeext
10852 eval ac_res=\$$as_ac_var
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10854 printf "%s\n" "$ac_res" >&6; }
10855 if eval test \"x\$"$as_ac_var"\" = x"yes"
10856 then :
10857 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10858 fi }
10859 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10861 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10862 if eval test \${$as_ac_var+y}
10863 then :
10864 printf %s "(cached) " >&6
10865 else $as_nop
10866 ac_wine_try_cflags_saved=$CFLAGS
10867 ac_wine_try_cflags_saved_exeext=$ac_exeext
10868 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10869 ac_exeext=".exe"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10872 int __cdecl mainCRTStartup(void) { return 0; }
10873 _ACEOF
10874 if ac_fn_c_try_link "$LINENO"
10875 then :
10876 eval "$as_ac_var=yes"
10877 else $as_nop
10878 eval "$as_ac_var=no"
10880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10881 conftest$ac_exeext conftest.$ac_ext
10882 CFLAGS=$ac_wine_try_cflags_saved
10883 ac_exeext=$ac_wine_try_cflags_saved_exeext
10885 eval ac_res=\$$as_ac_var
10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10887 printf "%s\n" "$ac_res" >&6; }
10888 if eval test \"x\$"$as_ac_var"\" = x"yes"
10889 then :
10890 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10891 fi }
10892 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10894 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10895 if eval test \${$as_ac_var+y}
10896 then :
10897 printf %s "(cached) " >&6
10898 else $as_nop
10899 ac_wine_try_cflags_saved=$CFLAGS
10900 ac_wine_try_cflags_saved_exeext=$ac_exeext
10901 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10902 ac_exeext=".exe"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
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 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10924 fi }
10925 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10927 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&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 -Wpacked-not-aligned"
10935 ac_exeext=".exe"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10938 int __cdecl mainCRTStartup(void) { return 0; }
10939 _ACEOF
10940 if ac_fn_c_try_link "$LINENO"
10941 then :
10942 eval "$as_ac_var=yes"
10943 else $as_nop
10944 eval "$as_ac_var=no"
10946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10947 conftest$ac_exeext conftest.$ac_ext
10948 CFLAGS=$ac_wine_try_cflags_saved
10949 ac_exeext=$ac_wine_try_cflags_saved_exeext
10951 eval ac_res=\$$as_ac_var
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10953 printf "%s\n" "$ac_res" >&6; }
10954 if eval test \"x\$"$as_ac_var"\" = x"yes"
10955 then :
10956 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10957 fi }
10958 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10960 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10961 if eval test \${$as_ac_var+y}
10962 then :
10963 printf %s "(cached) " >&6
10964 else $as_nop
10965 ac_wine_try_cflags_saved=$CFLAGS
10966 ac_wine_try_cflags_saved_exeext=$ac_exeext
10967 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10968 ac_exeext=".exe"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10971 int __cdecl mainCRTStartup(void) { return 0; }
10972 _ACEOF
10973 if ac_fn_c_try_link "$LINENO"
10974 then :
10975 eval "$as_ac_var=yes"
10976 else $as_nop
10977 eval "$as_ac_var=no"
10979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10980 conftest$ac_exeext conftest.$ac_ext
10981 CFLAGS=$ac_wine_try_cflags_saved
10982 ac_exeext=$ac_wine_try_cflags_saved_exeext
10984 eval ac_res=\$$as_ac_var
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10986 printf "%s\n" "$ac_res" >&6; }
10987 if eval test \"x\$"$as_ac_var"\" = x"yes"
10988 then :
10989 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10990 fi }
10991 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10993 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10994 if eval test \${$as_ac_var+y}
10995 then :
10996 printf %s "(cached) " >&6
10997 else $as_nop
10998 ac_wine_try_cflags_saved=$CFLAGS
10999 ac_wine_try_cflags_saved_exeext=$ac_exeext
11000 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11001 ac_exeext=".exe"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11004 int __cdecl mainCRTStartup(void) { return 0; }
11005 _ACEOF
11006 if ac_fn_c_try_link "$LINENO"
11007 then :
11008 eval "$as_ac_var=yes"
11009 else $as_nop
11010 eval "$as_ac_var=no"
11012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11013 conftest$ac_exeext conftest.$ac_ext
11014 CFLAGS=$ac_wine_try_cflags_saved
11015 ac_exeext=$ac_wine_try_cflags_saved_exeext
11017 eval ac_res=\$$as_ac_var
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11019 printf "%s\n" "$ac_res" >&6; }
11020 if eval test \"x\$"$as_ac_var"\" = x"yes"
11021 then :
11022 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11023 fi }
11024 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11026 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11027 if eval test \${$as_ac_var+y}
11028 then :
11029 printf %s "(cached) " >&6
11030 else $as_nop
11031 ac_wine_try_cflags_saved=$CFLAGS
11032 ac_wine_try_cflags_saved_exeext=$ac_exeext
11033 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11034 ac_exeext=".exe"
11035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11036 /* end confdefs.h. */
11037 int __cdecl mainCRTStartup(void) { return 0; }
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"
11040 then :
11041 eval "$as_ac_var=yes"
11042 else $as_nop
11043 eval "$as_ac_var=no"
11045 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11046 conftest$ac_exeext conftest.$ac_ext
11047 CFLAGS=$ac_wine_try_cflags_saved
11048 ac_exeext=$ac_wine_try_cflags_saved_exeext
11050 eval ac_res=\$$as_ac_var
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11052 printf "%s\n" "$ac_res" >&6; }
11053 if eval test \"x\$"$as_ac_var"\" = x"yes"
11054 then :
11055 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11056 fi }
11057 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11059 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11060 if eval test \${$as_ac_var+y}
11061 then :
11062 printf %s "(cached) " >&6
11063 else $as_nop
11064 ac_wine_try_cflags_saved=$CFLAGS
11065 ac_wine_try_cflags_saved_exeext=$ac_exeext
11066 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11067 ac_exeext=".exe"
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11070 int __cdecl mainCRTStartup(void) { return 0; }
11071 _ACEOF
11072 if ac_fn_c_try_link "$LINENO"
11073 then :
11074 eval "$as_ac_var=yes"
11075 else $as_nop
11076 eval "$as_ac_var=no"
11078 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11079 conftest$ac_exeext conftest.$ac_ext
11080 CFLAGS=$ac_wine_try_cflags_saved
11081 ac_exeext=$ac_wine_try_cflags_saved_exeext
11083 eval ac_res=\$$as_ac_var
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11085 printf "%s\n" "$ac_res" >&6; }
11086 if eval test \"x\$"$as_ac_var"\" = x"yes"
11087 then :
11088 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11089 fi }
11090 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11092 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11093 if eval test \${$as_ac_var+y}
11094 then :
11095 printf %s "(cached) " >&6
11096 else $as_nop
11097 ac_wine_try_cflags_saved=$CFLAGS
11098 ac_wine_try_cflags_saved_exeext=$ac_exeext
11099 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11100 ac_exeext=".exe"
11101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11102 /* end confdefs.h. */
11103 int __cdecl mainCRTStartup(void) { return 0; }
11104 _ACEOF
11105 if ac_fn_c_try_link "$LINENO"
11106 then :
11107 eval "$as_ac_var=yes"
11108 else $as_nop
11109 eval "$as_ac_var=no"
11111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11112 conftest$ac_exeext conftest.$ac_ext
11113 CFLAGS=$ac_wine_try_cflags_saved
11114 ac_exeext=$ac_wine_try_cflags_saved_exeext
11116 eval ac_res=\$$as_ac_var
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11118 printf "%s\n" "$ac_res" >&6; }
11119 if eval test \"x\$"$as_ac_var"\" = x"yes"
11120 then :
11121 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11122 fi }
11123 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11125 printf %s "checking whether $CC supports -Wvla... " >&6; }
11126 if eval test \${$as_ac_var+y}
11127 then :
11128 printf %s "(cached) " >&6
11129 else $as_nop
11130 ac_wine_try_cflags_saved=$CFLAGS
11131 ac_wine_try_cflags_saved_exeext=$ac_exeext
11132 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11133 ac_exeext=".exe"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11136 int __cdecl mainCRTStartup(void) { return 0; }
11137 _ACEOF
11138 if ac_fn_c_try_link "$LINENO"
11139 then :
11140 eval "$as_ac_var=yes"
11141 else $as_nop
11142 eval "$as_ac_var=no"
11144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11145 conftest$ac_exeext conftest.$ac_ext
11146 CFLAGS=$ac_wine_try_cflags_saved
11147 ac_exeext=$ac_wine_try_cflags_saved_exeext
11149 eval ac_res=\$$as_ac_var
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11151 printf "%s\n" "$ac_res" >&6; }
11152 if eval test \"x\$"$as_ac_var"\" = x"yes"
11153 then :
11154 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11155 fi }
11156 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11158 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11159 if eval test \${$as_ac_var+y}
11160 then :
11161 printf %s "(cached) " >&6
11162 else $as_nop
11163 ac_wine_try_cflags_saved=$CFLAGS
11164 ac_wine_try_cflags_saved_exeext=$ac_exeext
11165 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11166 ac_exeext=".exe"
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h. */
11169 int __cdecl mainCRTStartup(void) { return 0; }
11170 _ACEOF
11171 if ac_fn_c_try_link "$LINENO"
11172 then :
11173 eval "$as_ac_var=yes"
11174 else $as_nop
11175 eval "$as_ac_var=no"
11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11178 conftest$ac_exeext conftest.$ac_ext
11179 CFLAGS=$ac_wine_try_cflags_saved
11180 ac_exeext=$ac_wine_try_cflags_saved_exeext
11182 eval ac_res=\$$as_ac_var
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11184 printf "%s\n" "$ac_res" >&6; }
11185 if eval test \"x\$"$as_ac_var"\" = x"yes"
11186 then :
11187 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11188 fi }
11189 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11191 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11192 if eval test \${$as_ac_var+y}
11193 then :
11194 printf %s "(cached) " >&6
11195 else $as_nop
11196 ac_wine_try_cflags_saved=$CFLAGS
11197 ac_wine_try_cflags_saved_exeext=$ac_exeext
11198 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11199 ac_exeext=".exe"
11200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201 /* end confdefs.h. */
11202 int __cdecl mainCRTStartup(void) { return 0; }
11203 _ACEOF
11204 if ac_fn_c_try_link "$LINENO"
11205 then :
11206 eval "$as_ac_var=yes"
11207 else $as_nop
11208 eval "$as_ac_var=no"
11210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11211 conftest$ac_exeext conftest.$ac_ext
11212 CFLAGS=$ac_wine_try_cflags_saved
11213 ac_exeext=$ac_wine_try_cflags_saved_exeext
11215 eval ac_res=\$$as_ac_var
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11217 printf "%s\n" "$ac_res" >&6; }
11218 if eval test \"x\$"$as_ac_var"\" = x"yes"
11219 then :
11220 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11221 fi }
11222 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11224 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11225 if eval test \${$as_ac_var+y}
11226 then :
11227 printf %s "(cached) " >&6
11228 else $as_nop
11229 ac_wine_try_cflags_saved=$CFLAGS
11230 ac_wine_try_cflags_saved_exeext=$ac_exeext
11231 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11232 ac_exeext=".exe"
11233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11235 int __cdecl mainCRTStartup(void) { return 0; }
11236 _ACEOF
11237 if ac_fn_c_try_link "$LINENO"
11238 then :
11239 eval "$as_ac_var=yes"
11240 else $as_nop
11241 eval "$as_ac_var=no"
11243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11244 conftest$ac_exeext conftest.$ac_ext
11245 CFLAGS=$ac_wine_try_cflags_saved
11246 ac_exeext=$ac_wine_try_cflags_saved_exeext
11248 eval ac_res=\$$as_ac_var
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11250 printf "%s\n" "$ac_res" >&6; }
11251 if eval test \"x\$"$as_ac_var"\" = x"yes"
11252 then :
11253 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11254 fi }
11255 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11257 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11258 if eval test \${$as_ac_var+y}
11259 then :
11260 printf %s "(cached) " >&6
11261 else $as_nop
11262 ac_wine_try_cflags_saved=$CFLAGS
11263 ac_wine_try_cflags_saved_exeext=$ac_exeext
11264 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11265 ac_exeext=".exe"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11268 int __cdecl mainCRTStartup(void) { return 0; }
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"
11271 then :
11272 eval "$as_ac_var=yes"
11273 else $as_nop
11274 eval "$as_ac_var=no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11277 conftest$ac_exeext conftest.$ac_ext
11278 CFLAGS=$ac_wine_try_cflags_saved
11279 ac_exeext=$ac_wine_try_cflags_saved_exeext
11281 eval ac_res=\$$as_ac_var
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11283 printf "%s\n" "$ac_res" >&6; }
11284 if eval test \"x\$"$as_ac_var"\" = x"yes"
11285 then :
11286 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11287 fi }
11289 case $wine_arch in
11290 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11292 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11293 if eval test \${$as_ac_var+y}
11294 then :
11295 printf %s "(cached) " >&6
11296 else $as_nop
11297 ac_wine_try_cflags_saved=$CFLAGS
11298 ac_wine_try_cflags_saved_exeext=$ac_exeext
11299 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11300 ac_exeext=".exe"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11303 int __cdecl mainCRTStartup(void) { return 0; }
11304 _ACEOF
11305 if ac_fn_c_try_link "$LINENO"
11306 then :
11307 eval "$as_ac_var=yes"
11308 else $as_nop
11309 eval "$as_ac_var=no"
11311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11312 conftest$ac_exeext conftest.$ac_ext
11313 CFLAGS=$ac_wine_try_cflags_saved
11314 ac_exeext=$ac_wine_try_cflags_saved_exeext
11316 eval ac_res=\$$as_ac_var
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11318 printf "%s\n" "$ac_res" >&6; }
11319 if eval test \"x\$"$as_ac_var"\" = x"yes"
11320 then :
11321 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11322 fi }
11323 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11325 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11326 if eval test \${$as_ac_var+y}
11327 then :
11328 printf %s "(cached) " >&6
11329 else $as_nop
11330 ac_wine_try_cflags_saved=$CFLAGS
11331 ac_wine_try_cflags_saved_exeext=$ac_exeext
11332 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11333 ac_exeext=".exe"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11336 int __cdecl mainCRTStartup(void) { return 0; }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"
11339 then :
11340 eval "$as_ac_var=yes"
11341 else $as_nop
11342 eval "$as_ac_var=no"
11344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11345 conftest$ac_exeext conftest.$ac_ext
11346 CFLAGS=$ac_wine_try_cflags_saved
11347 ac_exeext=$ac_wine_try_cflags_saved_exeext
11349 eval ac_res=\$$as_ac_var
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11351 printf "%s\n" "$ac_res" >&6; }
11352 if eval test \"x\$"$as_ac_var"\" = x"yes"
11353 then :
11354 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11355 fi } ;;
11356 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11358 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11359 if eval test \${$as_ac_var+y}
11360 then :
11361 printf %s "(cached) " >&6
11362 else $as_nop
11363 ac_wine_try_cflags_saved=$CFLAGS
11364 ac_wine_try_cflags_saved_exeext=$ac_exeext
11365 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11366 ac_exeext=".exe"
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369 int __cdecl mainCRTStartup(void) { return 0; }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"
11372 then :
11373 eval "$as_ac_var=yes"
11374 else $as_nop
11375 eval "$as_ac_var=no"
11377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11378 conftest$ac_exeext conftest.$ac_ext
11379 CFLAGS=$ac_wine_try_cflags_saved
11380 ac_exeext=$ac_wine_try_cflags_saved_exeext
11382 eval ac_res=\$$as_ac_var
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11384 printf "%s\n" "$ac_res" >&6; }
11385 if eval test \"x\$"$as_ac_var"\" = x"yes"
11386 then :
11387 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11388 fi }
11389 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11391 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11392 if eval test \${$as_ac_var+y}
11393 then :
11394 printf %s "(cached) " >&6
11395 else $as_nop
11396 ac_wine_try_cflags_saved=$CFLAGS
11397 ac_wine_try_cflags_saved_exeext=$ac_exeext
11398 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11399 ac_exeext=".exe"
11400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11401 /* end confdefs.h. */
11402 int __cdecl mainCRTStartup(void) { return 0; }
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"
11405 then :
11406 eval "$as_ac_var=yes"
11407 else $as_nop
11408 eval "$as_ac_var=no"
11410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11411 conftest$ac_exeext conftest.$ac_ext
11412 CFLAGS=$ac_wine_try_cflags_saved
11413 ac_exeext=$ac_wine_try_cflags_saved_exeext
11415 eval ac_res=\$$as_ac_var
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11417 printf "%s\n" "$ac_res" >&6; }
11418 if eval test \"x\$"$as_ac_var"\" = x"yes"
11419 then :
11420 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11421 fi }
11422 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11424 printf %s "checking whether $CC supports -mcx16... " >&6; }
11425 if eval test \${$as_ac_var+y}
11426 then :
11427 printf %s "(cached) " >&6
11428 else $as_nop
11429 ac_wine_try_cflags_saved=$CFLAGS
11430 ac_wine_try_cflags_saved_exeext=$ac_exeext
11431 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11432 ac_exeext=".exe"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11435 int __cdecl mainCRTStartup(void) { return 0; }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"
11438 then :
11439 eval "$as_ac_var=yes"
11440 else $as_nop
11441 eval "$as_ac_var=no"
11443 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11444 conftest$ac_exeext conftest.$ac_ext
11445 CFLAGS=$ac_wine_try_cflags_saved
11446 ac_exeext=$ac_wine_try_cflags_saved_exeext
11448 eval ac_res=\$$as_ac_var
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11450 printf "%s\n" "$ac_res" >&6; }
11451 if eval test \"x\$"$as_ac_var"\" = x"yes"
11452 then :
11453 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11454 fi }
11455 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11457 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11458 if eval test \${$as_ac_var+y}
11459 then :
11460 printf %s "(cached) " >&6
11461 else $as_nop
11462 ac_wine_try_cflags_saved=$CFLAGS
11463 ac_wine_try_cflags_saved_exeext=$ac_exeext
11464 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11465 ac_exeext=".exe"
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11468 int __cdecl mainCRTStartup(void) { return 0; }
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"
11471 then :
11472 eval "$as_ac_var=yes"
11473 else $as_nop
11474 eval "$as_ac_var=no"
11476 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11477 conftest$ac_exeext conftest.$ac_ext
11478 CFLAGS=$ac_wine_try_cflags_saved
11479 ac_exeext=$ac_wine_try_cflags_saved_exeext
11481 eval ac_res=\$$as_ac_var
11482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11483 printf "%s\n" "$ac_res" >&6; }
11484 if eval test \"x\$"$as_ac_var"\" = x"yes"
11485 then :
11486 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11487 fi } ;;
11488 esac
11490 wine_crossdebug=$CROSSDEBUG
11491 if test -z "$wine_crossdebug"
11492 then
11493 for ac_flag in $CFLAGS; do
11494 case $ac_flag in
11495 -gdwarf*) wine_crossdebug=dwarf ;;
11496 -gcodeview) wine_crossdebug=pdb ;;
11497 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11498 esac
11499 done
11502 ac_debug_format_seen=""
11503 for ac_flag in $CFLAGS; do
11504 case $ac_flag in
11505 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11506 esac
11507 done
11508 if test "x$ac_debug_format_seen" = x
11509 then
11510 case $wine_crossdebug in
11511 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11513 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11514 if eval test \${$as_ac_var+y}
11515 then :
11516 printf %s "(cached) " >&6
11517 else $as_nop
11518 ac_wine_try_cflags_saved=$CFLAGS
11519 ac_wine_try_cflags_saved_exeext=$ac_exeext
11520 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11521 ac_exeext=".exe"
11522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11524 int __cdecl mainCRTStartup(void) { return 0; }
11525 _ACEOF
11526 if ac_fn_c_try_link "$LINENO"
11527 then :
11528 eval "$as_ac_var=yes"
11529 else $as_nop
11530 eval "$as_ac_var=no"
11532 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11533 conftest$ac_exeext conftest.$ac_ext
11534 CFLAGS=$ac_wine_try_cflags_saved
11535 ac_exeext=$ac_wine_try_cflags_saved_exeext
11537 eval ac_res=\$$as_ac_var
11538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11539 printf "%s\n" "$ac_res" >&6; }
11540 if eval test \"x\$"$as_ac_var"\" = x"yes"
11541 then :
11542 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11543 fi } ;;
11544 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11546 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11547 if eval test \${$as_ac_var+y}
11548 then :
11549 printf %s "(cached) " >&6
11550 else $as_nop
11551 ac_wine_try_cflags_saved=$CFLAGS
11552 ac_wine_try_cflags_saved_exeext=$ac_exeext
11553 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11554 ac_exeext=".exe"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11557 int __cdecl mainCRTStartup(void) { return 0; }
11558 _ACEOF
11559 if ac_fn_c_try_link "$LINENO"
11560 then :
11561 eval "$as_ac_var=yes"
11562 else $as_nop
11563 eval "$as_ac_var=no"
11565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11566 conftest$ac_exeext conftest.$ac_ext
11567 CFLAGS=$ac_wine_try_cflags_saved
11568 ac_exeext=$ac_wine_try_cflags_saved_exeext
11570 eval ac_res=\$$as_ac_var
11571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11572 printf "%s\n" "$ac_res" >&6; }
11573 if eval test \"x\$"$as_ac_var"\" = x"yes"
11574 then :
11575 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11576 fi } ;;
11577 esac
11579 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11581 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11583 printf %s "checking whether $CC supports -Werror... " >&6; }
11584 if eval test \${$as_ac_var+y}
11585 then :
11586 printf %s "(cached) " >&6
11587 else $as_nop
11588 ac_wine_try_cflags_saved=$CFLAGS
11589 ac_wine_try_cflags_saved_exeext=$ac_exeext
11590 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11591 ac_exeext=".exe"
11592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593 /* end confdefs.h. */
11594 int __cdecl mainCRTStartup(void) { return 0; }
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"
11597 then :
11598 eval "$as_ac_var=yes"
11599 else $as_nop
11600 eval "$as_ac_var=no"
11602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11603 conftest$ac_exeext conftest.$ac_ext
11604 CFLAGS=$ac_wine_try_cflags_saved
11605 ac_exeext=$ac_wine_try_cflags_saved_exeext
11607 eval ac_res=\$$as_ac_var
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11609 printf "%s\n" "$ac_res" >&6; }
11610 if eval test \"x\$"$as_ac_var"\" = x"yes"
11611 then :
11612 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11613 fi }
11614 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11616 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11617 if eval test \${$as_ac_var+y}
11618 then :
11619 printf %s "(cached) " >&6
11620 else $as_nop
11621 ac_wine_try_cflags_saved=$CFLAGS
11622 ac_wine_try_cflags_saved_exeext=$ac_exeext
11623 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11624 ac_exeext=".exe"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11627 int __cdecl mainCRTStartup(void) { return 0; }
11628 _ACEOF
11629 if ac_fn_c_try_link "$LINENO"
11630 then :
11631 eval "$as_ac_var=yes"
11632 else $as_nop
11633 eval "$as_ac_var=no"
11635 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11636 conftest$ac_exeext conftest.$ac_ext
11637 CFLAGS=$ac_wine_try_cflags_saved
11638 ac_exeext=$ac_wine_try_cflags_saved_exeext
11640 eval ac_res=\$$as_ac_var
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11642 printf "%s\n" "$ac_res" >&6; }
11643 if eval test \"x\$"$as_ac_var"\" = x"yes"
11644 then :
11645 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11646 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11647 fi }
11649 CC=$saved_CC
11650 CFLAGS=$saved_CFLAGS
11651 LDFLAGS=$saved_LDFLAGS
11652 done
11654 if test $HOST_ARCH = aarch64
11655 then
11656 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
11657 DLLEXT=""
11661 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11662 then
11663 case "$host_cpu" in
11664 i[3456789]86*)
11665 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11667 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11668 esac
11669 for ac_prog in $ac_prefix_list
11671 # Extract the first word of "$ac_prog", so it can be a program name with args.
11672 set dummy $ac_prog; ac_word=$2
11673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11674 printf %s "checking for $ac_word... " >&6; }
11675 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11676 then :
11677 printf %s "(cached) " >&6
11678 else $as_nop
11679 if test -n "$MINGW_PKG_CONFIG"; then
11680 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11681 else
11682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11683 for as_dir in $PATH
11685 IFS=$as_save_IFS
11686 case $as_dir in #(((
11687 '') as_dir=./ ;;
11688 */) ;;
11689 *) as_dir=$as_dir/ ;;
11690 esac
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11693 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11695 break 2
11697 done
11698 done
11699 IFS=$as_save_IFS
11703 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11704 if test -n "$MINGW_PKG_CONFIG"; then
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11706 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11707 else
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 printf "%s\n" "no" >&6; }
11713 test -n "$MINGW_PKG_CONFIG" && break
11714 done
11715 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11717 if ${FAUDIO_PE_CFLAGS:+false} :
11718 then :
11719 if test ${MINGW_PKG_CONFIG+y}
11720 then :
11721 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11724 if ${FAUDIO_PE_LIBS:+false} :
11725 then :
11726 if test ${MINGW_PKG_CONFIG+y}
11727 then :
11728 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11731 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11732 ac_save_CPPFLAGS=$CPPFLAGS
11733 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11735 printf %s "checking for MinGW FAudio.h... " >&6; }
11736 if test ${ac_cv_mingw_header_FAudio_h+y}
11737 then :
11738 printf %s "(cached) " >&6
11739 else $as_nop
11740 ac_wine_check_headers_saved_cc=$CC
11741 ac_wine_check_headers_saved_exeext=$ac_exeext
11742 eval CC=\$${wine_arch}_CC
11743 ac_exeext=".exe"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 #include <FAudio.h>
11749 main (void)
11753 return 0;
11755 _ACEOF
11756 if ac_fn_c_try_compile "$LINENO"
11757 then :
11758 ac_cv_mingw_header_FAudio_h=yes
11759 else $as_nop
11760 ac_cv_mingw_header_FAudio_h=no
11762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11763 CC=$ac_wine_check_headers_saved_cc
11764 ac_exeext=$ac_wine_check_headers_saved_exeext
11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11767 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11768 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11769 then :
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11771 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11772 if test ${ac_cv_mingw_lib_FAudio+y}
11773 then :
11774 printf %s "(cached) " >&6
11775 else $as_nop
11776 ac_wine_check_headers_saved_cc=$CC
11777 ac_wine_check_headers_saved_exeext=$ac_exeext
11778 ac_wine_check_headers_saved_libs=$LIBS
11779 eval CC=\$${wine_arch}_CC
11780 ac_exeext=".exe"
11781 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11788 char FAudio_CommitOperationSet ();
11790 main (void)
11792 return FAudio_CommitOperationSet ();
11794 return 0;
11796 _ACEOF
11797 if ac_fn_c_try_link "$LINENO"
11798 then :
11799 ac_cv_mingw_lib_FAudio=yes
11800 else $as_nop
11801 ac_cv_mingw_lib_FAudio=no
11803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11804 conftest$ac_exeext conftest.$ac_ext
11805 CC=$ac_wine_check_headers_saved_cc
11806 ac_exeext=$ac_wine_check_headers_saved_exeext
11807 LIBS=$ac_wine_check_headers_saved_libs
11809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11810 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11811 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11812 then :
11814 else $as_nop
11815 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11817 else $as_nop
11818 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11820 CPPFLAGS=$ac_save_CPPFLAGS
11822 if test "x$FAUDIO_PE_LIBS" = "x"
11823 then
11824 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11827 if ${JPEG_PE_CFLAGS:+false} :
11828 then :
11829 if test ${MINGW_PKG_CONFIG+y}
11830 then :
11831 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11834 if ${JPEG_PE_LIBS:+false} :
11835 then :
11836 if test ${MINGW_PKG_CONFIG+y}
11837 then :
11838 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11842 ac_save_CPPFLAGS=$CPPFLAGS
11843 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11845 printf %s "checking for MinGW jpeglib.h... " >&6; }
11846 if test ${ac_cv_mingw_header_jpeglib_h+y}
11847 then :
11848 printf %s "(cached) " >&6
11849 else $as_nop
11850 ac_wine_check_headers_saved_cc=$CC
11851 ac_wine_check_headers_saved_exeext=$ac_exeext
11852 eval CC=\$${wine_arch}_CC
11853 ac_exeext=".exe"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11856 #include <stddef.h>
11857 #include <stdio.h>
11858 #include <jpeglib.h>
11860 main (void)
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_compile "$LINENO"
11868 then :
11869 ac_cv_mingw_header_jpeglib_h=yes
11870 else $as_nop
11871 ac_cv_mingw_header_jpeglib_h=no
11873 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11874 CC=$ac_wine_check_headers_saved_cc
11875 ac_exeext=$ac_wine_check_headers_saved_exeext
11877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11878 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11879 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11880 then :
11881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11882 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11883 if test ${ac_cv_mingw_lib_jpeg+y}
11884 then :
11885 printf %s "(cached) " >&6
11886 else $as_nop
11887 ac_wine_check_headers_saved_cc=$CC
11888 ac_wine_check_headers_saved_exeext=$ac_exeext
11889 ac_wine_check_headers_saved_libs=$LIBS
11890 eval CC=\$${wine_arch}_CC
11891 ac_exeext=".exe"
11892 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 char jpeg_start_decompress ();
11901 main (void)
11903 return jpeg_start_decompress ();
11905 return 0;
11907 _ACEOF
11908 if ac_fn_c_try_link "$LINENO"
11909 then :
11910 ac_cv_mingw_lib_jpeg=yes
11911 else $as_nop
11912 ac_cv_mingw_lib_jpeg=no
11914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11915 conftest$ac_exeext conftest.$ac_ext
11916 CC=$ac_wine_check_headers_saved_cc
11917 ac_exeext=$ac_wine_check_headers_saved_exeext
11918 LIBS=$ac_wine_check_headers_saved_libs
11920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11921 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11922 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11923 then :
11925 else $as_nop
11926 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11928 else $as_nop
11929 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11931 CPPFLAGS=$ac_save_CPPFLAGS
11933 if test "x$JPEG_PE_LIBS" = "x"
11934 then
11935 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11938 if ${LCMS2_PE_CFLAGS:+false} :
11939 then :
11940 if test ${MINGW_PKG_CONFIG+y}
11941 then :
11942 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11945 if ${LCMS2_PE_LIBS:+false} :
11946 then :
11947 if test ${MINGW_PKG_CONFIG+y}
11948 then :
11949 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11952 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11953 ac_save_CPPFLAGS=$CPPFLAGS
11954 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11956 printf %s "checking for MinGW lcms2.h... " >&6; }
11957 if test ${ac_cv_mingw_header_lcms2_h+y}
11958 then :
11959 printf %s "(cached) " >&6
11960 else $as_nop
11961 ac_wine_check_headers_saved_cc=$CC
11962 ac_wine_check_headers_saved_exeext=$ac_exeext
11963 eval CC=\$${wine_arch}_CC
11964 ac_exeext=".exe"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 #include <lcms2.h>
11970 main (void)
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_compile "$LINENO"
11978 then :
11979 ac_cv_mingw_header_lcms2_h=yes
11980 else $as_nop
11981 ac_cv_mingw_header_lcms2_h=no
11983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11984 CC=$ac_wine_check_headers_saved_cc
11985 ac_exeext=$ac_wine_check_headers_saved_exeext
11987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11988 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11989 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11990 then :
11991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11992 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11993 if test ${ac_cv_mingw_lib_lcms2+y}
11994 then :
11995 printf %s "(cached) " >&6
11996 else $as_nop
11997 ac_wine_check_headers_saved_cc=$CC
11998 ac_wine_check_headers_saved_exeext=$ac_exeext
11999 ac_wine_check_headers_saved_libs=$LIBS
12000 eval CC=\$${wine_arch}_CC
12001 ac_exeext=".exe"
12002 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 char cmsOpenProfileFromFile ();
12011 main (void)
12013 return cmsOpenProfileFromFile ();
12015 return 0;
12017 _ACEOF
12018 if ac_fn_c_try_link "$LINENO"
12019 then :
12020 ac_cv_mingw_lib_lcms2=yes
12021 else $as_nop
12022 ac_cv_mingw_lib_lcms2=no
12024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12025 conftest$ac_exeext conftest.$ac_ext
12026 CC=$ac_wine_check_headers_saved_cc
12027 ac_exeext=$ac_wine_check_headers_saved_exeext
12028 LIBS=$ac_wine_check_headers_saved_libs
12030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12031 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12032 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12033 then :
12035 else $as_nop
12036 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12038 else $as_nop
12039 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12041 CPPFLAGS=$ac_save_CPPFLAGS
12043 if test "x$LCMS2_PE_LIBS" = "x"
12044 then
12045 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12048 if ${MPG123_PE_CFLAGS:+false} :
12049 then :
12050 if test ${MINGW_PKG_CONFIG+y}
12051 then :
12052 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12055 if ${MPG123_PE_LIBS:+false} :
12056 then :
12057 if test ${MINGW_PKG_CONFIG+y}
12058 then :
12059 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12062 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12063 ac_save_CPPFLAGS=$CPPFLAGS
12064 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12066 printf %s "checking for MinGW mpg123.h... " >&6; }
12067 if test ${ac_cv_mingw_header_mpg123_h+y}
12068 then :
12069 printf %s "(cached) " >&6
12070 else $as_nop
12071 ac_wine_check_headers_saved_cc=$CC
12072 ac_wine_check_headers_saved_exeext=$ac_exeext
12073 eval CC=\$${wine_arch}_CC
12074 ac_exeext=".exe"
12075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076 /* end confdefs.h. */
12078 #include <mpg123.h>
12080 main (void)
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_compile "$LINENO"
12088 then :
12089 ac_cv_mingw_header_mpg123_h=yes
12090 else $as_nop
12091 ac_cv_mingw_header_mpg123_h=no
12093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12094 CC=$ac_wine_check_headers_saved_cc
12095 ac_exeext=$ac_wine_check_headers_saved_exeext
12097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12098 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12099 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12100 then :
12101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12102 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12103 if test ${ac_cv_mingw_lib_mpg123+y}
12104 then :
12105 printf %s "(cached) " >&6
12106 else $as_nop
12107 ac_wine_check_headers_saved_cc=$CC
12108 ac_wine_check_headers_saved_exeext=$ac_exeext
12109 ac_wine_check_headers_saved_libs=$LIBS
12110 eval CC=\$${wine_arch}_CC
12111 ac_exeext=".exe"
12112 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12116 /* Override any GCC internal prototype to avoid an error.
12117 Use char because int might match the return type of a GCC
12118 builtin and then its argument prototype would still apply. */
12119 char mpg123_feed ();
12121 main (void)
12123 return mpg123_feed ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"
12129 then :
12130 ac_cv_mingw_lib_mpg123=yes
12131 else $as_nop
12132 ac_cv_mingw_lib_mpg123=no
12134 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12135 conftest$ac_exeext conftest.$ac_ext
12136 CC=$ac_wine_check_headers_saved_cc
12137 ac_exeext=$ac_wine_check_headers_saved_exeext
12138 LIBS=$ac_wine_check_headers_saved_libs
12140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12141 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12142 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12143 then :
12145 else $as_nop
12146 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12148 else $as_nop
12149 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12151 CPPFLAGS=$ac_save_CPPFLAGS
12153 if test "x$MPG123_PE_LIBS" = "x"
12154 then
12155 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12158 if ${PNG_PE_CFLAGS:+false} :
12159 then :
12160 if test ${MINGW_PKG_CONFIG+y}
12161 then :
12162 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12165 if ${PNG_PE_LIBS:+false} :
12166 then :
12167 if test ${MINGW_PKG_CONFIG+y}
12168 then :
12169 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12173 ac_save_CPPFLAGS=$CPPFLAGS
12174 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12176 printf %s "checking for MinGW png.h... " >&6; }
12177 if test ${ac_cv_mingw_header_png_h+y}
12178 then :
12179 printf %s "(cached) " >&6
12180 else $as_nop
12181 ac_wine_check_headers_saved_cc=$CC
12182 ac_wine_check_headers_saved_exeext=$ac_exeext
12183 eval CC=\$${wine_arch}_CC
12184 ac_exeext=".exe"
12185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12188 #include <png.h>
12190 main (void)
12194 return 0;
12196 _ACEOF
12197 if ac_fn_c_try_compile "$LINENO"
12198 then :
12199 ac_cv_mingw_header_png_h=yes
12200 else $as_nop
12201 ac_cv_mingw_header_png_h=no
12203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12204 CC=$ac_wine_check_headers_saved_cc
12205 ac_exeext=$ac_wine_check_headers_saved_exeext
12207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12208 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12209 if test "x$ac_cv_mingw_header_png_h" = xyes
12210 then :
12211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12212 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12213 if test ${ac_cv_mingw_lib_png+y}
12214 then :
12215 printf %s "(cached) " >&6
12216 else $as_nop
12217 ac_wine_check_headers_saved_cc=$CC
12218 ac_wine_check_headers_saved_exeext=$ac_exeext
12219 ac_wine_check_headers_saved_libs=$LIBS
12220 eval CC=\$${wine_arch}_CC
12221 ac_exeext=".exe"
12222 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12229 char png_create_read_struct ();
12231 main (void)
12233 return png_create_read_struct ();
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_link "$LINENO"
12239 then :
12240 ac_cv_mingw_lib_png=yes
12241 else $as_nop
12242 ac_cv_mingw_lib_png=no
12244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12245 conftest$ac_exeext conftest.$ac_ext
12246 CC=$ac_wine_check_headers_saved_cc
12247 ac_exeext=$ac_wine_check_headers_saved_exeext
12248 LIBS=$ac_wine_check_headers_saved_libs
12250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12251 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12252 if test "x$ac_cv_mingw_lib_png" = xyes
12253 then :
12255 else $as_nop
12256 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12258 else $as_nop
12259 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12261 CPPFLAGS=$ac_save_CPPFLAGS
12263 if test "x$PNG_PE_LIBS" = "x"
12264 then
12265 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12268 if ${TIFF_PE_CFLAGS:+false} :
12269 then :
12270 if test ${MINGW_PKG_CONFIG+y}
12271 then :
12272 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12275 if ${TIFF_PE_LIBS:+false} :
12276 then :
12277 if test ${MINGW_PKG_CONFIG+y}
12278 then :
12279 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12283 ac_save_CPPFLAGS=$CPPFLAGS
12284 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12286 printf %s "checking for MinGW tiffio.h... " >&6; }
12287 if test ${ac_cv_mingw_header_tiffio_h+y}
12288 then :
12289 printf %s "(cached) " >&6
12290 else $as_nop
12291 ac_wine_check_headers_saved_cc=$CC
12292 ac_wine_check_headers_saved_exeext=$ac_exeext
12293 eval CC=\$${wine_arch}_CC
12294 ac_exeext=".exe"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 #include <tiffio.h>
12300 main (void)
12304 return 0;
12306 _ACEOF
12307 if ac_fn_c_try_compile "$LINENO"
12308 then :
12309 ac_cv_mingw_header_tiffio_h=yes
12310 else $as_nop
12311 ac_cv_mingw_header_tiffio_h=no
12313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12314 CC=$ac_wine_check_headers_saved_cc
12315 ac_exeext=$ac_wine_check_headers_saved_exeext
12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12318 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12319 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12320 then :
12321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12322 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12323 if test ${ac_cv_mingw_lib_tiff+y}
12324 then :
12325 printf %s "(cached) " >&6
12326 else $as_nop
12327 ac_wine_check_headers_saved_cc=$CC
12328 ac_wine_check_headers_saved_exeext=$ac_exeext
12329 ac_wine_check_headers_saved_libs=$LIBS
12330 eval CC=\$${wine_arch}_CC
12331 ac_exeext=".exe"
12332 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12336 /* Override any GCC internal prototype to avoid an error.
12337 Use char because int might match the return type of a GCC
12338 builtin and then its argument prototype would still apply. */
12339 char TIFFClientOpen ();
12341 main (void)
12343 return TIFFClientOpen ();
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"
12349 then :
12350 ac_cv_mingw_lib_tiff=yes
12351 else $as_nop
12352 ac_cv_mingw_lib_tiff=no
12354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12355 conftest$ac_exeext conftest.$ac_ext
12356 CC=$ac_wine_check_headers_saved_cc
12357 ac_exeext=$ac_wine_check_headers_saved_exeext
12358 LIBS=$ac_wine_check_headers_saved_libs
12360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12361 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12362 if test "x$ac_cv_mingw_lib_tiff" = xyes
12363 then :
12365 else $as_nop
12366 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12368 else $as_nop
12369 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12371 CPPFLAGS=$ac_save_CPPFLAGS
12373 if test "x$TIFF_PE_LIBS" = "x"
12374 then
12375 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12378 if ${XML2_PE_CFLAGS:+false} :
12379 then :
12380 if test ${MINGW_PKG_CONFIG+y}
12381 then :
12382 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12385 if ${XML2_PE_LIBS:+false} :
12386 then :
12387 if test ${MINGW_PKG_CONFIG+y}
12388 then :
12389 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12392 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12393 ac_save_CPPFLAGS=$CPPFLAGS
12394 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12396 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12397 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12398 then :
12399 printf %s "(cached) " >&6
12400 else $as_nop
12401 ac_wine_check_headers_saved_cc=$CC
12402 ac_wine_check_headers_saved_exeext=$ac_exeext
12403 eval CC=\$${wine_arch}_CC
12404 ac_exeext=".exe"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 #include <libxml/parser.h>
12410 main (void)
12414 return 0;
12416 _ACEOF
12417 if ac_fn_c_try_compile "$LINENO"
12418 then :
12419 ac_cv_mingw_header_libxml_parser_h=yes
12420 else $as_nop
12421 ac_cv_mingw_header_libxml_parser_h=no
12423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12424 CC=$ac_wine_check_headers_saved_cc
12425 ac_exeext=$ac_wine_check_headers_saved_exeext
12427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12428 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12429 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12430 then :
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12434 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12435 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12436 then :
12437 printf %s "(cached) " >&6
12438 else $as_nop
12439 ac_wine_check_headers_saved_cc=$CC
12440 ac_wine_check_headers_saved_exeext=$ac_exeext
12441 eval CC=\$${wine_arch}_CC
12442 ac_exeext=".exe"
12443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 #include <libxml/xmlsave.h>
12448 main (void)
12452 return 0;
12454 _ACEOF
12455 if ac_fn_c_try_compile "$LINENO"
12456 then :
12457 ac_cv_mingw_header_libxml_xmlsave_h=yes
12458 else $as_nop
12459 ac_cv_mingw_header_libxml_xmlsave_h=no
12461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12462 CC=$ac_wine_check_headers_saved_cc
12463 ac_exeext=$ac_wine_check_headers_saved_exeext
12465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12466 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12467 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12468 then :
12471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12472 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12473 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12474 then :
12475 printf %s "(cached) " >&6
12476 else $as_nop
12477 ac_wine_check_headers_saved_cc=$CC
12478 ac_wine_check_headers_saved_exeext=$ac_exeext
12479 eval CC=\$${wine_arch}_CC
12480 ac_exeext=".exe"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 #include <libxml/SAX2.h>
12486 main (void)
12490 return 0;
12492 _ACEOF
12493 if ac_fn_c_try_compile "$LINENO"
12494 then :
12495 ac_cv_mingw_header_libxml_SAX2_h=yes
12496 else $as_nop
12497 ac_cv_mingw_header_libxml_SAX2_h=no
12499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12500 CC=$ac_wine_check_headers_saved_cc
12501 ac_exeext=$ac_wine_check_headers_saved_exeext
12503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12504 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12505 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12506 then :
12509 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"
12510 then
12511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12512 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12513 if test ${ac_cv_mingw_lib_xml2+y}
12514 then :
12515 printf %s "(cached) " >&6
12516 else $as_nop
12517 ac_wine_check_headers_saved_cc=$CC
12518 ac_wine_check_headers_saved_exeext=$ac_exeext
12519 ac_wine_check_headers_saved_libs=$LIBS
12520 eval CC=\$${wine_arch}_CC
12521 ac_exeext=".exe"
12522 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12529 char xmlFirstElementChild ();
12531 main (void)
12533 return xmlFirstElementChild ();
12535 return 0;
12537 _ACEOF
12538 if ac_fn_c_try_link "$LINENO"
12539 then :
12540 ac_cv_mingw_lib_xml2=yes
12541 else $as_nop
12542 ac_cv_mingw_lib_xml2=no
12544 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12545 conftest$ac_exeext conftest.$ac_ext
12546 CC=$ac_wine_check_headers_saved_cc
12547 ac_exeext=$ac_wine_check_headers_saved_exeext
12548 LIBS=$ac_wine_check_headers_saved_libs
12550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12551 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12552 if test "x$ac_cv_mingw_lib_xml2" = xyes
12553 then :
12555 else $as_nop
12556 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12558 else
12559 XML2_PE_CFLAGS=""
12560 XML2_PE_LIBS=""
12562 CPPFLAGS=$ac_save_CPPFLAGS
12564 if test "x$XML2_PE_LIBS" = "x"
12565 then
12566 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12569 if ${XSLT_PE_CFLAGS:+false} :
12570 then :
12571 if test ${MINGW_PKG_CONFIG+y}
12572 then :
12573 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12576 if ${XSLT_PE_LIBS:+false} :
12577 then :
12578 if test ${MINGW_PKG_CONFIG+y}
12579 then :
12580 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12583 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12584 ac_save_CPPFLAGS=$CPPFLAGS
12585 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12587 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12588 if test ${ac_cv_mingw_header_libxslt_pattern_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 <libxslt/pattern.h>
12601 main (void)
12605 return 0;
12607 _ACEOF
12608 if ac_fn_c_try_compile "$LINENO"
12609 then :
12610 ac_cv_mingw_header_libxslt_pattern_h=yes
12611 else $as_nop
12612 ac_cv_mingw_header_libxslt_pattern_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_libxslt_pattern_h" >&5
12619 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12620 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12621 then :
12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12625 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12626 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12627 then :
12628 printf %s "(cached) " >&6
12629 else $as_nop
12630 ac_wine_check_headers_saved_cc=$CC
12631 ac_wine_check_headers_saved_exeext=$ac_exeext
12632 eval CC=\$${wine_arch}_CC
12633 ac_exeext=".exe"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 #include <libxslt/transform.h>
12639 main (void)
12643 return 0;
12645 _ACEOF
12646 if ac_fn_c_try_compile "$LINENO"
12647 then :
12648 ac_cv_mingw_header_libxslt_transform_h=yes
12649 else $as_nop
12650 ac_cv_mingw_header_libxslt_transform_h=no
12652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12653 CC=$ac_wine_check_headers_saved_cc
12654 ac_exeext=$ac_wine_check_headers_saved_exeext
12656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12657 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12658 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12659 then :
12662 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12663 then
12664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12665 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12666 if test ${ac_cv_mingw_lib_xslt+y}
12667 then :
12668 printf %s "(cached) " >&6
12669 else $as_nop
12670 ac_wine_check_headers_saved_cc=$CC
12671 ac_wine_check_headers_saved_exeext=$ac_exeext
12672 ac_wine_check_headers_saved_libs=$LIBS
12673 eval CC=\$${wine_arch}_CC
12674 ac_exeext=".exe"
12675 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12682 char xsltCompilePattern ();
12684 main (void)
12686 return xsltCompilePattern ();
12688 return 0;
12690 _ACEOF
12691 if ac_fn_c_try_link "$LINENO"
12692 then :
12693 ac_cv_mingw_lib_xslt=yes
12694 else $as_nop
12695 ac_cv_mingw_lib_xslt=no
12697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12698 conftest$ac_exeext conftest.$ac_ext
12699 CC=$ac_wine_check_headers_saved_cc
12700 ac_exeext=$ac_wine_check_headers_saved_exeext
12701 LIBS=$ac_wine_check_headers_saved_libs
12703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12704 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12705 if test "x$ac_cv_mingw_lib_xslt" = xyes
12706 then :
12708 else $as_nop
12709 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12711 else
12712 XSLT_PE_CFLAGS=""
12713 XSLT_PE_LIBS=""
12715 CPPFLAGS=$ac_save_CPPFLAGS
12717 if test "x$XSLT_PE_LIBS" = "x"
12718 then
12719 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12722 if ${VKD3D_PE_CFLAGS:+false} :
12723 then :
12724 if test ${MINGW_PKG_CONFIG+y}
12725 then :
12726 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12729 if ${VKD3D_PE_LIBS:+false} :
12730 then :
12731 if test ${MINGW_PKG_CONFIG+y}
12732 then :
12733 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12736 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12737 ac_save_CPPFLAGS=$CPPFLAGS
12738 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12740 printf %s "checking for MinGW vkd3d.h... " >&6; }
12741 if test ${ac_cv_mingw_header_vkd3d_h+y}
12742 then :
12743 printf %s "(cached) " >&6
12744 else $as_nop
12745 ac_wine_check_headers_saved_cc=$CC
12746 ac_wine_check_headers_saved_exeext=$ac_exeext
12747 eval CC=\$${wine_arch}_CC
12748 ac_exeext=".exe"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 #include <vkd3d.h>
12754 main (void)
12758 return 0;
12760 _ACEOF
12761 if ac_fn_c_try_compile "$LINENO"
12762 then :
12763 ac_cv_mingw_header_vkd3d_h=yes
12764 else $as_nop
12765 ac_cv_mingw_header_vkd3d_h=no
12767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12768 CC=$ac_wine_check_headers_saved_cc
12769 ac_exeext=$ac_wine_check_headers_saved_exeext
12771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12772 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12773 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12774 then :
12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12778 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12779 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12780 then :
12781 printf %s "(cached) " >&6
12782 else $as_nop
12783 ac_wine_check_headers_saved_cc=$CC
12784 ac_wine_check_headers_saved_exeext=$ac_exeext
12785 eval CC=\$${wine_arch}_CC
12786 ac_exeext=".exe"
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 #include <vkd3d_shader.h>
12792 main (void)
12796 return 0;
12798 _ACEOF
12799 if ac_fn_c_try_compile "$LINENO"
12800 then :
12801 ac_cv_mingw_header_vkd3d_shader_h=yes
12802 else $as_nop
12803 ac_cv_mingw_header_vkd3d_shader_h=no
12805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12806 CC=$ac_wine_check_headers_saved_cc
12807 ac_exeext=$ac_wine_check_headers_saved_exeext
12809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12810 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12811 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12812 then :
12815 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12816 then
12817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12818 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12819 if test ${ac_cv_mingw_lib_vkd3d+y}
12820 then :
12821 printf %s "(cached) " >&6
12822 else $as_nop
12823 ac_wine_check_headers_saved_cc=$CC
12824 ac_wine_check_headers_saved_exeext=$ac_exeext
12825 ac_wine_check_headers_saved_libs=$LIBS
12826 eval CC=\$${wine_arch}_CC
12827 ac_exeext=".exe"
12828 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 /* Override any GCC internal prototype to avoid an error.
12833 Use char because int might match the return type of a GCC
12834 builtin and then its argument prototype would still apply. */
12835 char vkd3d_set_log_callback ();
12837 main (void)
12839 return vkd3d_set_log_callback ();
12841 return 0;
12843 _ACEOF
12844 if ac_fn_c_try_link "$LINENO"
12845 then :
12846 ac_cv_mingw_lib_vkd3d=yes
12847 else $as_nop
12848 ac_cv_mingw_lib_vkd3d=no
12850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12851 conftest$ac_exeext conftest.$ac_ext
12852 CC=$ac_wine_check_headers_saved_cc
12853 ac_exeext=$ac_wine_check_headers_saved_exeext
12854 LIBS=$ac_wine_check_headers_saved_libs
12856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12857 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12858 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12859 then :
12861 else $as_nop
12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12865 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12866 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12867 then :
12868 printf %s "(cached) " >&6
12869 else $as_nop
12870 ac_wine_check_headers_saved_cc=$CC
12871 ac_wine_check_headers_saved_exeext=$ac_exeext
12872 ac_wine_check_headers_saved_libs=$LIBS
12873 eval CC=\$${wine_arch}_CC
12874 ac_exeext=".exe"
12875 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12877 /* end confdefs.h. */
12879 /* Override any GCC internal prototype to avoid an error.
12880 Use char because int might match the return type of a GCC
12881 builtin and then its argument prototype would still apply. */
12882 char vkd3d_shader_serialize_dxbc ();
12884 main (void)
12886 return vkd3d_shader_serialize_dxbc ();
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_link "$LINENO"
12892 then :
12893 ac_cv_mingw_lib_vkd3d_shader=yes
12894 else $as_nop
12895 ac_cv_mingw_lib_vkd3d_shader=no
12897 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12898 conftest$ac_exeext conftest.$ac_ext
12899 CC=$ac_wine_check_headers_saved_cc
12900 ac_exeext=$ac_wine_check_headers_saved_exeext
12901 LIBS=$ac_wine_check_headers_saved_libs
12903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12904 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12905 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12906 then :
12908 else $as_nop
12911 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12912 then
12913 VKD3D_PE_CFLAGS=""
12914 VKD3D_PE_LIBS=""
12916 else
12917 VKD3D_PE_CFLAGS=""
12918 VKD3D_PE_LIBS=""
12920 CPPFLAGS=$ac_save_CPPFLAGS
12922 if test "x$VKD3D_PE_LIBS" = "x"
12923 then
12924 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12927 if ${ZLIB_PE_CFLAGS:+false} :
12928 then :
12929 if test ${MINGW_PKG_CONFIG+y}
12930 then :
12931 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12934 if ${ZLIB_PE_LIBS:+false} :
12935 then :
12936 if test ${MINGW_PKG_CONFIG+y}
12937 then :
12938 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12941 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12942 ac_save_CPPFLAGS=$CPPFLAGS
12943 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12945 printf %s "checking for MinGW zlib.h... " >&6; }
12946 if test ${ac_cv_mingw_header_zlib_h+y}
12947 then :
12948 printf %s "(cached) " >&6
12949 else $as_nop
12950 ac_wine_check_headers_saved_cc=$CC
12951 ac_wine_check_headers_saved_exeext=$ac_exeext
12952 eval CC=\$${wine_arch}_CC
12953 ac_exeext=".exe"
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12957 #include <zlib.h>
12959 main (void)
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_compile "$LINENO"
12967 then :
12968 ac_cv_mingw_header_zlib_h=yes
12969 else $as_nop
12970 ac_cv_mingw_header_zlib_h=no
12972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12973 CC=$ac_wine_check_headers_saved_cc
12974 ac_exeext=$ac_wine_check_headers_saved_exeext
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12977 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12978 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12979 then :
12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12981 printf %s "checking for inflate in MinGW -lz... " >&6; }
12982 if test ${ac_cv_mingw_lib_z+y}
12983 then :
12984 printf %s "(cached) " >&6
12985 else $as_nop
12986 ac_wine_check_headers_saved_cc=$CC
12987 ac_wine_check_headers_saved_exeext=$ac_exeext
12988 ac_wine_check_headers_saved_libs=$LIBS
12989 eval CC=\$${wine_arch}_CC
12990 ac_exeext=".exe"
12991 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12993 /* end confdefs.h. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
12998 char inflate ();
13000 main (void)
13002 return inflate ();
13004 return 0;
13006 _ACEOF
13007 if ac_fn_c_try_link "$LINENO"
13008 then :
13009 ac_cv_mingw_lib_z=yes
13010 else $as_nop
13011 ac_cv_mingw_lib_z=no
13013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13014 conftest$ac_exeext conftest.$ac_ext
13015 CC=$ac_wine_check_headers_saved_cc
13016 ac_exeext=$ac_wine_check_headers_saved_exeext
13017 LIBS=$ac_wine_check_headers_saved_libs
13019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13020 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13021 if test "x$ac_cv_mingw_lib_z" = xyes
13022 then :
13024 else $as_nop
13025 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13027 else $as_nop
13028 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13030 CPPFLAGS=$ac_save_CPPFLAGS
13032 if test "x$ZLIB_PE_LIBS" = "x"
13033 then
13034 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13038 if ${FAUDIO_PE_LIBS:+false} :
13039 then :
13040 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13041 if ${FAUDIO_PE_CFLAGS:+false} :
13042 then :
13043 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13044 else $as_nop
13045 enable_faudio=no
13047 else $as_nop
13048 enable_faudio=no
13050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13053 if ${GSM_PE_LIBS:+false} :
13054 then :
13055 GSM_PE_LIBS=gsm
13056 if ${GSM_PE_CFLAGS:+false} :
13057 then :
13058 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13059 else $as_nop
13060 enable_gsm=no
13062 else $as_nop
13063 enable_gsm=no
13065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13068 if ${JPEG_PE_LIBS:+false} :
13069 then :
13070 JPEG_PE_LIBS=jpeg
13071 if ${JPEG_PE_CFLAGS:+false} :
13072 then :
13073 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13074 else $as_nop
13075 enable_jpeg=no
13077 else $as_nop
13078 enable_jpeg=no
13080 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13083 if ${JXR_PE_LIBS:+false} :
13084 then :
13085 JXR_PE_LIBS=jxr
13086 if ${JXR_PE_CFLAGS:+false} :
13087 then :
13088 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13089 else $as_nop
13090 enable_jxr=no
13092 else $as_nop
13093 enable_jxr=no
13095 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13098 if ${LCMS2_PE_LIBS:+false} :
13099 then :
13100 LCMS2_PE_LIBS=lcms2
13101 if ${LCMS2_PE_CFLAGS:+false} :
13102 then :
13103 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13104 else $as_nop
13105 enable_lcms2=no
13107 else $as_nop
13108 enable_lcms2=no
13110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13113 if ${LDAP_PE_LIBS:+false} :
13114 then :
13115 LDAP_PE_LIBS=ldap
13116 if ${LDAP_PE_CFLAGS:+false} :
13117 then :
13118 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13119 else $as_nop
13120 enable_ldap=no
13122 else $as_nop
13123 enable_ldap=no
13125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13128 if ${MPG123_PE_LIBS:+false} :
13129 then :
13130 MPG123_PE_LIBS=mpg123
13131 if ${MPG123_PE_CFLAGS:+false} :
13132 then :
13133 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13134 else $as_nop
13135 enable_mpg123=no
13137 else $as_nop
13138 enable_mpg123=no
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13143 if ${MUSL_PE_LIBS:+false} :
13144 then :
13145 MUSL_PE_LIBS=musl
13146 if ${MUSL_PE_CFLAGS:+false} :
13147 then :
13148 MUSL_PE_CFLAGS=
13149 else $as_nop
13150 enable_musl=no
13152 else $as_nop
13153 enable_musl=no
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13158 if ${PNG_PE_LIBS:+false} :
13159 then :
13160 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13161 if ${PNG_PE_CFLAGS:+false} :
13162 then :
13163 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13164 else $as_nop
13165 enable_png=no
13167 else $as_nop
13168 enable_png=no
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13173 if ${TIFF_PE_LIBS:+false} :
13174 then :
13175 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13176 if ${TIFF_PE_CFLAGS:+false} :
13177 then :
13178 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13179 else $as_nop
13180 enable_tiff=no
13182 else $as_nop
13183 enable_tiff=no
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13188 if ${VKD3D_PE_LIBS:+false} :
13189 then :
13190 VKD3D_PE_LIBS=vkd3d
13191 if ${VKD3D_PE_CFLAGS:+false} :
13192 then :
13193 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13194 else $as_nop
13195 enable_vkd3d=no
13197 else $as_nop
13198 enable_vkd3d=no
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13203 if ${XML2_PE_LIBS:+false} :
13204 then :
13205 XML2_PE_LIBS=xml2
13206 if ${XML2_PE_CFLAGS:+false} :
13207 then :
13208 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13209 else $as_nop
13210 enable_xml2=no
13212 else $as_nop
13213 enable_xml2=no
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13218 if ${XSLT_PE_LIBS:+false} :
13219 then :
13220 XSLT_PE_LIBS=xslt
13221 if ${XSLT_PE_CFLAGS:+false} :
13222 then :
13223 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13224 else $as_nop
13225 enable_xslt=no
13227 else $as_nop
13228 enable_xslt=no
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13233 if ${ZLIB_PE_LIBS:+false} :
13234 then :
13235 ZLIB_PE_LIBS=z
13236 if ${ZLIB_PE_CFLAGS:+false} :
13237 then :
13238 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13239 else $as_nop
13240 enable_zlib=no
13242 else $as_nop
13243 enable_zlib=no
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13248 if ${ZYDIS_PE_LIBS:+false} :
13249 then :
13250 ZYDIS_PE_LIBS=zydis
13251 if ${ZYDIS_PE_CFLAGS:+false} :
13252 then :
13253 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13254 else $as_nop
13255 enable_zydis=no
13257 else $as_nop
13258 enable_zydis=no
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13265 if test "$ac_cv_header_pthread_h" = "yes"
13266 then
13267 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13268 if test "x$ac_cv_func_pthread_create" = xyes
13269 then :
13271 else $as_nop
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13273 printf %s "checking for pthread_create in -lpthread... " >&6; }
13274 if test ${ac_cv_lib_pthread_pthread_create+y}
13275 then :
13276 printf %s "(cached) " >&6
13277 else $as_nop
13278 ac_check_lib_save_LIBS=$LIBS
13279 LIBS="-lpthread $LIBS"
13280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13281 /* end confdefs.h. */
13283 /* Override any GCC internal prototype to avoid an error.
13284 Use char because int might match the return type of a GCC
13285 builtin and then its argument prototype would still apply. */
13286 char pthread_create ();
13288 main (void)
13290 return pthread_create ();
13292 return 0;
13294 _ACEOF
13295 if ac_fn_c_try_link "$LINENO"
13296 then :
13297 ac_cv_lib_pthread_pthread_create=yes
13298 else $as_nop
13299 ac_cv_lib_pthread_pthread_create=no
13301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_lib_save_LIBS
13305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13306 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13307 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13308 then :
13309 PTHREAD_LIBS="-lpthread"
13316 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13317 then :
13318 case "x$with_pthread" in
13319 xno) ;;
13320 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13321 Wine cannot support threads without libpthread.
13322 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13323 esac
13328 ac_ext=c
13329 ac_cpp='$CPP $CPPFLAGS'
13330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13334 printf %s "checking how to run the C preprocessor... " >&6; }
13335 # On Suns, sometimes $CPP names a directory.
13336 if test -n "$CPP" && test -d "$CPP"; then
13337 CPP=
13339 if test -z "$CPP"; then
13340 if test ${ac_cv_prog_CPP+y}
13341 then :
13342 printf %s "(cached) " >&6
13343 else $as_nop
13344 # Double quotes because $CC needs to be expanded
13345 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13347 ac_preproc_ok=false
13348 for ac_c_preproc_warn_flag in '' yes
13350 # Use a header file that comes with gcc, so configuring glibc
13351 # with a fresh cross-compiler works.
13352 # On the NeXT, cc -E runs the code through the compiler's parser,
13353 # not just through cpp. "Syntax error" is here to catch this case.
13354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13355 /* end confdefs.h. */
13356 #include <limits.h>
13357 Syntax error
13358 _ACEOF
13359 if ac_fn_c_try_cpp "$LINENO"
13360 then :
13362 else $as_nop
13363 # Broken: fails on valid input.
13364 continue
13366 rm -f conftest.err conftest.i conftest.$ac_ext
13368 # OK, works on sane cases. Now check whether nonexistent headers
13369 # can be detected and how.
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13372 #include <ac_nonexistent.h>
13373 _ACEOF
13374 if ac_fn_c_try_cpp "$LINENO"
13375 then :
13376 # Broken: success on invalid input.
13377 continue
13378 else $as_nop
13379 # Passes both tests.
13380 ac_preproc_ok=:
13381 break
13383 rm -f conftest.err conftest.i conftest.$ac_ext
13385 done
13386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13387 rm -f conftest.i conftest.err conftest.$ac_ext
13388 if $ac_preproc_ok
13389 then :
13390 break
13393 done
13394 ac_cv_prog_CPP=$CPP
13397 CPP=$ac_cv_prog_CPP
13398 else
13399 ac_cv_prog_CPP=$CPP
13401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13402 printf "%s\n" "$CPP" >&6; }
13403 ac_preproc_ok=false
13404 for ac_c_preproc_warn_flag in '' yes
13406 # Use a header file that comes with gcc, so configuring glibc
13407 # with a fresh cross-compiler works.
13408 # On the NeXT, cc -E runs the code through the compiler's parser,
13409 # not just through cpp. "Syntax error" is here to catch this case.
13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13412 #include <limits.h>
13413 Syntax error
13414 _ACEOF
13415 if ac_fn_c_try_cpp "$LINENO"
13416 then :
13418 else $as_nop
13419 # Broken: fails on valid input.
13420 continue
13422 rm -f conftest.err conftest.i conftest.$ac_ext
13424 # OK, works on sane cases. Now check whether nonexistent headers
13425 # can be detected and how.
13426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13428 #include <ac_nonexistent.h>
13429 _ACEOF
13430 if ac_fn_c_try_cpp "$LINENO"
13431 then :
13432 # Broken: success on invalid input.
13433 continue
13434 else $as_nop
13435 # Passes both tests.
13436 ac_preproc_ok=:
13437 break
13439 rm -f conftest.err conftest.i conftest.$ac_ext
13441 done
13442 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13443 rm -f conftest.i conftest.err conftest.$ac_ext
13444 if $ac_preproc_ok
13445 then :
13447 else $as_nop
13448 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13449 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13450 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13451 See \`config.log' for more details" "$LINENO" 5; }
13454 ac_ext=c
13455 ac_cpp='$CPP $CPPFLAGS'
13456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13462 printf %s "checking for X... " >&6; }
13465 # Check whether --with-x was given.
13466 if test ${with_x+y}
13467 then :
13468 withval=$with_x;
13471 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13472 if test "x$with_x" = xno; then
13473 # The user explicitly disabled X.
13474 have_x=disabled
13475 else
13476 case $x_includes,$x_libraries in #(
13477 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13478 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13479 then :
13480 printf %s "(cached) " >&6
13481 else $as_nop
13482 # One or both of the vars are not set, and there is no cached value.
13483 ac_x_includes=no
13484 ac_x_libraries=no
13485 # Do we need to do anything special at all?
13486 ac_save_LIBS=$LIBS
13487 LIBS="-lX11 $LIBS"
13488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h. */
13490 #include <X11/Xlib.h>
13492 main (void)
13494 XrmInitialize ()
13496 return 0;
13498 _ACEOF
13499 if ac_fn_c_try_link "$LINENO"
13500 then :
13501 # We can compile and link X programs with no special options.
13502 ac_x_includes=
13503 ac_x_libraries=
13505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13506 conftest$ac_exeext conftest.$ac_ext
13507 LIBS="$ac_save_LIBS"
13508 # If that didn't work, only try xmkmf and file system searches
13509 # for native compilation.
13510 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13511 then :
13512 rm -f -r conftest.dir
13513 if mkdir conftest.dir; then
13514 cd conftest.dir
13515 cat >Imakefile <<'_ACEOF'
13516 incroot:
13517 @echo incroot='${INCROOT}'
13518 usrlibdir:
13519 @echo usrlibdir='${USRLIBDIR}'
13520 libdir:
13521 @echo libdir='${LIBDIR}'
13522 _ACEOF
13523 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13524 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13525 for ac_var in incroot usrlibdir libdir; do
13526 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13527 done
13528 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13529 for ac_extension in a so sl dylib la dll; do
13530 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13531 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13532 ac_im_usrlibdir=$ac_im_libdir; break
13534 done
13535 # Screen out bogus values from the imake configuration. They are
13536 # bogus both because they are the default anyway, and because
13537 # using them would break gcc on systems where it needs fixed includes.
13538 case $ac_im_incroot in
13539 /usr/include) ac_x_includes= ;;
13540 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13541 esac
13542 case $ac_im_usrlibdir in
13543 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13544 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13545 esac
13547 cd ..
13548 rm -f -r conftest.dir
13551 # Standard set of common directories for X headers.
13552 # Check X11 before X11Rn because it is often a symlink to the current release.
13553 ac_x_header_dirs='
13554 /usr/X11/include
13555 /usr/X11R7/include
13556 /usr/X11R6/include
13557 /usr/X11R5/include
13558 /usr/X11R4/include
13560 /usr/include/X11
13561 /usr/include/X11R7
13562 /usr/include/X11R6
13563 /usr/include/X11R5
13564 /usr/include/X11R4
13566 /usr/local/X11/include
13567 /usr/local/X11R7/include
13568 /usr/local/X11R6/include
13569 /usr/local/X11R5/include
13570 /usr/local/X11R4/include
13572 /usr/local/include/X11
13573 /usr/local/include/X11R7
13574 /usr/local/include/X11R6
13575 /usr/local/include/X11R5
13576 /usr/local/include/X11R4
13578 /opt/X11/include
13580 /usr/X386/include
13581 /usr/x386/include
13582 /usr/XFree86/include/X11
13584 /usr/include
13585 /usr/local/include
13586 /usr/unsupported/include
13587 /usr/athena/include
13588 /usr/local/x11r5/include
13589 /usr/lpp/Xamples/include
13591 /usr/openwin/include
13592 /usr/openwin/share/include'
13594 if test "$ac_x_includes" = no; then
13595 # Guess where to find include files, by looking for Xlib.h.
13596 # First, try using that file with no special directory specified.
13597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13598 /* end confdefs.h. */
13599 #include <X11/Xlib.h>
13600 _ACEOF
13601 if ac_fn_c_try_cpp "$LINENO"
13602 then :
13603 # We can compile using X headers with no special include directory.
13604 ac_x_includes=
13605 else $as_nop
13606 for ac_dir in $ac_x_header_dirs; do
13607 if test -r "$ac_dir/X11/Xlib.h"; then
13608 ac_x_includes=$ac_dir
13609 break
13611 done
13613 rm -f conftest.err conftest.i conftest.$ac_ext
13614 fi # $ac_x_includes = no
13616 if test "$ac_x_libraries" = no; then
13617 # Check for the libraries.
13618 # See if we find them without any special options.
13619 # Don't add to $LIBS permanently.
13620 ac_save_LIBS=$LIBS
13621 LIBS="-lX11 $LIBS"
13622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623 /* end confdefs.h. */
13624 #include <X11/Xlib.h>
13626 main (void)
13628 XrmInitialize ()
13630 return 0;
13632 _ACEOF
13633 if ac_fn_c_try_link "$LINENO"
13634 then :
13635 LIBS=$ac_save_LIBS
13636 # We can link X programs with no special library path.
13637 ac_x_libraries=
13638 else $as_nop
13639 LIBS=$ac_save_LIBS
13640 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13642 # Don't even attempt the hair of trying to link an X program!
13643 for ac_extension in a so sl dylib la dll; do
13644 if test -r "$ac_dir/libX11.$ac_extension"; then
13645 ac_x_libraries=$ac_dir
13646 break 2
13648 done
13649 done
13651 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13652 conftest$ac_exeext conftest.$ac_ext
13653 fi # $ac_x_libraries = no
13656 # Record the results.
13657 case $ac_x_includes,$ac_x_libraries in #(
13658 no,* | *,no | *\'*) :
13659 # Didn't find X, or a directory has "'" in its name.
13660 ac_cv_have_x="have_x=no" ;; #(
13661 *) :
13662 # Record where we found X for the cache.
13663 ac_cv_have_x="have_x=yes\
13664 ac_x_includes='$ac_x_includes'\
13665 ac_x_libraries='$ac_x_libraries'" ;;
13666 esac
13668 ;; #(
13669 *) have_x=yes;;
13670 esac
13671 eval "$ac_cv_have_x"
13672 fi # $with_x != no
13674 if test "$have_x" != yes; then
13675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13676 printf "%s\n" "$have_x" >&6; }
13677 no_x=yes
13678 else
13679 # If each of the values was on the command line, it overrides each guess.
13680 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13681 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13682 # Update the cache value to reflect the command line values.
13683 ac_cv_have_x="have_x=yes\
13684 ac_x_includes='$x_includes'\
13685 ac_x_libraries='$x_libraries'"
13686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13687 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13690 if test "$no_x" = yes; then
13691 # Not all programs may use this symbol, but it does not hurt to define it.
13693 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13695 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13696 else
13697 if test -n "$x_includes"; then
13698 X_CFLAGS="$X_CFLAGS -I$x_includes"
13701 # It would also be nice to do this for all -L options, not just this one.
13702 if test -n "$x_libraries"; then
13703 X_LIBS="$X_LIBS -L$x_libraries"
13704 # For Solaris; some versions of Sun CC require a space after -R and
13705 # others require no space. Words are not sufficient . . . .
13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13707 printf %s "checking whether -R must be followed by a space... " >&6; }
13708 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13709 ac_xsave_c_werror_flag=$ac_c_werror_flag
13710 ac_c_werror_flag=yes
13711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13715 main (void)
13719 return 0;
13721 _ACEOF
13722 if ac_fn_c_try_link "$LINENO"
13723 then :
13724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13725 printf "%s\n" "no" >&6; }
13726 X_LIBS="$X_LIBS -R$x_libraries"
13727 else $as_nop
13728 LIBS="$ac_xsave_LIBS -R $x_libraries"
13729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730 /* end confdefs.h. */
13733 main (void)
13737 return 0;
13739 _ACEOF
13740 if ac_fn_c_try_link "$LINENO"
13741 then :
13742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13743 printf "%s\n" "yes" >&6; }
13744 X_LIBS="$X_LIBS -R $x_libraries"
13745 else $as_nop
13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13747 printf "%s\n" "neither works" >&6; }
13749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13750 conftest$ac_exeext conftest.$ac_ext
13752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13753 conftest$ac_exeext conftest.$ac_ext
13754 ac_c_werror_flag=$ac_xsave_c_werror_flag
13755 LIBS=$ac_xsave_LIBS
13758 # Check for system-dependent libraries X programs must link with.
13759 # Do this before checking for the system-independent R6 libraries
13760 # (-lICE), since we may need -lsocket or whatever for X linking.
13762 if test "$ISC" = yes; then
13763 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13764 else
13765 # Martyn Johnson says this is needed for Ultrix, if the X
13766 # libraries were built with DECnet support. And Karl Berry says
13767 # the Alpha needs dnet_stub (dnet does not exist).
13768 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13770 /* end confdefs.h. */
13772 /* Override any GCC internal prototype to avoid an error.
13773 Use char because int might match the return type of a GCC
13774 builtin and then its argument prototype would still apply. */
13775 char XOpenDisplay ();
13777 main (void)
13779 return XOpenDisplay ();
13781 return 0;
13783 _ACEOF
13784 if ac_fn_c_try_link "$LINENO"
13785 then :
13787 else $as_nop
13788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13789 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13790 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13791 then :
13792 printf %s "(cached) " >&6
13793 else $as_nop
13794 ac_check_lib_save_LIBS=$LIBS
13795 LIBS="-ldnet $LIBS"
13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13799 /* Override any GCC internal prototype to avoid an error.
13800 Use char because int might match the return type of a GCC
13801 builtin and then its argument prototype would still apply. */
13802 char dnet_ntoa ();
13804 main (void)
13806 return dnet_ntoa ();
13808 return 0;
13810 _ACEOF
13811 if ac_fn_c_try_link "$LINENO"
13812 then :
13813 ac_cv_lib_dnet_dnet_ntoa=yes
13814 else $as_nop
13815 ac_cv_lib_dnet_dnet_ntoa=no
13817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13818 conftest$ac_exeext conftest.$ac_ext
13819 LIBS=$ac_check_lib_save_LIBS
13821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13822 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13823 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13824 then :
13825 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13828 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13830 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13831 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13832 then :
13833 printf %s "(cached) " >&6
13834 else $as_nop
13835 ac_check_lib_save_LIBS=$LIBS
13836 LIBS="-ldnet_stub $LIBS"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13843 char dnet_ntoa ();
13845 main (void)
13847 return dnet_ntoa ();
13849 return 0;
13851 _ACEOF
13852 if ac_fn_c_try_link "$LINENO"
13853 then :
13854 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13855 else $as_nop
13856 ac_cv_lib_dnet_stub_dnet_ntoa=no
13858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS=$ac_check_lib_save_LIBS
13862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13863 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13864 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13865 then :
13866 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS="$ac_xsave_LIBS"
13875 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13876 # to get the SysV transport functions.
13877 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13878 # needs -lnsl.
13879 # The nsl library prevents programs from opening the X display
13880 # on Irix 5.2, according to T.E. Dickey.
13881 # The functions gethostbyname, getservbyname, and inet_addr are
13882 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13883 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13884 if test "x$ac_cv_func_gethostbyname" = xyes
13885 then :
13889 if test $ac_cv_func_gethostbyname = no; then
13890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13891 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13892 if test ${ac_cv_lib_nsl_gethostbyname+y}
13893 then :
13894 printf %s "(cached) " >&6
13895 else $as_nop
13896 ac_check_lib_save_LIBS=$LIBS
13897 LIBS="-lnsl $LIBS"
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13901 /* Override any GCC internal prototype to avoid an error.
13902 Use char because int might match the return type of a GCC
13903 builtin and then its argument prototype would still apply. */
13904 char gethostbyname ();
13906 main (void)
13908 return gethostbyname ();
13910 return 0;
13912 _ACEOF
13913 if ac_fn_c_try_link "$LINENO"
13914 then :
13915 ac_cv_lib_nsl_gethostbyname=yes
13916 else $as_nop
13917 ac_cv_lib_nsl_gethostbyname=no
13919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13920 conftest$ac_exeext conftest.$ac_ext
13921 LIBS=$ac_check_lib_save_LIBS
13923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13924 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13925 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13926 then :
13927 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13930 if test $ac_cv_lib_nsl_gethostbyname = no; then
13931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13932 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13933 if test ${ac_cv_lib_bsd_gethostbyname+y}
13934 then :
13935 printf %s "(cached) " >&6
13936 else $as_nop
13937 ac_check_lib_save_LIBS=$LIBS
13938 LIBS="-lbsd $LIBS"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13942 /* Override any GCC internal prototype to avoid an error.
13943 Use char because int might match the return type of a GCC
13944 builtin and then its argument prototype would still apply. */
13945 char gethostbyname ();
13947 main (void)
13949 return gethostbyname ();
13951 return 0;
13953 _ACEOF
13954 if ac_fn_c_try_link "$LINENO"
13955 then :
13956 ac_cv_lib_bsd_gethostbyname=yes
13957 else $as_nop
13958 ac_cv_lib_bsd_gethostbyname=no
13960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_lib_save_LIBS
13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13965 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13966 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13967 then :
13968 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13974 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13975 # socket/setsockopt and other routines are undefined under SCO ODT
13976 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13977 # on later versions), says Simon Leinen: it contains gethostby*
13978 # variants that don't use the name server (or something). -lsocket
13979 # must be given before -lnsl if both are needed. We assume that
13980 # if connect needs -lnsl, so does gethostbyname.
13981 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13982 if test "x$ac_cv_func_connect" = xyes
13983 then :
13987 if test $ac_cv_func_connect = no; then
13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13989 printf %s "checking for connect in -lsocket... " >&6; }
13990 if test ${ac_cv_lib_socket_connect+y}
13991 then :
13992 printf %s "(cached) " >&6
13993 else $as_nop
13994 ac_check_lib_save_LIBS=$LIBS
13995 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13999 /* Override any GCC internal prototype to avoid an error.
14000 Use char because int might match the return type of a GCC
14001 builtin and then its argument prototype would still apply. */
14002 char connect ();
14004 main (void)
14006 return connect ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"
14012 then :
14013 ac_cv_lib_socket_connect=yes
14014 else $as_nop
14015 ac_cv_lib_socket_connect=no
14017 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14018 conftest$ac_exeext conftest.$ac_ext
14019 LIBS=$ac_check_lib_save_LIBS
14021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14022 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14023 if test "x$ac_cv_lib_socket_connect" = xyes
14024 then :
14025 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14030 # Guillermo Gomez says -lposix is necessary on A/UX.
14031 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14032 if test "x$ac_cv_func_remove" = xyes
14033 then :
14037 if test $ac_cv_func_remove = no; then
14038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14039 printf %s "checking for remove in -lposix... " >&6; }
14040 if test ${ac_cv_lib_posix_remove+y}
14041 then :
14042 printf %s "(cached) " >&6
14043 else $as_nop
14044 ac_check_lib_save_LIBS=$LIBS
14045 LIBS="-lposix $LIBS"
14046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14047 /* end confdefs.h. */
14049 /* Override any GCC internal prototype to avoid an error.
14050 Use char because int might match the return type of a GCC
14051 builtin and then its argument prototype would still apply. */
14052 char remove ();
14054 main (void)
14056 return remove ();
14058 return 0;
14060 _ACEOF
14061 if ac_fn_c_try_link "$LINENO"
14062 then :
14063 ac_cv_lib_posix_remove=yes
14064 else $as_nop
14065 ac_cv_lib_posix_remove=no
14067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14068 conftest$ac_exeext conftest.$ac_ext
14069 LIBS=$ac_check_lib_save_LIBS
14071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14072 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14073 if test "x$ac_cv_lib_posix_remove" = xyes
14074 then :
14075 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14080 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14081 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14082 if test "x$ac_cv_func_shmat" = xyes
14083 then :
14087 if test $ac_cv_func_shmat = no; then
14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14089 printf %s "checking for shmat in -lipc... " >&6; }
14090 if test ${ac_cv_lib_ipc_shmat+y}
14091 then :
14092 printf %s "(cached) " >&6
14093 else $as_nop
14094 ac_check_lib_save_LIBS=$LIBS
14095 LIBS="-lipc $LIBS"
14096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 char shmat ();
14104 main (void)
14106 return shmat ();
14108 return 0;
14110 _ACEOF
14111 if ac_fn_c_try_link "$LINENO"
14112 then :
14113 ac_cv_lib_ipc_shmat=yes
14114 else $as_nop
14115 ac_cv_lib_ipc_shmat=no
14117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14118 conftest$ac_exeext conftest.$ac_ext
14119 LIBS=$ac_check_lib_save_LIBS
14121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14122 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14123 if test "x$ac_cv_lib_ipc_shmat" = xyes
14124 then :
14125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14131 # Check for libraries that X11R6 Xt/Xaw programs need.
14132 ac_save_LDFLAGS=$LDFLAGS
14133 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14134 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14135 # check for ICE first), but we must link in the order -lSM -lICE or
14136 # we get undefined symbols. So assume we have SM if we have ICE.
14137 # These have to be linked with before -lX11, unlike the other
14138 # libraries we check for below, so use a different variable.
14139 # John Interrante, Karl Berry
14140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14141 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14142 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14143 then :
14144 printf %s "(cached) " >&6
14145 else $as_nop
14146 ac_check_lib_save_LIBS=$LIBS
14147 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14151 /* Override any GCC internal prototype to avoid an error.
14152 Use char because int might match the return type of a GCC
14153 builtin and then its argument prototype would still apply. */
14154 char IceConnectionNumber ();
14156 main (void)
14158 return IceConnectionNumber ();
14160 return 0;
14162 _ACEOF
14163 if ac_fn_c_try_link "$LINENO"
14164 then :
14165 ac_cv_lib_ICE_IceConnectionNumber=yes
14166 else $as_nop
14167 ac_cv_lib_ICE_IceConnectionNumber=no
14169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14170 conftest$ac_exeext conftest.$ac_ext
14171 LIBS=$ac_check_lib_save_LIBS
14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14174 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14175 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14176 then :
14177 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14180 LDFLAGS=$ac_save_LDFLAGS
14185 if test "$have_x" = "yes"
14186 then
14187 ac_save_CPPFLAGS="$CPPFLAGS"
14188 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14191 printf %s "checking for -lX11... " >&6; }
14192 if test ${ac_cv_lib_soname_X11+y}
14193 then :
14194 printf %s "(cached) " >&6
14195 else $as_nop
14196 ac_check_soname_save_LIBS=$LIBS
14197 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14201 /* Override any GCC internal prototype to avoid an error.
14202 Use char because int might match the return type of a GCC
14203 builtin and then its argument prototype would still apply. */
14204 char XCreateWindow ();
14206 main (void)
14208 return XCreateWindow ();
14210 return 0;
14212 _ACEOF
14213 if ac_fn_c_try_link "$LINENO"
14214 then :
14215 case "$LIBEXT" in
14216 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14217 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'` ;;
14218 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14219 if ${ac_cv_lib_soname_X11:+false} :
14220 then :
14221 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14222 fi ;;
14223 esac
14224 else $as_nop
14225 ac_cv_lib_soname_X11=
14227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14228 conftest$ac_exeext conftest.$ac_ext
14229 LIBS=$ac_check_soname_save_LIBS
14231 if ${ac_cv_lib_soname_X11:+false} :
14232 then :
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14234 printf "%s\n" "not found" >&6; }
14236 else $as_nop
14237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14238 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14240 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14245 printf %s "checking for -lXext... " >&6; }
14246 if test ${ac_cv_lib_soname_Xext+y}
14247 then :
14248 printf %s "(cached) " >&6
14249 else $as_nop
14250 ac_check_soname_save_LIBS=$LIBS
14251 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 char XextCreateExtension ();
14260 main (void)
14262 return XextCreateExtension ();
14264 return 0;
14266 _ACEOF
14267 if ac_fn_c_try_link "$LINENO"
14268 then :
14269 case "$LIBEXT" in
14270 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14271 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'` ;;
14272 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14273 if ${ac_cv_lib_soname_Xext:+false} :
14274 then :
14275 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14276 fi ;;
14277 esac
14278 else $as_nop
14279 ac_cv_lib_soname_Xext=
14281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_soname_save_LIBS
14285 if ${ac_cv_lib_soname_Xext:+false} :
14286 then :
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14288 printf "%s\n" "not found" >&6; }
14290 else $as_nop
14291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14292 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14294 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14296 X_LIBS="$X_LIBS -lXext"
14298 X_LIBS="$X_LIBS -lX11"
14300 xlib_includes="#include <X11/Xlib.h>
14301 #include <X11/Xutil.h>"
14303 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14305 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14306 then :
14307 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14310 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14312 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14313 then :
14314 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14317 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14319 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14320 then :
14321 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14324 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14326 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14327 then :
14328 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14331 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14333 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14334 then :
14335 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14338 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14340 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14341 then :
14342 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14345 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14347 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14348 then :
14349 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14352 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14354 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14355 then :
14356 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14359 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14361 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14362 then :
14363 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14368 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14370 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14371 then :
14372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14373 printf %s "checking for -lXcursor... " >&6; }
14374 if test ${ac_cv_lib_soname_Xcursor+y}
14375 then :
14376 printf %s "(cached) " >&6
14377 else $as_nop
14378 ac_check_soname_save_LIBS=$LIBS
14379 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14381 /* end confdefs.h. */
14383 /* Override any GCC internal prototype to avoid an error.
14384 Use char because int might match the return type of a GCC
14385 builtin and then its argument prototype would still apply. */
14386 char XcursorImageLoadCursor ();
14388 main (void)
14390 return XcursorImageLoadCursor ();
14392 return 0;
14394 _ACEOF
14395 if ac_fn_c_try_link "$LINENO"
14396 then :
14397 case "$LIBEXT" in
14398 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14399 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'` ;;
14400 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14401 if ${ac_cv_lib_soname_Xcursor:+false} :
14402 then :
14403 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14404 fi ;;
14405 esac
14406 else $as_nop
14407 ac_cv_lib_soname_Xcursor=
14409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LIBS=$ac_check_soname_save_LIBS
14413 if ${ac_cv_lib_soname_Xcursor:+false} :
14414 then :
14415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14416 printf "%s\n" "not found" >&6; }
14418 else $as_nop
14419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14420 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14422 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14428 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14429 then :
14430 case "x$with_xcursor" in
14431 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14432 xno) ;;
14433 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14434 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14435 esac
14439 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14441 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14442 then :
14443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14444 printf %s "checking for -lXi... " >&6; }
14445 if test ${ac_cv_lib_soname_Xi+y}
14446 then :
14447 printf %s "(cached) " >&6
14448 else $as_nop
14449 ac_check_soname_save_LIBS=$LIBS
14450 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14454 /* Override any GCC internal prototype to avoid an error.
14455 Use char because int might match the return type of a GCC
14456 builtin and then its argument prototype would still apply. */
14457 char XOpenDevice ();
14459 main (void)
14461 return XOpenDevice ();
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"
14467 then :
14468 case "$LIBEXT" in
14469 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14470 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'` ;;
14471 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14472 if ${ac_cv_lib_soname_Xi:+false} :
14473 then :
14474 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14475 fi ;;
14476 esac
14477 else $as_nop
14478 ac_cv_lib_soname_Xi=
14480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14481 conftest$ac_exeext conftest.$ac_ext
14482 LIBS=$ac_check_soname_save_LIBS
14484 if ${ac_cv_lib_soname_Xi:+false} :
14485 then :
14486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14487 printf "%s\n" "not found" >&6; }
14489 else $as_nop
14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14491 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14493 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14499 if test "x$ac_cv_lib_soname_Xi" = "x"
14500 then :
14501 case "x$with_xinput" in
14502 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14503 xno) ;;
14504 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14505 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14506 esac
14510 if test "x$ac_cv_lib_soname_Xi" != x
14511 then
14512 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14513 then :
14514 case "x$with_xinput2" in
14515 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14516 xno) ;;
14517 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14518 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14519 esac
14524 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14525 then
14526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14527 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14528 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14529 then :
14530 printf %s "(cached) " >&6
14531 else $as_nop
14532 ac_check_lib_save_LIBS=$LIBS
14533 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14537 /* Override any GCC internal prototype to avoid an error.
14538 Use char because int might match the return type of a GCC
14539 builtin and then its argument prototype would still apply. */
14540 char XShmQueryExtension ();
14542 main (void)
14544 return XShmQueryExtension ();
14546 return 0;
14548 _ACEOF
14549 if ac_fn_c_try_link "$LINENO"
14550 then :
14551 ac_cv_lib_Xext_XShmQueryExtension=yes
14552 else $as_nop
14553 ac_cv_lib_Xext_XShmQueryExtension=no
14555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LIBS=$ac_check_lib_save_LIBS
14559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14560 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14561 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14562 then :
14564 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14569 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14570 then :
14571 case "x$with_xshm" in
14572 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14573 xno) ;;
14574 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14575 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14576 esac
14580 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14581 then
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14583 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14584 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14585 then :
14586 printf %s "(cached) " >&6
14587 else $as_nop
14588 ac_check_lib_save_LIBS=$LIBS
14589 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14591 /* end confdefs.h. */
14593 /* Override any GCC internal prototype to avoid an error.
14594 Use char because int might match the return type of a GCC
14595 builtin and then its argument prototype would still apply. */
14596 char XShapeQueryExtension ();
14598 main (void)
14600 return XShapeQueryExtension ();
14602 return 0;
14604 _ACEOF
14605 if ac_fn_c_try_link "$LINENO"
14606 then :
14607 ac_cv_lib_Xext_XShapeQueryExtension=yes
14608 else $as_nop
14609 ac_cv_lib_Xext_XShapeQueryExtension=no
14611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14612 conftest$ac_exeext conftest.$ac_ext
14613 LIBS=$ac_check_lib_save_LIBS
14615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14616 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14617 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14618 then :
14620 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14625 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14626 then :
14627 case "x$with_xshape" in
14628 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14629 xno) ;;
14630 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14631 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14632 esac
14636 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14637 then
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14639 printf %s "checking for -lXxf86vm... " >&6; }
14640 if test ${ac_cv_lib_soname_Xxf86vm+y}
14641 then :
14642 printf %s "(cached) " >&6
14643 else $as_nop
14644 ac_check_soname_save_LIBS=$LIBS
14645 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 char XF86VidModeQueryExtension ();
14654 main (void)
14656 return XF86VidModeQueryExtension ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"
14662 then :
14663 case "$LIBEXT" in
14664 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14665 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'` ;;
14666 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14667 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14668 then :
14669 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14670 fi ;;
14671 esac
14672 else $as_nop
14673 ac_cv_lib_soname_Xxf86vm=
14675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14676 conftest$ac_exeext conftest.$ac_ext
14677 LIBS=$ac_check_soname_save_LIBS
14679 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14680 then :
14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14682 printf "%s\n" "not found" >&6; }
14684 else $as_nop
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14686 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14688 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14693 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14694 then :
14695 case "x$with_xxf86vm" in
14696 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14697 xno) ;;
14698 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14699 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14700 esac
14704 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14705 then
14706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14707 printf %s "checking for -lXrender... " >&6; }
14708 if test ${ac_cv_lib_soname_Xrender+y}
14709 then :
14710 printf %s "(cached) " >&6
14711 else $as_nop
14712 ac_check_soname_save_LIBS=$LIBS
14713 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 char XRenderQueryExtension ();
14722 main (void)
14724 return XRenderQueryExtension ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"
14730 then :
14731 case "$LIBEXT" in
14732 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14733 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'` ;;
14734 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14735 if ${ac_cv_lib_soname_Xrender:+false} :
14736 then :
14737 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14738 fi ;;
14739 esac
14740 else $as_nop
14741 ac_cv_lib_soname_Xrender=
14743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LIBS=$ac_check_soname_save_LIBS
14747 if ${ac_cv_lib_soname_Xrender:+false} :
14748 then :
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14750 printf "%s\n" "not found" >&6; }
14752 else $as_nop
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14754 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14756 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14759 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14760 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14761 then :
14762 printf %s "(cached) " >&6
14763 else $as_nop
14764 ac_check_lib_save_LIBS=$LIBS
14765 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14767 /* end confdefs.h. */
14769 /* Override any GCC internal prototype to avoid an error.
14770 Use char because int might match the return type of a GCC
14771 builtin and then its argument prototype would still apply. */
14772 char XRenderSetPictureTransform ();
14774 main (void)
14776 return XRenderSetPictureTransform ();
14778 return 0;
14780 _ACEOF
14781 if ac_fn_c_try_link "$LINENO"
14782 then :
14783 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14784 else $as_nop
14785 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14788 conftest$ac_exeext conftest.$ac_ext
14789 LIBS=$ac_check_lib_save_LIBS
14791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14792 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14793 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14794 then :
14796 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14801 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14802 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14803 then :
14804 printf %s "(cached) " >&6
14805 else $as_nop
14806 ac_check_lib_save_LIBS=$LIBS
14807 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14809 /* end confdefs.h. */
14811 /* Override any GCC internal prototype to avoid an error.
14812 Use char because int might match the return type of a GCC
14813 builtin and then its argument prototype would still apply. */
14814 char XRenderCreateLinearGradient ();
14816 main (void)
14818 return XRenderCreateLinearGradient ();
14820 return 0;
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"
14824 then :
14825 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14826 else $as_nop
14827 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_check_lib_save_LIBS
14833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14834 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14835 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14836 then :
14838 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14845 if test "x$ac_cv_lib_soname_Xrender" = "x"
14846 then :
14847 case "x$with_xrender" in
14848 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14849 xno) ;;
14850 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14851 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14852 esac
14856 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14857 then
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 #include <X11/Xlib.h>
14861 #include <X11/extensions/Xrandr.h>
14863 main (void)
14865 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14867 return 0;
14869 _ACEOF
14870 if ac_fn_c_try_compile "$LINENO"
14871 then :
14872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14873 printf %s "checking for -lXrandr... " >&6; }
14874 if test ${ac_cv_lib_soname_Xrandr+y}
14875 then :
14876 printf %s "(cached) " >&6
14877 else $as_nop
14878 ac_check_soname_save_LIBS=$LIBS
14879 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14886 char XRRQueryExtension ();
14888 main (void)
14890 return XRRQueryExtension ();
14892 return 0;
14894 _ACEOF
14895 if ac_fn_c_try_link "$LINENO"
14896 then :
14897 case "$LIBEXT" in
14898 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14899 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'` ;;
14900 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14901 if ${ac_cv_lib_soname_Xrandr:+false} :
14902 then :
14903 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14904 fi ;;
14905 esac
14906 else $as_nop
14907 ac_cv_lib_soname_Xrandr=
14909 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_soname_save_LIBS
14913 if ${ac_cv_lib_soname_Xrandr:+false} :
14914 then :
14915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14916 printf "%s\n" "not found" >&6; }
14918 else $as_nop
14919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14920 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14922 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 #include <X11/Xlib.h>
14927 #include <X11/extensions/Xrandr.h>
14929 main (void)
14931 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_compile "$LINENO"
14937 then :
14939 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14941 else $as_nop
14942 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14949 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14950 then :
14951 case "x$with_xrandr" in
14952 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14953 xno) ;;
14954 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14955 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14956 esac
14960 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14961 then
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 #include <X11/Xlib.h>
14965 #include <X11/extensions/Xfixes.h>
14967 main (void)
14969 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14971 return 0;
14973 _ACEOF
14974 if ac_fn_c_try_compile "$LINENO"
14975 then :
14976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14977 printf %s "checking for -lXfixes... " >&6; }
14978 if test ${ac_cv_lib_soname_Xfixes+y}
14979 then :
14980 printf %s "(cached) " >&6
14981 else $as_nop
14982 ac_check_soname_save_LIBS=$LIBS
14983 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14985 /* end confdefs.h. */
14987 /* Override any GCC internal prototype to avoid an error.
14988 Use char because int might match the return type of a GCC
14989 builtin and then its argument prototype would still apply. */
14990 char XFixesQueryVersion ();
14992 main (void)
14994 return XFixesQueryVersion ();
14996 return 0;
14998 _ACEOF
14999 if ac_fn_c_try_link "$LINENO"
15000 then :
15001 case "$LIBEXT" in
15002 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15003 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'` ;;
15004 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15005 if ${ac_cv_lib_soname_Xfixes:+false} :
15006 then :
15007 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15008 fi ;;
15009 esac
15010 else $as_nop
15011 ac_cv_lib_soname_Xfixes=
15013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15014 conftest$ac_exeext conftest.$ac_ext
15015 LIBS=$ac_check_soname_save_LIBS
15017 if ${ac_cv_lib_soname_Xfixes:+false} :
15018 then :
15019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15020 printf "%s\n" "not found" >&6; }
15022 else $as_nop
15023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15024 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15026 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15033 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15034 then :
15035 case "x$with_xfixes" in
15036 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15037 xno) ;;
15038 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15039 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15040 esac
15044 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15045 then
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15048 #include <X11/Xlib.h>
15049 #include <X11/extensions/Xinerama.h>
15051 main (void)
15053 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15055 return 0;
15057 _ACEOF
15058 if ac_fn_c_try_compile "$LINENO"
15059 then :
15060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15061 printf %s "checking for -lXinerama... " >&6; }
15062 if test ${ac_cv_lib_soname_Xinerama+y}
15063 then :
15064 printf %s "(cached) " >&6
15065 else $as_nop
15066 ac_check_soname_save_LIBS=$LIBS
15067 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15071 /* Override any GCC internal prototype to avoid an error.
15072 Use char because int might match the return type of a GCC
15073 builtin and then its argument prototype would still apply. */
15074 char XineramaQueryScreens ();
15076 main (void)
15078 return XineramaQueryScreens ();
15080 return 0;
15082 _ACEOF
15083 if ac_fn_c_try_link "$LINENO"
15084 then :
15085 case "$LIBEXT" in
15086 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15087 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'` ;;
15088 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15089 if ${ac_cv_lib_soname_Xinerama:+false} :
15090 then :
15091 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15092 fi ;;
15093 esac
15094 else $as_nop
15095 ac_cv_lib_soname_Xinerama=
15097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15098 conftest$ac_exeext conftest.$ac_ext
15099 LIBS=$ac_check_soname_save_LIBS
15101 if ${ac_cv_lib_soname_Xinerama:+false} :
15102 then :
15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15104 printf "%s\n" "not found" >&6; }
15106 else $as_nop
15107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15108 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15110 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15117 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15118 then :
15119 case "x$with_xinerama" in
15120 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15121 xno) ;;
15122 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15123 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15124 esac
15128 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15130 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15131 then :
15132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15133 printf %s "checking for -lXcomposite... " >&6; }
15134 if test ${ac_cv_lib_soname_Xcomposite+y}
15135 then :
15136 printf %s "(cached) " >&6
15137 else $as_nop
15138 ac_check_soname_save_LIBS=$LIBS
15139 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15143 /* Override any GCC internal prototype to avoid an error.
15144 Use char because int might match the return type of a GCC
15145 builtin and then its argument prototype would still apply. */
15146 char XCompositeRedirectWindow ();
15148 main (void)
15150 return XCompositeRedirectWindow ();
15152 return 0;
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"
15156 then :
15157 case "$LIBEXT" in
15158 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15159 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'` ;;
15160 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15161 if ${ac_cv_lib_soname_Xcomposite:+false} :
15162 then :
15163 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15164 fi ;;
15165 esac
15166 else $as_nop
15167 ac_cv_lib_soname_Xcomposite=
15169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15170 conftest$ac_exeext conftest.$ac_ext
15171 LIBS=$ac_check_soname_save_LIBS
15173 if ${ac_cv_lib_soname_Xcomposite:+false} :
15174 then :
15175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15176 printf "%s\n" "not found" >&6; }
15178 else $as_nop
15179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15180 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15182 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15188 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15189 then :
15190 case "x$with_xcomposite" in
15191 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15192 xno) ;;
15193 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15194 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15195 esac
15199 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15201 if test "x$ac_cv_member_XICCallback_callback" = xyes
15202 then :
15204 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15208 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15210 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15211 then :
15213 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15220 opengl_msg=""
15221 if test "x$with_opengl" != "xno"
15222 then
15223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15224 printf %s "checking for -lGL... " >&6; }
15225 if test ${ac_cv_lib_soname_GL+y}
15226 then :
15227 printf %s "(cached) " >&6
15228 else $as_nop
15229 ac_check_soname_save_LIBS=$LIBS
15230 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15232 /* end confdefs.h. */
15234 /* Override any GCC internal prototype to avoid an error.
15235 Use char because int might match the return type of a GCC
15236 builtin and then its argument prototype would still apply. */
15237 char glXCreateContext ();
15239 main (void)
15241 return glXCreateContext ();
15243 return 0;
15245 _ACEOF
15246 if ac_fn_c_try_link "$LINENO"
15247 then :
15248 case "$LIBEXT" in
15249 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15250 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'` ;;
15251 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15252 if ${ac_cv_lib_soname_GL:+false} :
15253 then :
15254 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15255 fi ;;
15256 esac
15257 else $as_nop
15258 ac_cv_lib_soname_GL=
15260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_check_soname_save_LIBS
15264 if ${ac_cv_lib_soname_GL:+false} :
15265 then :
15266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15267 printf "%s\n" "not found" >&6; }
15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15269 printf %s "checking for -lGL... " >&6; }
15270 if test ${ac_cv_lib_soname_GL+y}
15271 then :
15272 printf %s "(cached) " >&6
15273 else $as_nop
15274 ac_check_soname_save_LIBS=$LIBS
15275 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"
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15279 /* Override any GCC internal prototype to avoid an error.
15280 Use char because int might match the return type of a GCC
15281 builtin and then its argument prototype would still apply. */
15282 char glXCreateContext ();
15284 main (void)
15286 return glXCreateContext ();
15288 return 0;
15290 _ACEOF
15291 if ac_fn_c_try_link "$LINENO"
15292 then :
15293 case "$LIBEXT" in
15294 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15295 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'` ;;
15296 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15297 if ${ac_cv_lib_soname_GL:+false} :
15298 then :
15299 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15300 fi ;;
15301 esac
15302 else $as_nop
15303 ac_cv_lib_soname_GL=
15305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_check_soname_save_LIBS
15309 if ${ac_cv_lib_soname_GL:+false} :
15310 then :
15311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15312 printf "%s\n" "not found" >&6; }
15313 if test -f /usr/X11R6/lib/libGL.a
15314 then
15315 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15316 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15317 else
15318 opengl_msg="No OpenGL library found on this system."
15320 else $as_nop
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15322 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15324 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15326 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"
15328 else $as_nop
15329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15330 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15332 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15334 OPENGL_LIBS="-lGL"
15336 if test "x$with_osmesa" != "xno"
15337 then
15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15339 printf %s "checking for -lOSMesa... " >&6; }
15340 if test ${ac_cv_lib_soname_OSMesa+y}
15341 then :
15342 printf %s "(cached) " >&6
15343 else $as_nop
15344 ac_check_soname_save_LIBS=$LIBS
15345 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 char OSMesaGetProcAddress ();
15354 main (void)
15356 return OSMesaGetProcAddress ();
15358 return 0;
15360 _ACEOF
15361 if ac_fn_c_try_link "$LINENO"
15362 then :
15363 case "$LIBEXT" in
15364 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15365 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'` ;;
15366 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15367 if ${ac_cv_lib_soname_OSMesa:+false} :
15368 then :
15369 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15370 fi ;;
15371 esac
15372 else $as_nop
15373 ac_cv_lib_soname_OSMesa=
15375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15376 conftest$ac_exeext conftest.$ac_ext
15377 LIBS=$ac_check_soname_save_LIBS
15379 if ${ac_cv_lib_soname_OSMesa:+false} :
15380 then :
15381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15382 printf "%s\n" "not found" >&6; }
15384 else $as_nop
15385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15386 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15388 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15392 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15393 then :
15394 case "x$with_osmesa" in
15395 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15396 xno) ;;
15397 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15398 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15399 esac
15404 if test -n "$opengl_msg"
15405 then :
15406 case "x$with_opengl" in
15407 x) as_fn_append wine_warnings "|$opengl_msg
15408 OpenGL and Direct3D won't be supported." ;;
15409 xno) ;;
15410 *) as_fn_error $? "$opengl_msg
15411 OpenGL and Direct3D won't be supported.
15412 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15413 esac
15417 CPPFLAGS="$ac_save_CPPFLAGS"
15418 else
15419 X_CFLAGS=""
15420 X_LIBS=""
15423 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15424 then
15425 if test "x$X_LIBS" = "x"
15426 then :
15427 case "x$with_x" in
15428 xno) ;;
15429 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15430 without X support, which probably isn't what you want. You will need
15431 to install ${notice_platform}development packages of Xlib at the very least.
15432 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15433 esac
15434 enable_winex11_drv=${enable_winex11_drv:-no}
15436 else
15437 if test "x$X_LIBS" = "x"
15438 then :
15439 case "x$with_x" in
15440 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15441 xno) ;;
15442 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15443 This is an error since --with-x was requested." "$LINENO" 5 ;;
15444 esac
15445 enable_winex11_drv=${enable_winex11_drv:-no}
15449 if test "x$with_wayland" != "xno"
15450 then
15451 rm -f conftest.err
15452 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15453 then :
15454 if test ${PKG_CONFIG+y}
15455 then :
15456 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15460 if ${WAYLAND_CLIENT_LIBS:+false} :
15461 then :
15462 if test ${PKG_CONFIG+y}
15463 then :
15464 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15471 if test -s conftest.err; then
15472 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15473 cat conftest.err >&5
15475 rm -f conftest.err
15476 ac_save_CPPFLAGS=$CPPFLAGS
15477 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15478 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15479 if test "x$ac_cv_header_wayland_client_h" = xyes
15480 then :
15481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15482 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15483 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15484 then :
15485 printf %s "(cached) " >&6
15486 else $as_nop
15487 ac_check_lib_save_LIBS=$LIBS
15488 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15492 /* Override any GCC internal prototype to avoid an error.
15493 Use char because int might match the return type of a GCC
15494 builtin and then its argument prototype would still apply. */
15495 char wl_display_connect ();
15497 main (void)
15499 return wl_display_connect ();
15501 return 0;
15503 _ACEOF
15504 if ac_fn_c_try_link "$LINENO"
15505 then :
15506 ac_cv_lib_wayland_client_wl_display_connect=yes
15507 else $as_nop
15508 ac_cv_lib_wayland_client_wl_display_connect=no
15510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15511 conftest$ac_exeext conftest.$ac_ext
15512 LIBS=$ac_check_lib_save_LIBS
15514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15515 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15516 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15517 then :
15518 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15519 set dummy wayland-scanner; ac_word=$2
15520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15521 printf %s "checking for $ac_word... " >&6; }
15522 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15523 then :
15524 printf %s "(cached) " >&6
15525 else $as_nop
15526 case $WAYLAND_SCANNER in
15527 [\\/]* | ?:[\\/]*)
15528 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15532 for as_dir in $PATH
15534 IFS=$as_save_IFS
15535 case $as_dir in #(((
15536 '') as_dir=./ ;;
15537 */) ;;
15538 *) as_dir=$as_dir/ ;;
15539 esac
15540 for ac_exec_ext in '' $ac_executable_extensions; do
15541 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15542 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15544 break 2
15546 done
15547 done
15548 IFS=$as_save_IFS
15550 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`"
15552 esac
15554 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15555 if test -n "$WAYLAND_SCANNER"; then
15556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15557 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15558 else
15559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15560 printf "%s\n" "no" >&6; }
15564 else $as_nop
15565 WAYLAND_CLIENT_LIBS=""
15570 CPPFLAGS=$ac_save_CPPFLAGS
15573 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15574 then :
15575 case "x$with_wayland" in
15576 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15577 xno) ;;
15578 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15579 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15580 esac
15581 enable_winewayland_drv=${enable_winewayland_drv:-no}
15584 if test "$ac_cv_header_CL_cl_h" = "yes"
15585 then
15586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15587 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15588 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15589 then :
15590 printf %s "(cached) " >&6
15591 else $as_nop
15592 ac_check_lib_save_LIBS=$LIBS
15593 LIBS="-lOpenCL $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 clGetPlatformInfo ();
15602 main (void)
15604 return clGetPlatformInfo ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"
15610 then :
15611 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15612 else $as_nop
15613 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15615 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15616 conftest$ac_exeext conftest.$ac_ext
15617 LIBS=$ac_check_lib_save_LIBS
15619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15620 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15621 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15622 then :
15623 OPENCL_LIBS="-lOpenCL"
15628 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15629 then :
15630 case "x$with_opencl" in
15631 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15632 xno) ;;
15633 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15634 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15635 esac
15636 enable_opencl=${enable_opencl:-no}
15639 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15640 then
15641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15642 printf %s "checking for pcap_init in -lpcap... " >&6; }
15643 if test ${ac_cv_lib_pcap_pcap_init+y}
15644 then :
15645 printf %s "(cached) " >&6
15646 else $as_nop
15647 ac_check_lib_save_LIBS=$LIBS
15648 LIBS="-lpcap $LIBS"
15649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15650 /* end confdefs.h. */
15652 /* Override any GCC internal prototype to avoid an error.
15653 Use char because int might match the return type of a GCC
15654 builtin and then its argument prototype would still apply. */
15655 char pcap_init ();
15657 main (void)
15659 return pcap_init ();
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"
15665 then :
15666 ac_cv_lib_pcap_pcap_init=yes
15667 else $as_nop
15668 ac_cv_lib_pcap_pcap_init=no
15670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15671 conftest$ac_exeext conftest.$ac_ext
15672 LIBS=$ac_check_lib_save_LIBS
15674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15675 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15676 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15677 then :
15678 PCAP_LIBS="-lpcap"
15683 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15684 then :
15685 case "x$with_pcap" in
15686 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15687 xno) ;;
15688 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15689 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15690 esac
15691 enable_wpcap=${enable_wpcap:-no}
15694 if test "x$with_pcsclite" != "xno"
15695 then
15696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15697 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15698 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15699 then :
15700 printf %s "(cached) " >&6
15701 else $as_nop
15702 ac_check_lib_save_LIBS=$LIBS
15703 LIBS="-lpcsclite $LIBS"
15704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15705 /* end confdefs.h. */
15707 /* Override any GCC internal prototype to avoid an error.
15708 Use char because int might match the return type of a GCC
15709 builtin and then its argument prototype would still apply. */
15710 char SCardEstablishContext ();
15712 main (void)
15714 return SCardEstablishContext ();
15716 return 0;
15718 _ACEOF
15719 if ac_fn_c_try_link "$LINENO"
15720 then :
15721 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15722 else $as_nop
15723 ac_cv_lib_pcsclite_SCardEstablishContext=no
15725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15726 conftest$ac_exeext conftest.$ac_ext
15727 LIBS=$ac_check_lib_save_LIBS
15729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15730 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15731 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15732 then :
15733 PCSCLITE_LIBS="-lpcsclite"
15735 else $as_nop
15736 case $host_os in
15737 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15739 esac
15743 if test "x$PCSCLITE_LIBS" = x
15744 then :
15745 case "x$with_pcsclite" in
15746 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15747 xno) ;;
15748 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15749 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15750 esac
15751 enable_winscard=${enable_winscard:-no}
15754 if test "x$with_inotify" != "xno"
15755 then
15756 rm -f conftest.err
15757 if ${INOTIFY_CFLAGS:+false} :
15758 then :
15759 if test ${PKG_CONFIG+y}
15760 then :
15761 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15765 if ${INOTIFY_LIBS:+false} :
15766 then :
15767 if test ${PKG_CONFIG+y}
15768 then :
15769 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15774 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15776 if test -s conftest.err; then
15777 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15778 cat conftest.err >&5
15780 rm -f conftest.err
15781 ac_save_CPPFLAGS=$CPPFLAGS
15782 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15783 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15784 if test "x$ac_cv_header_sys_inotify_h" = xyes
15785 then :
15786 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15791 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15792 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15793 then :
15794 printf %s "(cached) " >&6
15795 else $as_nop
15796 ac_check_lib_save_LIBS=$LIBS
15797 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15801 /* Override any GCC internal prototype to avoid an error.
15802 Use char because int might match the return type of a GCC
15803 builtin and then its argument prototype would still apply. */
15804 char inotify_add_watch ();
15806 main (void)
15808 return inotify_add_watch ();
15810 return 0;
15812 _ACEOF
15813 if ac_fn_c_try_link "$LINENO"
15814 then :
15815 ac_cv_lib_inotify_inotify_add_watch=yes
15816 else $as_nop
15817 ac_cv_lib_inotify_inotify_add_watch=no
15819 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15820 conftest$ac_exeext conftest.$ac_ext
15821 LIBS=$ac_check_lib_save_LIBS
15823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15824 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15825 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15826 then :
15828 else $as_nop
15829 INOTIFY_LIBS=""
15832 CPPFLAGS=$ac_save_CPPFLAGS
15835 if test "$ac_cv_header_sys_inotify_h" != "yes"
15836 then :
15837 case "x$with_inotify" in
15838 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15839 xno) ;;
15840 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15841 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15842 esac
15846 if test "x$with_dbus" != "xno"
15847 then
15848 rm -f conftest.err
15849 if ${DBUS_CFLAGS:+false} :
15850 then :
15851 if test ${PKG_CONFIG+y}
15852 then :
15853 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15857 if ${DBUS_LIBS:+false} :
15858 then :
15859 if test ${PKG_CONFIG+y}
15860 then :
15861 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15867 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15868 if test -s conftest.err; then
15869 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15870 cat conftest.err >&5
15872 rm -f conftest.err
15873 ac_save_CPPFLAGS=$CPPFLAGS
15874 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15875 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15876 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15877 then :
15878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15879 printf %s "checking for -ldbus-1... " >&6; }
15880 if test ${ac_cv_lib_soname_dbus_1+y}
15881 then :
15882 printf %s "(cached) " >&6
15883 else $as_nop
15884 ac_check_soname_save_LIBS=$LIBS
15885 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887 /* end confdefs.h. */
15889 /* Override any GCC internal prototype to avoid an error.
15890 Use char because int might match the return type of a GCC
15891 builtin and then its argument prototype would still apply. */
15892 char dbus_connection_close ();
15894 main (void)
15896 return dbus_connection_close ();
15898 return 0;
15900 _ACEOF
15901 if ac_fn_c_try_link "$LINENO"
15902 then :
15903 case "$LIBEXT" in
15904 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15905 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'` ;;
15906 *) 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'`
15907 if ${ac_cv_lib_soname_dbus_1:+false} :
15908 then :
15909 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15910 fi ;;
15911 esac
15912 else $as_nop
15913 ac_cv_lib_soname_dbus_1=
15915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15916 conftest$ac_exeext conftest.$ac_ext
15917 LIBS=$ac_check_soname_save_LIBS
15919 if ${ac_cv_lib_soname_dbus_1:+false} :
15920 then :
15921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15922 printf "%s\n" "not found" >&6; }
15923 DBUS_CFLAGS=""
15924 else $as_nop
15925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15926 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15928 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15932 else $as_nop
15933 DBUS_CFLAGS=""
15936 CPPFLAGS=$ac_save_CPPFLAGS
15939 case $host_os in
15940 darwin*|macosx*) ;;
15941 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15942 then :
15943 case "x$with_dbus" in
15944 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15945 xno) ;;
15946 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15947 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15948 esac
15950 fi ;;
15951 esac
15953 if test "x$with_gnutls" != "xno"
15954 then
15955 rm -f conftest.err
15956 if ${GNUTLS_CFLAGS:+false} :
15957 then :
15958 if test ${PKG_CONFIG+y}
15959 then :
15960 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15964 if ${GNUTLS_LIBS:+false} :
15965 then :
15966 if test ${PKG_CONFIG+y}
15967 then :
15968 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15972 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15975 if test -s conftest.err; then
15976 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15977 cat conftest.err >&5
15979 rm -f conftest.err
15980 ac_save_CPPFLAGS=$CPPFLAGS
15981 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15982 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15983 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15984 then :
15985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15986 /* end confdefs.h. */
15987 #include <gnutls/gnutls.h>
15988 #include <gnutls/crypto.h>
15990 main (void)
15992 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15994 return 0;
15996 _ACEOF
15997 if ac_fn_c_try_compile "$LINENO"
15998 then :
15999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16000 printf %s "checking for -lgnutls... " >&6; }
16001 if test ${ac_cv_lib_soname_gnutls+y}
16002 then :
16003 printf %s "(cached) " >&6
16004 else $as_nop
16005 ac_check_soname_save_LIBS=$LIBS
16006 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16010 /* Override any GCC internal prototype to avoid an error.
16011 Use char because int might match the return type of a GCC
16012 builtin and then its argument prototype would still apply. */
16013 char gnutls_global_init ();
16015 main (void)
16017 return gnutls_global_init ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"
16023 then :
16024 case "$LIBEXT" in
16025 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16026 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'` ;;
16027 *) 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'`
16028 if ${ac_cv_lib_soname_gnutls:+false} :
16029 then :
16030 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'`
16031 fi ;;
16032 esac
16033 else $as_nop
16034 ac_cv_lib_soname_gnutls=
16036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16037 conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_soname_save_LIBS
16040 if ${ac_cv_lib_soname_gnutls:+false} :
16041 then :
16042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16043 printf "%s\n" "not found" >&6; }
16044 GNUTLS_CFLAGS=""
16045 else $as_nop
16046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16047 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16049 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16053 ac_wine_check_funcs_save_LIBS="$LIBS"
16054 LIBS="$LIBS $GNUTLS_LIBS"
16056 for ac_func in gnutls_cipher_init
16057 do :
16058 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16059 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16060 then :
16061 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16063 else $as_nop
16064 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16067 done
16068 LIBS="$ac_wine_check_funcs_save_LIBS"
16070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16071 else $as_nop
16072 GNUTLS_CFLAGS=""
16075 CPPFLAGS=$ac_save_CPPFLAGS
16078 if test "x$ac_cv_lib_soname_gnutls" = "x"
16079 then :
16080 case "x$with_gnutls" in
16081 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16082 xno) ;;
16083 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16084 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16085 esac
16089 if test "x$with_sane" != "xno"
16090 then
16091 rm -f conftest.err
16092 if ${SANE_CFLAGS:+false} :
16093 then :
16094 if test ${PKG_CONFIG+y}
16095 then :
16096 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16099 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16100 if ${SANE_LIBS:+false} :
16101 then :
16102 if test ${PKG_CONFIG+y}
16103 then :
16104 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16107 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16111 if test -s conftest.err; then
16112 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16113 cat conftest.err >&5
16115 rm -f conftest.err
16116 ac_save_CPPFLAGS=$CPPFLAGS
16117 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16118 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16119 if test "x$ac_cv_header_sane_sane_h" = xyes
16120 then :
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16122 printf %s "checking for sane_init in -lsane... " >&6; }
16123 if test ${ac_cv_lib_sane_sane_init+y}
16124 then :
16125 printf %s "(cached) " >&6
16126 else $as_nop
16127 ac_check_lib_save_LIBS=$LIBS
16128 LIBS="-lsane $SANE_LIBS $LIBS"
16129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16130 /* end confdefs.h. */
16132 /* Override any GCC internal prototype to avoid an error.
16133 Use char because int might match the return type of a GCC
16134 builtin and then its argument prototype would still apply. */
16135 char sane_init ();
16137 main (void)
16139 return sane_init ();
16141 return 0;
16143 _ACEOF
16144 if ac_fn_c_try_link "$LINENO"
16145 then :
16146 ac_cv_lib_sane_sane_init=yes
16147 else $as_nop
16148 ac_cv_lib_sane_sane_init=no
16150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16151 conftest$ac_exeext conftest.$ac_ext
16152 LIBS=$ac_check_lib_save_LIBS
16154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16155 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16156 if test "x$ac_cv_lib_sane_sane_init" = xyes
16157 then :
16163 CPPFLAGS=$ac_save_CPPFLAGS
16166 if test "$ac_cv_lib_sane_sane_init" != "yes"
16167 then :
16168 case "x$with_sane" in
16169 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16170 xno) ;;
16171 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16172 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16173 esac
16174 enable_sane_ds=${enable_sane_ds:-no}
16177 if test "x$with_usb" != "xno"
16178 then
16179 rm -f conftest.err
16180 if ${USB_CFLAGS:+false} :
16181 then :
16182 if test ${PKG_CONFIG+y}
16183 then :
16184 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16188 if ${USB_LIBS:+false} :
16189 then :
16190 if test ${PKG_CONFIG+y}
16191 then :
16192 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16196 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16197 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16199 if test -s conftest.err; then
16200 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16201 cat conftest.err >&5
16203 rm -f conftest.err
16204 ac_save_CPPFLAGS=$CPPFLAGS
16205 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16206 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16207 if test "x$ac_cv_header_libusb_h" = xyes
16208 then :
16209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16210 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16211 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16212 then :
16213 printf %s "(cached) " >&6
16214 else $as_nop
16215 ac_check_lib_save_LIBS=$LIBS
16216 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16220 /* Override any GCC internal prototype to avoid an error.
16221 Use char because int might match the return type of a GCC
16222 builtin and then its argument prototype would still apply. */
16223 char libusb_interrupt_event_handler ();
16225 main (void)
16227 return libusb_interrupt_event_handler ();
16229 return 0;
16231 _ACEOF
16232 if ac_fn_c_try_link "$LINENO"
16233 then :
16234 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16235 else $as_nop
16236 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16239 conftest$ac_exeext conftest.$ac_ext
16240 LIBS=$ac_check_lib_save_LIBS
16242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16243 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16244 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16245 then :
16247 else $as_nop
16248 USB_LIBS=""
16251 else $as_nop
16252 USB_LIBS=""
16255 CPPFLAGS=$ac_save_CPPFLAGS
16258 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16259 then :
16260 case "x$with_usb" in
16261 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16262 xno) ;;
16263 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16264 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16265 esac
16266 enable_wineusb_sys=${enable_wineusb_sys:-no}
16269 if test "x$with_v4l2" != "xno"
16270 then
16271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16272 printf %s "checking for -lv4l2... " >&6; }
16273 if test ${ac_cv_lib_soname_v4l2+y}
16274 then :
16275 printf %s "(cached) " >&6
16276 else $as_nop
16277 ac_check_soname_save_LIBS=$LIBS
16278 LIBS="-lv4l2 $LIBS"
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16282 /* Override any GCC internal prototype to avoid an error.
16283 Use char because int might match the return type of a GCC
16284 builtin and then its argument prototype would still apply. */
16285 char v4l2_open ();
16287 main (void)
16289 return v4l2_open ();
16291 return 0;
16293 _ACEOF
16294 if ac_fn_c_try_link "$LINENO"
16295 then :
16296 case "$LIBEXT" in
16297 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16298 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'` ;;
16299 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16300 if ${ac_cv_lib_soname_v4l2:+false} :
16301 then :
16302 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16303 fi ;;
16304 esac
16305 else $as_nop
16306 ac_cv_lib_soname_v4l2=
16308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16309 conftest$ac_exeext conftest.$ac_ext
16310 LIBS=$ac_check_soname_save_LIBS
16312 if ${ac_cv_lib_soname_v4l2:+false} :
16313 then :
16314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16315 printf "%s\n" "not found" >&6; }
16317 else $as_nop
16318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16319 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16321 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16326 if test "x$ac_cv_lib_soname_v4l2" = "x"
16327 then :
16328 case "x$with_v4l2" in
16329 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16330 xno) ;;
16331 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16332 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16333 esac
16337 if test "x$with_gphoto" != "xno"
16338 then
16339 rm -f conftest.err
16340 if ${GPHOTO2_CFLAGS:+false} :
16341 then :
16342 if test ${PKG_CONFIG+y}
16343 then :
16344 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16347 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16348 if ${GPHOTO2_LIBS:+false} :
16349 then :
16350 if test ${PKG_CONFIG+y}
16351 then :
16352 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16355 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16356 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16359 if test -s conftest.err; then
16360 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16361 cat conftest.err >&5
16363 rm -f conftest.err
16364 ac_save_CPPFLAGS=$CPPFLAGS
16365 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16366 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16367 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16368 then :
16369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16370 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16371 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16372 then :
16373 printf %s "(cached) " >&6
16374 else $as_nop
16375 ac_check_lib_save_LIBS=$LIBS
16376 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 char gp_camera_new ();
16385 main (void)
16387 return gp_camera_new ();
16389 return 0;
16391 _ACEOF
16392 if ac_fn_c_try_link "$LINENO"
16393 then :
16394 ac_cv_lib_gphoto2_gp_camera_new=yes
16395 else $as_nop
16396 ac_cv_lib_gphoto2_gp_camera_new=no
16398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_lib_save_LIBS
16402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16403 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16404 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16405 then :
16411 CPPFLAGS=$ac_save_CPPFLAGS
16413 rm -f conftest.err
16414 if ${GPHOTO2_PORT_CFLAGS:+false} :
16415 then :
16416 if test ${PKG_CONFIG+y}
16417 then :
16418 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16421 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16422 if ${GPHOTO2_PORT_LIBS:+false} :
16423 then :
16424 if test ${PKG_CONFIG+y}
16425 then :
16426 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16429 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16430 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16433 if test -s conftest.err; then
16434 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16435 cat conftest.err >&5
16437 rm -f conftest.err
16438 ac_save_CPPFLAGS=$CPPFLAGS
16439 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16440 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16441 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16442 then :
16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16444 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16445 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16446 then :
16447 printf %s "(cached) " >&6
16448 else $as_nop
16449 ac_check_lib_save_LIBS=$LIBS
16450 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16452 /* end confdefs.h. */
16454 /* Override any GCC internal prototype to avoid an error.
16455 Use char because int might match the return type of a GCC
16456 builtin and then its argument prototype would still apply. */
16457 char gp_port_info_list_new ();
16459 main (void)
16461 return gp_port_info_list_new ();
16463 return 0;
16465 _ACEOF
16466 if ac_fn_c_try_link "$LINENO"
16467 then :
16468 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16469 else $as_nop
16470 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16473 conftest$ac_exeext conftest.$ac_ext
16474 LIBS=$ac_check_lib_save_LIBS
16476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16477 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16478 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16479 then :
16481 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16483 else $as_nop
16484 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16487 else $as_nop
16488 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16491 CPPFLAGS=$ac_save_CPPFLAGS
16494 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16495 then :
16496 case "x$with_gphoto" in
16497 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16498 xno) ;;
16499 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16500 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16501 esac
16502 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16504 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16505 then :
16506 case "x$with_gphoto" in
16507 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16508 xno) ;;
16509 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16510 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16511 esac
16516 if test "$ac_cv_header_resolv_h" = "yes"
16517 then
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16519 printf %s "checking for resolver library... " >&6; }
16520 if test ${ac_cv_have_resolv+y}
16521 then :
16522 printf %s "(cached) " >&6
16523 else $as_nop
16524 ac_save_LIBS="$LIBS"
16525 for lib in '' -lresolv
16527 LIBS="$lib $ac_save_LIBS"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #ifdef HAVE_NETINET_IN_H
16531 #include <netinet/in.h>
16532 #endif
16533 #include <resolv.h>
16535 main (void)
16537 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16539 return 0;
16541 _ACEOF
16542 if ac_fn_c_try_link "$LINENO"
16543 then :
16544 ac_cv_have_resolv=${lib:-"none required"}
16545 else $as_nop
16546 ac_cv_have_resolv="not found"
16548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16549 conftest$ac_exeext conftest.$ac_ext
16550 test "x$ac_cv_have_resolv" = "xnot found" || break
16551 done
16552 LIBS="$ac_save_LIBS"
16554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16555 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16557 case "$ac_cv_have_resolv" in
16558 "not found") ;;
16559 "none required")
16561 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16564 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16566 RESOLV_LIBS=$ac_cv_have_resolv
16568 esac
16570 if test "x$ac_cv_have_resolv" != "xnot found"
16571 then
16572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16573 printf %s "checking for res_getservers... " >&6; }
16574 if test ${ac_cv_have_res_getservers+y}
16575 then :
16576 printf %s "(cached) " >&6
16577 else $as_nop
16578 ac_save_LIBS="$LIBS"
16579 LIBS="$RESOLV_LIBS $LIBS"
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16582 #include <resolv.h>
16584 main (void)
16586 res_getservers(NULL, NULL, 0);
16588 return 0;
16590 _ACEOF
16591 if ac_fn_c_try_link "$LINENO"
16592 then :
16593 ac_cv_have_res_getservers=yes
16594 else $as_nop
16595 ac_cv_have_res_getservers=no
16597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16598 conftest$ac_exeext conftest.$ac_ext
16599 LIBS="$ac_save_LIBS"
16601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16602 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16603 if test "$ac_cv_have_res_getservers" = "yes"
16604 then
16606 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16612 if test "x$with_freetype" != "xno"
16613 then
16614 rm -f conftest.err
16615 if ${FREETYPE_CFLAGS:+false} :
16616 then :
16617 if test ${PKG_CONFIG+y}
16618 then :
16619 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16622 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16623 if ${FREETYPE_LIBS:+false} :
16624 then :
16625 if test ${PKG_CONFIG+y}
16626 then :
16627 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16630 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16631 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16632 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16634 if test -s conftest.err; then
16635 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16636 cat conftest.err >&5
16638 rm -f conftest.err
16639 ac_save_CPPFLAGS=$CPPFLAGS
16640 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16641 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16642 if test "x$ac_cv_header_ft2build_h" = xyes
16643 then :
16644 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16648 if test "$ac_cv_header_ft2build_h" = "yes"
16649 then
16650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16651 printf %s "checking for -lfreetype... " >&6; }
16652 if test ${ac_cv_lib_soname_freetype+y}
16653 then :
16654 printf %s "(cached) " >&6
16655 else $as_nop
16656 ac_check_soname_save_LIBS=$LIBS
16657 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16661 /* Override any GCC internal prototype to avoid an error.
16662 Use char because int might match the return type of a GCC
16663 builtin and then its argument prototype would still apply. */
16664 char FT_Init_FreeType ();
16666 main (void)
16668 return FT_Init_FreeType ();
16670 return 0;
16672 _ACEOF
16673 if ac_fn_c_try_link "$LINENO"
16674 then :
16675 case "$LIBEXT" in
16676 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16677 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'` ;;
16678 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16679 if ${ac_cv_lib_soname_freetype:+false} :
16680 then :
16681 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16682 fi ;;
16683 esac
16684 else $as_nop
16685 ac_cv_lib_soname_freetype=
16687 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16688 conftest$ac_exeext conftest.$ac_ext
16689 LIBS=$ac_check_soname_save_LIBS
16691 if ${ac_cv_lib_soname_freetype:+false} :
16692 then :
16693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16694 printf "%s\n" "not found" >&6; }
16695 FREETYPE_LIBS=""
16696 else $as_nop
16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16698 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16700 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16703 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16705 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16706 #include FT_MODULE_H
16708 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16709 then :
16711 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16717 else
16718 FREETYPE_CFLAGS=""
16719 FREETYPE_LIBS=""
16721 CPPFLAGS=$ac_save_CPPFLAGS
16724 if test "x$ac_cv_lib_soname_freetype" = x
16725 then :
16726 case "x$with_freetype" in
16727 xno) ;;
16728 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16729 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16730 esac
16731 enable_fonts=${enable_fonts:-no}
16734 ac_wine_check_funcs_save_LIBS="$LIBS"
16735 LIBS="$LIBS $PTHREAD_LIBS"
16736 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16737 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16738 then :
16739 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16743 LIBS="$ac_wine_check_funcs_save_LIBS"
16745 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16746 then
16747 if test "$ac_cv_header_gettext_po_h" = "yes"
16748 then
16749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16750 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16751 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16752 then :
16753 printf %s "(cached) " >&6
16754 else $as_nop
16755 ac_check_lib_save_LIBS=$LIBS
16756 LIBS="-lgettextpo $LIBS"
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h. */
16760 /* Override any GCC internal prototype to avoid an error.
16761 Use char because int might match the return type of a GCC
16762 builtin and then its argument prototype would still apply. */
16763 char po_message_msgctxt ();
16765 main (void)
16767 return po_message_msgctxt ();
16769 return 0;
16771 _ACEOF
16772 if ac_fn_c_try_link "$LINENO"
16773 then :
16774 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16775 else $as_nop
16776 ac_cv_lib_gettextpo_po_message_msgctxt=no
16778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16779 conftest$ac_exeext conftest.$ac_ext
16780 LIBS=$ac_check_lib_save_LIBS
16782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16783 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16784 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16785 then :
16787 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16789 GETTEXTPO_LIBS="-lgettextpo"
16794 if test "x$GETTEXTPO_LIBS" = "x"
16795 then :
16796 case "x$with_gettextpo" in
16797 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16798 xno) ;;
16799 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16800 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16801 esac
16804 if test "$srcdir" != .
16805 then :
16806 case "x$with_gettextpo" in
16807 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16808 xno) ;;
16809 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16810 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16811 esac
16816 if test "x$with_pulse" != "xno";
16817 then
16818 rm -f conftest.err
16819 if ${PULSE_CFLAGS:+false} :
16820 then :
16821 if test ${PKG_CONFIG+y}
16822 then :
16823 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16827 if ${PULSE_LIBS:+false} :
16828 then :
16829 if test ${PKG_CONFIG+y}
16830 then :
16831 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16836 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16838 if test -s conftest.err; then
16839 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16840 cat conftest.err >&5
16842 rm -f conftest.err
16843 ac_save_CPPFLAGS=$CPPFLAGS
16844 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16845 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16846 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16847 then :
16848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16849 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16850 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16851 then :
16852 printf %s "(cached) " >&6
16853 else $as_nop
16854 ac_check_lib_save_LIBS=$LIBS
16855 LIBS="-lpulse $PULSE_LIBS $LIBS"
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 /* Override any GCC internal prototype to avoid an error.
16860 Use char because int might match the return type of a GCC
16861 builtin and then its argument prototype would still apply. */
16862 char pa_stream_is_corked ();
16864 main (void)
16866 return pa_stream_is_corked ();
16868 return 0;
16870 _ACEOF
16871 if ac_fn_c_try_link "$LINENO"
16872 then :
16873 ac_cv_lib_pulse_pa_stream_is_corked=yes
16874 else $as_nop
16875 ac_cv_lib_pulse_pa_stream_is_corked=no
16877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16878 conftest$ac_exeext conftest.$ac_ext
16879 LIBS=$ac_check_lib_save_LIBS
16881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16882 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16883 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16884 then :
16886 else $as_nop
16887 PULSE_LIBS=""
16890 else $as_nop
16891 PULSE_LIBS=""
16894 CPPFLAGS=$ac_save_CPPFLAGS
16897 if test -z "$PULSE_LIBS"
16898 then :
16899 case "x$with_pulse" in
16900 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16901 xno) ;;
16902 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16903 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16904 esac
16905 enable_winepulse_drv=${enable_winepulse_drv:-no}
16908 if test "x$with_gstreamer" != "xno"
16909 then
16910 rm -f conftest.err
16911 if ${GSTREAMER_CFLAGS:+false} :
16912 then :
16913 if test ${PKG_CONFIG+y}
16914 then :
16915 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16919 if ${GSTREAMER_LIBS:+false} :
16920 then :
16921 if test ${PKG_CONFIG+y}
16922 then :
16923 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16928 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
16929 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
16930 if test -s conftest.err; then
16931 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16932 cat conftest.err >&5
16934 rm -f conftest.err
16935 ac_save_CPPFLAGS=$CPPFLAGS
16936 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16937 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16938 if test "x$ac_cv_header_gst_gst_h" = xyes
16939 then :
16940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16941 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <gst/gst.h>
16946 main (void)
16948 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16950 return 0;
16952 _ACEOF
16953 if ac_fn_c_try_compile "$LINENO"
16954 then :
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16956 printf "%s\n" "yes" >&6; }
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16958 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16959 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16960 then :
16961 printf %s "(cached) " >&6
16962 else $as_nop
16963 ac_check_lib_save_LIBS=$LIBS
16964 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16966 /* end confdefs.h. */
16968 /* Override any GCC internal prototype to avoid an error.
16969 Use char because int might match the return type of a GCC
16970 builtin and then its argument prototype would still apply. */
16971 char gst_pad_new ();
16973 main (void)
16975 return gst_pad_new ();
16977 return 0;
16979 _ACEOF
16980 if ac_fn_c_try_link "$LINENO"
16981 then :
16982 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16983 else $as_nop
16984 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16987 conftest$ac_exeext conftest.$ac_ext
16988 LIBS=$ac_check_lib_save_LIBS
16990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16991 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16992 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16993 then :
16997 else $as_nop
16998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16999 printf "%s\n" "no" >&6; }
17000 ac_glib2_broken=yes
17001 enable_winegstreamer=${enable_winegstreamer:-no}
17002 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17007 CPPFLAGS=$ac_save_CPPFLAGS
17010 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17011 then :
17012 case "x$with_gstreamer" in
17013 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17014 xno) ;;
17015 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17016 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17017 esac
17018 enable_winegstreamer=${enable_winegstreamer:-no}
17021 ALSA_LIBS=""
17023 if test "x$with_alsa" != "xno"
17024 then
17025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17026 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17027 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17028 then :
17029 printf %s "(cached) " >&6
17030 else $as_nop
17031 ac_check_lib_save_LIBS=$LIBS
17032 LIBS="-lasound $LIBS"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17036 /* Override any GCC internal prototype to avoid an error.
17037 Use char because int might match the return type of a GCC
17038 builtin and then its argument prototype would still apply. */
17039 char snd_pcm_hw_params_get_access_mask ();
17041 main (void)
17043 return snd_pcm_hw_params_get_access_mask ();
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_link "$LINENO"
17049 then :
17050 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17051 else $as_nop
17052 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17055 conftest$ac_exeext conftest.$ac_ext
17056 LIBS=$ac_check_lib_save_LIBS
17058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17059 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17060 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17061 then :
17062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17063 /* end confdefs.h. */
17064 #include <alsa/asoundlib.h>
17066 main (void)
17068 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17070 return 0;
17072 _ACEOF
17073 if ac_fn_c_try_compile "$LINENO"
17074 then :
17075 ALSA_LIBS="-lasound"
17077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17081 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17083 if test "x$with_oss" != xno
17084 then
17085 ac_save_CPPFLAGS="$CPPFLAGS"
17086 if test -f /etc/oss.conf
17087 then
17088 . /etc/oss.conf
17090 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17091 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17092 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17093 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17094 then :
17095 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17097 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17098 then :
17100 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17102 OSS4_CFLAGS="$ac_oss_incl"
17104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17105 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17106 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17107 then :
17108 printf %s "(cached) " >&6
17109 else $as_nop
17110 ac_check_lib_save_LIBS=$LIBS
17111 LIBS="-lossaudio $LIBS"
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17115 /* Override any GCC internal prototype to avoid an error.
17116 Use char because int might match the return type of a GCC
17117 builtin and then its argument prototype would still apply. */
17118 char _oss_ioctl ();
17120 main (void)
17122 return _oss_ioctl ();
17124 return 0;
17126 _ACEOF
17127 if ac_fn_c_try_link "$LINENO"
17128 then :
17129 ac_cv_lib_ossaudio__oss_ioctl=yes
17130 else $as_nop
17131 ac_cv_lib_ossaudio__oss_ioctl=no
17133 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17134 conftest$ac_exeext conftest.$ac_ext
17135 LIBS=$ac_check_lib_save_LIBS
17137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17138 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17139 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17140 then :
17141 OSS4_LIBS="-lossaudio"
17149 CPPFLAGS="$ac_save_CPPFLAGS"
17151 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17152 then :
17153 case "x$with_oss" in
17154 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17155 xno) ;;
17156 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17157 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17158 esac
17159 enable_wineoss_drv=${enable_wineoss_drv:-no}
17162 if test "x$with_udev" != "xno"
17163 then
17164 rm -f conftest.err
17165 if ${UDEV_CFLAGS:+false} :
17166 then :
17167 if test ${PKG_CONFIG+y}
17168 then :
17169 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17173 if ${UDEV_LIBS:+false} :
17174 then :
17175 if test ${PKG_CONFIG+y}
17176 then :
17177 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17181 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17184 if test -s conftest.err; then
17185 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17186 cat conftest.err >&5
17188 rm -f conftest.err
17189 ac_save_CPPFLAGS=$CPPFLAGS
17190 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17191 for ac_header in libudev.h
17192 do :
17193 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17194 if test "x$ac_cv_header_libudev_h" = xyes
17195 then :
17196 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17198 printf %s "checking for udev_new in -ludev... " >&6; }
17199 if test ${ac_cv_lib_udev_udev_new+y}
17200 then :
17201 printf %s "(cached) " >&6
17202 else $as_nop
17203 ac_check_lib_save_LIBS=$LIBS
17204 LIBS="-ludev $UDEV_LIBS $LIBS"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17211 char udev_new ();
17213 main (void)
17215 return udev_new ();
17217 return 0;
17219 _ACEOF
17220 if ac_fn_c_try_link "$LINENO"
17221 then :
17222 ac_cv_lib_udev_udev_new=yes
17223 else $as_nop
17224 ac_cv_lib_udev_udev_new=no
17226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17227 conftest$ac_exeext conftest.$ac_ext
17228 LIBS=$ac_check_lib_save_LIBS
17230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17231 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17232 if test "x$ac_cv_lib_udev_udev_new" = xyes
17233 then :
17235 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17237 else $as_nop
17238 UDEV_LIBS=""
17241 else $as_nop
17242 UDEV_LIBS=""
17245 done
17246 CPPFLAGS=$ac_save_CPPFLAGS
17249 if test "x$UDEV_LIBS" = "x"
17250 then :
17251 case "x$with_udev" in
17252 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17253 xno) ;;
17254 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17255 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17256 esac
17260 if test "x$with_unwind" != xno
17261 then
17262 rm -f conftest.err
17263 if ${UNWIND_CFLAGS:+false} :
17264 then :
17265 if test ${PKG_CONFIG+y}
17266 then :
17267 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17271 if ${UNWIND_LIBS:+false} :
17272 then :
17273 if test ${PKG_CONFIG+y}
17274 then :
17275 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17279 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17280 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17281 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17282 if test -s conftest.err; then
17283 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17284 cat conftest.err >&5
17286 rm -f conftest.err
17287 ac_save_CPPFLAGS=$CPPFLAGS
17288 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17290 printf %s "checking for unw_step... " >&6; }
17291 if test ${wine_cv_have_unw_step+y}
17292 then :
17293 printf %s "(cached) " >&6
17294 else $as_nop
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #define UNW_LOCAL_ONLY
17298 #include <libunwind.h>
17300 main (void)
17302 unw_cursor_t cursor; unw_step( &cursor );
17304 return 0;
17306 _ACEOF
17307 if ac_fn_c_try_link "$LINENO"
17308 then :
17309 wine_cv_have_unw_step="yes"
17310 else $as_nop
17311 wine_cv_have_unw_step="no"
17313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17314 conftest$ac_exeext conftest.$ac_ext
17316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17317 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17318 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17319 then
17320 save_libs=$LIBS
17321 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17322 LIBS="$UNWIND_LIBS $LIBS"
17323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17324 printf %s "checking for unw_step in libunwind... " >&6; }
17325 if test ${wine_cv_have_libunwind_unw_step+y}
17326 then :
17327 printf %s "(cached) " >&6
17328 else $as_nop
17329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17331 #define UNW_LOCAL_ONLY
17332 #include <libunwind.h>
17334 main (void)
17336 unw_cursor_t cursor; unw_step( &cursor );
17338 return 0;
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"
17342 then :
17343 wine_cv_have_libunwind_unw_step="yes"
17344 else $as_nop
17345 wine_cv_have_libunwind_unw_step="no"
17347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17348 conftest$ac_exeext conftest.$ac_ext
17350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17351 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17352 LIBS=$save_libs
17354 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17355 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17356 then
17358 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17361 CPPFLAGS=$ac_save_CPPFLAGS
17364 case $host in
17365 aarch64*|*-darwin*)
17366 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17367 then :
17368 case "x$with_unwind" in
17369 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17370 xno) ;;
17371 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17372 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17373 esac
17375 fi ;;
17376 esac
17378 if test "x$with_sdl" != "xno"
17379 then
17380 rm -f conftest.err
17381 if ${SDL2_CFLAGS:+false} :
17382 then :
17383 if test ${PKG_CONFIG+y}
17384 then :
17385 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17389 if ${SDL2_LIBS:+false} :
17390 then :
17391 if test ${PKG_CONFIG+y}
17392 then :
17393 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17397 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17398 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17400 if test -s conftest.err; then
17401 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17402 cat conftest.err >&5
17404 rm -f conftest.err
17405 ac_save_CPPFLAGS=$CPPFLAGS
17406 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17407 for ac_header in SDL.h
17408 do :
17409 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17410 if test "x$ac_cv_header_SDL_h" = xyes
17411 then :
17412 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17414 printf %s "checking for -lSDL2... " >&6; }
17415 if test ${ac_cv_lib_soname_SDL2+y}
17416 then :
17417 printf %s "(cached) " >&6
17418 else $as_nop
17419 ac_check_soname_save_LIBS=$LIBS
17420 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 /* end confdefs.h. */
17424 /* Override any GCC internal prototype to avoid an error.
17425 Use char because int might match the return type of a GCC
17426 builtin and then its argument prototype would still apply. */
17427 char SDL_Init ();
17429 main (void)
17431 return SDL_Init ();
17433 return 0;
17435 _ACEOF
17436 if ac_fn_c_try_link "$LINENO"
17437 then :
17438 case "$LIBEXT" in
17439 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17440 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'` ;;
17441 *) 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'`
17442 if ${ac_cv_lib_soname_SDL2:+false} :
17443 then :
17444 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17445 fi ;;
17446 esac
17447 else $as_nop
17448 ac_cv_lib_soname_SDL2=
17450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17451 conftest$ac_exeext conftest.$ac_ext
17452 LIBS=$ac_check_soname_save_LIBS
17454 if ${ac_cv_lib_soname_SDL2:+false} :
17455 then :
17456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17457 printf "%s\n" "not found" >&6; }
17459 else $as_nop
17460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17461 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17463 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17469 done
17470 CPPFLAGS=$ac_save_CPPFLAGS
17473 if test "x$ac_cv_lib_soname_SDL2" = "x"
17474 then :
17475 case "x$with_sdl" in
17476 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17477 xno) ;;
17478 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17479 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17480 esac
17484 if test "x$with_capi" != "xno"
17485 then
17486 rm -f conftest.err
17487 if ${CAPI20_CFLAGS:+false} :
17488 then :
17489 if test ${PKG_CONFIG+y}
17490 then :
17491 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17495 if ${CAPI20_LIBS:+false} :
17496 then :
17497 if test ${PKG_CONFIG+y}
17498 then :
17499 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17506 if test -s conftest.err; then
17507 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17508 cat conftest.err >&5
17510 rm -f conftest.err
17511 ac_save_CPPFLAGS=$CPPFLAGS
17512 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17513 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17515 if test "x$ac_cv_header_capi20_h" = xyes
17516 then :
17517 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17520 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17522 if test "x$ac_cv_header_linux_capi_h" = xyes
17523 then :
17524 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17528 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17529 then
17530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17531 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17532 if test ${ac_cv_lib_capi20_capi20_register+y}
17533 then :
17534 printf %s "(cached) " >&6
17535 else $as_nop
17536 ac_check_lib_save_LIBS=$LIBS
17537 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17539 /* end confdefs.h. */
17541 /* Override any GCC internal prototype to avoid an error.
17542 Use char because int might match the return type of a GCC
17543 builtin and then its argument prototype would still apply. */
17544 char capi20_register ();
17546 main (void)
17548 return capi20_register ();
17550 return 0;
17552 _ACEOF
17553 if ac_fn_c_try_link "$LINENO"
17554 then :
17555 ac_cv_lib_capi20_capi20_register=yes
17556 else $as_nop
17557 ac_cv_lib_capi20_capi20_register=no
17559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17560 conftest$ac_exeext conftest.$ac_ext
17561 LIBS=$ac_check_lib_save_LIBS
17563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17564 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17565 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17566 then :
17568 else $as_nop
17569 CAPI20_LIBS=""
17573 CPPFLAGS=$ac_save_CPPFLAGS
17576 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17577 then :
17578 case "x$with_capi" in
17579 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17580 xno) ;;
17581 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17582 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17583 esac
17584 enable_capi2032=${enable_capi2032:-no}
17587 if test "x$with_cups" != "xno"
17588 then
17589 rm -f conftest.err
17590 if ${CUPS_CFLAGS:+false} :
17591 then :
17592 if test ${PKG_CONFIG+y}
17593 then :
17594 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17597 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17598 if ${CUPS_LIBS:+false} :
17599 then :
17600 if test ${PKG_CONFIG+y}
17601 then :
17602 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17605 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17606 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17607 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17608 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17609 if test -s conftest.err; then
17610 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17611 cat conftest.err >&5
17613 rm -f conftest.err
17614 ac_save_CPPFLAGS=$CPPFLAGS
17615 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17616 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17617 if test "x$ac_cv_header_cups_cups_h" = xyes
17618 then :
17619 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17622 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17623 if test "x$ac_cv_header_cups_ppd_h" = xyes
17624 then :
17625 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17629 if test "$ac_cv_header_cups_cups_h" = "yes"
17630 then
17631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17632 printf %s "checking for -lcups... " >&6; }
17633 if test ${ac_cv_lib_soname_cups+y}
17634 then :
17635 printf %s "(cached) " >&6
17636 else $as_nop
17637 ac_check_soname_save_LIBS=$LIBS
17638 LIBS="-lcups $CUPS_LIBS $LIBS"
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17642 /* Override any GCC internal prototype to avoid an error.
17643 Use char because int might match the return type of a GCC
17644 builtin and then its argument prototype would still apply. */
17645 char cupsGetDefault ();
17647 main (void)
17649 return cupsGetDefault ();
17651 return 0;
17653 _ACEOF
17654 if ac_fn_c_try_link "$LINENO"
17655 then :
17656 case "$LIBEXT" in
17657 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17658 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'` ;;
17659 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17660 if ${ac_cv_lib_soname_cups:+false} :
17661 then :
17662 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17663 fi ;;
17664 esac
17665 else $as_nop
17666 ac_cv_lib_soname_cups=
17668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17669 conftest$ac_exeext conftest.$ac_ext
17670 LIBS=$ac_check_soname_save_LIBS
17672 if ${ac_cv_lib_soname_cups:+false} :
17673 then :
17674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17675 printf "%s\n" "not found" >&6; }
17676 CUPS_LIBS=""
17677 else $as_nop
17678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17679 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17681 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17685 else
17686 CUPS_CFLAGS=""
17687 CUPS_LIBS=""
17689 CPPFLAGS=$ac_save_CPPFLAGS
17692 if test "x$ac_cv_lib_soname_cups" = "x"
17693 then :
17694 case "x$with_cups" in
17695 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17696 xno) ;;
17697 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17698 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17699 esac
17703 if test "x$with_fontconfig" != "xno"
17704 then
17705 rm -f conftest.err
17706 if ${FONTCONFIG_CFLAGS:+false} :
17707 then :
17708 if test ${PKG_CONFIG+y}
17709 then :
17710 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17713 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17714 if ${FONTCONFIG_LIBS:+false} :
17715 then :
17716 if test ${PKG_CONFIG+y}
17717 then :
17718 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17721 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17725 if test -s conftest.err; then
17726 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17727 cat conftest.err >&5
17729 rm -f conftest.err
17730 ac_save_CPPFLAGS=$CPPFLAGS
17731 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17732 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17733 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17734 then :
17735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17736 printf %s "checking for -lfontconfig... " >&6; }
17737 if test ${ac_cv_lib_soname_fontconfig+y}
17738 then :
17739 printf %s "(cached) " >&6
17740 else $as_nop
17741 ac_check_soname_save_LIBS=$LIBS
17742 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 /* Override any GCC internal prototype to avoid an error.
17747 Use char because int might match the return type of a GCC
17748 builtin and then its argument prototype would still apply. */
17749 char FcInit ();
17751 main (void)
17753 return FcInit ();
17755 return 0;
17757 _ACEOF
17758 if ac_fn_c_try_link "$LINENO"
17759 then :
17760 case "$LIBEXT" in
17761 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17762 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'` ;;
17763 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17764 if ${ac_cv_lib_soname_fontconfig:+false} :
17765 then :
17766 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17767 fi ;;
17768 esac
17769 else $as_nop
17770 ac_cv_lib_soname_fontconfig=
17772 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17773 conftest$ac_exeext conftest.$ac_ext
17774 LIBS=$ac_check_soname_save_LIBS
17776 if ${ac_cv_lib_soname_fontconfig:+false} :
17777 then :
17778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17779 printf "%s\n" "not found" >&6; }
17780 FONTCONFIG_CFLAGS=""
17781 else $as_nop
17782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17783 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17785 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17789 else $as_nop
17790 FONTCONFIG_CFLAGS=""
17793 CPPFLAGS=$ac_save_CPPFLAGS
17796 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17797 then :
17798 case "x$with_fontconfig" in
17799 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17800 xno) ;;
17801 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17802 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17803 esac
17807 if test "x$with_krb5" != "xno"
17808 then
17809 rm -f conftest.err
17810 if ${KRB5_CFLAGS:+false} :
17811 then :
17812 if test ${PKG_CONFIG+y}
17813 then :
17814 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17817 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17818 if ${KRB5_LIBS:+false} :
17819 then :
17820 if test ${PKG_CONFIG+y}
17821 then :
17822 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17825 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17828 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17829 if test -s conftest.err; then
17830 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17831 cat conftest.err >&5
17833 rm -f conftest.err
17834 ac_save_CPPFLAGS=$CPPFLAGS
17835 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17836 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17837 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17838 then :
17839 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17843 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17844 then
17845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17846 printf %s "checking for -lkrb5... " >&6; }
17847 if test ${ac_cv_lib_soname_krb5+y}
17848 then :
17849 printf %s "(cached) " >&6
17850 else $as_nop
17851 ac_check_soname_save_LIBS=$LIBS
17852 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17856 /* Override any GCC internal prototype to avoid an error.
17857 Use char because int might match the return type of a GCC
17858 builtin and then its argument prototype would still apply. */
17859 char krb5_is_config_principal ();
17861 main (void)
17863 return krb5_is_config_principal ();
17865 return 0;
17867 _ACEOF
17868 if ac_fn_c_try_link "$LINENO"
17869 then :
17870 case "$LIBEXT" in
17871 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17872 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'` ;;
17873 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17874 if ${ac_cv_lib_soname_krb5:+false} :
17875 then :
17876 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17877 fi ;;
17878 esac
17879 else $as_nop
17880 ac_cv_lib_soname_krb5=
17882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17883 conftest$ac_exeext conftest.$ac_ext
17884 LIBS=$ac_check_soname_save_LIBS
17886 if ${ac_cv_lib_soname_krb5:+false} :
17887 then :
17888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17889 printf "%s\n" "not found" >&6; }
17890 KRB5_CFLAGS=""
17891 else $as_nop
17892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17893 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17895 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17899 else
17900 KRB5_CFLAGS=""
17902 CPPFLAGS=$ac_save_CPPFLAGS
17905 if test "x$ac_cv_lib_soname_krb5" = "x"
17906 then :
17907 case "x$with_krb5" in
17908 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17909 xno) ;;
17910 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17911 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17912 esac
17915 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17917 if test "x$with_gssapi" != "xno"
17918 then
17919 rm -f conftest.err
17920 if ${GSSAPI_CFLAGS:+false} :
17921 then :
17922 if test ${PKG_CONFIG+y}
17923 then :
17924 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17927 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17928 if ${GSSAPI_LIBS:+false} :
17929 then :
17930 if test ${PKG_CONFIG+y}
17931 then :
17932 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17935 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17937 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17939 if test -s conftest.err; then
17940 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17941 cat conftest.err >&5
17943 rm -f conftest.err
17944 ac_save_CPPFLAGS=$CPPFLAGS
17945 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17946 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17947 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17948 then :
17949 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17952 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17953 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17954 then :
17955 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17959 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17960 then
17961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17962 printf %s "checking for -lgssapi_krb5... " >&6; }
17963 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17964 then :
17965 printf %s "(cached) " >&6
17966 else $as_nop
17967 ac_check_soname_save_LIBS=$LIBS
17968 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17972 /* Override any GCC internal prototype to avoid an error.
17973 Use char because int might match the return type of a GCC
17974 builtin and then its argument prototype would still apply. */
17975 char gss_init_sec_context ();
17977 main (void)
17979 return gss_init_sec_context ();
17981 return 0;
17983 _ACEOF
17984 if ac_fn_c_try_link "$LINENO"
17985 then :
17986 case "$LIBEXT" in
17987 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17988 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'` ;;
17989 *) 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'`
17990 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17991 then :
17992 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17993 fi ;;
17994 esac
17995 else $as_nop
17996 ac_cv_lib_soname_gssapi_krb5=
17998 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17999 conftest$ac_exeext conftest.$ac_ext
18000 LIBS=$ac_check_soname_save_LIBS
18002 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18003 then :
18004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18005 printf "%s\n" "not found" >&6; }
18006 GSSAPI_CFLAGS=""
18007 else $as_nop
18008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18009 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18011 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18015 else
18016 GSSAPI_CFLAGS=""
18018 CPPFLAGS=$ac_save_CPPFLAGS
18021 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18022 then :
18023 case "x$with_gssapi" in
18024 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18025 xno) ;;
18026 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18027 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18028 esac
18032 if test "$ac_cv_header_libprocstat_h" = "yes"
18033 then
18034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18035 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18036 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18037 then :
18038 printf %s "(cached) " >&6
18039 else $as_nop
18040 ac_check_lib_save_LIBS=$LIBS
18041 LIBS="-lprocstat $LIBS"
18042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18043 /* end confdefs.h. */
18045 /* Override any GCC internal prototype to avoid an error.
18046 Use char because int might match the return type of a GCC
18047 builtin and then its argument prototype would still apply. */
18048 char procstat_open_sysctl ();
18050 main (void)
18052 return procstat_open_sysctl ();
18054 return 0;
18056 _ACEOF
18057 if ac_fn_c_try_link "$LINENO"
18058 then :
18059 ac_cv_lib_procstat_procstat_open_sysctl=yes
18060 else $as_nop
18061 ac_cv_lib_procstat_procstat_open_sysctl=no
18063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18064 conftest$ac_exeext conftest.$ac_ext
18065 LIBS=$ac_check_lib_save_LIBS
18067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18068 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18069 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18070 then :
18072 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18074 PROCSTAT_LIBS="-lprocstat"
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18081 printf %s "checking for -lodbc... " >&6; }
18082 if test ${ac_cv_lib_soname_odbc+y}
18083 then :
18084 printf %s "(cached) " >&6
18085 else $as_nop
18086 ac_check_soname_save_LIBS=$LIBS
18087 LIBS="-lodbc $LIBS"
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 /* Override any GCC internal prototype to avoid an error.
18092 Use char because int might match the return type of a GCC
18093 builtin and then its argument prototype would still apply. */
18094 char SQLConnect ();
18096 main (void)
18098 return SQLConnect ();
18100 return 0;
18102 _ACEOF
18103 if ac_fn_c_try_link "$LINENO"
18104 then :
18105 case "$LIBEXT" in
18106 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18107 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'` ;;
18108 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18109 if ${ac_cv_lib_soname_odbc:+false} :
18110 then :
18111 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18112 fi ;;
18113 esac
18114 else $as_nop
18115 ac_cv_lib_soname_odbc=
18117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18118 conftest$ac_exeext conftest.$ac_ext
18119 LIBS=$ac_check_soname_save_LIBS
18121 if ${ac_cv_lib_soname_odbc:+false} :
18122 then :
18123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18124 printf "%s\n" "not found" >&6; }
18125 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18127 else $as_nop
18128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18129 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18131 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18136 if test "x$with_netapi" != "xno"
18137 then
18138 rm -f conftest.err
18139 if ${NETAPI_CFLAGS:+false} :
18140 then :
18141 if test ${PKG_CONFIG+y}
18142 then :
18143 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18147 if ${NETAPI_LIBS:+false} :
18148 then :
18149 if test ${PKG_CONFIG+y}
18150 then :
18151 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18158 if test -s conftest.err; then
18159 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18160 cat conftest.err >&5
18162 rm -f conftest.err
18163 ac_save_CPPFLAGS=$CPPFLAGS
18164 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18166 printf %s "checking for -lnetapi... " >&6; }
18167 if test ${ac_cv_lib_soname_netapi+y}
18168 then :
18169 printf %s "(cached) " >&6
18170 else $as_nop
18171 ac_check_soname_save_LIBS=$LIBS
18172 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 /* Override any GCC internal prototype to avoid an error.
18177 Use char because int might match the return type of a GCC
18178 builtin and then its argument prototype would still apply. */
18179 char libnetapi_init ();
18181 main (void)
18183 return libnetapi_init ();
18185 return 0;
18187 _ACEOF
18188 if ac_fn_c_try_link "$LINENO"
18189 then :
18190 case "$LIBEXT" in
18191 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18192 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'` ;;
18193 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18194 if ${ac_cv_lib_soname_netapi:+false} :
18195 then :
18196 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18197 fi ;;
18198 esac
18199 else $as_nop
18200 ac_cv_lib_soname_netapi=
18202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18203 conftest$ac_exeext conftest.$ac_ext
18204 LIBS=$ac_check_soname_save_LIBS
18206 if ${ac_cv_lib_soname_netapi:+false} :
18207 then :
18208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18209 printf "%s\n" "not found" >&6; }
18210 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18212 else $as_nop
18213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18214 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18216 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18220 CPPFLAGS=$ac_save_CPPFLAGS
18223 if test "x$ac_cv_lib_soname_netapi" = "x"
18224 then :
18225 case "x$with_netapi" in
18226 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18227 xno) ;;
18228 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18229 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18230 esac
18231 enable_netapi=${enable_netapi:-no}
18235 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18236 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18237 then
18238 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18241 if test "x$with_vulkan" != "xno"
18242 then
18243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18244 printf %s "checking for -lvulkan... " >&6; }
18245 if test ${ac_cv_lib_soname_vulkan+y}
18246 then :
18247 printf %s "(cached) " >&6
18248 else $as_nop
18249 ac_check_soname_save_LIBS=$LIBS
18250 LIBS="-lvulkan $LIBS"
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 char vkGetInstanceProcAddr ();
18259 main (void)
18261 return vkGetInstanceProcAddr ();
18263 return 0;
18265 _ACEOF
18266 if ac_fn_c_try_link "$LINENO"
18267 then :
18268 case "$LIBEXT" in
18269 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18270 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'` ;;
18271 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18272 if ${ac_cv_lib_soname_vulkan:+false} :
18273 then :
18274 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18275 fi ;;
18276 esac
18277 else $as_nop
18278 ac_cv_lib_soname_vulkan=
18280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18281 conftest$ac_exeext conftest.$ac_ext
18282 LIBS=$ac_check_soname_save_LIBS
18284 if ${ac_cv_lib_soname_vulkan:+false} :
18285 then :
18286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18287 printf "%s\n" "not found" >&6; }
18289 else $as_nop
18290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18291 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18293 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18297 if test "x$ac_cv_lib_soname_vulkan" = "x"
18298 then
18299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18300 printf %s "checking for -lMoltenVK... " >&6; }
18301 if test ${ac_cv_lib_soname_MoltenVK+y}
18302 then :
18303 printf %s "(cached) " >&6
18304 else $as_nop
18305 ac_check_soname_save_LIBS=$LIBS
18306 LIBS="-lMoltenVK $LIBS"
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18310 /* Override any GCC internal prototype to avoid an error.
18311 Use char because int might match the return type of a GCC
18312 builtin and then its argument prototype would still apply. */
18313 char vkGetInstanceProcAddr ();
18315 main (void)
18317 return vkGetInstanceProcAddr ();
18319 return 0;
18321 _ACEOF
18322 if ac_fn_c_try_link "$LINENO"
18323 then :
18324 case "$LIBEXT" in
18325 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18326 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'` ;;
18327 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18328 if ${ac_cv_lib_soname_MoltenVK:+false} :
18329 then :
18330 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18331 fi ;;
18332 esac
18333 else $as_nop
18334 ac_cv_lib_soname_MoltenVK=
18336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18337 conftest$ac_exeext conftest.$ac_ext
18338 LIBS=$ac_check_soname_save_LIBS
18340 if ${ac_cv_lib_soname_MoltenVK:+false} :
18341 then :
18342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18343 printf "%s\n" "not found" >&6; }
18345 else $as_nop
18346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18347 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18349 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18355 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18356 then :
18357 case "x$with_vulkan" in
18358 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18359 xno) ;;
18360 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18361 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18362 esac
18367 if test "x${GCC}" = "xyes"
18368 then
18369 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18371 saved_CFLAGS=$CFLAGS
18372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18373 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18374 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18375 then :
18376 printf %s "(cached) " >&6
18377 else $as_nop
18378 ac_wine_try_cflags_saved=$CFLAGS
18379 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18381 /* end confdefs.h. */
18382 int main(int argc, char **argv) { return 0; }
18383 _ACEOF
18384 if ac_fn_c_try_link "$LINENO"
18385 then :
18386 ac_cv_cflags__Werror_unknown_warning_option=yes
18387 else $as_nop
18388 ac_cv_cflags__Werror_unknown_warning_option=no
18390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18391 conftest$ac_exeext conftest.$ac_ext
18392 CFLAGS=$ac_wine_try_cflags_saved
18394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18395 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18396 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18397 then :
18398 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18401 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18402 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18403 then :
18404 printf %s "(cached) " >&6
18405 else $as_nop
18406 ac_wine_try_cflags_saved=$CFLAGS
18407 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 int main(int argc, char **argv) { return 0; }
18411 _ACEOF
18412 if ac_fn_c_try_link "$LINENO"
18413 then :
18414 ac_cv_cflags__Werror_unused_command_line_argument=yes
18415 else $as_nop
18416 ac_cv_cflags__Werror_unused_command_line_argument=no
18418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18419 conftest$ac_exeext conftest.$ac_ext
18420 CFLAGS=$ac_wine_try_cflags_saved
18422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18423 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18424 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18425 then :
18426 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18429 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18430 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18431 then :
18432 printf %s "(cached) " >&6
18433 else $as_nop
18434 ac_wine_try_cflags_saved=$CFLAGS
18435 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 int main(int argc, char **argv) { return 0; }
18439 _ACEOF
18440 if ac_fn_c_try_link "$LINENO"
18441 then :
18442 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18443 else $as_nop
18444 ac_cv_cflags__Werror_ignored_optimization_argument=no
18446 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18447 conftest$ac_exeext conftest.$ac_ext
18448 CFLAGS=$ac_wine_try_cflags_saved
18450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18451 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18452 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18453 then :
18454 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18457 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18458 if test ${ac_cv_cflags__fcf_protection_none+y}
18459 then :
18460 printf %s "(cached) " >&6
18461 else $as_nop
18462 ac_wine_try_cflags_saved=$CFLAGS
18463 CFLAGS="$CFLAGS -fcf-protection=none"
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 int main(int argc, char **argv) { return 0; }
18467 _ACEOF
18468 if ac_fn_c_try_link "$LINENO"
18469 then :
18470 ac_cv_cflags__fcf_protection_none=yes
18471 else $as_nop
18472 ac_cv_cflags__fcf_protection_none=no
18474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18475 conftest$ac_exeext conftest.$ac_ext
18476 CFLAGS=$ac_wine_try_cflags_saved
18478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18479 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18480 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18481 then :
18482 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18485 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18486 if test ${ac_cv_cflags__fno_stack_protector+y}
18487 then :
18488 printf %s "(cached) " >&6
18489 else $as_nop
18490 ac_wine_try_cflags_saved=$CFLAGS
18491 CFLAGS="$CFLAGS -fno-stack-protector"
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18494 int main(int argc, char **argv) { return 0; }
18495 _ACEOF
18496 if ac_fn_c_try_link "$LINENO"
18497 then :
18498 ac_cv_cflags__fno_stack_protector=yes
18499 else $as_nop
18500 ac_cv_cflags__fno_stack_protector=no
18502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18503 conftest$ac_exeext conftest.$ac_ext
18504 CFLAGS=$ac_wine_try_cflags_saved
18506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18507 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18508 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18509 then :
18510 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18513 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18514 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18515 then :
18516 printf %s "(cached) " >&6
18517 else $as_nop
18518 ac_wine_try_cflags_saved=$CFLAGS
18519 CFLAGS="$CFLAGS -fno-strict-aliasing"
18520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18522 int main(int argc, char **argv) { return 0; }
18523 _ACEOF
18524 if ac_fn_c_try_link "$LINENO"
18525 then :
18526 ac_cv_cflags__fno_strict_aliasing=yes
18527 else $as_nop
18528 ac_cv_cflags__fno_strict_aliasing=no
18530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18531 conftest$ac_exeext conftest.$ac_ext
18532 CFLAGS=$ac_wine_try_cflags_saved
18534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18535 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18536 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18537 then :
18538 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18541 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18542 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18543 then :
18544 printf %s "(cached) " >&6
18545 else $as_nop
18546 ac_wine_try_cflags_saved=$CFLAGS
18547 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18549 /* end confdefs.h. */
18550 int main(int argc, char **argv) { return 0; }
18551 _ACEOF
18552 if ac_fn_c_try_link "$LINENO"
18553 then :
18554 ac_cv_cflags__Wdeclaration_after_statement=yes
18555 else $as_nop
18556 ac_cv_cflags__Wdeclaration_after_statement=no
18558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18559 conftest$ac_exeext conftest.$ac_ext
18560 CFLAGS=$ac_wine_try_cflags_saved
18562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18563 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18564 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18565 then :
18566 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18569 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18570 if test ${ac_cv_cflags__Wempty_body+y}
18571 then :
18572 printf %s "(cached) " >&6
18573 else $as_nop
18574 ac_wine_try_cflags_saved=$CFLAGS
18575 CFLAGS="$CFLAGS -Wempty-body"
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 int main(int argc, char **argv) { return 0; }
18579 _ACEOF
18580 if ac_fn_c_try_link "$LINENO"
18581 then :
18582 ac_cv_cflags__Wempty_body=yes
18583 else $as_nop
18584 ac_cv_cflags__Wempty_body=no
18586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18587 conftest$ac_exeext conftest.$ac_ext
18588 CFLAGS=$ac_wine_try_cflags_saved
18590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18591 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18592 if test "x$ac_cv_cflags__Wempty_body" = xyes
18593 then :
18594 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18597 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18598 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18599 then :
18600 printf %s "(cached) " >&6
18601 else $as_nop
18602 ac_wine_try_cflags_saved=$CFLAGS
18603 CFLAGS="$CFLAGS -Wignored-qualifiers"
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 int main(int argc, char **argv) { return 0; }
18607 _ACEOF
18608 if ac_fn_c_try_link "$LINENO"
18609 then :
18610 ac_cv_cflags__Wignored_qualifiers=yes
18611 else $as_nop
18612 ac_cv_cflags__Wignored_qualifiers=no
18614 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18615 conftest$ac_exeext conftest.$ac_ext
18616 CFLAGS=$ac_wine_try_cflags_saved
18618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18619 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18620 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18621 then :
18622 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18625 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18626 if test ${ac_cv_cflags__Winit_self+y}
18627 then :
18628 printf %s "(cached) " >&6
18629 else $as_nop
18630 ac_wine_try_cflags_saved=$CFLAGS
18631 CFLAGS="$CFLAGS -Winit-self"
18632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18634 int main(int argc, char **argv) { return 0; }
18635 _ACEOF
18636 if ac_fn_c_try_link "$LINENO"
18637 then :
18638 ac_cv_cflags__Winit_self=yes
18639 else $as_nop
18640 ac_cv_cflags__Winit_self=no
18642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18643 conftest$ac_exeext conftest.$ac_ext
18644 CFLAGS=$ac_wine_try_cflags_saved
18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18647 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18648 if test "x$ac_cv_cflags__Winit_self" = xyes
18649 then :
18650 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18653 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18654 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18655 then :
18656 printf %s "(cached) " >&6
18657 else $as_nop
18658 ac_wine_try_cflags_saved=$CFLAGS
18659 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 int main(int argc, char **argv) { return 0; }
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"
18665 then :
18666 ac_cv_cflags__Wpacked_not_aligned=yes
18667 else $as_nop
18668 ac_cv_cflags__Wpacked_not_aligned=no
18670 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18671 conftest$ac_exeext conftest.$ac_ext
18672 CFLAGS=$ac_wine_try_cflags_saved
18674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18675 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18676 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18677 then :
18678 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18681 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18682 if test ${ac_cv_cflags__Wpragma_pack+y}
18683 then :
18684 printf %s "(cached) " >&6
18685 else $as_nop
18686 ac_wine_try_cflags_saved=$CFLAGS
18687 CFLAGS="$CFLAGS -Wpragma-pack"
18688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18689 /* end confdefs.h. */
18690 int main(int argc, char **argv) { return 0; }
18691 _ACEOF
18692 if ac_fn_c_try_link "$LINENO"
18693 then :
18694 ac_cv_cflags__Wpragma_pack=yes
18695 else $as_nop
18696 ac_cv_cflags__Wpragma_pack=no
18698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18699 conftest$ac_exeext conftest.$ac_ext
18700 CFLAGS=$ac_wine_try_cflags_saved
18702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18703 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18704 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18705 then :
18706 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18709 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18710 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18711 then :
18712 printf %s "(cached) " >&6
18713 else $as_nop
18714 ac_wine_try_cflags_saved=$CFLAGS
18715 CFLAGS="$CFLAGS -Wshift-overflow=2"
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 int main(int argc, char **argv) { return 0; }
18719 _ACEOF
18720 if ac_fn_c_try_link "$LINENO"
18721 then :
18722 ac_cv_cflags__Wshift_overflow_2=yes
18723 else $as_nop
18724 ac_cv_cflags__Wshift_overflow_2=no
18726 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18727 conftest$ac_exeext conftest.$ac_ext
18728 CFLAGS=$ac_wine_try_cflags_saved
18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18731 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18732 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18733 then :
18734 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18737 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18738 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18739 then :
18740 printf %s "(cached) " >&6
18741 else $as_nop
18742 ac_wine_try_cflags_saved=$CFLAGS
18743 CFLAGS="$CFLAGS -Wstrict-prototypes"
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18746 int main(int argc, char **argv) { return 0; }
18747 _ACEOF
18748 if ac_fn_c_try_link "$LINENO"
18749 then :
18750 ac_cv_cflags__Wstrict_prototypes=yes
18751 else $as_nop
18752 ac_cv_cflags__Wstrict_prototypes=no
18754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18755 conftest$ac_exeext conftest.$ac_ext
18756 CFLAGS=$ac_wine_try_cflags_saved
18758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18759 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18760 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18761 then :
18762 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18765 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18766 if test ${ac_cv_cflags__Wtype_limits+y}
18767 then :
18768 printf %s "(cached) " >&6
18769 else $as_nop
18770 ac_wine_try_cflags_saved=$CFLAGS
18771 CFLAGS="$CFLAGS -Wtype-limits"
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 int main(int argc, char **argv) { return 0; }
18775 _ACEOF
18776 if ac_fn_c_try_link "$LINENO"
18777 then :
18778 ac_cv_cflags__Wtype_limits=yes
18779 else $as_nop
18780 ac_cv_cflags__Wtype_limits=no
18782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18783 conftest$ac_exeext conftest.$ac_ext
18784 CFLAGS=$ac_wine_try_cflags_saved
18786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18787 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18788 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18789 then :
18790 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18793 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18794 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18795 then :
18796 printf %s "(cached) " >&6
18797 else $as_nop
18798 ac_wine_try_cflags_saved=$CFLAGS
18799 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 int main(int argc, char **argv) { return 0; }
18803 _ACEOF
18804 if ac_fn_c_try_link "$LINENO"
18805 then :
18806 ac_cv_cflags__Wunused_but_set_parameter=yes
18807 else $as_nop
18808 ac_cv_cflags__Wunused_but_set_parameter=no
18810 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18811 conftest$ac_exeext conftest.$ac_ext
18812 CFLAGS=$ac_wine_try_cflags_saved
18814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18815 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18816 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18817 then :
18818 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18821 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18822 if test ${ac_cv_cflags__Wvla+y}
18823 then :
18824 printf %s "(cached) " >&6
18825 else $as_nop
18826 ac_wine_try_cflags_saved=$CFLAGS
18827 CFLAGS="$CFLAGS -Wvla"
18828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18829 /* end confdefs.h. */
18830 int main(int argc, char **argv) { return 0; }
18831 _ACEOF
18832 if ac_fn_c_try_link "$LINENO"
18833 then :
18834 ac_cv_cflags__Wvla=yes
18835 else $as_nop
18836 ac_cv_cflags__Wvla=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18839 conftest$ac_exeext conftest.$ac_ext
18840 CFLAGS=$ac_wine_try_cflags_saved
18842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18843 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18844 if test "x$ac_cv_cflags__Wvla" = xyes
18845 then :
18846 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18849 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18850 if test ${ac_cv_cflags__Wwrite_strings+y}
18851 then :
18852 printf %s "(cached) " >&6
18853 else $as_nop
18854 ac_wine_try_cflags_saved=$CFLAGS
18855 CFLAGS="$CFLAGS -Wwrite-strings"
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18858 int main(int argc, char **argv) { return 0; }
18859 _ACEOF
18860 if ac_fn_c_try_link "$LINENO"
18861 then :
18862 ac_cv_cflags__Wwrite_strings=yes
18863 else $as_nop
18864 ac_cv_cflags__Wwrite_strings=no
18866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18867 conftest$ac_exeext conftest.$ac_ext
18868 CFLAGS=$ac_wine_try_cflags_saved
18870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18871 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18872 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18873 then :
18874 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18878 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18879 if test ${ac_cv_cflags__Wpointer_arith+y}
18880 then :
18881 printf %s "(cached) " >&6
18882 else $as_nop
18883 ac_wine_try_cflags_saved=$CFLAGS
18884 CFLAGS="$CFLAGS -Wpointer-arith"
18885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18886 /* end confdefs.h. */
18887 int main(int argc, char **argv) { return 0; }
18888 _ACEOF
18889 if ac_fn_c_try_link "$LINENO"
18890 then :
18891 ac_cv_cflags__Wpointer_arith=yes
18892 else $as_nop
18893 ac_cv_cflags__Wpointer_arith=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18896 conftest$ac_exeext conftest.$ac_ext
18897 CFLAGS=$ac_wine_try_cflags_saved
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18900 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18901 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18902 then :
18903 saved_string_h_CFLAGS=$CFLAGS
18904 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18906 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18907 if test ${ac_cv_c_string_h_warnings+y}
18908 then :
18909 printf %s "(cached) " >&6
18910 else $as_nop
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 #include <string.h>
18915 main (void)
18919 return 0;
18921 _ACEOF
18922 if ac_fn_c_try_compile "$LINENO"
18923 then :
18924 ac_cv_c_string_h_warnings=no
18925 else $as_nop
18926 ac_cv_c_string_h_warnings=yes
18928 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18931 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18932 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18933 CFLAGS=$saved_string_h_CFLAGS
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18937 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18938 if test ${ac_cv_cflags__Wlogical_op+y}
18939 then :
18940 printf %s "(cached) " >&6
18941 else $as_nop
18942 ac_wine_try_cflags_saved=$CFLAGS
18943 CFLAGS="$CFLAGS -Wlogical-op"
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 int main(int argc, char **argv) { return 0; }
18947 _ACEOF
18948 if ac_fn_c_try_link "$LINENO"
18949 then :
18950 ac_cv_cflags__Wlogical_op=yes
18951 else $as_nop
18952 ac_cv_cflags__Wlogical_op=no
18954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18955 conftest$ac_exeext conftest.$ac_ext
18956 CFLAGS=$ac_wine_try_cflags_saved
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18959 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18960 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18961 then :
18962 saved_string_h_CFLAGS=$CFLAGS
18963 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18965 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18966 if test ${ac_cv_c_logicalop_noisy+y}
18967 then :
18968 printf %s "(cached) " >&6
18969 else $as_nop
18970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18971 /* end confdefs.h. */
18972 #include <string.h>
18973 char*f(const char *h,char n) {return strchr(h,n);}
18975 main (void)
18979 return 0;
18981 _ACEOF
18982 if ac_fn_c_try_compile "$LINENO"
18983 then :
18984 ac_cv_c_logicalop_noisy=no
18985 else $as_nop
18986 ac_cv_c_logicalop_noisy=yes
18988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18991 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18992 CFLAGS=$saved_string_h_CFLAGS
18993 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18997 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18998 if test ${wine_cv_64bit_compare_swap+y}
18999 then :
19000 printf %s "(cached) " >&6
19001 else $as_nop
19002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19003 /* end confdefs.h. */
19004 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19005 #error no
19006 #endif
19008 main (void)
19012 return 0;
19014 _ACEOF
19015 if ac_fn_c_try_compile "$LINENO"
19016 then :
19017 wine_cv_64bit_compare_swap="none needed"
19018 else $as_nop
19019 case $host_cpu in
19020 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19021 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19022 *) wine_cv_64bit_compare_swap="unknown" ;;
19023 esac
19024 if test "x$wine_cv_64bit_compare_swap" != xunknown
19025 then
19026 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19030 #error no
19031 #endif
19033 main (void)
19037 return 0;
19039 _ACEOF
19040 if ac_fn_c_try_compile "$LINENO"
19041 then :
19043 else $as_nop
19044 wine_cv_64bit_compare_swap="unknown"
19046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19047 CFLAGS=$saved_CFLAGS
19050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19053 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19054 case "$wine_cv_64bit_compare_swap" in
19055 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19056 "none needed") ;;
19057 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19058 esac
19060 ac_debug_format_seen=""
19061 for ac_flag in $CFLAGS; do
19062 case $ac_flag in
19063 -gdwarf*) ac_debug_format_seen=yes ;;
19064 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19065 esac
19066 done
19067 if test "x$ac_debug_format_seen" = xdefault
19068 then
19069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19070 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19071 if test ${ac_cv_cflags__gdwarf_4+y}
19072 then :
19073 printf %s "(cached) " >&6
19074 else $as_nop
19075 ac_wine_try_cflags_saved=$CFLAGS
19076 CFLAGS="$CFLAGS -gdwarf-4"
19077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19078 /* end confdefs.h. */
19079 int main(int argc, char **argv) { return 0; }
19080 _ACEOF
19081 if ac_fn_c_try_link "$LINENO"
19082 then :
19083 ac_cv_cflags__gdwarf_4=yes
19084 else $as_nop
19085 ac_cv_cflags__gdwarf_4=no
19087 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19088 conftest$ac_exeext conftest.$ac_ext
19089 CFLAGS=$ac_wine_try_cflags_saved
19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19092 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19093 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19094 then :
19095 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19099 MSVCRTFLAGS=""
19101 case $host_os in
19102 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19103 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19104 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19105 then :
19106 printf %s "(cached) " >&6
19107 else $as_nop
19108 ac_wine_try_cflags_saved=$CFLAGS
19109 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 int main(int argc, char **argv) { return 0; }
19113 _ACEOF
19114 if ac_fn_c_try_link "$LINENO"
19115 then :
19116 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19117 else $as_nop
19118 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19121 conftest$ac_exeext conftest.$ac_ext
19122 CFLAGS=$ac_wine_try_cflags_saved
19124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19125 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19126 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19127 then :
19128 DELAYLOADFLAG="-Wl,-delayload,"
19130 fi ;;
19131 *) MSVCRTFLAGS="-D_WIN32"
19132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19133 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19134 if test ${ac_cv_cflags__fno_builtin+y}
19135 then :
19136 printf %s "(cached) " >&6
19137 else $as_nop
19138 ac_wine_try_cflags_saved=$CFLAGS
19139 CFLAGS="$CFLAGS -fno-builtin"
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19142 int main(int argc, char **argv) { return 0; }
19143 _ACEOF
19144 if ac_fn_c_try_link "$LINENO"
19145 then :
19146 ac_cv_cflags__fno_builtin=yes
19147 else $as_nop
19148 ac_cv_cflags__fno_builtin=no
19150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19151 conftest$ac_exeext conftest.$ac_ext
19152 CFLAGS=$ac_wine_try_cflags_saved
19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19155 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19156 if test "x$ac_cv_cflags__fno_builtin" = xyes
19157 then :
19158 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19161 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19162 if test ${ac_cv_cflags__fshort_wchar+y}
19163 then :
19164 printf %s "(cached) " >&6
19165 else $as_nop
19166 ac_wine_try_cflags_saved=$CFLAGS
19167 CFLAGS="$CFLAGS -fshort-wchar"
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h. */
19170 int main(int argc, char **argv) { return 0; }
19171 _ACEOF
19172 if ac_fn_c_try_link "$LINENO"
19173 then :
19174 ac_cv_cflags__fshort_wchar=yes
19175 else $as_nop
19176 ac_cv_cflags__fshort_wchar=no
19178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19179 conftest$ac_exeext conftest.$ac_ext
19180 CFLAGS=$ac_wine_try_cflags_saved
19182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19183 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19184 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19185 then :
19186 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19189 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19190 if test ${ac_cv_cflags__fvisibility_hidden+y}
19191 then :
19192 printf %s "(cached) " >&6
19193 else $as_nop
19194 ac_wine_try_cflags_saved=$CFLAGS
19195 CFLAGS="$CFLAGS -fvisibility=hidden"
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 int main(int argc, char **argv) { return 0; }
19199 _ACEOF
19200 if ac_fn_c_try_link "$LINENO"
19201 then :
19202 ac_cv_cflags__fvisibility_hidden=yes
19203 else $as_nop
19204 ac_cv_cflags__fvisibility_hidden=no
19206 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19207 conftest$ac_exeext conftest.$ac_ext
19208 CFLAGS=$ac_wine_try_cflags_saved
19210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19211 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19212 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19213 then :
19214 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19217 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19218 if test ${ac_cv_cflags__Wno_format+y}
19219 then :
19220 printf %s "(cached) " >&6
19221 else $as_nop
19222 ac_wine_try_cflags_saved=$CFLAGS
19223 CFLAGS="$CFLAGS -Wno-format"
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 int main(int argc, char **argv) { return 0; }
19227 _ACEOF
19228 if ac_fn_c_try_link "$LINENO"
19229 then :
19230 ac_cv_cflags__Wno_format=yes
19231 else $as_nop
19232 ac_cv_cflags__Wno_format=no
19234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19235 conftest$ac_exeext conftest.$ac_ext
19236 CFLAGS=$ac_wine_try_cflags_saved
19238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19239 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19240 if test "x$ac_cv_cflags__Wno_format" = xyes
19241 then :
19242 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19243 fi ;;
19244 esac
19246 case $host_cpu in
19247 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19248 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19249 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19250 then :
19251 printf %s "(cached) " >&6
19252 else $as_nop
19253 ac_wine_try_cflags_saved=$CFLAGS
19254 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19257 int main(int argc, char **argv) { return 0; }
19258 _ACEOF
19259 if ac_fn_c_try_link "$LINENO"
19260 then :
19261 ac_cv_cflags__fno_omit_frame_pointer=yes
19262 else $as_nop
19263 ac_cv_cflags__fno_omit_frame_pointer=no
19265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19266 conftest$ac_exeext conftest.$ac_ext
19267 CFLAGS=$ac_wine_try_cflags_saved
19269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19270 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19271 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19272 then :
19273 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19274 fi ;;
19275 *x86_64*)
19276 case $host_os in
19277 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19278 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19279 if test ${ac_cv_cflags__Wno_format+y}
19280 then :
19281 printf %s "(cached) " >&6
19282 else $as_nop
19283 ac_wine_try_cflags_saved=$CFLAGS
19284 CFLAGS="$CFLAGS -Wno-format"
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 int main(int argc, char **argv) { return 0; }
19288 _ACEOF
19289 if ac_fn_c_try_link "$LINENO"
19290 then :
19291 ac_cv_cflags__Wno_format=yes
19292 else $as_nop
19293 ac_cv_cflags__Wno_format=no
19295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19296 conftest$ac_exeext conftest.$ac_ext
19297 CFLAGS=$ac_wine_try_cflags_saved
19299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19300 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19301 if test "x$ac_cv_cflags__Wno_format" = xyes
19302 then :
19303 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19304 fi ;;
19305 *) if test -z "$PE_ARCHS"
19306 then
19307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19308 printf %s "checking for working -mabi=ms... " >&6; }
19309 if test ${ac_cv_mabi_ms+y}
19310 then :
19311 printf %s "(cached) " >&6
19312 else $as_nop
19313 CFLAGS="$CFLAGS -mabi=ms"
19314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19315 /* end confdefs.h. */
19316 #include <stdarg.h>
19317 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19319 main (void)
19323 return 0;
19325 _ACEOF
19326 if ac_fn_c_try_compile "$LINENO"
19327 then :
19328 ac_cv_mabi_ms=yes
19329 else $as_nop
19330 ac_cv_mabi_ms=no
19332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19333 CFLAGS=$saved_CFLAGS
19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19336 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19337 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
19339 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19340 esac ;;
19341 arm*)
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19343 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19344 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19345 then :
19346 printf %s "(cached) " >&6
19347 else $as_nop
19348 ac_wine_try_cflags_saved=$CFLAGS
19349 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19352 int main(int argc, char **argv) { return 0; }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"
19355 then :
19356 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19357 else $as_nop
19358 ac_cv_cflags__Wincompatible_function_pointer_types=no
19360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19361 conftest$ac_exeext conftest.$ac_ext
19362 CFLAGS=$ac_wine_try_cflags_saved
19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19365 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19366 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19367 then :
19368 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19369 fi ;;
19370 esac
19372 CFLAGS=$saved_CFLAGS
19374 if test "x$enable_werror" = "xyes"
19375 then
19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19377 printf %s "checking whether the compiler supports -Werror... " >&6; }
19378 if test ${ac_cv_cflags__Werror+y}
19379 then :
19380 printf %s "(cached) " >&6
19381 else $as_nop
19382 ac_wine_try_cflags_saved=$CFLAGS
19383 CFLAGS="$CFLAGS -Werror"
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386 int main(int argc, char **argv) { return 0; }
19387 _ACEOF
19388 if ac_fn_c_try_link "$LINENO"
19389 then :
19390 ac_cv_cflags__Werror=yes
19391 else $as_nop
19392 ac_cv_cflags__Werror=no
19394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19395 conftest$ac_exeext conftest.$ac_ext
19396 CFLAGS=$ac_wine_try_cflags_saved
19398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19399 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19400 if test "x$ac_cv_cflags__Werror" = xyes
19401 then :
19402 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19405 if test "x$enable_build_id" = "xyes"
19406 then
19407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19408 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19409 if test ${ac_cv_cflags__Wl___build_id+y}
19410 then :
19411 printf %s "(cached) " >&6
19412 else $as_nop
19413 ac_wine_try_cflags_saved=$CFLAGS
19414 CFLAGS="$CFLAGS -Wl,--build-id"
19415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19416 /* end confdefs.h. */
19417 int main(int argc, char **argv) { return 0; }
19418 _ACEOF
19419 if ac_fn_c_try_link "$LINENO"
19420 then :
19421 ac_cv_cflags__Wl___build_id=yes
19422 else $as_nop
19423 ac_cv_cflags__Wl___build_id=no
19425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19426 conftest$ac_exeext conftest.$ac_ext
19427 CFLAGS=$ac_wine_try_cflags_saved
19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19430 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19431 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19432 then :
19433 CFLAGS="$CFLAGS -Wl,--build-id"
19434 LDFLAGS="$LDFLAGS -Wl,--build-id"
19440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19441 printf %s "checking for the need to disable Fortify... " >&6; }
19442 if test ${ac_cv_c_fortify_enabled+y}
19443 then :
19444 printf %s "(cached) " >&6
19445 else $as_nop
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #include <string.h>
19450 main (void)
19452 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19453 #error Fortify enabled
19454 #endif
19456 return 0;
19458 _ACEOF
19459 if ac_fn_c_try_compile "$LINENO"
19460 then :
19461 ac_cv_c_fortify_enabled=no
19462 else $as_nop
19463 ac_cv_c_fortify_enabled=yes
19465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19468 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19469 if test "$ac_cv_c_fortify_enabled" = yes
19470 then
19471 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19476 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19477 if test ${ac_cv_c_cfi_support+y}
19478 then :
19479 printf %s "(cached) " >&6
19480 else $as_nop
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19485 main (void)
19489 return 0;
19491 _ACEOF
19492 if ac_fn_c_try_compile "$LINENO"
19493 then :
19494 ac_cv_c_cfi_support="yes"
19495 else $as_nop
19496 ac_cv_c_cfi_support="no"
19498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19501 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19502 if test "$ac_cv_c_cfi_support" = "yes"
19503 then
19504 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19505 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19506 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19507 elif test $HOST_ARCH = x86_64
19508 then
19509 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19513 case "$HOST_ARCH,$PE_ARCHS" in
19514 x86_64,*i386*) wine_binary="wine" ;;
19515 x86_64,*) wine_binary="wine64" ;;
19516 *) wine_binary="wine" ;;
19517 esac
19518 WINELOADER_PROGRAMS="$wine_binary"
19521 case $host_os in
19522 linux*)
19523 case $host_cpu in
19524 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19525 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19526 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19528 esac
19530 darwin*|macosx*)
19531 if test "$wine_can_build_preloader" = "yes"
19532 then
19533 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19534 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19537 esac
19540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19541 printf %s "checking for library containing dlopen... " >&6; }
19542 if test ${ac_cv_search_dlopen+y}
19543 then :
19544 printf %s "(cached) " >&6
19545 else $as_nop
19546 ac_func_search_save_LIBS=$LIBS
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 /* Override any GCC internal prototype to avoid an error.
19551 Use char because int might match the return type of a GCC
19552 builtin and then its argument prototype would still apply. */
19553 char dlopen ();
19555 main (void)
19557 return dlopen ();
19559 return 0;
19561 _ACEOF
19562 for ac_lib in '' dl
19564 if test -z "$ac_lib"; then
19565 ac_res="none required"
19566 else
19567 ac_res=-l$ac_lib
19568 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19570 if ac_fn_c_try_link "$LINENO"
19571 then :
19572 ac_cv_search_dlopen=$ac_res
19574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19575 conftest$ac_exeext
19576 if test ${ac_cv_search_dlopen+y}
19577 then :
19578 break
19580 done
19581 if test ${ac_cv_search_dlopen+y}
19582 then :
19584 else $as_nop
19585 ac_cv_search_dlopen=no
19587 rm conftest.$ac_ext
19588 LIBS=$ac_func_search_save_LIBS
19590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19591 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19592 ac_res=$ac_cv_search_dlopen
19593 if test "$ac_res" != no
19594 then :
19595 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19601 printf %s "checking for library containing gethostbyname... " >&6; }
19602 if test ${ac_cv_search_gethostbyname+y}
19603 then :
19604 printf %s "(cached) " >&6
19605 else $as_nop
19606 ac_func_search_save_LIBS=$LIBS
19607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19608 /* end confdefs.h. */
19610 /* Override any GCC internal prototype to avoid an error.
19611 Use char because int might match the return type of a GCC
19612 builtin and then its argument prototype would still apply. */
19613 char gethostbyname ();
19615 main (void)
19617 return gethostbyname ();
19619 return 0;
19621 _ACEOF
19622 for ac_lib in '' nsl
19624 if test -z "$ac_lib"; then
19625 ac_res="none required"
19626 else
19627 ac_res=-l$ac_lib
19628 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19630 if ac_fn_c_try_link "$LINENO"
19631 then :
19632 ac_cv_search_gethostbyname=$ac_res
19634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19635 conftest$ac_exeext
19636 if test ${ac_cv_search_gethostbyname+y}
19637 then :
19638 break
19640 done
19641 if test ${ac_cv_search_gethostbyname+y}
19642 then :
19644 else $as_nop
19645 ac_cv_search_gethostbyname=no
19647 rm conftest.$ac_ext
19648 LIBS=$ac_func_search_save_LIBS
19650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19651 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19652 ac_res=$ac_cv_search_gethostbyname
19653 if test "$ac_res" != no
19654 then :
19655 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19661 printf %s "checking for library containing connect... " >&6; }
19662 if test ${ac_cv_search_connect+y}
19663 then :
19664 printf %s "(cached) " >&6
19665 else $as_nop
19666 ac_func_search_save_LIBS=$LIBS
19667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19668 /* end confdefs.h. */
19670 /* Override any GCC internal prototype to avoid an error.
19671 Use char because int might match the return type of a GCC
19672 builtin and then its argument prototype would still apply. */
19673 char connect ();
19675 main (void)
19677 return connect ();
19679 return 0;
19681 _ACEOF
19682 for ac_lib in '' socket
19684 if test -z "$ac_lib"; then
19685 ac_res="none required"
19686 else
19687 ac_res=-l$ac_lib
19688 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19690 if ac_fn_c_try_link "$LINENO"
19691 then :
19692 ac_cv_search_connect=$ac_res
19694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19695 conftest$ac_exeext
19696 if test ${ac_cv_search_connect+y}
19697 then :
19698 break
19700 done
19701 if test ${ac_cv_search_connect+y}
19702 then :
19704 else $as_nop
19705 ac_cv_search_connect=no
19707 rm conftest.$ac_ext
19708 LIBS=$ac_func_search_save_LIBS
19710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19711 printf "%s\n" "$ac_cv_search_connect" >&6; }
19712 ac_res=$ac_cv_search_connect
19713 if test "$ac_res" != no
19714 then :
19715 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19721 printf %s "checking for library containing inet_aton... " >&6; }
19722 if test ${ac_cv_search_inet_aton+y}
19723 then :
19724 printf %s "(cached) " >&6
19725 else $as_nop
19726 ac_func_search_save_LIBS=$LIBS
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19730 /* Override any GCC internal prototype to avoid an error.
19731 Use char because int might match the return type of a GCC
19732 builtin and then its argument prototype would still apply. */
19733 char inet_aton ();
19735 main (void)
19737 return inet_aton ();
19739 return 0;
19741 _ACEOF
19742 for ac_lib in '' resolv
19744 if test -z "$ac_lib"; then
19745 ac_res="none required"
19746 else
19747 ac_res=-l$ac_lib
19748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19750 if ac_fn_c_try_link "$LINENO"
19751 then :
19752 ac_cv_search_inet_aton=$ac_res
19754 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19755 conftest$ac_exeext
19756 if test ${ac_cv_search_inet_aton+y}
19757 then :
19758 break
19760 done
19761 if test ${ac_cv_search_inet_aton+y}
19762 then :
19764 else $as_nop
19765 ac_cv_search_inet_aton=no
19767 rm conftest.$ac_ext
19768 LIBS=$ac_func_search_save_LIBS
19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19771 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19772 ac_res=$ac_cv_search_inet_aton
19773 if test "$ac_res" != no
19774 then :
19775 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19780 ac_save_CFLAGS="$CFLAGS"
19781 CFLAGS="$CFLAGS $BUILTINFLAG"
19782 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19783 if test "x$ac_cv_func_dladdr1" = xyes
19784 then :
19785 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19788 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19789 if test "x$ac_cv_func_dlinfo" = xyes
19790 then :
19791 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19794 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19795 if test "x$ac_cv_func_epoll_create" = xyes
19796 then :
19797 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19800 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19801 if test "x$ac_cv_func_fstatfs" = xyes
19802 then :
19803 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19806 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19807 if test "x$ac_cv_func_futimens" = xyes
19808 then :
19809 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19812 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19813 if test "x$ac_cv_func_futimes" = xyes
19814 then :
19815 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19818 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19819 if test "x$ac_cv_func_futimesat" = xyes
19820 then :
19821 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19824 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19825 if test "x$ac_cv_func_getaddrinfo" = xyes
19826 then :
19827 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19830 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19831 if test "x$ac_cv_func_getattrlist" = xyes
19832 then :
19833 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19836 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19837 if test "x$ac_cv_func_getauxval" = xyes
19838 then :
19839 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19842 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19843 if test "x$ac_cv_func_getifaddrs" = xyes
19844 then :
19845 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19848 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19849 if test "x$ac_cv_func_getrandom" = xyes
19850 then :
19851 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19854 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19855 if test "x$ac_cv_func_kqueue" = xyes
19856 then :
19857 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19860 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19861 if test "x$ac_cv_func_mach_continuous_time" = xyes
19862 then :
19863 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19866 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19867 if test "x$ac_cv_func_pipe2" = xyes
19868 then :
19869 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19872 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19873 if test "x$ac_cv_func_port_create" = xyes
19874 then :
19875 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19878 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19879 if test "x$ac_cv_func_posix_fadvise" = xyes
19880 then :
19881 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19884 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19885 if test "x$ac_cv_func_posix_fallocate" = xyes
19886 then :
19887 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19890 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19891 if test "x$ac_cv_func_prctl" = xyes
19892 then :
19893 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19896 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19897 if test "x$ac_cv_func_proc_pidinfo" = xyes
19898 then :
19899 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19902 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19903 if test "x$ac_cv_func_sched_yield" = xyes
19904 then :
19905 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19908 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19909 if test "x$ac_cv_func_setproctitle" = xyes
19910 then :
19911 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19914 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19915 if test "x$ac_cv_func_setprogname" = xyes
19916 then :
19917 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19920 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19921 if test "x$ac_cv_func_sigprocmask" = xyes
19922 then :
19923 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19926 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19927 if test "x$ac_cv_func_sysinfo" = xyes
19928 then :
19929 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19932 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19933 if test "x$ac_cv_func_tcdrain" = xyes
19934 then :
19935 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19938 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19939 if test "x$ac_cv_func_thr_kill2" = xyes
19940 then :
19941 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19945 CFLAGS="$ac_save_CFLAGS"
19947 case $host_os in
19948 darwin*|macosx*) ;;
19949 *) ac_save_LIBS=$LIBS
19950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19951 printf %s "checking for library containing clock_gettime... " >&6; }
19952 if test ${ac_cv_search_clock_gettime+y}
19953 then :
19954 printf %s "(cached) " >&6
19955 else $as_nop
19956 ac_func_search_save_LIBS=$LIBS
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 /* Override any GCC internal prototype to avoid an error.
19961 Use char because int might match the return type of a GCC
19962 builtin and then its argument prototype would still apply. */
19963 char clock_gettime ();
19965 main (void)
19967 return clock_gettime ();
19969 return 0;
19971 _ACEOF
19972 for ac_lib in '' rt
19974 if test -z "$ac_lib"; then
19975 ac_res="none required"
19976 else
19977 ac_res=-l$ac_lib
19978 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19980 if ac_fn_c_try_link "$LINENO"
19981 then :
19982 ac_cv_search_clock_gettime=$ac_res
19984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19985 conftest$ac_exeext
19986 if test ${ac_cv_search_clock_gettime+y}
19987 then :
19988 break
19990 done
19991 if test ${ac_cv_search_clock_gettime+y}
19992 then :
19994 else $as_nop
19995 ac_cv_search_clock_gettime=no
19997 rm conftest.$ac_ext
19998 LIBS=$ac_func_search_save_LIBS
20000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20001 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20002 ac_res=$ac_cv_search_clock_gettime
20003 if test "$ac_res" != no
20004 then :
20005 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20007 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20009 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20013 LIBS=$ac_save_LIBS
20015 esac
20017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20018 printf %s "checking for sched_setaffinity... " >&6; }
20019 if test ${wine_cv_have_sched_setaffinity+y}
20020 then :
20021 printf %s "(cached) " >&6
20022 else $as_nop
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20025 #include <sched.h>
20027 main (void)
20029 sched_setaffinity(0, 0, 0);
20031 return 0;
20033 _ACEOF
20034 if ac_fn_c_try_link "$LINENO"
20035 then :
20036 wine_cv_have_sched_setaffinity=yes
20037 else $as_nop
20038 wine_cv_have_sched_setaffinity=no
20040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20041 conftest$ac_exeext conftest.$ac_ext
20043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20044 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20045 if test "$wine_cv_have_sched_setaffinity" = "yes"
20046 then
20048 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20054 printf %s "checking for inline... " >&6; }
20055 if test ${ac_cv_c_inline+y}
20056 then :
20057 printf %s "(cached) " >&6
20058 else $as_nop
20059 ac_cv_c_inline=no
20060 for ac_kw in inline __inline__ __inline; do
20061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20062 /* end confdefs.h. */
20063 #ifndef __cplusplus
20064 typedef int foo_t;
20065 static $ac_kw foo_t static_foo (void) {return 0; }
20066 $ac_kw foo_t foo (void) {return 0; }
20067 #endif
20069 _ACEOF
20070 if ac_fn_c_try_compile "$LINENO"
20071 then :
20072 ac_cv_c_inline=$ac_kw
20074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20075 test "$ac_cv_c_inline" != no && break
20076 done
20079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20080 printf "%s\n" "$ac_cv_c_inline" >&6; }
20082 case $ac_cv_c_inline in
20083 inline | yes) ;;
20085 case $ac_cv_c_inline in
20086 no) ac_val=;;
20087 *) ac_val=$ac_cv_c_inline;;
20088 esac
20089 cat >>confdefs.h <<_ACEOF
20090 #ifndef __cplusplus
20091 #define inline $ac_val
20092 #endif
20093 _ACEOF
20095 esac
20097 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20099 if test "x$ac_cv_type_request_sense" = xyes
20100 then :
20102 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20108 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20109 #include <sys/socket.h>
20110 #ifdef HAVE_SYS_SOCKETVAR_H
20111 #include <sys/socketvar.h>
20112 #endif
20113 #ifdef HAVE_NET_ROUTE_H
20114 #include <net/route.h>
20115 #endif
20116 #ifdef HAVE_NETINET_IN_H
20117 #include <netinet/in.h>
20118 #endif
20119 #ifdef HAVE_NETINET_IN_SYSTM_H
20120 #include <netinet/in_systm.h>
20121 #endif
20122 #ifdef HAVE_NETINET_IP_H
20123 #include <netinet/ip.h>
20124 #endif
20125 #ifdef HAVE_NETINET_IN_PCB_H
20126 #include <netinet/in_pcb.h>
20127 #endif
20129 if test "x$ac_cv_type_struct_xinpgen" = xyes
20130 then :
20132 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20139 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20140 if test ${wine_cv_linux_gethostbyname_r_6+y}
20141 then :
20142 printf %s "(cached) " >&6
20143 else $as_nop
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20146 #include <netdb.h>
20148 main (void)
20151 char *name=0;
20152 struct hostent he;
20153 struct hostent *result;
20154 char *buf=0;
20155 int bufsize=0;
20156 int errnr;
20157 char *addr=0;
20158 int addrlen=0;
20159 int addrtype=0;
20160 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20161 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20164 return 0;
20166 _ACEOF
20167 if ac_fn_c_try_link "$LINENO"
20168 then :
20169 wine_cv_linux_gethostbyname_r_6=yes
20170 else $as_nop
20171 wine_cv_linux_gethostbyname_r_6=no
20174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20175 conftest$ac_exeext conftest.$ac_ext
20178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20179 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20180 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20181 then
20183 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20187 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20188 #include <sys/socket.h>
20189 #ifdef HAVE_SYS_UN_H
20190 # include <sys/un.h>
20191 #endif
20193 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20194 then :
20196 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20200 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20201 #include <sys/socket.h>
20202 #ifdef HAVE_SYS_UN_H
20203 # include <sys/un.h>
20204 #endif
20206 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20207 then :
20209 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20215 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20216 #ifdef HAVE_SCSI_SG_H
20217 #include <scsi/sg.h>
20218 #endif
20220 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20221 then :
20223 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20227 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>
20228 #ifdef HAVE_SCSI_SG_H
20229 #include <scsi/sg.h>
20230 #endif
20232 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20233 then :
20235 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20241 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20243 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20244 then :
20246 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20252 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20253 #ifdef HAVE_SYS_MTIO_H
20254 #include <sys/mtio.h>
20255 #endif
20257 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20258 then :
20260 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20264 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20265 #ifdef HAVE_SYS_MTIO_H
20266 #include <sys/mtio.h>
20267 #endif
20269 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20270 then :
20272 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20276 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20277 #ifdef HAVE_SYS_MTIO_H
20278 #include <sys/mtio.h>
20279 #endif
20281 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20282 then :
20284 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20290 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20291 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20292 then :
20294 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20298 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20299 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20300 then :
20302 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20306 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20307 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20308 then :
20310 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20314 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20315 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20316 then :
20318 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20322 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20323 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20324 then :
20326 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20330 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20331 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20332 then :
20334 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20338 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20339 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20340 then :
20342 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20346 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20347 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20348 then :
20350 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20354 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20355 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20356 then :
20358 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20362 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20363 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20364 then :
20366 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20370 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20371 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20372 then :
20374 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20380 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>
20381 #ifdef HAVE_NETINET_IN_H
20382 #include <netinet/in.h>
20383 #endif
20385 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20394 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
20395 #include <resolv.h>
20396 #endif
20398 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20399 then :
20401 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20407 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20408 #include <netinet/in.h>
20409 #endif
20411 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20420 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20421 #ifdef HAVE_SYS_SOCKETVAR_H
20422 #include <sys/socketvar.h>
20423 #endif
20424 #ifdef HAVE_NETINET_IN_H
20425 #include <netinet/in.h>
20426 #endif
20427 #ifdef HAVE_NETINET_IP_VAR_H
20428 #include <netinet/ip_var.h>
20429 #endif
20431 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20432 then :
20434 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20440 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
20441 #include <netinet/ip_var.h>
20442 #endif
20444 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20445 then :
20447 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20453 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20454 #ifdef HAVE_SYS_SOCKETVAR_H
20455 #include <sys/socketvar.h>
20456 #endif
20457 #ifdef HAVE_NETINET_IN_H
20458 #include <netinet/in.h>
20459 #endif
20460 #ifdef HAVE_NETINET6_IP6_VAR_H
20461 #include <netinet6/ip6_var.h>
20462 #endif
20464 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20473 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20474 #ifdef HAVE_SYS_SOCKETVAR_H
20475 #include <sys/socketvar.h>
20476 #endif
20477 #ifdef HAVE_NETINET_IN_H
20478 #include <netinet/in.h>
20479 #endif
20480 #ifdef HAVE_NETINET_IP_H
20481 #include <netinet/ip.h>
20482 #endif
20483 #ifdef HAVE_NETINET_IP_ICMP_H
20484 #include <netinet/ip_icmp.h>
20485 #endif
20486 #ifdef HAVE_NETINET_ICMP_VAR_H
20487 #include <netinet/icmp_var.h>
20488 #endif
20490 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20491 then :
20493 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20499 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20500 #ifdef HAVE_SYS_SOCKETVAR_H
20501 #include <sys/socketvar.h>
20502 #endif
20503 #ifdef HAVE_NETINET_IN_H
20504 #include <netinet/in.h>
20505 #endif
20506 #ifdef HAVE_NETINET_ICMP6_H
20507 #include <netinet/icmp6.h>
20508 #endif
20510 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20511 then :
20513 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20519 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20520 #ifdef HAVE_SYS_SOCKETVAR_H
20521 #include <sys/socketvar.h>
20522 #endif
20523 #ifdef HAVE_NETINET_IN_H
20524 #include <netinet/in.h>
20525 #endif
20526 #ifdef HAVE_NETINET_TCP_H
20527 #include <netinet/tcp.h>
20528 #endif
20529 #ifdef HAVE_NETINET_TCP_VAR_H
20530 #include <netinet/tcp_var.h>
20531 #endif
20533 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20534 then :
20536 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20542 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
20543 #include <netinet/tcp_var.h>
20544 #endif
20546 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20547 then :
20549 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20555 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20556 #ifdef HAVE_NETINET_IN_H
20557 #include <netinet/in.h>
20558 #endif
20559 #ifdef HAVE_NETINET_IP_VAR_H
20560 #include <netinet/ip_var.h>
20561 #endif
20562 #ifdef HAVE_NETINET_UDP_H
20563 #include <netinet/udp.h>
20564 #endif
20565 #ifdef HAVE_NETINET_UDP_VAR_H
20566 #include <netinet/udp_var.h>
20567 #endif
20569 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20570 then :
20572 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20578 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20579 #ifdef HAVE_NET_IF_H
20580 # include <net/if.h>
20581 #endif
20583 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20584 then :
20586 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20592 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20593 # include <sys/sysinfo.h>
20594 #endif
20596 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20597 then :
20599 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20603 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20604 # include <sys/sysinfo.h>
20605 #endif
20607 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20608 then :
20610 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20616 LIBS="$ac_save_LIBS"
20618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20619 printf %s "checking for __builtin_popcount... " >&6; }
20620 if test ${ac_cv_have___builtin_popcount+y}
20621 then :
20622 printf %s "(cached) " >&6
20623 else $as_nop
20624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20625 /* end confdefs.h. */
20628 main (void)
20630 return __builtin_popcount(1)
20632 return 0;
20634 _ACEOF
20635 if ac_fn_c_try_link "$LINENO"
20636 then :
20637 ac_cv_have___builtin_popcount="yes"
20638 else $as_nop
20639 ac_cv_have___builtin_popcount="no"
20641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20642 conftest$ac_exeext conftest.$ac_ext
20644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20645 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20646 if test "$ac_cv_have___builtin_popcount" = "yes"
20647 then
20649 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20654 printf %s "checking for __clear_cache... " >&6; }
20655 if test ${ac_cv_have___clear_cache+y}
20656 then :
20657 printf %s "(cached) " >&6
20658 else $as_nop
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20663 main (void)
20665 __clear_cache((void*)0, (void*)0); return 0;
20667 return 0;
20669 _ACEOF
20670 if ac_fn_c_try_link "$LINENO"
20671 then :
20672 ac_cv_have___clear_cache="yes"
20673 else $as_nop
20674 ac_cv_have___clear_cache="no"
20676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20677 conftest$ac_exeext conftest.$ac_ext
20679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20680 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20681 if test "$ac_cv_have___clear_cache" = "yes"
20682 then
20684 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20689 case $host_cpu in
20690 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20691 printf %s "checking whether we need to define __i386__... " >&6; }
20692 if test ${ac_cv_cpp_def___i386__+y}
20693 then :
20694 printf %s "(cached) " >&6
20695 else $as_nop
20696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h. */
20698 #ifndef __i386__
20700 #endif
20701 _ACEOF
20702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20703 $EGREP "yes" >/dev/null 2>&1
20704 then :
20705 ac_cv_cpp_def___i386__=yes
20706 else $as_nop
20707 ac_cv_cpp_def___i386__=no
20709 rm -rf conftest*
20712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20713 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20714 if test "x$ac_cv_cpp_def___i386__" = xyes
20715 then :
20716 CFLAGS="$CFLAGS -D__i386__"
20717 LINTFLAGS="$LINTFLAGS -D__i386__"
20718 fi ;;
20719 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20720 printf %s "checking whether we need to define __x86_64__... " >&6; }
20721 if test ${ac_cv_cpp_def___x86_64__+y}
20722 then :
20723 printf %s "(cached) " >&6
20724 else $as_nop
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20727 #ifndef __x86_64__
20729 #endif
20730 _ACEOF
20731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20732 $EGREP "yes" >/dev/null 2>&1
20733 then :
20734 ac_cv_cpp_def___x86_64__=yes
20735 else $as_nop
20736 ac_cv_cpp_def___x86_64__=no
20738 rm -rf conftest*
20741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20742 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20743 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20744 then :
20745 CFLAGS="$CFLAGS -D__x86_64__"
20746 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20747 fi ;;
20748 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20749 printf %s "checking whether we need to define __sparc64__... " >&6; }
20750 if test ${ac_cv_cpp_def___sparc64__+y}
20751 then :
20752 printf %s "(cached) " >&6
20753 else $as_nop
20754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20755 /* end confdefs.h. */
20756 #ifndef __sparc64__
20758 #endif
20759 _ACEOF
20760 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20761 $EGREP "yes" >/dev/null 2>&1
20762 then :
20763 ac_cv_cpp_def___sparc64__=yes
20764 else $as_nop
20765 ac_cv_cpp_def___sparc64__=no
20767 rm -rf conftest*
20770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20771 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20772 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20773 then :
20774 CFLAGS="$CFLAGS -D__sparc64__"
20775 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20776 fi ;;
20777 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20778 printf %s "checking whether we need to define __sparc__... " >&6; }
20779 if test ${ac_cv_cpp_def___sparc__+y}
20780 then :
20781 printf %s "(cached) " >&6
20782 else $as_nop
20783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20785 #ifndef __sparc__
20787 #endif
20788 _ACEOF
20789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20790 $EGREP "yes" >/dev/null 2>&1
20791 then :
20792 ac_cv_cpp_def___sparc__=yes
20793 else $as_nop
20794 ac_cv_cpp_def___sparc__=no
20796 rm -rf conftest*
20799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20800 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20801 if test "x$ac_cv_cpp_def___sparc__" = xyes
20802 then :
20803 CFLAGS="$CFLAGS -D__sparc__"
20804 LINTFLAGS="$LINTFLAGS -D__sparc__"
20805 fi ;;
20806 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20807 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20808 if test ${ac_cv_cpp_def___powerpc64__+y}
20809 then :
20810 printf %s "(cached) " >&6
20811 else $as_nop
20812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20814 #ifndef __powerpc64__
20816 #endif
20817 _ACEOF
20818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20819 $EGREP "yes" >/dev/null 2>&1
20820 then :
20821 ac_cv_cpp_def___powerpc64__=yes
20822 else $as_nop
20823 ac_cv_cpp_def___powerpc64__=no
20825 rm -rf conftest*
20828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20829 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20830 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20831 then :
20832 CFLAGS="$CFLAGS -D__powerpc64__"
20833 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20834 fi ;;
20835 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20836 printf %s "checking whether we need to define __powerpc__... " >&6; }
20837 if test ${ac_cv_cpp_def___powerpc__+y}
20838 then :
20839 printf %s "(cached) " >&6
20840 else $as_nop
20841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20842 /* end confdefs.h. */
20843 #ifndef __powerpc__
20845 #endif
20846 _ACEOF
20847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20848 $EGREP "yes" >/dev/null 2>&1
20849 then :
20850 ac_cv_cpp_def___powerpc__=yes
20851 else $as_nop
20852 ac_cv_cpp_def___powerpc__=no
20854 rm -rf conftest*
20857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20858 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20859 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20860 then :
20861 CFLAGS="$CFLAGS -D__powerpc__"
20862 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20863 fi ;;
20864 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20865 printf %s "checking whether we need to define __aarch64__... " >&6; }
20866 if test ${ac_cv_cpp_def___aarch64__+y}
20867 then :
20868 printf %s "(cached) " >&6
20869 else $as_nop
20870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20872 #ifndef __aarch64__
20874 #endif
20875 _ACEOF
20876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20877 $EGREP "yes" >/dev/null 2>&1
20878 then :
20879 ac_cv_cpp_def___aarch64__=yes
20880 else $as_nop
20881 ac_cv_cpp_def___aarch64__=no
20883 rm -rf conftest*
20886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20887 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20888 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20889 then :
20890 CFLAGS="$CFLAGS -D__aarch64__"
20891 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20892 fi ;;
20893 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20894 printf %s "checking whether we need to define __arm__... " >&6; }
20895 if test ${ac_cv_cpp_def___arm__+y}
20896 then :
20897 printf %s "(cached) " >&6
20898 else $as_nop
20899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20900 /* end confdefs.h. */
20901 #ifndef __arm__
20903 #endif
20904 _ACEOF
20905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20906 $EGREP "yes" >/dev/null 2>&1
20907 then :
20908 ac_cv_cpp_def___arm__=yes
20909 else $as_nop
20910 ac_cv_cpp_def___arm__=no
20912 rm -rf conftest*
20915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20916 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20917 if test "x$ac_cv_cpp_def___arm__" = xyes
20918 then :
20919 CFLAGS="$CFLAGS -D__arm__"
20920 LINTFLAGS="$LINTFLAGS -D__arm__"
20921 fi ;;
20922 esac
20924 case $host_vendor in
20925 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20926 printf %s "checking whether we need to define __sun__... " >&6; }
20927 if test ${ac_cv_cpp_def___sun__+y}
20928 then :
20929 printf %s "(cached) " >&6
20930 else $as_nop
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #ifndef __sun__
20935 #endif
20936 _ACEOF
20937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20938 $EGREP "yes" >/dev/null 2>&1
20939 then :
20940 ac_cv_cpp_def___sun__=yes
20941 else $as_nop
20942 ac_cv_cpp_def___sun__=no
20944 rm -rf conftest*
20947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20948 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20949 if test "x$ac_cv_cpp_def___sun__" = xyes
20950 then :
20951 CFLAGS="$CFLAGS -D__sun__"
20952 LINTFLAGS="$LINTFLAGS -D__sun__"
20953 fi ;;
20954 esac
20960 ac_config_commands="$ac_config_commands include/stamp-h"
20962 printf %s "creating Makefile rules..." >&6
20964 makedep_flags=""
20965 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20967 wine_srcdir=
20968 test "$srcdir" = . || wine_srcdir="$srcdir/"
20970 ac_config_links="$ac_config_links wine:tools/winewrapper"
20971 wine_fn_config_symlink wine
20972 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
20973 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20974 wine_fn_config_symlink wine64
20977 wine_fn_config_makefile dlls/acledit enable_acledit
20978 wine_fn_config_makefile dlls/aclui enable_aclui
20979 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20980 wine_fn_config_makefile dlls/activeds enable_activeds
20981 wine_fn_config_makefile dlls/activeds/tests enable_tests
20982 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20983 wine_fn_config_makefile dlls/adsldp enable_adsldp
20984 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20985 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20986 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20987 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20988 wine_fn_config_makefile dlls/advpack enable_advpack
20989 wine_fn_config_makefile dlls/advpack/tests enable_tests
20990 wine_fn_config_makefile dlls/amsi enable_amsi
20991 wine_fn_config_makefile dlls/amstream enable_amstream
20992 wine_fn_config_makefile dlls/amstream/tests enable_tests
20993 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20994 wine_fn_config_makefile dlls/apphelp enable_apphelp
20995 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20996 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20997 wine_fn_config_makefile dlls/atl enable_atl
20998 wine_fn_config_makefile dlls/atl/tests enable_tests
20999 wine_fn_config_makefile dlls/atl100 enable_atl100
21000 wine_fn_config_makefile dlls/atl100/tests enable_tests
21001 wine_fn_config_makefile dlls/atl110 enable_atl110
21002 wine_fn_config_makefile dlls/atl110/tests enable_tests
21003 wine_fn_config_makefile dlls/atl80 enable_atl80
21004 wine_fn_config_makefile dlls/atl80/tests enable_tests
21005 wine_fn_config_makefile dlls/atl90 enable_atl90
21006 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21007 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21008 wine_fn_config_makefile dlls/atmlib enable_atmlib
21009 wine_fn_config_makefile dlls/authz enable_authz
21010 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21011 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21012 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21013 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21014 wine_fn_config_makefile dlls/avrt enable_avrt
21015 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21016 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21017 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21018 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21019 wine_fn_config_makefile dlls/browseui enable_browseui
21020 wine_fn_config_makefile dlls/browseui/tests enable_tests
21021 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21022 wine_fn_config_makefile dlls/cabinet enable_cabinet
21023 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21024 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21025 wine_fn_config_makefile dlls/cards enable_cards
21026 wine_fn_config_makefile dlls/cdosys enable_cdosys
21027 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21028 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21029 wine_fn_config_makefile dlls/clusapi enable_clusapi
21030 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21031 wine_fn_config_makefile dlls/combase enable_combase
21032 wine_fn_config_makefile dlls/combase/tests enable_tests
21033 wine_fn_config_makefile dlls/comcat enable_comcat
21034 wine_fn_config_makefile dlls/comcat/tests enable_tests
21035 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21036 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21037 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21038 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21039 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21040 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21041 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21042 wine_fn_config_makefile dlls/compstui enable_compstui
21043 wine_fn_config_makefile dlls/compstui/tests enable_tests
21044 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21045 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21046 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21047 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21048 wine_fn_config_makefile dlls/connect enable_connect
21049 wine_fn_config_makefile dlls/credui enable_credui
21050 wine_fn_config_makefile dlls/credui/tests enable_tests
21051 wine_fn_config_makefile dlls/crtdll enable_crtdll
21052 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21053 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21054 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21055 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21056 wine_fn_config_makefile dlls/cryptext enable_cryptext
21057 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21058 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21059 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21060 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21061 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21062 wine_fn_config_makefile dlls/cryptui enable_cryptui
21063 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21064 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21065 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21066 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21067 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21068 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21069 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21070 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21071 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21072 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21073 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21074 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21075 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21076 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21077 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21078 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21079 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21080 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21081 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21082 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21083 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21084 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21085 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21086 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21087 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21088 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21089 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21090 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21091 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21092 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21093 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21094 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21095 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21096 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21097 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21098 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21099 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21100 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21101 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21102 wine_fn_config_makefile dlls/d3dim enable_d3dim
21103 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21104 wine_fn_config_makefile dlls/d3drm enable_d3drm
21105 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21106 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21107 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21108 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21109 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21110 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21111 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21112 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21113 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21114 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21115 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21116 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21117 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21118 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21119 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21120 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21121 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21122 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21123 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21124 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21125 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21126 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21127 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21128 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21129 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21130 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21131 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21132 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21133 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21134 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21135 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21136 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21137 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21138 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21139 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21140 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21141 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21142 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21143 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21144 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21145 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21146 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21147 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21148 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21149 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21150 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21151 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21152 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21153 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21154 wine_fn_config_makefile dlls/davclnt enable_davclnt
21155 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21156 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21157 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21158 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21159 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21160 wine_fn_config_makefile dlls/dcomp enable_dcomp
21161 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21162 wine_fn_config_makefile dlls/ddraw enable_ddraw
21163 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21164 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21165 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21166 wine_fn_config_makefile dlls/devenum enable_devenum
21167 wine_fn_config_makefile dlls/devenum/tests enable_tests
21168 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21169 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21170 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21171 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21172 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21173 wine_fn_config_makefile dlls/difxapi enable_difxapi
21174 wine_fn_config_makefile dlls/dinput enable_dinput
21175 wine_fn_config_makefile dlls/dinput/tests enable_tests
21176 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21177 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21178 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21179 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21180 wine_fn_config_makefile dlls/dispex enable_dispex
21181 wine_fn_config_makefile dlls/dispex/tests enable_tests
21182 wine_fn_config_makefile dlls/display.drv16 enable_win16
21183 wine_fn_config_makefile dlls/dmband enable_dmband
21184 wine_fn_config_makefile dlls/dmband/tests enable_tests
21185 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21186 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21187 wine_fn_config_makefile dlls/dmime enable_dmime
21188 wine_fn_config_makefile dlls/dmime/tests enable_tests
21189 wine_fn_config_makefile dlls/dmloader enable_dmloader
21190 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21191 wine_fn_config_makefile dlls/dmscript enable_dmscript
21192 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21193 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21194 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21195 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21196 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21197 wine_fn_config_makefile dlls/dmusic enable_dmusic
21198 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21199 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21200 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21201 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21202 wine_fn_config_makefile dlls/dplay enable_dplay
21203 wine_fn_config_makefile dlls/dplayx enable_dplayx
21204 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21205 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21206 wine_fn_config_makefile dlls/dpnet enable_dpnet
21207 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21208 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21209 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21210 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21211 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21212 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21213 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21214 wine_fn_config_makefile dlls/drmclien enable_drmclien
21215 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21216 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21217 wine_fn_config_makefile dlls/dsound enable_dsound
21218 wine_fn_config_makefile dlls/dsound/tests enable_tests
21219 wine_fn_config_makefile dlls/dsquery enable_dsquery
21220 wine_fn_config_makefile dlls/dssenh enable_dssenh
21221 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21222 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21223 wine_fn_config_makefile dlls/dswave enable_dswave
21224 wine_fn_config_makefile dlls/dswave/tests enable_tests
21225 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21226 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21227 wine_fn_config_makefile dlls/dwrite enable_dwrite
21228 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21229 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21230 wine_fn_config_makefile dlls/dxcore enable_dxcore
21231 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21232 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21233 wine_fn_config_makefile dlls/dxgi enable_dxgi
21234 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21235 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21236 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21237 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21238 wine_fn_config_makefile dlls/esent enable_esent
21239 wine_fn_config_makefile dlls/evr enable_evr
21240 wine_fn_config_makefile dlls/evr/tests enable_tests
21241 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21242 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21243 wine_fn_config_makefile dlls/faultrep enable_faultrep
21244 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21245 wine_fn_config_makefile dlls/feclient enable_feclient
21246 wine_fn_config_makefile dlls/fltlib enable_fltlib
21247 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21248 wine_fn_config_makefile dlls/fntcache enable_fntcache
21249 wine_fn_config_makefile dlls/fontsub enable_fontsub
21250 wine_fn_config_makefile dlls/fusion enable_fusion
21251 wine_fn_config_makefile dlls/fusion/tests enable_tests
21252 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21253 wine_fn_config_makefile dlls/gameux enable_gameux
21254 wine_fn_config_makefile dlls/gameux/tests enable_tests
21255 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21256 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21257 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21258 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21259 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21260 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21261 wine_fn_config_makefile dlls/geolocation enable_geolocation
21262 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21263 wine_fn_config_makefile dlls/glu32 enable_glu32
21264 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21265 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21266 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21267 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21268 wine_fn_config_makefile dlls/hal enable_hal
21269 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21270 wine_fn_config_makefile dlls/hid enable_hid
21271 wine_fn_config_makefile dlls/hid/tests enable_tests
21272 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21273 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21274 wine_fn_config_makefile dlls/hlink enable_hlink
21275 wine_fn_config_makefile dlls/hlink/tests enable_tests
21276 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21277 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21278 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21279 wine_fn_config_makefile dlls/http.sys enable_http_sys
21280 wine_fn_config_makefile dlls/httpapi enable_httpapi
21281 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21282 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21283 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21284 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21285 wine_fn_config_makefile dlls/iccvid enable_iccvid
21286 wine_fn_config_makefile dlls/icmp enable_icmp
21287 wine_fn_config_makefile dlls/ieframe enable_ieframe
21288 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21289 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21290 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21291 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21292 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21293 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21294 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21295 wine_fn_config_makefile dlls/imm32 enable_imm32
21296 wine_fn_config_makefile dlls/imm32/tests enable_tests
21297 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21298 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21299 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21300 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21301 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21302 wine_fn_config_makefile dlls/infosoft enable_infosoft
21303 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21304 wine_fn_config_makefile dlls/initpki enable_initpki
21305 wine_fn_config_makefile dlls/inkobj enable_inkobj
21306 wine_fn_config_makefile dlls/inseng enable_inseng
21307 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21308 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21309 wine_fn_config_makefile dlls/iprop enable_iprop
21310 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21311 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21312 wine_fn_config_makefile dlls/itircl enable_itircl
21313 wine_fn_config_makefile dlls/itss enable_itss
21314 wine_fn_config_makefile dlls/itss/tests enable_tests
21315 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21316 wine_fn_config_makefile dlls/jscript enable_jscript
21317 wine_fn_config_makefile dlls/jscript/tests enable_tests
21318 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21319 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21320 wine_fn_config_makefile dlls/kerberos enable_kerberos
21321 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21322 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21323 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21324 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21325 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21326 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21327 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21328 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21329 wine_fn_config_makefile dlls/ksuser enable_ksuser
21330 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21331 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21332 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21333 wine_fn_config_makefile dlls/loadperf enable_loadperf
21334 wine_fn_config_makefile dlls/localspl enable_localspl
21335 wine_fn_config_makefile dlls/localspl/tests enable_tests
21336 wine_fn_config_makefile dlls/localui enable_localui
21337 wine_fn_config_makefile dlls/localui/tests enable_tests
21338 wine_fn_config_makefile dlls/lz32 enable_lz32
21339 wine_fn_config_makefile dlls/lz32/tests enable_tests
21340 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21341 wine_fn_config_makefile dlls/magnification enable_magnification
21342 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21343 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21344 wine_fn_config_makefile dlls/mapistub enable_mapistub
21345 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21346 wine_fn_config_makefile dlls/mcicda enable_mcicda
21347 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21348 wine_fn_config_makefile dlls/mciseq enable_mciseq
21349 wine_fn_config_makefile dlls/mciwave enable_mciwave
21350 wine_fn_config_makefile dlls/mf enable_mf
21351 wine_fn_config_makefile dlls/mf/tests enable_tests
21352 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21353 wine_fn_config_makefile dlls/mferror enable_mferror
21354 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21355 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21356 wine_fn_config_makefile dlls/mfplat enable_mfplat
21357 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21358 wine_fn_config_makefile dlls/mfplay enable_mfplay
21359 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21360 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21361 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21362 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21363 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21364 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21365 wine_fn_config_makefile dlls/midimap enable_midimap
21366 wine_fn_config_makefile dlls/mlang enable_mlang
21367 wine_fn_config_makefile dlls/mlang/tests enable_tests
21368 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21369 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21370 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21371 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21372 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21373 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21374 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21375 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21376 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21377 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21378 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21379 wine_fn_config_makefile dlls/mpr enable_mpr
21380 wine_fn_config_makefile dlls/mpr/tests enable_tests
21381 wine_fn_config_makefile dlls/mprapi enable_mprapi
21382 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21383 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21384 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21385 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21386 wine_fn_config_makefile dlls/msado15 enable_msado15
21387 wine_fn_config_makefile dlls/msado15/tests enable_tests
21388 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21389 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21390 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21391 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21392 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21393 wine_fn_config_makefile dlls/mscms enable_mscms
21394 wine_fn_config_makefile dlls/mscms/tests enable_tests
21395 wine_fn_config_makefile dlls/mscoree enable_mscoree
21396 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21397 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21398 wine_fn_config_makefile dlls/msctf enable_msctf
21399 wine_fn_config_makefile dlls/msctf/tests enable_tests
21400 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21401 wine_fn_config_makefile dlls/msctfp enable_msctfp
21402 wine_fn_config_makefile dlls/msdaps enable_msdaps
21403 wine_fn_config_makefile dlls/msdasql enable_msdasql
21404 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21405 wine_fn_config_makefile dlls/msdelta enable_msdelta
21406 wine_fn_config_makefile dlls/msdmo enable_msdmo
21407 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21408 wine_fn_config_makefile dlls/msdrm enable_msdrm
21409 wine_fn_config_makefile dlls/msftedit enable_msftedit
21410 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21411 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21412 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21413 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21414 wine_fn_config_makefile dlls/mshtml enable_mshtml
21415 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21416 wine_fn_config_makefile dlls/msi enable_msi
21417 wine_fn_config_makefile dlls/msi/tests enable_tests
21418 wine_fn_config_makefile dlls/msident enable_msident
21419 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21420 wine_fn_config_makefile dlls/msimsg enable_msimsg
21421 wine_fn_config_makefile dlls/msimtf enable_msimtf
21422 wine_fn_config_makefile dlls/msisip enable_msisip
21423 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21424 wine_fn_config_makefile dlls/msls31 enable_msls31
21425 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21426 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21427 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21428 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21429 wine_fn_config_makefile dlls/msports enable_msports
21430 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21431 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21432 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21433 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21434 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21435 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21436 wine_fn_config_makefile dlls/mstask enable_mstask
21437 wine_fn_config_makefile dlls/mstask/tests enable_tests
21438 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21439 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21440 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21441 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21442 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21443 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21444 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21445 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21446 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21447 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21448 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21449 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21450 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21451 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21452 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21453 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21454 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21455 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21456 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21457 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21458 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21459 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21460 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21461 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21462 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21463 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21464 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21465 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21466 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21467 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21468 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21469 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21470 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21471 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21472 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21473 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21474 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21475 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21476 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21477 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21478 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21479 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21480 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21481 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21482 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21483 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21484 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21485 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21486 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21487 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21488 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21489 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21490 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21491 wine_fn_config_makefile dlls/mswsock enable_mswsock
21492 wine_fn_config_makefile dlls/msxml enable_msxml
21493 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21494 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21495 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21496 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21497 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21498 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21499 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21500 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21501 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21502 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21503 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21504 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21505 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21506 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21507 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21508 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21509 wine_fn_config_makefile dlls/netprofm enable_netprofm
21510 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21511 wine_fn_config_makefile dlls/netutils enable_netutils
21512 wine_fn_config_makefile dlls/newdev enable_newdev
21513 wine_fn_config_makefile dlls/ninput enable_ninput
21514 wine_fn_config_makefile dlls/ninput/tests enable_tests
21515 wine_fn_config_makefile dlls/normaliz enable_normaliz
21516 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21517 wine_fn_config_makefile dlls/npptools enable_npptools
21518 wine_fn_config_makefile dlls/nsi enable_nsi
21519 wine_fn_config_makefile dlls/nsi/tests enable_tests
21520 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21521 wine_fn_config_makefile dlls/ntdll enable_ntdll
21522 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21523 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21524 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21525 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21526 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21527 wine_fn_config_makefile dlls/ntprint enable_ntprint
21528 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21529 wine_fn_config_makefile dlls/objsel enable_objsel
21530 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21531 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21532 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21533 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21534 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21535 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21536 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21537 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21538 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21539 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21540 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21541 wine_fn_config_makefile dlls/ole32 enable_ole32
21542 wine_fn_config_makefile dlls/ole32/tests enable_tests
21543 wine_fn_config_makefile dlls/oleacc enable_oleacc
21544 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21545 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21546 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21547 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21548 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21549 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21550 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21551 wine_fn_config_makefile dlls/oledlg enable_oledlg
21552 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21553 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21554 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21555 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21556 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21557 wine_fn_config_makefile dlls/opcservices enable_opcservices
21558 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21559 wine_fn_config_makefile dlls/opencl enable_opencl
21560 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21561 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21562 wine_fn_config_makefile dlls/packager enable_packager
21563 wine_fn_config_makefile dlls/packager/tests enable_tests
21564 wine_fn_config_makefile dlls/pdh enable_pdh
21565 wine_fn_config_makefile dlls/pdh/tests enable_tests
21566 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21567 wine_fn_config_makefile dlls/pidgen enable_pidgen
21568 wine_fn_config_makefile dlls/powrprof enable_powrprof
21569 wine_fn_config_makefile dlls/printui enable_printui
21570 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21571 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21572 wine_fn_config_makefile dlls/propsys enable_propsys
21573 wine_fn_config_makefile dlls/propsys/tests enable_tests
21574 wine_fn_config_makefile dlls/psapi enable_psapi
21575 wine_fn_config_makefile dlls/psapi/tests enable_tests
21576 wine_fn_config_makefile dlls/pstorec enable_pstorec
21577 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21578 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21579 wine_fn_config_makefile dlls/qasf enable_qasf
21580 wine_fn_config_makefile dlls/qasf/tests enable_tests
21581 wine_fn_config_makefile dlls/qcap enable_qcap
21582 wine_fn_config_makefile dlls/qcap/tests enable_tests
21583 wine_fn_config_makefile dlls/qdvd enable_qdvd
21584 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21585 wine_fn_config_makefile dlls/qedit enable_qedit
21586 wine_fn_config_makefile dlls/qedit/tests enable_tests
21587 wine_fn_config_makefile dlls/qmgr enable_qmgr
21588 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21589 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21590 wine_fn_config_makefile dlls/quartz enable_quartz
21591 wine_fn_config_makefile dlls/quartz/tests enable_tests
21592 wine_fn_config_makefile dlls/query enable_query
21593 wine_fn_config_makefile dlls/qwave enable_qwave
21594 wine_fn_config_makefile dlls/qwave/tests enable_tests
21595 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21596 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21597 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21598 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21599 wine_fn_config_makefile dlls/regapi enable_regapi
21600 wine_fn_config_makefile dlls/resutils enable_resutils
21601 wine_fn_config_makefile dlls/riched20 enable_riched20
21602 wine_fn_config_makefile dlls/riched20/tests enable_tests
21603 wine_fn_config_makefile dlls/riched32 enable_riched32
21604 wine_fn_config_makefile dlls/riched32/tests enable_tests
21605 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21606 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21607 wine_fn_config_makefile dlls/rsabase enable_rsabase
21608 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21609 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21610 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21611 wine_fn_config_makefile dlls/rtutils enable_rtutils
21612 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21613 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21614 wine_fn_config_makefile dlls/samlib enable_samlib
21615 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21616 wine_fn_config_makefile dlls/sapi enable_sapi
21617 wine_fn_config_makefile dlls/sapi/tests enable_tests
21618 wine_fn_config_makefile dlls/sas enable_sas
21619 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21620 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21621 wine_fn_config_makefile dlls/sccbase enable_sccbase
21622 wine_fn_config_makefile dlls/schannel enable_schannel
21623 wine_fn_config_makefile dlls/schannel/tests enable_tests
21624 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21625 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21626 wine_fn_config_makefile dlls/scrobj enable_scrobj
21627 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21628 wine_fn_config_makefile dlls/scrrun enable_scrrun
21629 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21630 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21631 wine_fn_config_makefile dlls/sechost enable_sechost
21632 wine_fn_config_makefile dlls/secur32 enable_secur32
21633 wine_fn_config_makefile dlls/secur32/tests enable_tests
21634 wine_fn_config_makefile dlls/security enable_security
21635 wine_fn_config_makefile dlls/sensapi enable_sensapi
21636 wine_fn_config_makefile dlls/serialui enable_serialui
21637 wine_fn_config_makefile dlls/serialui/tests enable_tests
21638 wine_fn_config_makefile dlls/setupapi enable_setupapi
21639 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21640 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21641 wine_fn_config_makefile dlls/sfc enable_sfc
21642 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21643 wine_fn_config_makefile dlls/shcore enable_shcore
21644 wine_fn_config_makefile dlls/shcore/tests enable_tests
21645 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21646 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21647 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21648 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21649 wine_fn_config_makefile dlls/shell32 enable_shell32
21650 wine_fn_config_makefile dlls/shell32/tests enable_tests
21651 wine_fn_config_makefile dlls/shfolder enable_shfolder
21652 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21653 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21654 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21655 wine_fn_config_makefile dlls/slc enable_slc
21656 wine_fn_config_makefile dlls/slc/tests enable_tests
21657 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21658 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21659 wine_fn_config_makefile dlls/softpub enable_softpub
21660 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21661 wine_fn_config_makefile dlls/spoolss enable_spoolss
21662 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21663 wine_fn_config_makefile dlls/sppc enable_sppc
21664 wine_fn_config_makefile dlls/srclient enable_srclient
21665 wine_fn_config_makefile dlls/srvcli enable_srvcli
21666 wine_fn_config_makefile dlls/sspicli enable_sspicli
21667 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21668 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21669 wine_fn_config_makefile dlls/sti enable_sti
21670 wine_fn_config_makefile dlls/sti/tests enable_tests
21671 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21672 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21673 wine_fn_config_makefile dlls/strmdll enable_strmdll
21674 wine_fn_config_makefile dlls/svrapi enable_svrapi
21675 wine_fn_config_makefile dlls/sxs enable_sxs
21676 wine_fn_config_makefile dlls/sxs/tests enable_tests
21677 wine_fn_config_makefile dlls/system.drv16 enable_win16
21678 wine_fn_config_makefile dlls/t2embed enable_t2embed
21679 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21680 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21681 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21682 wine_fn_config_makefile dlls/taskschd enable_taskschd
21683 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21684 wine_fn_config_makefile dlls/tbs enable_tbs
21685 wine_fn_config_makefile dlls/tdh enable_tdh
21686 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21687 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21688 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21689 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21690 wine_fn_config_makefile dlls/traffic enable_traffic
21691 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21692 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21693 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21694 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21695 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21696 wine_fn_config_makefile dlls/tzres enable_tzres
21697 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21698 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21699 wine_fn_config_makefile dlls/uianimation enable_uianimation
21700 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21701 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21702 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21703 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21704 wine_fn_config_makefile dlls/unicows enable_unicows
21705 wine_fn_config_makefile dlls/updspapi enable_updspapi
21706 wine_fn_config_makefile dlls/url enable_url
21707 wine_fn_config_makefile dlls/urlmon enable_urlmon
21708 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21709 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21710 wine_fn_config_makefile dlls/user.exe16 enable_win16
21711 wine_fn_config_makefile dlls/user32 enable_user32
21712 wine_fn_config_makefile dlls/user32/tests enable_tests
21713 wine_fn_config_makefile dlls/userenv enable_userenv
21714 wine_fn_config_makefile dlls/userenv/tests enable_tests
21715 wine_fn_config_makefile dlls/usp10 enable_usp10
21716 wine_fn_config_makefile dlls/usp10/tests enable_tests
21717 wine_fn_config_makefile dlls/utildll enable_utildll
21718 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21719 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21720 wine_fn_config_makefile dlls/vbscript enable_vbscript
21721 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21722 wine_fn_config_makefile dlls/vcomp enable_vcomp
21723 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21724 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21725 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21726 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21727 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21728 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21729 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21730 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21731 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21732 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21733 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21734 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21735 wine_fn_config_makefile dlls/version enable_version
21736 wine_fn_config_makefile dlls/version/tests enable_tests
21737 wine_fn_config_makefile dlls/vga enable_vga
21738 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21739 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21740 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21741 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21742 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21743 wine_fn_config_makefile dlls/vssapi enable_vssapi
21744 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21745 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21746 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21747 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21748 wine_fn_config_makefile dlls/w32skrnl enable_win16
21749 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21750 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21751 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21752 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21753 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21754 wine_fn_config_makefile dlls/wdscore enable_wdscore
21755 wine_fn_config_makefile dlls/webservices enable_webservices
21756 wine_fn_config_makefile dlls/webservices/tests enable_tests
21757 wine_fn_config_makefile dlls/websocket enable_websocket
21758 wine_fn_config_makefile dlls/wer enable_wer
21759 wine_fn_config_makefile dlls/wer/tests enable_tests
21760 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21761 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21762 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21763 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21764 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21765 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21766 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21767 wine_fn_config_makefile dlls/win32u enable_win32u
21768 wine_fn_config_makefile dlls/win32u/tests enable_tests
21769 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21770 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21771 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21772 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21773 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21774 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21775 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21776 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21777 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21778 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21779 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21780 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21781 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21782 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21783 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21784 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21785 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21786 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21787 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21788 wine_fn_config_makefile dlls/windows.media enable_windows_media
21789 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21790 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21791 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21792 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21793 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21794 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21795 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21796 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21797 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21798 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21799 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21800 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21801 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21802 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21803 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21804 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21805 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21806 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21807 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21808 wine_fn_config_makefile dlls/wined3d enable_wined3d
21809 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21810 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21811 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21812 wine_fn_config_makefile dlls/winemapi enable_winemapi
21813 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21814 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21815 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21816 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21817 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21818 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21819 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21820 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21821 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21822 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21823 wine_fn_config_makefile dlls/wing32 enable_wing32
21824 wine_fn_config_makefile dlls/winhttp enable_winhttp
21825 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21826 wine_fn_config_makefile dlls/wininet enable_wininet
21827 wine_fn_config_makefile dlls/wininet/tests enable_tests
21828 wine_fn_config_makefile dlls/winmm enable_winmm
21829 wine_fn_config_makefile dlls/winmm/tests enable_tests
21830 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21831 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21832 wine_fn_config_makefile dlls/winprint enable_winprint
21833 wine_fn_config_makefile dlls/winscard enable_winscard
21834 wine_fn_config_makefile dlls/winscard/tests enable_tests
21835 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21836 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21837 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21838 wine_fn_config_makefile dlls/winsta enable_winsta
21839 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21840 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21841 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21842 wine_fn_config_makefile dlls/wintrust enable_wintrust
21843 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21844 wine_fn_config_makefile dlls/wintypes enable_wintypes
21845 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21846 wine_fn_config_makefile dlls/winusb enable_winusb
21847 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21848 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21849 wine_fn_config_makefile dlls/wlanui enable_wlanui
21850 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21851 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21852 wine_fn_config_makefile dlls/wldp enable_wldp
21853 wine_fn_config_makefile dlls/wmasf enable_wmasf
21854 wine_fn_config_makefile dlls/wmi enable_wmi
21855 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21856 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21857 wine_fn_config_makefile dlls/wmp enable_wmp
21858 wine_fn_config_makefile dlls/wmp/tests enable_tests
21859 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21860 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21861 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21862 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21863 wine_fn_config_makefile dlls/wofutil enable_wofutil
21864 wine_fn_config_makefile dlls/wow32 enable_win16
21865 wine_fn_config_makefile dlls/wow64 enable_wow64
21866 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21867 wine_fn_config_makefile dlls/wow64win enable_wow64win
21868 wine_fn_config_makefile dlls/wpc enable_wpc
21869 wine_fn_config_makefile dlls/wpc/tests enable_tests
21870 wine_fn_config_makefile dlls/wpcap enable_wpcap
21871 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21872 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21873 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21874 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21875 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21876 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21877 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21878 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21879 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21880 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21881 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21882 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21883 wine_fn_config_makefile dlls/wuapi enable_wuapi
21884 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21885 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21886 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21887 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21888 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21889 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21890 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21891 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21892 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21893 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21894 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21895 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21896 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21897 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21898 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21899 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21900 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21901 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21902 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21903 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21904 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21905 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21906 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21907 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21908 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21909 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21910 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21911 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21912 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21913 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21914 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21915 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21916 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21917 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21918 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21919 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21920 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21921 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
21922 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21923 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21924 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21925 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21926 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21927 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21928 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21929 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21930 wine_fn_config_makefile dlls/xmllite enable_xmllite
21931 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21932 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21933 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21934 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21935 wine_fn_config_makefile fonts enable_fonts
21936 wine_fn_config_makefile include enable_include
21937 wine_fn_config_makefile libs/adsiid enable_adsiid
21938 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21939 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21940 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21941 wine_fn_config_makefile libs/dxguid enable_dxguid
21942 wine_fn_config_makefile libs/faudio enable_faudio
21943 wine_fn_config_makefile libs/gsm enable_gsm
21944 wine_fn_config_makefile libs/jpeg enable_jpeg
21945 wine_fn_config_makefile libs/jxr enable_jxr
21946 wine_fn_config_makefile libs/lcms2 enable_lcms2
21947 wine_fn_config_makefile libs/ldap enable_ldap
21948 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21949 wine_fn_config_makefile libs/mpg123 enable_mpg123
21950 wine_fn_config_makefile libs/musl enable_musl
21951 wine_fn_config_makefile libs/png enable_png
21952 wine_fn_config_makefile libs/strmbase enable_strmbase
21953 wine_fn_config_makefile libs/strmiids enable_strmiids
21954 wine_fn_config_makefile libs/tiff enable_tiff
21955 wine_fn_config_makefile libs/uuid enable_uuid
21956 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21957 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21958 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21959 wine_fn_config_makefile libs/xml2 enable_xml2
21960 wine_fn_config_makefile libs/xslt enable_xslt
21961 wine_fn_config_makefile libs/zlib enable_zlib
21962 wine_fn_config_makefile libs/zydis enable_zydis
21963 wine_fn_config_makefile loader enable_loader
21964 wine_fn_config_makefile nls enable_nls
21965 wine_fn_config_makefile po enable_po
21966 wine_fn_config_makefile programs/arp enable_arp
21967 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21968 wine_fn_config_makefile programs/attrib enable_attrib
21969 wine_fn_config_makefile programs/cabarc enable_cabarc
21970 wine_fn_config_makefile programs/cacls enable_cacls
21971 wine_fn_config_makefile programs/certutil enable_certutil
21972 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21973 wine_fn_config_makefile programs/clock enable_clock
21974 wine_fn_config_makefile programs/cmd enable_cmd
21975 wine_fn_config_makefile programs/cmd/tests enable_tests
21976 wine_fn_config_makefile programs/conhost enable_conhost
21977 wine_fn_config_makefile programs/conhost/tests enable_tests
21978 wine_fn_config_makefile programs/control enable_control
21979 wine_fn_config_makefile programs/cscript enable_cscript
21980 wine_fn_config_makefile programs/dism enable_dism
21981 wine_fn_config_makefile programs/dllhost enable_dllhost
21982 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21983 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21984 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21985 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21986 wine_fn_config_makefile programs/eject enable_eject
21987 wine_fn_config_makefile programs/expand enable_expand
21988 wine_fn_config_makefile programs/explorer enable_explorer
21989 wine_fn_config_makefile programs/explorer/tests enable_tests
21990 wine_fn_config_makefile programs/extrac32 enable_extrac32
21991 wine_fn_config_makefile programs/fc enable_fc
21992 wine_fn_config_makefile programs/find enable_find
21993 wine_fn_config_makefile programs/find/tests enable_tests
21994 wine_fn_config_makefile programs/findstr enable_findstr
21995 wine_fn_config_makefile programs/findstr/tests enable_tests
21996 wine_fn_config_makefile programs/fsutil enable_fsutil
21997 wine_fn_config_makefile programs/fsutil/tests enable_tests
21998 wine_fn_config_makefile programs/hh enable_hh
21999 wine_fn_config_makefile programs/hostname enable_hostname
22000 wine_fn_config_makefile programs/icacls enable_icacls
22001 wine_fn_config_makefile programs/icinfo enable_icinfo
22002 wine_fn_config_makefile programs/iexplore enable_iexplore
22003 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22004 wine_fn_config_makefile programs/klist enable_klist
22005 wine_fn_config_makefile programs/lodctr enable_lodctr
22006 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22007 wine_fn_config_makefile programs/mshta enable_mshta
22008 wine_fn_config_makefile programs/msidb enable_msidb
22009 wine_fn_config_makefile programs/msiexec enable_msiexec
22010 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22011 wine_fn_config_makefile programs/net enable_net
22012 wine_fn_config_makefile programs/netsh enable_netsh
22013 wine_fn_config_makefile programs/netstat enable_netstat
22014 wine_fn_config_makefile programs/ngen enable_ngen
22015 wine_fn_config_makefile programs/notepad enable_notepad
22016 wine_fn_config_makefile programs/oleview enable_oleview
22017 wine_fn_config_makefile programs/ping enable_ping
22018 wine_fn_config_makefile programs/plugplay enable_plugplay
22019 wine_fn_config_makefile programs/pnputil enable_pnputil
22020 wine_fn_config_makefile programs/powershell enable_powershell
22021 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22022 wine_fn_config_makefile programs/progman enable_progman
22023 wine_fn_config_makefile programs/reg enable_reg
22024 wine_fn_config_makefile programs/reg/tests enable_tests
22025 wine_fn_config_makefile programs/regasm enable_regasm
22026 wine_fn_config_makefile programs/regedit enable_regedit
22027 wine_fn_config_makefile programs/regedit/tests enable_tests
22028 wine_fn_config_makefile programs/regini enable_regini
22029 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22030 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22031 wine_fn_config_makefile programs/robocopy enable_robocopy
22032 wine_fn_config_makefile programs/rpcss enable_rpcss
22033 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22034 wine_fn_config_makefile programs/rundll32 enable_rundll32
22035 wine_fn_config_makefile programs/sc enable_sc
22036 wine_fn_config_makefile programs/sc/tests enable_tests
22037 wine_fn_config_makefile programs/schtasks enable_schtasks
22038 wine_fn_config_makefile programs/schtasks/tests enable_tests
22039 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22040 wine_fn_config_makefile programs/secedit enable_secedit
22041 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22042 wine_fn_config_makefile programs/services enable_services
22043 wine_fn_config_makefile programs/services/tests enable_tests
22044 wine_fn_config_makefile programs/setx enable_setx
22045 wine_fn_config_makefile programs/shutdown enable_shutdown
22046 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22047 wine_fn_config_makefile programs/start enable_start
22048 wine_fn_config_makefile programs/subst enable_subst
22049 wine_fn_config_makefile programs/svchost enable_svchost
22050 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22051 wine_fn_config_makefile programs/taskkill enable_taskkill
22052 wine_fn_config_makefile programs/tasklist enable_tasklist
22053 wine_fn_config_makefile programs/tasklist/tests enable_tests
22054 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22055 wine_fn_config_makefile programs/termsv enable_termsv
22056 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22057 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22058 wine_fn_config_makefile programs/view enable_view
22059 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22060 wine_fn_config_makefile programs/where enable_where
22061 wine_fn_config_makefile programs/whoami enable_whoami
22062 wine_fn_config_makefile programs/wineboot enable_wineboot
22063 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22064 wine_fn_config_makefile programs/winecfg enable_winecfg
22065 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22066 wine_fn_config_makefile programs/winedbg enable_winedbg
22067 wine_fn_config_makefile programs/winedevice enable_winedevice
22068 wine_fn_config_makefile programs/winefile enable_winefile
22069 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22070 wine_fn_config_makefile programs/winemine enable_winemine
22071 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22072 wine_fn_config_makefile programs/winepath enable_winepath
22073 wine_fn_config_makefile programs/winetest enable_winetest
22074 wine_fn_config_makefile programs/winevdm enable_win16
22075 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22076 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22077 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22078 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22079 wine_fn_config_makefile programs/winver enable_winver
22080 wine_fn_config_makefile programs/wmic enable_wmic
22081 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22082 wine_fn_config_makefile programs/wordpad enable_wordpad
22083 wine_fn_config_makefile programs/write enable_write
22084 wine_fn_config_makefile programs/wscript enable_wscript
22085 wine_fn_config_makefile programs/wscript/tests enable_tests
22086 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22087 wine_fn_config_makefile programs/wusa enable_wusa
22088 wine_fn_config_makefile programs/xcopy enable_xcopy
22089 wine_fn_config_makefile programs/xcopy/tests enable_tests
22090 wine_fn_config_makefile server enable_server
22091 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22096 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22097 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22098 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22099 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22102 as_fn_append CONFIGURE_TARGETS " TAGS"
22103 as_fn_append CONFIGURE_TARGETS " tags"
22104 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22105 as_fn_append CONFIGURE_TARGETS " config.log"
22106 as_fn_append CONFIGURE_TARGETS " config.status"
22107 as_fn_append CONFIGURE_TARGETS " include/config.h"
22108 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22109 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22111 if test "x$enable_tools" != xno
22112 then
22113 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22114 ac_config_commands="$ac_config_commands tools/makedep"
22118 ac_config_commands="$ac_config_commands Makefile"
22122 SHELL=/bin/sh
22125 as_fn_append wine_rules "
22126 all: wine
22127 @echo \"Wine build complete.\"
22128 .INIT: Makefile
22129 .MAKEFILEDEPS:
22130 all: Makefile
22131 Makefile: config.status \$(MAKEDEP)
22132 @./config.status Makefile
22133 depend: \$(MAKEDEP)
22134 \$(MAKEDEP)$makedep_flags"
22137 as_fn_append wine_rules "
22138 config.status: ${wine_srcdir}configure
22139 @./config.status --recheck
22140 include/config.h: include/stamp-h
22141 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22142 @./config.status include/config.h include/stamp-h"
22144 if test "x$enable_maintainer_mode" = xyes
22145 then
22146 as_fn_append wine_rules "
22147 configure: configure.ac aclocal.m4
22148 autoconf --warnings=all
22149 include/config.h.in: include/stamp-h.in
22150 include/stamp-h.in: configure.ac aclocal.m4
22151 autoheader --warnings=all
22152 @echo timestamp > \$@"
22155 if test "x$enable_tools" != xno
22156 then
22157 as_fn_append wine_rules "
22158 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22159 @./config.status tools/makedep
22160 Makefile: tools/makedep$ac_exeext"
22161 else
22162 as_fn_append wine_rules "
22163 \$(MAKEDEP):
22164 @echo \"You need to run make in $toolsdir first\" && false"
22168 if test -n "$with_wine64"
22169 then
22170 case "$with_wine64" in
22171 /*) reldir="" ;;
22172 *) reldir="../" ;;
22173 esac
22174 rm -f fonts server 2>/dev/null
22175 as_fn_append wine_rules "
22176 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22177 loader/wine64 loader/wine64-preloader:
22178 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22179 $with_wine64/loader/wine:
22180 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22181 $with_wine64/loader/wine-preloader:
22182 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22183 clean::
22184 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22185 else
22186 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22187 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22188 fonts \
22189 loader/wine.inf \
22190 nls \
22191 programs/msidb/msidb \
22192 programs/msiexec/msiexec \
22193 programs/notepad/notepad \
22194 programs/regedit/regedit \
22195 programs/regsvr32/regsvr32 \
22196 programs/wineboot/wineboot \
22197 programs/winecfg/winecfg \
22198 programs/wineconsole/wineconsole \
22199 programs/winedbg/winedbg \
22200 programs/winefile/winefile \
22201 programs/winemine/winemine \
22202 programs/winepath/winepath \
22203 server/wineserver"
22205 case $host_os in
22206 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22207 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22208 esac
22212 as_fn_append wine_rules "
22213 distclean:: clean
22214 rm -rf autom4te.cache
22215 maintainer-clean::
22216 rm -f configure include/config.h.in"
22219 as_fn_append wine_rules "
22220 dlls/ntdll/unix/version.c: dummy
22221 @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)
22222 programs/winetest/build.rc: dummy
22223 @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)
22224 programs/winetest/build.nfo:
22225 @-\$(CC) -v 2>\$@
22226 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
22227 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22228 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22231 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22233 as_fn_append wine_rules "
22234 TAGS etags:
22235 rm -f TAGS
22236 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22237 tags ctags:
22238 rm -f tags
22239 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22240 dummy:
22241 .PHONY: depend dummy install-manpages"
22243 printf "%s\n" " done" >&6
22244 cat >confcache <<\_ACEOF
22245 # This file is a shell script that caches the results of configure
22246 # tests run on this system so they can be shared between configure
22247 # scripts and configure runs, see configure's option --config-cache.
22248 # It is not useful on other systems. If it contains results you don't
22249 # want to keep, you may remove or edit it.
22251 # config.status only pays attention to the cache file if you give it
22252 # the --recheck option to rerun configure.
22254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22256 # following values.
22258 _ACEOF
22260 # The following way of writing the cache mishandles newlines in values,
22261 # but we know of no workaround that is simple, portable, and efficient.
22262 # So, we kill variables containing newlines.
22263 # Ultrix sh set writes to stderr and can't be redirected directly,
22264 # and sets the high bit in the cache file unless we assign to the vars.
22266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22267 eval ac_val=\$$ac_var
22268 case $ac_val in #(
22269 *${as_nl}*)
22270 case $ac_var in #(
22271 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22272 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22273 esac
22274 case $ac_var in #(
22275 _ | IFS | as_nl) ;; #(
22276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22277 *) { eval $ac_var=; unset $ac_var;} ;;
22278 esac ;;
22279 esac
22280 done
22282 (set) 2>&1 |
22283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22284 *${as_nl}ac_space=\ *)
22285 # `set' does not quote correctly, so add quotes: double-quote
22286 # substitution turns \\\\ into \\, and sed turns \\ into \.
22287 sed -n \
22288 "s/'/'\\\\''/g;
22289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22290 ;; #(
22292 # `set' quotes correctly as required by POSIX, so do not add quotes.
22293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22295 esac |
22296 sort
22298 sed '
22299 /^ac_cv_env_/b end
22300 t clear
22301 :clear
22302 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22303 t end
22304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22305 :end' >>confcache
22306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22307 if test -w "$cache_file"; then
22308 if test "x$cache_file" != "x/dev/null"; then
22309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22310 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22311 if test ! -f "$cache_file" || test -h "$cache_file"; then
22312 cat confcache >"$cache_file"
22313 else
22314 case $cache_file in #(
22315 */* | ?:*)
22316 mv -f confcache "$cache_file"$$ &&
22317 mv -f "$cache_file"$$ "$cache_file" ;; #(
22319 mv -f confcache "$cache_file" ;;
22320 esac
22323 else
22324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22325 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22328 rm -f confcache
22330 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22331 # Let make expand exec_prefix.
22332 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22334 DEFS=-DHAVE_CONFIG_H
22336 ac_libobjs=
22337 ac_ltlibobjs=
22339 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22340 # 1. Remove the extension, and $U if already installed.
22341 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22342 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22343 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22344 # will be set to the directory where LIBOBJS objects are built.
22345 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22346 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22347 done
22348 LIBOBJS=$ac_libobjs
22350 LTLIBOBJS=$ac_ltlibobjs
22354 : "${CONFIG_STATUS=./config.status}"
22355 ac_write_fail=0
22356 ac_clean_files_save=$ac_clean_files
22357 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22359 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22360 as_write_fail=0
22361 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22362 #! $SHELL
22363 # Generated by $as_me.
22364 # Run this file to recreate the current configuration.
22365 # Compiler output produced by configure, useful for debugging
22366 # configure, is in config.log if it exists.
22368 debug=false
22369 ac_cs_recheck=false
22370 ac_cs_silent=false
22372 SHELL=\${CONFIG_SHELL-$SHELL}
22373 export SHELL
22374 _ASEOF
22375 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22376 ## -------------------- ##
22377 ## M4sh Initialization. ##
22378 ## -------------------- ##
22380 # Be more Bourne compatible
22381 DUALCASE=1; export DUALCASE # for MKS sh
22382 as_nop=:
22383 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22384 then :
22385 emulate sh
22386 NULLCMD=:
22387 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22388 # is contrary to our usage. Disable this feature.
22389 alias -g '${1+"$@"}'='"$@"'
22390 setopt NO_GLOB_SUBST
22391 else $as_nop
22392 case `(set -o) 2>/dev/null` in #(
22393 *posix*) :
22394 set -o posix ;; #(
22395 *) :
22397 esac
22402 # Reset variables that may have inherited troublesome values from
22403 # the environment.
22405 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22406 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22407 # side effect of setting IFS to empty, thus disabling word splitting.)
22408 # Quoting is to prevent editors from complaining about space-tab.
22409 as_nl='
22411 export as_nl
22412 IFS=" "" $as_nl"
22414 PS1='$ '
22415 PS2='> '
22416 PS4='+ '
22418 # Ensure predictable behavior from utilities with locale-dependent output.
22419 LC_ALL=C
22420 export LC_ALL
22421 LANGUAGE=C
22422 export LANGUAGE
22424 # We cannot yet rely on "unset" to work, but we need these variables
22425 # to be unset--not just set to an empty or harmless value--now, to
22426 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22427 # also avoids known problems related to "unset" and subshell syntax
22428 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22429 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22430 do eval test \${$as_var+y} \
22431 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22432 done
22434 # Ensure that fds 0, 1, and 2 are open.
22435 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22436 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22437 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22439 # The user is always right.
22440 if ${PATH_SEPARATOR+false} :; then
22441 PATH_SEPARATOR=:
22442 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22443 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22444 PATH_SEPARATOR=';'
22449 # Find who we are. Look in the path if we contain no directory separator.
22450 as_myself=
22451 case $0 in #((
22452 *[\\/]* ) as_myself=$0 ;;
22453 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22454 for as_dir in $PATH
22456 IFS=$as_save_IFS
22457 case $as_dir in #(((
22458 '') as_dir=./ ;;
22459 */) ;;
22460 *) as_dir=$as_dir/ ;;
22461 esac
22462 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22463 done
22464 IFS=$as_save_IFS
22467 esac
22468 # We did not find ourselves, most probably we were run as `sh COMMAND'
22469 # in which case we are not to be found in the path.
22470 if test "x$as_myself" = x; then
22471 as_myself=$0
22473 if test ! -f "$as_myself"; then
22474 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22475 exit 1
22480 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22481 # ----------------------------------------
22482 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22483 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22484 # script with STATUS, using 1 if that was 0.
22485 as_fn_error ()
22487 as_status=$1; test $as_status -eq 0 && as_status=1
22488 if test "$4"; then
22489 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22490 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22492 printf "%s\n" "$as_me: error: $2" >&2
22493 as_fn_exit $as_status
22494 } # as_fn_error
22498 # as_fn_set_status STATUS
22499 # -----------------------
22500 # Set $? to STATUS, without forking.
22501 as_fn_set_status ()
22503 return $1
22504 } # as_fn_set_status
22506 # as_fn_exit STATUS
22507 # -----------------
22508 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22509 as_fn_exit ()
22511 set +e
22512 as_fn_set_status $1
22513 exit $1
22514 } # as_fn_exit
22516 # as_fn_unset VAR
22517 # ---------------
22518 # Portably unset VAR.
22519 as_fn_unset ()
22521 { eval $1=; unset $1;}
22523 as_unset=as_fn_unset
22525 # as_fn_append VAR VALUE
22526 # ----------------------
22527 # Append the text in VALUE to the end of the definition contained in VAR. Take
22528 # advantage of any shell optimizations that allow amortized linear growth over
22529 # repeated appends, instead of the typical quadratic growth present in naive
22530 # implementations.
22531 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22532 then :
22533 eval 'as_fn_append ()
22535 eval $1+=\$2
22537 else $as_nop
22538 as_fn_append ()
22540 eval $1=\$$1\$2
22542 fi # as_fn_append
22544 # as_fn_arith ARG...
22545 # ------------------
22546 # Perform arithmetic evaluation on the ARGs, and store the result in the
22547 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22548 # must be portable across $(()) and expr.
22549 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22550 then :
22551 eval 'as_fn_arith ()
22553 as_val=$(( $* ))
22555 else $as_nop
22556 as_fn_arith ()
22558 as_val=`expr "$@" || test $? -eq 1`
22560 fi # as_fn_arith
22563 if expr a : '\(a\)' >/dev/null 2>&1 &&
22564 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22565 as_expr=expr
22566 else
22567 as_expr=false
22570 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22571 as_basename=basename
22572 else
22573 as_basename=false
22576 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22577 as_dirname=dirname
22578 else
22579 as_dirname=false
22582 as_me=`$as_basename -- "$0" ||
22583 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22584 X"$0" : 'X\(//\)$' \| \
22585 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22586 printf "%s\n" X/"$0" |
22587 sed '/^.*\/\([^/][^/]*\)\/*$/{
22588 s//\1/
22591 /^X\/\(\/\/\)$/{
22592 s//\1/
22595 /^X\/\(\/\).*/{
22596 s//\1/
22599 s/.*/./; q'`
22601 # Avoid depending upon Character Ranges.
22602 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22603 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22604 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22605 as_cr_digits='0123456789'
22606 as_cr_alnum=$as_cr_Letters$as_cr_digits
22609 # Determine whether it's possible to make 'echo' print without a newline.
22610 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22611 # for compatibility with existing Makefiles.
22612 ECHO_C= ECHO_N= ECHO_T=
22613 case `echo -n x` in #(((((
22614 -n*)
22615 case `echo 'xy\c'` in
22616 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22617 xy) ECHO_C='\c';;
22618 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22619 ECHO_T=' ';;
22620 esac;;
22622 ECHO_N='-n';;
22623 esac
22625 # For backward compatibility with old third-party macros, we provide
22626 # the shell variables $as_echo and $as_echo_n. New code should use
22627 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22628 as_echo='printf %s\n'
22629 as_echo_n='printf %s'
22631 rm -f conf$$ conf$$.exe conf$$.file
22632 if test -d conf$$.dir; then
22633 rm -f conf$$.dir/conf$$.file
22634 else
22635 rm -f conf$$.dir
22636 mkdir conf$$.dir 2>/dev/null
22638 if (echo >conf$$.file) 2>/dev/null; then
22639 if ln -s conf$$.file conf$$ 2>/dev/null; then
22640 as_ln_s='ln -s'
22641 # ... but there are two gotchas:
22642 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22643 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22644 # In both cases, we have to default to `cp -pR'.
22645 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22646 as_ln_s='cp -pR'
22647 elif ln conf$$.file conf$$ 2>/dev/null; then
22648 as_ln_s=ln
22649 else
22650 as_ln_s='cp -pR'
22652 else
22653 as_ln_s='cp -pR'
22655 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22656 rmdir conf$$.dir 2>/dev/null
22659 # as_fn_mkdir_p
22660 # -------------
22661 # Create "$as_dir" as a directory, including parents if necessary.
22662 as_fn_mkdir_p ()
22665 case $as_dir in #(
22666 -*) as_dir=./$as_dir;;
22667 esac
22668 test -d "$as_dir" || eval $as_mkdir_p || {
22669 as_dirs=
22670 while :; do
22671 case $as_dir in #(
22672 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22673 *) as_qdir=$as_dir;;
22674 esac
22675 as_dirs="'$as_qdir' $as_dirs"
22676 as_dir=`$as_dirname -- "$as_dir" ||
22677 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22678 X"$as_dir" : 'X\(//\)[^/]' \| \
22679 X"$as_dir" : 'X\(//\)$' \| \
22680 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22681 printf "%s\n" X"$as_dir" |
22682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22683 s//\1/
22686 /^X\(\/\/\)[^/].*/{
22687 s//\1/
22690 /^X\(\/\/\)$/{
22691 s//\1/
22694 /^X\(\/\).*/{
22695 s//\1/
22698 s/.*/./; q'`
22699 test -d "$as_dir" && break
22700 done
22701 test -z "$as_dirs" || eval "mkdir $as_dirs"
22702 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22705 } # as_fn_mkdir_p
22706 if mkdir -p . 2>/dev/null; then
22707 as_mkdir_p='mkdir -p "$as_dir"'
22708 else
22709 test -d ./-p && rmdir ./-p
22710 as_mkdir_p=false
22714 # as_fn_executable_p FILE
22715 # -----------------------
22716 # Test if FILE is an executable regular file.
22717 as_fn_executable_p ()
22719 test -f "$1" && test -x "$1"
22720 } # as_fn_executable_p
22721 as_test_x='test -x'
22722 as_executable_p=as_fn_executable_p
22724 # Sed expression to map a string onto a valid CPP name.
22725 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22727 # Sed expression to map a string onto a valid variable name.
22728 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22731 exec 6>&1
22732 ## ----------------------------------- ##
22733 ## Main body of $CONFIG_STATUS script. ##
22734 ## ----------------------------------- ##
22735 _ASEOF
22736 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22739 # Save the log message, to keep $0 and so on meaningful, and to
22740 # report actual input values of CONFIG_FILES etc. instead of their
22741 # values after options handling.
22742 ac_log="
22743 This file was extended by Wine $as_me 8.15, which was
22744 generated by GNU Autoconf 2.71. Invocation command line was
22746 CONFIG_FILES = $CONFIG_FILES
22747 CONFIG_HEADERS = $CONFIG_HEADERS
22748 CONFIG_LINKS = $CONFIG_LINKS
22749 CONFIG_COMMANDS = $CONFIG_COMMANDS
22750 $ $0 $@
22752 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22755 _ACEOF
22758 case $ac_config_headers in *"
22759 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22760 esac
22763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22764 # Files that config.status was made for.
22765 config_headers="$ac_config_headers"
22766 config_links="$ac_config_links"
22767 config_commands="$ac_config_commands"
22769 _ACEOF
22771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22772 ac_cs_usage="\
22773 \`$as_me' instantiates files and other configuration actions
22774 from templates according to the current configuration. Unless the files
22775 and actions are specified as TAGs, all are instantiated by default.
22777 Usage: $0 [OPTION]... [TAG]...
22779 -h, --help print this help, then exit
22780 -V, --version print version number and configuration settings, then exit
22781 --config print configuration, then exit
22782 -q, --quiet, --silent
22783 do not print progress messages
22784 -d, --debug don't remove temporary files
22785 --recheck update $as_me by reconfiguring in the same conditions
22786 --header=FILE[:TEMPLATE]
22787 instantiate the configuration header FILE
22789 Configuration headers:
22790 $config_headers
22792 Configuration links:
22793 $config_links
22795 Configuration commands:
22796 $config_commands
22798 Report bugs to <wine-devel@winehq.org>.
22799 Wine home page: <https://www.winehq.org>."
22801 _ACEOF
22802 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22803 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22805 ac_cs_config='$ac_cs_config_escaped'
22806 ac_cs_version="\\
22807 Wine config.status 8.15
22808 configured by $0, generated by GNU Autoconf 2.71,
22809 with options \\"\$ac_cs_config\\"
22811 Copyright (C) 2021 Free Software Foundation, Inc.
22812 This config.status script is free software; the Free Software Foundation
22813 gives unlimited permission to copy, distribute and modify it."
22815 ac_pwd='$ac_pwd'
22816 srcdir='$srcdir'
22817 test -n "\$AWK" || AWK=awk
22818 _ACEOF
22820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22821 # The default lists apply if the user does not specify any file.
22822 ac_need_defaults=:
22823 while test $# != 0
22825 case $1 in
22826 --*=?*)
22827 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22828 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22829 ac_shift=:
22831 --*=)
22832 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22833 ac_optarg=
22834 ac_shift=:
22837 ac_option=$1
22838 ac_optarg=$2
22839 ac_shift=shift
22841 esac
22843 case $ac_option in
22844 # Handling of the options.
22845 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22846 ac_cs_recheck=: ;;
22847 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22848 printf "%s\n" "$ac_cs_version"; exit ;;
22849 --config | --confi | --conf | --con | --co | --c )
22850 printf "%s\n" "$ac_cs_config"; exit ;;
22851 --debug | --debu | --deb | --de | --d | -d )
22852 debug=: ;;
22853 --header | --heade | --head | --hea )
22854 $ac_shift
22855 case $ac_optarg in
22856 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22857 esac
22858 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22859 ac_need_defaults=false;;
22860 --he | --h)
22861 # Conflict between --help and --header
22862 as_fn_error $? "ambiguous option: \`$1'
22863 Try \`$0 --help' for more information.";;
22864 --help | --hel | -h )
22865 printf "%s\n" "$ac_cs_usage"; exit ;;
22866 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22867 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22868 ac_cs_silent=: ;;
22870 # This is an error.
22871 -*) as_fn_error $? "unrecognized option: \`$1'
22872 Try \`$0 --help' for more information." ;;
22874 *) as_fn_append ac_config_targets " $1"
22875 ac_need_defaults=false ;;
22877 esac
22878 shift
22879 done
22881 ac_configure_extra_args=
22883 if $ac_cs_silent; then
22884 exec 6>/dev/null
22885 ac_configure_extra_args="$ac_configure_extra_args --silent"
22888 _ACEOF
22889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22890 if \$ac_cs_recheck; then
22891 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22892 shift
22893 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22894 CONFIG_SHELL='$SHELL'
22895 export CONFIG_SHELL
22896 exec "\$@"
22899 _ACEOF
22900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22901 exec 5>>config.log
22903 echo
22904 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22905 ## Running $as_me. ##
22906 _ASBOX
22907 printf "%s\n" "$ac_log"
22908 } >&5
22910 _ACEOF
22911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22913 # INIT-COMMANDS
22915 wine_fn_output_makedep ()
22917 as_dir=tools; as_fn_mkdir_p
22918 $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
22920 wine_fn_output_makefile ()
22922 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22923 # This Makefile understands the following targets:
22925 # all (default): build wine
22926 # clean: remove all intermediate files
22927 # distclean: also remove all files created by configure
22928 # test: run tests
22929 # testclean: clean test results to force running all tests again
22930 # install-lib: install libraries needed to run applications
22931 # install-dev: install development environment
22932 # install: install everything
22933 # uninstall: uninstall everything
22934 # ctags: create a tags file for vim and others.
22935 # etags: create a TAGS file for Emacs.
22937 SHELL = $SHELL
22938 PATH_SEPARATOR = $PATH_SEPARATOR
22939 PACKAGE_NAME = $PACKAGE_NAME
22940 PACKAGE_TARNAME = $PACKAGE_TARNAME
22941 PACKAGE_VERSION = $PACKAGE_VERSION
22942 PACKAGE_STRING = $PACKAGE_STRING
22943 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22944 PACKAGE_URL = $PACKAGE_URL
22945 exec_prefix = $exec_prefix
22946 prefix = $prefix
22947 program_transform_name = $program_transform_name
22948 bindir = $bindir
22949 sbindir = $sbindir
22950 libexecdir = $libexecdir
22951 datarootdir = $datarootdir
22952 datadir = $datadir
22953 sysconfdir = $sysconfdir
22954 sharedstatedir = $sharedstatedir
22955 localstatedir = $localstatedir
22956 runstatedir = $runstatedir
22957 includedir = $includedir
22958 oldincludedir = $oldincludedir
22959 docdir = $docdir
22960 infodir = $infodir
22961 htmldir = $htmldir
22962 dvidir = $dvidir
22963 pdfdir = $pdfdir
22964 psdir = $psdir
22965 libdir = $libdir
22966 localedir = $localedir
22967 mandir = $mandir
22968 DEFS = $DEFS
22969 ECHO_C = $ECHO_C
22970 ECHO_N = $ECHO_N
22971 ECHO_T = $ECHO_T
22972 LIBS = $LIBS
22973 build_alias = $build_alias
22974 host_alias = $host_alias
22975 target_alias = $target_alias
22976 system_dllpath = $system_dllpath
22977 build = $build
22978 build_cpu = $build_cpu
22979 build_vendor = $build_vendor
22980 build_os = $build_os
22981 host = $host
22982 host_cpu = $host_cpu
22983 host_vendor = $host_vendor
22984 host_os = $host_os
22985 dlldir = $dlldir
22986 fontdir = $fontdir
22987 nlsdir = $nlsdir
22988 srcdir = $srcdir
22989 SET_MAKE = $SET_MAKE
22990 CC = $CC
22991 CFLAGS = $CFLAGS
22992 LDFLAGS = $LDFLAGS
22993 CPPFLAGS = $CPPFLAGS
22994 ac_ct_CC = $ac_ct_CC
22995 EXEEXT = $EXEEXT
22996 OBJEXT = $OBJEXT
22997 CXX = $CXX
22998 CXXFLAGS = $CXXFLAGS
22999 ac_ct_CXX = $ac_ct_CXX
23000 CPPBIN = $CPPBIN
23001 LD = $LD
23002 TARGETFLAGS = $TARGETFLAGS
23003 toolsext = $toolsext
23004 HOST_ARCH = $HOST_ARCH
23005 aarch64_CC = $aarch64_CC
23006 aarch64_CFLAGS = $aarch64_CFLAGS
23007 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23008 aarch64_LDFLAGS = $aarch64_LDFLAGS
23009 aarch64_DEBUG = $aarch64_DEBUG
23010 aarch64_TARGET = $aarch64_TARGET
23011 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23012 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23013 arm_CC = $arm_CC
23014 arm_CFLAGS = $arm_CFLAGS
23015 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23016 arm_LDFLAGS = $arm_LDFLAGS
23017 arm_DEBUG = $arm_DEBUG
23018 arm_TARGET = $arm_TARGET
23019 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23020 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23021 i386_CC = $i386_CC
23022 i386_CFLAGS = $i386_CFLAGS
23023 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23024 i386_LDFLAGS = $i386_LDFLAGS
23025 i386_DEBUG = $i386_DEBUG
23026 i386_TARGET = $i386_TARGET
23027 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23028 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23029 x86_64_CC = $x86_64_CC
23030 x86_64_CFLAGS = $x86_64_CFLAGS
23031 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23032 x86_64_LDFLAGS = $x86_64_LDFLAGS
23033 x86_64_DEBUG = $x86_64_DEBUG
23034 x86_64_TARGET = $x86_64_TARGET
23035 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23036 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23037 toolsdir = $toolsdir
23038 MAKEDEP = $MAKEDEP
23039 RUNTESTFLAGS = $RUNTESTFLAGS
23040 SED_CMD = $SED_CMD
23041 FLEX = $FLEX
23042 BISON = $BISON
23043 AR = $AR
23044 ac_ct_AR = $ac_ct_AR
23045 STRIP = $STRIP
23046 RANLIB = $RANLIB
23047 LN_S = $LN_S
23048 GREP = $GREP
23049 EGREP = $EGREP
23050 LDCONFIG = $LDCONFIG
23051 MSGFMT = $MSGFMT
23052 PKG_CONFIG = $PKG_CONFIG
23053 FONTFORGE = $FONTFORGE
23054 RSVG = $RSVG
23055 CONVERT = $CONVERT
23056 ICOTOOL = $ICOTOOL
23057 I386_LIBS = $I386_LIBS
23058 OPENGL_LIBS = $OPENGL_LIBS
23059 DLLFLAGS = $DLLFLAGS
23060 LDDLLFLAGS = $LDDLLFLAGS
23061 LDEXECFLAGS = $LDEXECFLAGS
23062 EXTRACFLAGS = $EXTRACFLAGS
23063 UNIXDLLFLAGS = $UNIXDLLFLAGS
23064 UNIXLDFLAGS = $UNIXLDFLAGS
23065 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23066 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23067 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23068 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23069 DLLEXT = $DLLEXT
23070 LDD = $LDD
23071 OTOOL = $OTOOL
23072 READELF = $READELF
23073 SUBDIRS = $SUBDIRS
23074 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23075 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23076 CARBON_LIBS = $CARBON_LIBS
23077 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23078 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23079 IOKIT_LIBS = $IOKIT_LIBS
23080 METAL_LIBS = $METAL_LIBS
23081 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23082 CORESERVICES_LIBS = $CORESERVICES_LIBS
23083 APPKIT_LIBS = $APPKIT_LIBS
23084 SECURITY_LIBS = $SECURITY_LIBS
23085 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23086 COREAUDIO_LIBS = $COREAUDIO_LIBS
23087 OPENCL_LIBS = $OPENCL_LIBS
23088 OBJC = $OBJC
23089 OBJCFLAGS = $OBJCFLAGS
23090 ac_ct_OBJC = $ac_ct_OBJC
23091 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23092 PE_ARCHS = $PE_ARCHS
23093 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23094 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23095 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23096 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23097 GSM_PE_LIBS = $GSM_PE_LIBS
23098 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23099 JPEG_PE_LIBS = $JPEG_PE_LIBS
23100 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23101 JXR_PE_LIBS = $JXR_PE_LIBS
23102 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23103 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23104 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23105 LDAP_PE_LIBS = $LDAP_PE_LIBS
23106 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23107 MPG123_PE_LIBS = $MPG123_PE_LIBS
23108 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23109 MUSL_PE_LIBS = $MUSL_PE_LIBS
23110 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23111 PNG_PE_LIBS = $PNG_PE_LIBS
23112 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23113 TIFF_PE_LIBS = $TIFF_PE_LIBS
23114 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23115 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23116 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23117 XML2_PE_LIBS = $XML2_PE_LIBS
23118 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23119 XSLT_PE_LIBS = $XSLT_PE_LIBS
23120 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23121 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23122 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23123 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23124 PTHREAD_LIBS = $PTHREAD_LIBS
23125 XMKMF = $XMKMF
23126 CPP = $CPP
23127 X_CFLAGS = $X_CFLAGS
23128 X_PRE_LIBS = $X_PRE_LIBS
23129 X_LIBS = $X_LIBS
23130 X_EXTRA_LIBS = $X_EXTRA_LIBS
23131 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23132 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23133 WAYLAND_SCANNER = $WAYLAND_SCANNER
23134 PCAP_LIBS = $PCAP_LIBS
23135 PCSCLITE_LIBS = $PCSCLITE_LIBS
23136 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23137 INOTIFY_LIBS = $INOTIFY_LIBS
23138 DBUS_CFLAGS = $DBUS_CFLAGS
23139 DBUS_LIBS = $DBUS_LIBS
23140 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23141 GNUTLS_LIBS = $GNUTLS_LIBS
23142 SANE_CFLAGS = $SANE_CFLAGS
23143 SANE_LIBS = $SANE_LIBS
23144 USB_CFLAGS = $USB_CFLAGS
23145 USB_LIBS = $USB_LIBS
23146 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23147 GPHOTO2_LIBS = $GPHOTO2_LIBS
23148 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23149 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23150 RESOLV_LIBS = $RESOLV_LIBS
23151 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23152 FREETYPE_LIBS = $FREETYPE_LIBS
23153 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23154 PULSE_CFLAGS = $PULSE_CFLAGS
23155 PULSE_LIBS = $PULSE_LIBS
23156 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23157 GSTREAMER_LIBS = $GSTREAMER_LIBS
23158 ALSA_LIBS = $ALSA_LIBS
23159 OSS4_CFLAGS = $OSS4_CFLAGS
23160 OSS4_LIBS = $OSS4_LIBS
23161 UDEV_CFLAGS = $UDEV_CFLAGS
23162 UDEV_LIBS = $UDEV_LIBS
23163 UNWIND_CFLAGS = $UNWIND_CFLAGS
23164 UNWIND_LIBS = $UNWIND_LIBS
23165 SDL2_CFLAGS = $SDL2_CFLAGS
23166 SDL2_LIBS = $SDL2_LIBS
23167 CAPI20_CFLAGS = $CAPI20_CFLAGS
23168 CAPI20_LIBS = $CAPI20_LIBS
23169 CUPS_CFLAGS = $CUPS_CFLAGS
23170 CUPS_LIBS = $CUPS_LIBS
23171 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23172 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23173 KRB5_CFLAGS = $KRB5_CFLAGS
23174 KRB5_LIBS = $KRB5_LIBS
23175 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23176 GSSAPI_LIBS = $GSSAPI_LIBS
23177 PROCSTAT_LIBS = $PROCSTAT_LIBS
23178 NETAPI_CFLAGS = $NETAPI_CFLAGS
23179 NETAPI_LIBS = $NETAPI_LIBS
23180 MSVCRTFLAGS = $MSVCRTFLAGS
23181 DELAYLOADFLAG = $DELAYLOADFLAG
23182 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23183 RT_LIBS = $RT_LIBS
23184 TAGSFLAGS = $TAGSFLAGS
23185 LIBOBJS = $LIBOBJS
23186 LTLIBOBJS = $LTLIBOBJS
23187 $SET_MAKE
23188 $wine_rules
23189 _WINE_EOF
23190 as_fn_error $? "could not create Makefile" "$LINENO" 5
23193 _ACEOF
23195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23197 # Handling of arguments.
23198 for ac_config_target in $ac_config_targets
23200 case $ac_config_target in
23201 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23202 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23203 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23204 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23205 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23206 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23208 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23209 esac
23210 done
23213 # If the user did not use the arguments to specify the items to instantiate,
23214 # then the envvar interface is used. Set only those that are not.
23215 # We use the long form for the default assignment because of an extremely
23216 # bizarre bug on SunOS 4.1.3.
23217 if $ac_need_defaults; then
23218 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23219 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23220 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23223 # Have a temporary directory for convenience. Make it in the build tree
23224 # simply because there is no reason against having it here, and in addition,
23225 # creating and moving files from /tmp can sometimes cause problems.
23226 # Hook for its removal unless debugging.
23227 # Note that there is a small window in which the directory will not be cleaned:
23228 # after its creation but before its name has been assigned to `$tmp'.
23229 $debug ||
23231 tmp= ac_tmp=
23232 trap 'exit_status=$?
23233 : "${ac_tmp:=$tmp}"
23234 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23236 trap 'as_fn_exit 1' 1 2 13 15
23238 # Create a (secure) tmp directory for tmp files.
23241 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23242 test -d "$tmp"
23243 } ||
23245 tmp=./conf$$-$RANDOM
23246 (umask 077 && mkdir "$tmp")
23247 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23248 ac_tmp=$tmp
23250 # Set up the scripts for CONFIG_HEADERS section.
23251 # No need to generate them if there are no CONFIG_HEADERS.
23252 # This happens for instance with `./config.status Makefile'.
23253 if test -n "$CONFIG_HEADERS"; then
23254 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23255 BEGIN {
23256 _ACEOF
23258 # Transform confdefs.h into an awk script `defines.awk', embedded as
23259 # here-document in config.status, that substitutes the proper values into
23260 # config.h.in to produce config.h.
23262 # Create a delimiter string that does not exist in confdefs.h, to ease
23263 # handling of long lines.
23264 ac_delim='%!_!# '
23265 for ac_last_try in false false :; do
23266 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23267 if test -z "$ac_tt"; then
23268 break
23269 elif $ac_last_try; then
23270 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23271 else
23272 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23274 done
23276 # For the awk script, D is an array of macro values keyed by name,
23277 # likewise P contains macro parameters if any. Preserve backslash
23278 # newline sequences.
23280 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23281 sed -n '
23282 s/.\{148\}/&'"$ac_delim"'/g
23283 t rset
23284 :rset
23285 s/^[ ]*#[ ]*define[ ][ ]*/ /
23286 t def
23288 :def
23289 s/\\$//
23290 t bsnl
23291 s/["\\]/\\&/g
23292 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23293 D["\1"]=" \3"/p
23294 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23296 :bsnl
23297 s/["\\]/\\&/g
23298 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23299 D["\1"]=" \3\\\\\\n"\\/p
23300 t cont
23301 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23302 t cont
23304 :cont
23306 s/.\{148\}/&'"$ac_delim"'/g
23307 t clear
23308 :clear
23309 s/\\$//
23310 t bsnlc
23311 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23313 :bsnlc
23314 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23315 b cont
23316 ' <confdefs.h | sed '
23317 s/'"$ac_delim"'/"\\\
23318 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23321 for (key in D) D_is_set[key] = 1
23322 FS = "\a"
23324 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23325 line = \$ 0
23326 split(line, arg, " ")
23327 if (arg[1] == "#") {
23328 defundef = arg[2]
23329 mac1 = arg[3]
23330 } else {
23331 defundef = substr(arg[1], 2)
23332 mac1 = arg[2]
23334 split(mac1, mac2, "(") #)
23335 macro = mac2[1]
23336 prefix = substr(line, 1, index(line, defundef) - 1)
23337 if (D_is_set[macro]) {
23338 # Preserve the white space surrounding the "#".
23339 print prefix "define", macro P[macro] D[macro]
23340 next
23341 } else {
23342 # Replace #undef with comments. This is necessary, for example,
23343 # in the case of _POSIX_SOURCE, which is predefined and required
23344 # on some systems where configure will not decide to define it.
23345 if (defundef == "undef") {
23346 print "/*", prefix defundef, macro, "*/"
23347 next
23351 { print }
23352 _ACAWK
23353 _ACEOF
23354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23355 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23356 fi # test -n "$CONFIG_HEADERS"
23359 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23360 shift
23361 for ac_tag
23363 case $ac_tag in
23364 :[FHLC]) ac_mode=$ac_tag; continue;;
23365 esac
23366 case $ac_mode$ac_tag in
23367 :[FHL]*:*);;
23368 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23369 :[FH]-) ac_tag=-:-;;
23370 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23371 esac
23372 ac_save_IFS=$IFS
23373 IFS=:
23374 set x $ac_tag
23375 IFS=$ac_save_IFS
23376 shift
23377 ac_file=$1
23378 shift
23380 case $ac_mode in
23381 :L) ac_source=$1;;
23382 :[FH])
23383 ac_file_inputs=
23384 for ac_f
23386 case $ac_f in
23387 -) ac_f="$ac_tmp/stdin";;
23388 *) # Look for the file first in the build tree, then in the source tree
23389 # (if the path is not absolute). The absolute path cannot be DOS-style,
23390 # because $ac_f cannot contain `:'.
23391 test -f "$ac_f" ||
23392 case $ac_f in
23393 [\\/$]*) false;;
23394 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23395 esac ||
23396 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23397 esac
23398 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23399 as_fn_append ac_file_inputs " '$ac_f'"
23400 done
23402 # Let's still pretend it is `configure' which instantiates (i.e., don't
23403 # use $as_me), people would be surprised to read:
23404 # /* config.h. Generated by config.status. */
23405 configure_input='Generated from '`
23406 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23407 `' by configure.'
23408 if test x"$ac_file" != x-; then
23409 configure_input="$ac_file. $configure_input"
23410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23411 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23413 # Neutralize special characters interpreted by sed in replacement strings.
23414 case $configure_input in #(
23415 *\&* | *\|* | *\\* )
23416 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23417 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23418 *) ac_sed_conf_input=$configure_input;;
23419 esac
23421 case $ac_tag in
23422 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23423 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23424 esac
23426 esac
23428 ac_dir=`$as_dirname -- "$ac_file" ||
23429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23430 X"$ac_file" : 'X\(//\)[^/]' \| \
23431 X"$ac_file" : 'X\(//\)$' \| \
23432 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23433 printf "%s\n" X"$ac_file" |
23434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23435 s//\1/
23438 /^X\(\/\/\)[^/].*/{
23439 s//\1/
23442 /^X\(\/\/\)$/{
23443 s//\1/
23446 /^X\(\/\).*/{
23447 s//\1/
23450 s/.*/./; q'`
23451 as_dir="$ac_dir"; as_fn_mkdir_p
23452 ac_builddir=.
23454 case "$ac_dir" in
23455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23457 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23458 # A ".." for each directory in $ac_dir_suffix.
23459 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23460 case $ac_top_builddir_sub in
23461 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23462 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23463 esac ;;
23464 esac
23465 ac_abs_top_builddir=$ac_pwd
23466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23467 # for backward compatibility:
23468 ac_top_builddir=$ac_top_build_prefix
23470 case $srcdir in
23471 .) # We are building in place.
23472 ac_srcdir=.
23473 ac_top_srcdir=$ac_top_builddir_sub
23474 ac_abs_top_srcdir=$ac_pwd ;;
23475 [\\/]* | ?:[\\/]* ) # Absolute name.
23476 ac_srcdir=$srcdir$ac_dir_suffix;
23477 ac_top_srcdir=$srcdir
23478 ac_abs_top_srcdir=$srcdir ;;
23479 *) # Relative name.
23480 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23481 ac_top_srcdir=$ac_top_build_prefix$srcdir
23482 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23483 esac
23484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23487 case $ac_mode in
23491 # CONFIG_HEADER
23493 if test x"$ac_file" != x-; then
23495 printf "%s\n" "/* $configure_input */" >&1 \
23496 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23497 } >"$ac_tmp/config.h" \
23498 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23499 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23501 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23502 else
23503 rm -f "$ac_file"
23504 mv "$ac_tmp/config.h" "$ac_file" \
23505 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23507 else
23508 printf "%s\n" "/* $configure_input */" >&1 \
23509 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23510 || as_fn_error $? "could not create -" "$LINENO" 5
23515 # CONFIG_LINK
23518 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23520 else
23521 # Prefer the file from the source tree if names are identical.
23522 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23523 ac_source=$srcdir/$ac_source
23526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23527 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23529 if test ! -r "$ac_source"; then
23530 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23532 rm -f "$ac_file"
23534 # Try a relative symlink, then a hard link, then a copy.
23535 case $ac_source in
23536 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23537 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23538 esac
23539 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23540 ln "$ac_source" "$ac_file" 2>/dev/null ||
23541 cp -p "$ac_source" "$ac_file" ||
23542 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23545 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23546 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23548 esac
23551 case $ac_file$ac_mode in
23552 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23553 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23554 "Makefile":C) wine_fn_output_makefile Makefile ;;
23556 esac
23557 done # for ac_tag
23560 as_fn_exit 0
23561 _ACEOF
23562 ac_clean_files=$ac_clean_files_save
23564 test $ac_write_fail = 0 ||
23565 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23568 # configure is writing to config.log, and then calls config.status.
23569 # config.status does its own redirection, appending to config.log.
23570 # Unfortunately, on DOS this fails, as config.log is still kept open
23571 # by configure, so config.status won't be able to write to it; its
23572 # output is simply discarded. So we exec the FD to /dev/null,
23573 # effectively closing config.log, so it can be properly (re)opened and
23574 # appended to by config.status. When coming back to configure, we
23575 # need to make the FD available again.
23576 if test "$no_create" != yes; then
23577 ac_cs_success=:
23578 ac_config_status_args=
23579 test "$silent" = yes &&
23580 ac_config_status_args="$ac_config_status_args --quiet"
23581 exec 5>/dev/null
23582 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23583 exec 5>>config.log
23584 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23585 # would make configure fail if this is the last instruction.
23586 $ac_cs_success || as_fn_exit 1
23588 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23590 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23594 if test "$no_create" = "yes"
23595 then
23596 exit 0
23599 ac_save_IFS="$IFS"
23600 if test "x$wine_notices" != x; then
23601 echo >&6
23602 IFS="|"
23603 for msg in $wine_notices; do
23604 IFS="$ac_save_IFS"
23605 if ${msg:+false} :
23606 then :
23608 else $as_nop
23609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23610 printf "%s\n" "$as_me: $msg" >&6;}
23612 done
23614 IFS="|"
23615 for msg in $wine_warnings; do
23616 IFS="$ac_save_IFS"
23617 if ${msg:+false} :
23618 then :
23620 else $as_nop
23621 echo >&2
23622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23623 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23625 done
23626 IFS="$ac_save_IFS"
23628 printf "%s\n" "
23629 $as_me: Finished. Do '${ac_make}' to compile Wine.
23630 " >&6