mmdevapi: Move test_connect handling into mmdevapi.
[wine.git] / configure
blob296c3e45587badfa7bd9829163209d2fd13fa748
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.3.
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.3'
615 PACKAGE_STRING='Wine 8.3'
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 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZYDIS_PE_LIBS
713 ZYDIS_PE_CFLAGS
714 ZLIB_PE_LIBS
715 ZLIB_PE_CFLAGS
716 XSLT_PE_LIBS
717 XSLT_PE_CFLAGS
718 XML2_PE_LIBS
719 XML2_PE_CFLAGS
720 VKD3D_PE_LIBS
721 VKD3D_PE_CFLAGS
722 TIFF_PE_LIBS
723 TIFF_PE_CFLAGS
724 PNG_PE_LIBS
725 PNG_PE_CFLAGS
726 MPG123_PE_LIBS
727 MPG123_PE_CFLAGS
728 LDAP_PE_LIBS
729 LDAP_PE_CFLAGS
730 LCMS2_PE_LIBS
731 LCMS2_PE_CFLAGS
732 JXR_PE_LIBS
733 JXR_PE_CFLAGS
734 JPEG_PE_LIBS
735 JPEG_PE_CFLAGS
736 GSM_PE_LIBS
737 GSM_PE_CFLAGS
738 FAUDIO_PE_LIBS
739 FAUDIO_PE_CFLAGS
740 MINGW_PKG_CONFIG
741 PE_ARCHS
742 WINELOADER_DEPENDS
743 ac_ct_OBJC
744 OBJCFLAGS
745 OBJC
746 OPENCL_LIBS
747 COREAUDIO_LIBS
748 SYSTEMCONFIGURATION_LIBS
749 SECURITY_LIBS
750 APPKIT_LIBS
751 CORESERVICES_LIBS
752 APPLICATIONSERVICES_LIBS
753 METAL_LIBS
754 IOKIT_LIBS
755 DISKARBITRATION_LIBS
756 COREFOUNDATION_LIBS
757 CARBON_LIBS
758 CONFIGURE_TARGETS
759 DISABLED_SUBDIRS
760 SUBDIRS
761 READELF
762 OTOOL
764 WINEPRELOADER_LDFLAGS
765 WINELOADER_LDFLAGS
766 TOP_INSTALL_DEV
767 TOP_INSTALL_LIB
768 UNIXLDFLAGS
769 UNIXDLLFLAGS
770 EXTRACFLAGS
771 LDEXECFLAGS
772 LDDLLFLAGS
773 DLLFLAGS
774 OPENGL_LIBS
775 I386_LIBS
776 ICOTOOL
777 CONVERT
778 RSVG
779 FONTFORGE
780 PKG_CONFIG
781 MSGFMT
782 LDCONFIG
783 EGREP
784 GREP
785 LN_S
786 RANLIB
787 STRIP
788 ac_ct_AR
790 BISON
791 FLEX
792 SED_CMD
793 RUNTESTFLAGS
794 MAKEDEP
795 toolsdir
796 x86_64_DISABLED_SUBDIRS
797 x86_64_DELAYLOADFLAG
798 x86_64_TARGET
799 x86_64_DEBUG
800 x86_64_LDFLAGS
801 x86_64_EXTRACFLAGS
802 x86_64_CFLAGS
803 x86_64_CC
804 i386_DISABLED_SUBDIRS
805 i386_DELAYLOADFLAG
806 i386_TARGET
807 i386_DEBUG
808 i386_LDFLAGS
809 i386_EXTRACFLAGS
810 i386_CFLAGS
811 i386_CC
812 arm_DISABLED_SUBDIRS
813 arm_DELAYLOADFLAG
814 arm_TARGET
815 arm_DEBUG
816 arm_LDFLAGS
817 arm_EXTRACFLAGS
818 arm_CFLAGS
819 arm_CC
820 aarch64_DISABLED_SUBDIRS
821 aarch64_DELAYLOADFLAG
822 aarch64_TARGET
823 aarch64_DEBUG
824 aarch64_LDFLAGS
825 aarch64_EXTRACFLAGS
826 aarch64_CFLAGS
827 aarch64_CC
828 HOST_ARCH
829 toolsext
830 TARGETFLAGS
832 CPPBIN
833 ac_ct_CXX
834 CXXFLAGS
836 OBJEXT
837 EXEEXT
838 ac_ct_CC
839 CPPFLAGS
840 LDFLAGS
841 CFLAGS
843 SET_MAKE
844 srcdir
845 nlsdir
846 fontdir
847 dlldir
848 host_os
849 host_vendor
850 host_cpu
851 host
852 build_os
853 build_vendor
854 build_cpu
855 build
856 system_dllpath
857 target_alias
858 host_alias
859 build_alias
860 LIBS
861 ECHO_T
862 ECHO_N
863 ECHO_C
864 DEFS
865 mandir
866 localedir
867 libdir
868 psdir
869 pdfdir
870 dvidir
871 htmldir
872 infodir
873 docdir
874 oldincludedir
875 includedir
876 runstatedir
877 localstatedir
878 sharedstatedir
879 sysconfdir
880 datadir
881 datarootdir
882 libexecdir
883 sbindir
884 bindir
885 program_transform_name
886 prefix
887 exec_prefix
888 PACKAGE_URL
889 PACKAGE_BUGREPORT
890 PACKAGE_STRING
891 PACKAGE_VERSION
892 PACKAGE_TARNAME
893 PACKAGE_NAME
894 PATH_SEPARATOR
895 SHELL'
896 ac_subst_files=''
897 ac_user_opts='
898 enable_option_checking
899 enable_archs
900 enable_win16
901 enable_win64
902 enable_tests
903 enable_build_id
904 enable_maintainer_mode
905 enable_silent_rules
906 enable_werror
907 with_alsa
908 with_capi
909 with_coreaudio
910 with_cups
911 with_dbus
912 with_float_abi
913 with_fontconfig
914 with_freetype
915 with_gettext
916 with_gettextpo
917 with_gphoto
918 with_gnutls
919 with_gssapi
920 with_gstreamer
921 with_inotify
922 with_krb5
923 with_mingw
924 with_netapi
925 with_opencl
926 with_opengl
927 with_osmesa
928 with_oss
929 with_pcap
930 with_pcsclite
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d12core
1019 enable_d3d8
1020 enable_d3d8thk
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3dim700
1037 enable_d3drm
1038 enable_d3dx10_33
1039 enable_d3dx10_34
1040 enable_d3dx10_35
1041 enable_d3dx10_36
1042 enable_d3dx10_37
1043 enable_d3dx10_38
1044 enable_d3dx10_39
1045 enable_d3dx10_40
1046 enable_d3dx10_41
1047 enable_d3dx10_42
1048 enable_d3dx10_43
1049 enable_d3dx11_42
1050 enable_d3dx11_43
1051 enable_d3dx9_24
1052 enable_d3dx9_25
1053 enable_d3dx9_26
1054 enable_d3dx9_27
1055 enable_d3dx9_28
1056 enable_d3dx9_29
1057 enable_d3dx9_30
1058 enable_d3dx9_31
1059 enable_d3dx9_32
1060 enable_d3dx9_33
1061 enable_d3dx9_34
1062 enable_d3dx9_35
1063 enable_d3dx9_36
1064 enable_d3dx9_37
1065 enable_d3dx9_38
1066 enable_d3dx9_39
1067 enable_d3dx9_40
1068 enable_d3dx9_41
1069 enable_d3dx9_42
1070 enable_d3dx9_43
1071 enable_d3dxof
1072 enable_davclnt
1073 enable_dbgeng
1074 enable_dbghelp
1075 enable_dciman32
1076 enable_dcomp
1077 enable_ddraw
1078 enable_ddrawex
1079 enable_devenum
1080 enable_dhcpcsvc
1081 enable_dhcpcsvc6
1082 enable_dhtmled_ocx
1083 enable_diasymreader
1084 enable_difxapi
1085 enable_dinput
1086 enable_dinput8
1087 enable_directmanipulation
1088 enable_dispex
1089 enable_dmband
1090 enable_dmcompos
1091 enable_dmime
1092 enable_dmloader
1093 enable_dmscript
1094 enable_dmstyle
1095 enable_dmsynth
1096 enable_dmusic
1097 enable_dmusic32
1098 enable_dnsapi
1099 enable_dplay
1100 enable_dplayx
1101 enable_dpnaddr
1102 enable_dpnet
1103 enable_dpnhpast
1104 enable_dpnhupnp
1105 enable_dpnlobby
1106 enable_dpvoice
1107 enable_dpwsockx
1108 enable_drmclien
1109 enable_dsdmo
1110 enable_dsound
1111 enable_dsquery
1112 enable_dssenh
1113 enable_dsuiext
1114 enable_dswave
1115 enable_dwmapi
1116 enable_dwrite
1117 enable_dx8vb
1118 enable_dxdiagn
1119 enable_dxgi
1120 enable_dxtrans
1121 enable_dxva2
1122 enable_esent
1123 enable_evr
1124 enable_explorerframe
1125 enable_faultrep
1126 enable_feclient
1127 enable_fltlib
1128 enable_fltmgr_sys
1129 enable_fntcache
1130 enable_fontsub
1131 enable_fusion
1132 enable_fwpuclnt
1133 enable_gameux
1134 enable_gamingtcui
1135 enable_gdi32
1136 enable_gdiplus
1137 enable_glu32
1138 enable_gphoto2_ds
1139 enable_gpkcsp
1140 enable_hal
1141 enable_hhctrl_ocx
1142 enable_hid
1143 enable_hidclass_sys
1144 enable_hidparse_sys
1145 enable_hlink
1146 enable_hnetcfg
1147 enable_http_sys
1148 enable_httpapi
1149 enable_ia2comproxy
1150 enable_iccvid
1151 enable_icmp
1152 enable_ieframe
1153 enable_ieproxy
1154 enable_imaadp32_acm
1155 enable_imagehlp
1156 enable_imm32
1157 enable_inetcomm
1158 enable_inetcpl_cpl
1159 enable_inetmib1
1160 enable_infosoft
1161 enable_initpki
1162 enable_inkobj
1163 enable_inseng
1164 enable_iphlpapi
1165 enable_iprop
1166 enable_ir50_32
1167 enable_irprops_cpl
1168 enable_itircl
1169 enable_itss
1170 enable_joy_cpl
1171 enable_jscript
1172 enable_jsproxy
1173 enable_kerberos
1174 enable_kernel32
1175 enable_kernelbase
1176 enable_ksecdd_sys
1177 enable_ksproxy_ax
1178 enable_ksuser
1179 enable_ktmw32
1180 enable_l3codeca_acm
1181 enable_light_msstyles
1182 enable_loadperf
1183 enable_localspl
1184 enable_localui
1185 enable_lz32
1186 enable_mapi32
1187 enable_mapistub
1188 enable_mciavi32
1189 enable_mcicda
1190 enable_mciqtz32
1191 enable_mciseq
1192 enable_mciwave
1193 enable_mf
1194 enable_mf3216
1195 enable_mferror
1196 enable_mfmediaengine
1197 enable_mfplat
1198 enable_mfplay
1199 enable_mfreadwrite
1200 enable_mfsrcsnk
1201 enable_mgmtapi
1202 enable_midimap
1203 enable_mlang
1204 enable_mmcndmgr
1205 enable_mmdevapi
1206 enable_mountmgr_sys
1207 enable_mp3dmod
1208 enable_mpr
1209 enable_mprapi
1210 enable_msacm32_drv
1211 enable_msacm32
1212 enable_msado15
1213 enable_msadp32_acm
1214 enable_msasn1
1215 enable_msauddecmft
1216 enable_mscat32
1217 enable_mscms
1218 enable_mscoree
1219 enable_mscorwks
1220 enable_msctf
1221 enable_msctfmonitor
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdasql
1225 enable_msdelta
1226 enable_msdmo
1227 enable_msdrm
1228 enable_msftedit
1229 enable_msg711_acm
1230 enable_msgsm32_acm
1231 enable_mshtml_tlb
1232 enable_mshtml
1233 enable_msi
1234 enable_msident
1235 enable_msimg32
1236 enable_msimsg
1237 enable_msimtf
1238 enable_msisip
1239 enable_msisys_ocx
1240 enable_msls31
1241 enable_msmpeg2vdec
1242 enable_msnet32
1243 enable_mspatcha
1244 enable_msports
1245 enable_msrle32
1246 enable_msscript_ocx
1247 enable_mssign32
1248 enable_mssip32
1249 enable_mstask
1250 enable_msv1_0
1251 enable_msvcirt
1252 enable_msvcm80
1253 enable_msvcm90
1254 enable_msvcp100
1255 enable_msvcp110
1256 enable_msvcp120
1257 enable_msvcp120_app
1258 enable_msvcp140
1259 enable_msvcp140_1
1260 enable_msvcp140_2
1261 enable_msvcp140_atomic_wait
1262 enable_msvcp60
1263 enable_msvcp70
1264 enable_msvcp71
1265 enable_msvcp80
1266 enable_msvcp90
1267 enable_msvcp_win
1268 enable_msvcr100
1269 enable_msvcr110
1270 enable_msvcr120
1271 enable_msvcr120_app
1272 enable_msvcr70
1273 enable_msvcr71
1274 enable_msvcr80
1275 enable_msvcr90
1276 enable_msvcrt
1277 enable_msvcrt20
1278 enable_msvcrt40
1279 enable_msvcrtd
1280 enable_msvfw32
1281 enable_msvidc32
1282 enable_mswsock
1283 enable_msxml
1284 enable_msxml2
1285 enable_msxml3
1286 enable_msxml4
1287 enable_msxml6
1288 enable_mtxdm
1289 enable_ncrypt
1290 enable_nddeapi
1291 enable_ndis_sys
1292 enable_netapi32
1293 enable_netcfgx
1294 enable_netio_sys
1295 enable_netprofm
1296 enable_netutils
1297 enable_newdev
1298 enable_ninput
1299 enable_normaliz
1300 enable_npmshtml
1301 enable_npptools
1302 enable_nsi
1303 enable_nsiproxy_sys
1304 enable_ntdll
1305 enable_ntdsapi
1306 enable_ntoskrnl_exe
1307 enable_ntprint
1308 enable_objsel
1309 enable_odbc32
1310 enable_odbcbcp
1311 enable_odbccp32
1312 enable_odbccu32
1313 enable_ole32
1314 enable_oleacc
1315 enable_oleaut32
1316 enable_olecli32
1317 enable_oledb32
1318 enable_oledlg
1319 enable_olepro32
1320 enable_olesvr32
1321 enable_olethk32
1322 enable_opcservices
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_pwrshplugin
1336 enable_qasf
1337 enable_qcap
1338 enable_qdvd
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_qwave
1345 enable_rasapi32
1346 enable_rasdlg
1347 enable_regapi
1348 enable_resutils
1349 enable_riched20
1350 enable_riched32
1351 enable_rpcrt4
1352 enable_rsabase
1353 enable_rsaenh
1354 enable_rstrtmgr
1355 enable_rtutils
1356 enable_rtworkq
1357 enable_samlib
1358 enable_sane_ds
1359 enable_sapi
1360 enable_sas
1361 enable_scarddlg
1362 enable_scardsvr
1363 enable_sccbase
1364 enable_schannel
1365 enable_schedsvc
1366 enable_scrobj
1367 enable_scrrun
1368 enable_scsiport_sys
1369 enable_sechost
1370 enable_secur32
1371 enable_security
1372 enable_sensapi
1373 enable_serialui
1374 enable_setupapi
1375 enable_sfc
1376 enable_sfc_os
1377 enable_shcore
1378 enable_shdoclc
1379 enable_shdocvw
1380 enable_shell32
1381 enable_shfolder
1382 enable_shlwapi
1383 enable_slbcsp
1384 enable_slc
1385 enable_snmpapi
1386 enable_softpub
1387 enable_spoolss
1388 enable_sppc
1389 enable_srclient
1390 enable_srvcli
1391 enable_sspicli
1392 enable_stdole2_tlb
1393 enable_stdole32_tlb
1394 enable_sti
1395 enable_strmdll
1396 enable_svrapi
1397 enable_sxs
1398 enable_t2embed
1399 enable_tapi32
1400 enable_taskschd
1401 enable_tbs
1402 enable_tdh
1403 enable_tdi_sys
1404 enable_threadpoolwinrt
1405 enable_traffic
1406 enable_twain_32
1407 enable_tzres
1408 enable_ucrtbase
1409 enable_uianimation
1410 enable_uiautomationcore
1411 enable_uiribbon
1412 enable_unicows
1413 enable_updspapi
1414 enable_url
1415 enable_urlmon
1416 enable_usbd_sys
1417 enable_user32
1418 enable_userenv
1419 enable_usp10
1420 enable_utildll
1421 enable_uxtheme
1422 enable_vbscript
1423 enable_vcomp
1424 enable_vcomp100
1425 enable_vcomp110
1426 enable_vcomp120
1427 enable_vcomp140
1428 enable_vcomp90
1429 enable_vcruntime140
1430 enable_vcruntime140_1
1431 enable_vdmdbg
1432 enable_version
1433 enable_vga
1434 enable_virtdisk
1435 enable_vssapi
1436 enable_vulkan_1
1437 enable_wbemdisp
1438 enable_wbemprox
1439 enable_wdscore
1440 enable_webservices
1441 enable_websocket
1442 enable_wer
1443 enable_wevtapi
1444 enable_wevtsvc
1445 enable_wiaservc
1446 enable_wimgapi
1447 enable_win32u
1448 enable_windows_devices_enumeration
1449 enable_windows_gaming_input
1450 enable_windows_gaming_ui_gamebar
1451 enable_windows_globalization
1452 enable_windows_media_devices
1453 enable_windows_media_speech
1454 enable_windows_media
1455 enable_windows_networking
1456 enable_windows_system_profile_systemmanufacturers
1457 enable_windows_ui
1458 enable_windowscodecs
1459 enable_windowscodecsext
1460 enable_winealsa_drv
1461 enable_wineandroid_drv
1462 enable_winebus_sys
1463 enable_winecoreaudio_drv
1464 enable_winecrt0
1465 enable_wined3d
1466 enable_winegstreamer
1467 enable_winehid_sys
1468 enable_winemac_drv
1469 enable_winemapi
1470 enable_wineoss_drv
1471 enable_wineps_drv
1472 enable_winepulse_drv
1473 enable_wineusb_sys
1474 enable_winevulkan
1475 enable_winex11_drv
1476 enable_winexinput_sys
1477 enable_wing32
1478 enable_winhttp
1479 enable_wininet
1480 enable_winmm
1481 enable_winnls32
1482 enable_winprint
1483 enable_winscard
1484 enable_winspool_drv
1485 enable_winsta
1486 enable_wintab32
1487 enable_wintrust
1488 enable_wintypes
1489 enable_winusb
1490 enable_wlanapi
1491 enable_wlanui
1492 enable_wldap32
1493 enable_wmasf
1494 enable_wmi
1495 enable_wmiutils
1496 enable_wmp
1497 enable_wmphoto
1498 enable_wmvcore
1499 enable_wnaspi32
1500 enable_wofutil
1501 enable_wow64
1502 enable_wow64cpu
1503 enable_wow64win
1504 enable_wpc
1505 enable_wpcap
1506 enable_ws2_32
1507 enable_wsdapi
1508 enable_wshom_ocx
1509 enable_wsnmp32
1510 enable_wsock32
1511 enable_wtsapi32
1512 enable_wuapi
1513 enable_wuaueng
1514 enable_x3daudio1_0
1515 enable_x3daudio1_1
1516 enable_x3daudio1_2
1517 enable_x3daudio1_3
1518 enable_x3daudio1_4
1519 enable_x3daudio1_5
1520 enable_x3daudio1_6
1521 enable_x3daudio1_7
1522 enable_xactengine2_0
1523 enable_xactengine2_4
1524 enable_xactengine2_7
1525 enable_xactengine2_9
1526 enable_xactengine3_0
1527 enable_xactengine3_1
1528 enable_xactengine3_2
1529 enable_xactengine3_3
1530 enable_xactengine3_4
1531 enable_xactengine3_5
1532 enable_xactengine3_6
1533 enable_xactengine3_7
1534 enable_xapofx1_1
1535 enable_xapofx1_2
1536 enable_xapofx1_3
1537 enable_xapofx1_4
1538 enable_xapofx1_5
1539 enable_xaudio2_0
1540 enable_xaudio2_1
1541 enable_xaudio2_2
1542 enable_xaudio2_3
1543 enable_xaudio2_4
1544 enable_xaudio2_5
1545 enable_xaudio2_6
1546 enable_xaudio2_7
1547 enable_xaudio2_8
1548 enable_xaudio2_9
1549 enable_xinput1_1
1550 enable_xinput1_2
1551 enable_xinput1_3
1552 enable_xinput1_4
1553 enable_xinput9_1_0
1554 enable_xinputuap
1555 enable_xmllite
1556 enable_xolehlp
1557 enable_xpsprint
1558 enable_xpssvcs
1559 enable_fonts
1560 enable_include
1561 enable_adsiid
1562 enable_dmoguids
1563 enable_dxerr8
1564 enable_dxerr9
1565 enable_dxguid
1566 enable_faudio
1567 enable_gsm
1568 enable_jpeg
1569 enable_jxr
1570 enable_lcms2
1571 enable_ldap
1572 enable_mfuuid
1573 enable_mpg123
1574 enable_png
1575 enable_strmbase
1576 enable_strmiids
1577 enable_tiff
1578 enable_uuid
1579 enable_vkd3d
1580 enable_wbemuuid
1581 enable_wmcodecdspuuid
1582 enable_xml2
1583 enable_xslt
1584 enable_zlib
1585 enable_zydis
1586 enable_loader
1587 enable_nls
1588 enable_po
1589 enable_arp
1590 enable_aspnet_regiis
1591 enable_attrib
1592 enable_cabarc
1593 enable_cacls
1594 enable_certutil
1595 enable_chcp_com
1596 enable_clock
1597 enable_cmd
1598 enable_conhost
1599 enable_control
1600 enable_cscript
1601 enable_dism
1602 enable_dllhost
1603 enable_dplaysvr
1604 enable_dpnsvr
1605 enable_dpvsetup
1606 enable_dxdiag
1607 enable_eject
1608 enable_expand
1609 enable_explorer
1610 enable_extrac32
1611 enable_fc
1612 enable_find
1613 enable_findstr
1614 enable_fsutil
1615 enable_hh
1616 enable_hostname
1617 enable_icacls
1618 enable_icinfo
1619 enable_iexplore
1620 enable_ipconfig
1621 enable_lodctr
1622 enable_mofcomp
1623 enable_mshta
1624 enable_msidb
1625 enable_msiexec
1626 enable_msinfo32
1627 enable_net
1628 enable_netsh
1629 enable_netstat
1630 enable_ngen
1631 enable_notepad
1632 enable_oleview
1633 enable_ping
1634 enable_plugplay
1635 enable_powershell
1636 enable_presentationfontcache
1637 enable_progman
1638 enable_reg
1639 enable_regasm
1640 enable_regedit
1641 enable_regini
1642 enable_regsvcs
1643 enable_regsvr32
1644 enable_robocopy
1645 enable_rpcss
1646 enable_rundll32
1647 enable_sc
1648 enable_schtasks
1649 enable_sdbinst
1650 enable_secedit
1651 enable_servicemodelreg
1652 enable_services
1653 enable_setx
1654 enable_shutdown
1655 enable_spoolsv
1656 enable_start
1657 enable_subst
1658 enable_svchost
1659 enable_systeminfo
1660 enable_taskkill
1661 enable_tasklist
1662 enable_taskmgr
1663 enable_termsv
1664 enable_uninstaller
1665 enable_unlodctr
1666 enable_view
1667 enable_wevtutil
1668 enable_where
1669 enable_whoami
1670 enable_wineboot
1671 enable_winebrowser
1672 enable_winecfg
1673 enable_wineconsole
1674 enable_winedbg
1675 enable_winedevice
1676 enable_winefile
1677 enable_winemenubuilder
1678 enable_winemine
1679 enable_winemsibuilder
1680 enable_winepath
1681 enable_winetest
1682 enable_winhlp32
1683 enable_winmgmt
1684 enable_winver
1685 enable_wmic
1686 enable_wmplayer
1687 enable_wordpad
1688 enable_write
1689 enable_wscript
1690 enable_wuauserv
1691 enable_wusa
1692 enable_xcopy
1693 enable_server
1694 enable_tools
1695 enable_sfnt2fon
1696 enable_widl
1697 enable_winebuild
1698 enable_winedump
1699 enable_winegcc
1700 enable_winemaker
1701 enable_wmc
1702 enable_wrc
1704 ac_precious_vars='build_alias
1705 host_alias
1706 target_alias
1708 CFLAGS
1709 LDFLAGS
1710 LIBS
1711 CPPFLAGS
1713 CXXFLAGS
1715 OBJC
1716 OBJCFLAGS
1717 FAUDIO_PE_CFLAGS
1718 FAUDIO_PE_LIBS
1719 GSM_PE_CFLAGS
1720 GSM_PE_LIBS
1721 JPEG_PE_CFLAGS
1722 JPEG_PE_LIBS
1723 JXR_PE_CFLAGS
1724 JXR_PE_LIBS
1725 LCMS2_PE_CFLAGS
1726 LCMS2_PE_LIBS
1727 LDAP_PE_CFLAGS
1728 LDAP_PE_LIBS
1729 MPG123_PE_CFLAGS
1730 MPG123_PE_LIBS
1731 PNG_PE_CFLAGS
1732 PNG_PE_LIBS
1733 TIFF_PE_CFLAGS
1734 TIFF_PE_LIBS
1735 VKD3D_PE_CFLAGS
1736 VKD3D_PE_LIBS
1737 XML2_PE_CFLAGS
1738 XML2_PE_LIBS
1739 XSLT_PE_CFLAGS
1740 XSLT_PE_LIBS
1741 ZLIB_PE_CFLAGS
1742 ZLIB_PE_LIBS
1743 ZYDIS_PE_CFLAGS
1744 ZYDIS_PE_LIBS
1745 XMKMF
1747 INOTIFY_CFLAGS
1748 INOTIFY_LIBS
1749 DBUS_CFLAGS
1750 DBUS_LIBS
1751 GNUTLS_CFLAGS
1752 GNUTLS_LIBS
1753 SANE_CFLAGS
1754 SANE_LIBS
1755 USB_CFLAGS
1756 USB_LIBS
1757 GPHOTO2_CFLAGS
1758 GPHOTO2_LIBS
1759 GPHOTO2_PORT_CFLAGS
1760 GPHOTO2_PORT_LIBS
1761 FREETYPE_CFLAGS
1762 FREETYPE_LIBS
1763 PULSE_CFLAGS
1764 PULSE_LIBS
1765 GSTREAMER_CFLAGS
1766 GSTREAMER_LIBS
1767 UDEV_CFLAGS
1768 UDEV_LIBS
1769 UNWIND_CFLAGS
1770 UNWIND_LIBS
1771 SDL2_CFLAGS
1772 SDL2_LIBS
1773 CAPI20_CFLAGS
1774 CAPI20_LIBS
1775 CUPS_CFLAGS
1776 CUPS_LIBS
1777 FONTCONFIG_CFLAGS
1778 FONTCONFIG_LIBS
1779 KRB5_CFLAGS
1780 KRB5_LIBS
1781 GSSAPI_CFLAGS
1782 GSSAPI_LIBS
1783 NETAPI_CFLAGS
1784 NETAPI_LIBS'
1787 # Initialize some variables set by options.
1788 ac_init_help=
1789 ac_init_version=false
1790 ac_unrecognized_opts=
1791 ac_unrecognized_sep=
1792 # The variables have the same names as the options, with
1793 # dashes changed to underlines.
1794 cache_file=/dev/null
1795 exec_prefix=NONE
1796 no_create=
1797 no_recursion=
1798 prefix=NONE
1799 program_prefix=NONE
1800 program_suffix=NONE
1801 program_transform_name=s,x,x,
1802 silent=
1803 site=
1804 srcdir=
1805 verbose=
1806 x_includes=NONE
1807 x_libraries=NONE
1809 # Installation directory options.
1810 # These are left unexpanded so users can "make install exec_prefix=/foo"
1811 # and all the variables that are supposed to be based on exec_prefix
1812 # by default will actually change.
1813 # Use braces instead of parens because sh, perl, etc. also accept them.
1814 # (The list follows the same order as the GNU Coding Standards.)
1815 bindir='${exec_prefix}/bin'
1816 sbindir='${exec_prefix}/sbin'
1817 libexecdir='${exec_prefix}/libexec'
1818 datarootdir='${prefix}/share'
1819 datadir='${datarootdir}'
1820 sysconfdir='${prefix}/etc'
1821 sharedstatedir='${prefix}/com'
1822 localstatedir='${prefix}/var'
1823 runstatedir='${localstatedir}/run'
1824 includedir='${prefix}/include'
1825 oldincludedir='/usr/include'
1826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1827 infodir='${datarootdir}/info'
1828 htmldir='${docdir}'
1829 dvidir='${docdir}'
1830 pdfdir='${docdir}'
1831 psdir='${docdir}'
1832 libdir='${exec_prefix}/lib'
1833 localedir='${datarootdir}/locale'
1834 mandir='${datarootdir}/man'
1836 ac_prev=
1837 ac_dashdash=
1838 for ac_option
1840 # If the previous option needs an argument, assign it.
1841 if test -n "$ac_prev"; then
1842 eval $ac_prev=\$ac_option
1843 ac_prev=
1844 continue
1847 case $ac_option in
1848 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1849 *=) ac_optarg= ;;
1850 *) ac_optarg=yes ;;
1851 esac
1853 case $ac_dashdash$ac_option in
1855 ac_dashdash=yes ;;
1857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1858 ac_prev=bindir ;;
1859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1860 bindir=$ac_optarg ;;
1862 -build | --build | --buil | --bui | --bu)
1863 ac_prev=build_alias ;;
1864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1865 build_alias=$ac_optarg ;;
1867 -cache-file | --cache-file | --cache-fil | --cache-fi \
1868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1869 ac_prev=cache_file ;;
1870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1872 cache_file=$ac_optarg ;;
1874 --config-cache | -C)
1875 cache_file=config.cache ;;
1877 -datadir | --datadir | --datadi | --datad)
1878 ac_prev=datadir ;;
1879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1880 datadir=$ac_optarg ;;
1882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1883 | --dataroo | --dataro | --datar)
1884 ac_prev=datarootdir ;;
1885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1887 datarootdir=$ac_optarg ;;
1889 -disable-* | --disable-*)
1890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1891 # Reject names that are not valid shell variable names.
1892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1893 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1894 ac_useropt_orig=$ac_useropt
1895 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1896 case $ac_user_opts in
1898 "enable_$ac_useropt"
1899 "*) ;;
1900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1901 ac_unrecognized_sep=', ';;
1902 esac
1903 eval enable_$ac_useropt=no ;;
1905 -docdir | --docdir | --docdi | --doc | --do)
1906 ac_prev=docdir ;;
1907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1908 docdir=$ac_optarg ;;
1910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1911 ac_prev=dvidir ;;
1912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1913 dvidir=$ac_optarg ;;
1915 -enable-* | --enable-*)
1916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1919 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1920 ac_useropt_orig=$ac_useropt
1921 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_$ac_useropt"
1925 "*) ;;
1926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1927 ac_unrecognized_sep=', ';;
1928 esac
1929 eval enable_$ac_useropt=\$ac_optarg ;;
1931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1933 | --exec | --exe | --ex)
1934 ac_prev=exec_prefix ;;
1935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1937 | --exec=* | --exe=* | --ex=*)
1938 exec_prefix=$ac_optarg ;;
1940 -gas | --gas | --ga | --g)
1941 # Obsolete; use --with-gas.
1942 with_gas=yes ;;
1944 -help | --help | --hel | --he | -h)
1945 ac_init_help=long ;;
1946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1947 ac_init_help=recursive ;;
1948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1949 ac_init_help=short ;;
1951 -host | --host | --hos | --ho)
1952 ac_prev=host_alias ;;
1953 -host=* | --host=* | --hos=* | --ho=*)
1954 host_alias=$ac_optarg ;;
1956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1957 ac_prev=htmldir ;;
1958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1959 | --ht=*)
1960 htmldir=$ac_optarg ;;
1962 -includedir | --includedir | --includedi | --included | --include \
1963 | --includ | --inclu | --incl | --inc)
1964 ac_prev=includedir ;;
1965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1966 | --includ=* | --inclu=* | --incl=* | --inc=*)
1967 includedir=$ac_optarg ;;
1969 -infodir | --infodir | --infodi | --infod | --info | --inf)
1970 ac_prev=infodir ;;
1971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1972 infodir=$ac_optarg ;;
1974 -libdir | --libdir | --libdi | --libd)
1975 ac_prev=libdir ;;
1976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1977 libdir=$ac_optarg ;;
1979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1980 | --libexe | --libex | --libe)
1981 ac_prev=libexecdir ;;
1982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1983 | --libexe=* | --libex=* | --libe=*)
1984 libexecdir=$ac_optarg ;;
1986 -localedir | --localedir | --localedi | --localed | --locale)
1987 ac_prev=localedir ;;
1988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1989 localedir=$ac_optarg ;;
1991 -localstatedir | --localstatedir | --localstatedi | --localstated \
1992 | --localstate | --localstat | --localsta | --localst | --locals)
1993 ac_prev=localstatedir ;;
1994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1996 localstatedir=$ac_optarg ;;
1998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1999 ac_prev=mandir ;;
2000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2001 mandir=$ac_optarg ;;
2003 -nfp | --nfp | --nf)
2004 # Obsolete; use --without-fp.
2005 with_fp=no ;;
2007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2008 | --no-cr | --no-c | -n)
2009 no_create=yes ;;
2011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2013 no_recursion=yes ;;
2015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2017 | --oldin | --oldi | --old | --ol | --o)
2018 ac_prev=oldincludedir ;;
2019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2022 oldincludedir=$ac_optarg ;;
2024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2025 ac_prev=prefix ;;
2026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2027 prefix=$ac_optarg ;;
2029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2030 | --program-pre | --program-pr | --program-p)
2031 ac_prev=program_prefix ;;
2032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2034 program_prefix=$ac_optarg ;;
2036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2037 | --program-suf | --program-su | --program-s)
2038 ac_prev=program_suffix ;;
2039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2041 program_suffix=$ac_optarg ;;
2043 -program-transform-name | --program-transform-name \
2044 | --program-transform-nam | --program-transform-na \
2045 | --program-transform-n | --program-transform- \
2046 | --program-transform | --program-transfor \
2047 | --program-transfo | --program-transf \
2048 | --program-trans | --program-tran \
2049 | --progr-tra | --program-tr | --program-t)
2050 ac_prev=program_transform_name ;;
2051 -program-transform-name=* | --program-transform-name=* \
2052 | --program-transform-nam=* | --program-transform-na=* \
2053 | --program-transform-n=* | --program-transform-=* \
2054 | --program-transform=* | --program-transfor=* \
2055 | --program-transfo=* | --program-transf=* \
2056 | --program-trans=* | --program-tran=* \
2057 | --progr-tra=* | --program-tr=* | --program-t=*)
2058 program_transform_name=$ac_optarg ;;
2060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2061 ac_prev=pdfdir ;;
2062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2063 pdfdir=$ac_optarg ;;
2065 -psdir | --psdir | --psdi | --psd | --ps)
2066 ac_prev=psdir ;;
2067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2068 psdir=$ac_optarg ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2072 silent=yes ;;
2074 -runstatedir | --runstatedir | --runstatedi | --runstated \
2075 | --runstate | --runstat | --runsta | --runst | --runs \
2076 | --run | --ru | --r)
2077 ac_prev=runstatedir ;;
2078 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2079 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2080 | --run=* | --ru=* | --r=*)
2081 runstatedir=$ac_optarg ;;
2083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2084 ac_prev=sbindir ;;
2085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2086 | --sbi=* | --sb=*)
2087 sbindir=$ac_optarg ;;
2089 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2091 | --sharedst | --shareds | --shared | --share | --shar \
2092 | --sha | --sh)
2093 ac_prev=sharedstatedir ;;
2094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2097 | --sha=* | --sh=*)
2098 sharedstatedir=$ac_optarg ;;
2100 -site | --site | --sit)
2101 ac_prev=site ;;
2102 -site=* | --site=* | --sit=*)
2103 site=$ac_optarg ;;
2105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2106 ac_prev=srcdir ;;
2107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2108 srcdir=$ac_optarg ;;
2110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2111 | --syscon | --sysco | --sysc | --sys | --sy)
2112 ac_prev=sysconfdir ;;
2113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2115 sysconfdir=$ac_optarg ;;
2117 -target | --target | --targe | --targ | --tar | --ta | --t)
2118 ac_prev=target_alias ;;
2119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2120 target_alias=$ac_optarg ;;
2122 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2123 verbose=yes ;;
2125 -version | --version | --versio | --versi | --vers | -V)
2126 ac_init_version=: ;;
2128 -with-* | --with-*)
2129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2130 # Reject names that are not valid shell variable names.
2131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2132 as_fn_error $? "invalid package name: \`$ac_useropt'"
2133 ac_useropt_orig=$ac_useropt
2134 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2135 case $ac_user_opts in
2137 "with_$ac_useropt"
2138 "*) ;;
2139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2140 ac_unrecognized_sep=', ';;
2141 esac
2142 eval with_$ac_useropt=\$ac_optarg ;;
2144 -without-* | --without-*)
2145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2148 as_fn_error $? "invalid package name: \`$ac_useropt'"
2149 ac_useropt_orig=$ac_useropt
2150 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2153 "with_$ac_useropt"
2154 "*) ;;
2155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2156 ac_unrecognized_sep=', ';;
2157 esac
2158 eval with_$ac_useropt=no ;;
2160 --x)
2161 # Obsolete; use --with-x.
2162 with_x=yes ;;
2164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2165 | --x-incl | --x-inc | --x-in | --x-i)
2166 ac_prev=x_includes ;;
2167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2169 x_includes=$ac_optarg ;;
2171 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2173 ac_prev=x_libraries ;;
2174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2176 x_libraries=$ac_optarg ;;
2178 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2179 Try \`$0 --help' for more information"
2182 *=*)
2183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2184 # Reject names that are not valid shell variable names.
2185 case $ac_envvar in #(
2186 '' | [0-9]* | *[!_$as_cr_alnum]* )
2187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2188 esac
2189 eval $ac_envvar=\$ac_optarg
2190 export $ac_envvar ;;
2193 # FIXME: should be removed in autoconf 3.0.
2194 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2196 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2200 esac
2201 done
2203 if test -n "$ac_prev"; then
2204 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2205 as_fn_error $? "missing argument to $ac_option"
2208 if test -n "$ac_unrecognized_opts"; then
2209 case $enable_option_checking in
2210 no) ;;
2211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2212 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2213 esac
2216 # Check all directory arguments for consistency.
2217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2218 datadir sysconfdir sharedstatedir localstatedir includedir \
2219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2220 libdir localedir mandir runstatedir
2222 eval ac_val=\$$ac_var
2223 # Remove trailing slashes.
2224 case $ac_val in
2225 */ )
2226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2227 eval $ac_var=\$ac_val;;
2228 esac
2229 # Be sure to have absolute directory names.
2230 case $ac_val in
2231 [\\/$]* | ?:[\\/]* ) continue;;
2232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2233 esac
2234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2235 done
2237 # There might be people who depend on the old broken behavior: `$host'
2238 # used to hold the argument of --host etc.
2239 # FIXME: To remove some day.
2240 build=$build_alias
2241 host=$host_alias
2242 target=$target_alias
2244 # FIXME: To remove some day.
2245 if test "x$host_alias" != x; then
2246 if test "x$build_alias" = x; then
2247 cross_compiling=maybe
2248 elif test "x$build_alias" != "x$host_alias"; then
2249 cross_compiling=yes
2253 ac_tool_prefix=
2254 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2256 test "$silent" = yes && exec 6>/dev/null
2259 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2260 ac_ls_di=`ls -di .` &&
2261 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2262 as_fn_error $? "working directory cannot be determined"
2263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2264 as_fn_error $? "pwd does not report name of working directory"
2267 # Find the source files, if location was not specified.
2268 if test -z "$srcdir"; then
2269 ac_srcdir_defaulted=yes
2270 # Try the directory containing this script, then the parent directory.
2271 ac_confdir=`$as_dirname -- "$as_myself" ||
2272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2273 X"$as_myself" : 'X\(//\)[^/]' \| \
2274 X"$as_myself" : 'X\(//\)$' \| \
2275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2276 printf "%s\n" X"$as_myself" |
2277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2278 s//\1/
2281 /^X\(\/\/\)[^/].*/{
2282 s//\1/
2285 /^X\(\/\/\)$/{
2286 s//\1/
2289 /^X\(\/\).*/{
2290 s//\1/
2293 s/.*/./; q'`
2294 srcdir=$ac_confdir
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2296 srcdir=..
2298 else
2299 ac_srcdir_defaulted=no
2301 if test ! -r "$srcdir/$ac_unique_file"; then
2302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2305 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2306 ac_abs_confdir=`(
2307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2308 pwd)`
2309 # When building in place, set srcdir=.
2310 if test "$ac_abs_confdir" = "$ac_pwd"; then
2311 srcdir=.
2313 # Remove unnecessary trailing slashes from srcdir.
2314 # Double slashes in file names in object file debugging info
2315 # mess up M-x gdb in Emacs.
2316 case $srcdir in
2317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2318 esac
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2321 eval ac_env_${ac_var}_value=\$${ac_var}
2322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2324 done
2327 # Report the --help message.
2329 if test "$ac_init_help" = "long"; then
2330 # Omit some internal or obsolete options to make the list less imposing.
2331 # This message is too long to be a string in the A/UX 3.1 sh.
2332 cat <<_ACEOF
2333 \`configure' configures Wine 8.3 to adapt to many kinds of systems.
2335 Usage: $0 [OPTION]... [VAR=VALUE]...
2337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2338 VAR=VALUE. See below for descriptions of some of the useful variables.
2340 Defaults for the options are specified in brackets.
2342 Configuration:
2343 -h, --help display this help and exit
2344 --help=short display options specific to this package
2345 --help=recursive display the short help of all the included packages
2346 -V, --version display version information and exit
2347 -q, --quiet, --silent do not print \`checking ...' messages
2348 --cache-file=FILE cache test results in FILE [disabled]
2349 -C, --config-cache alias for \`--cache-file=config.cache'
2350 -n, --no-create do not create output files
2351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2353 Installation directories:
2354 --prefix=PREFIX install architecture-independent files in PREFIX
2355 [$ac_default_prefix]
2356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2357 [PREFIX]
2359 By default, \`make install' will install all the files in
2360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2362 for instance \`--prefix=\$HOME'.
2364 For better control, use the options below.
2366 Fine tuning of the installation directories:
2367 --bindir=DIR user executables [EPREFIX/bin]
2368 --sbindir=DIR system admin executables [EPREFIX/sbin]
2369 --libexecdir=DIR program executables [EPREFIX/libexec]
2370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2373 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2374 --libdir=DIR object code libraries [EPREFIX/lib]
2375 --includedir=DIR C header files [PREFIX/include]
2376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2379 --infodir=DIR info documentation [DATAROOTDIR/info]
2380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2381 --mandir=DIR man documentation [DATAROOTDIR/man]
2382 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2383 --htmldir=DIR html documentation [DOCDIR]
2384 --dvidir=DIR dvi documentation [DOCDIR]
2385 --pdfdir=DIR pdf documentation [DOCDIR]
2386 --psdir=DIR ps documentation [DOCDIR]
2387 _ACEOF
2389 cat <<\_ACEOF
2391 X features:
2392 --x-includes=DIR X include files are in DIR
2393 --x-libraries=DIR X library files are in DIR
2395 System types:
2396 --build=BUILD configure for building on BUILD [guessed]
2397 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2398 _ACEOF
2401 if test -n "$ac_init_help"; then
2402 case $ac_init_help in
2403 short | recursive ) echo "Configuration of Wine 8.3:";;
2404 esac
2405 cat <<\_ACEOF
2407 Optional Features:
2408 --disable-option-checking ignore unrecognized --enable/--with options
2409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2411 --enable-archs={i386,x86_64,arm,aarch64}
2412 enable multiple architectures for PE compilation
2413 --disable-win16 do not include Win16 support
2414 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2415 binaries)
2416 --disable-tests do not build the regression tests
2417 --enable-build-id include .buildid section in output objects
2418 --enable-maintainer-mode
2419 enable maintainer-specific build rules
2420 --enable-silent-rules use silent build rules (override: "make V=1")
2421 --enable-werror treat compilation warnings as errors
2422 --disable-largefile omit support for large files
2424 Optional Packages:
2425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2427 --without-alsa do not use the Alsa sound support
2428 --without-capi do not use CAPI (ISDN support)
2429 --without-coreaudio do not use the CoreAudio sound support
2430 --without-cups do not use CUPS
2431 --without-dbus do not use DBus (dynamic device support)
2432 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2433 --without-fontconfig do not use fontconfig
2434 --without-freetype do not use the FreeType library
2435 --without-gettext do not use gettext
2436 --with-gettextpo use the GetTextPO library to rebuild po files
2437 --without-gphoto do not use gphoto (Digital Camera support)
2438 --without-gnutls do not use GnuTLS (schannel support)
2439 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2440 --without-gstreamer do not use GStreamer (codecs support)
2441 --without-inotify do not use inotify (filesystem change notifications)
2442 --without-krb5 do not use krb5 (Kerberos)
2443 --without-mingw do not use the MinGW cross-compiler
2444 --without-netapi do not use the Samba NetAPI library
2445 --without-opencl do not use OpenCL
2446 --without-opengl do not use OpenGL
2447 --without-osmesa do not use the OSMesa library
2448 --without-oss do not use the OSS sound support
2449 --without-pcap do not use the Packet Capture library
2450 --without-pcsclite do not use PCSC lite
2451 --without-pthread do not use the pthread library
2452 --without-pulse do not use PulseAudio sound support
2453 --without-sane do not use SANE (scanner support)
2454 --without-sdl do not use SDL
2455 --without-udev do not use udev (plug and play support)
2456 --without-unwind do not use the libunwind library (exception
2457 handling)
2458 --without-usb do not use the libusb library
2459 --without-v4l2 do not use v4l2 (video capture)
2460 --without-vulkan do not use Vulkan
2461 --without-xcomposite do not use the Xcomposite extension
2462 --without-xcursor do not use the Xcursor extension
2463 --without-xfixes do not use Xfixes for clipboard change notifications
2464 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2465 --without-xinput do not use the Xinput extension
2466 --without-xinput2 do not use the Xinput 2 extension
2467 --without-xrandr do not use Xrandr (multi-monitor support)
2468 --without-xrender do not use the Xrender extension
2469 --without-xshape do not use the Xshape extension
2470 --without-xshm do not use XShm (shared memory extension)
2471 --without-xxf86vm do not use XFree video mode extension
2472 --with-system-dllpath=PATH
2473 load external PE dependencies from colon-separated
2474 path PATH
2475 --with-wine-tools=DIR use Wine tools from directory DIR
2476 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2477 --with-x use the X Window System
2479 Some influential environment variables:
2480 CC C compiler command
2481 CFLAGS C compiler flags
2482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2483 nonstandard directory <lib dir>
2484 LIBS libraries to pass to the linker, e.g. -l<library>
2485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2486 you have headers in a nonstandard directory <include dir>
2487 CXX C++ compiler command
2488 CXXFLAGS C++ compiler flags
2489 OBJC Objective C compiler command
2490 OBJCFLAGS Objective C compiler flags
2491 FAUDIO_PE_CFLAGS
2492 C compiler flags for the PE faudio, overriding the bundled
2493 version
2494 FAUDIO_PE_LIBS
2495 Linker flags for the PE faudio, overriding the bundled version
2496 GSM_PE_CFLAGS
2497 C compiler flags for the PE gsm, overriding the bundled version
2498 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2499 JPEG_PE_CFLAGS
2500 C compiler flags for the PE jpeg, overriding the bundled version
2501 JPEG_PE_LIBS
2502 Linker flags for the PE jpeg, overriding the bundled version
2503 JXR_PE_CFLAGS
2504 C compiler flags for the PE jxr, overriding the bundled version
2505 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2506 LCMS2_PE_CFLAGS
2507 C compiler flags for the PE lcms2, overriding the bundled
2508 version
2509 LCMS2_PE_LIBS
2510 Linker flags for the PE lcms2, overriding the bundled version
2511 LDAP_PE_CFLAGS
2512 C compiler flags for the PE ldap, overriding the bundled version
2513 LDAP_PE_LIBS
2514 Linker flags for the PE ldap, overriding the bundled version
2515 MPG123_PE_CFLAGS
2516 C compiler flags for the PE mpg123, overriding the bundled
2517 version
2518 MPG123_PE_LIBS
2519 Linker flags for the PE mpg123, overriding the bundled version
2520 PNG_PE_CFLAGS
2521 C compiler flags for the PE png, overriding the bundled version
2522 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2523 TIFF_PE_CFLAGS
2524 C compiler flags for the PE tiff, overriding the bundled version
2525 TIFF_PE_LIBS
2526 Linker flags for the PE tiff, overriding the bundled version
2527 VKD3D_PE_CFLAGS
2528 C compiler flags for the PE vkd3d, overriding the bundled
2529 version
2530 VKD3D_PE_LIBS
2531 Linker flags for the PE vkd3d, overriding the bundled version
2532 XML2_PE_CFLAGS
2533 C compiler flags for the PE xml2, overriding the bundled version
2534 XML2_PE_LIBS
2535 Linker flags for the PE xml2, overriding the bundled version
2536 XSLT_PE_CFLAGS
2537 C compiler flags for the PE xslt, overriding the bundled version
2538 XSLT_PE_LIBS
2539 Linker flags for the PE xslt, overriding the bundled version
2540 ZLIB_PE_CFLAGS
2541 C compiler flags for the PE zlib, overriding the bundled version
2542 ZLIB_PE_LIBS
2543 Linker flags for the PE zlib, overriding the bundled version
2544 ZYDIS_PE_CFLAGS
2545 C compiler flags for the PE zydis, overriding the bundled
2546 version
2547 ZYDIS_PE_LIBS
2548 Linker flags for the PE zydis, overriding the bundled version
2549 XMKMF Path to xmkmf, Makefile generator for X Window System
2550 CPP C preprocessor
2551 INOTIFY_CFLAGS
2552 C compiler flags for libinotify, overriding pkg-config
2553 INOTIFY_LIBS
2554 Linker flags for libinotify, overriding pkg-config
2555 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2556 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2557 GNUTLS_CFLAGS
2558 C compiler flags for gnutls, overriding pkg-config
2559 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2560 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2561 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2562 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2563 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2564 GPHOTO2_CFLAGS
2565 C compiler flags for libgphoto2, overriding pkg-config
2566 GPHOTO2_LIBS
2567 Linker flags for libgphoto2, overriding pkg-config
2568 GPHOTO2_PORT_CFLAGS
2569 C compiler flags for libgphoto2_port, overriding pkg-config
2570 GPHOTO2_PORT_LIBS
2571 Linker flags for libgphoto2_port, overriding pkg-config
2572 FREETYPE_CFLAGS
2573 C compiler flags for freetype2, overriding pkg-config
2574 FREETYPE_LIBS
2575 Linker flags for freetype2, overriding pkg-config
2576 PULSE_CFLAGS
2577 C compiler flags for libpulse, overriding pkg-config
2578 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2579 GSTREAMER_CFLAGS
2580 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2581 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2582 GSTREAMER_LIBS
2583 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2584 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2585 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2586 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2587 UNWIND_CFLAGS
2588 C compiler flags for libunwind, overriding pkg-config
2589 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2590 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2591 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2592 CAPI20_CFLAGS
2593 C compiler flags for capi20, overriding pkg-config
2594 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2595 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2596 CUPS_LIBS Linker flags for cups, overriding pkg-config
2597 FONTCONFIG_CFLAGS
2598 C compiler flags for fontconfig, overriding pkg-config
2599 FONTCONFIG_LIBS
2600 Linker flags for fontconfig, overriding pkg-config
2601 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2602 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2603 GSSAPI_CFLAGS
2604 C compiler flags for krb5-gssapi, overriding pkg-config
2605 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2606 NETAPI_CFLAGS
2607 C compiler flags for netapi, overriding pkg-config
2608 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2610 Use these variables to override the choices made by `configure' or to help
2611 it to find libraries and programs with nonstandard names/locations.
2613 Report bugs to <wine-devel@winehq.org>.
2614 Wine home page: <https://www.winehq.org>.
2615 _ACEOF
2616 ac_status=$?
2619 if test "$ac_init_help" = "recursive"; then
2620 # If there are subdirs, report their specific --help.
2621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2622 test -d "$ac_dir" ||
2623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2624 continue
2625 ac_builddir=.
2627 case "$ac_dir" in
2628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2630 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2631 # A ".." for each directory in $ac_dir_suffix.
2632 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2633 case $ac_top_builddir_sub in
2634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2636 esac ;;
2637 esac
2638 ac_abs_top_builddir=$ac_pwd
2639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2640 # for backward compatibility:
2641 ac_top_builddir=$ac_top_build_prefix
2643 case $srcdir in
2644 .) # We are building in place.
2645 ac_srcdir=.
2646 ac_top_srcdir=$ac_top_builddir_sub
2647 ac_abs_top_srcdir=$ac_pwd ;;
2648 [\\/]* | ?:[\\/]* ) # Absolute name.
2649 ac_srcdir=$srcdir$ac_dir_suffix;
2650 ac_top_srcdir=$srcdir
2651 ac_abs_top_srcdir=$srcdir ;;
2652 *) # Relative name.
2653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2654 ac_top_srcdir=$ac_top_build_prefix$srcdir
2655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2656 esac
2657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2659 cd "$ac_dir" || { ac_status=$?; continue; }
2660 # Check for configure.gnu first; this name is used for a wrapper for
2661 # Metaconfig's "Configure" on case-insensitive file systems.
2662 if test -f "$ac_srcdir/configure.gnu"; then
2663 echo &&
2664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2665 elif test -f "$ac_srcdir/configure"; then
2666 echo &&
2667 $SHELL "$ac_srcdir/configure" --help=recursive
2668 else
2669 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2670 fi || ac_status=$?
2671 cd "$ac_pwd" || { ac_status=$?; break; }
2672 done
2675 test -n "$ac_init_help" && exit $ac_status
2676 if $ac_init_version; then
2677 cat <<\_ACEOF
2678 Wine configure 8.3
2679 generated by GNU Autoconf 2.71
2681 Copyright (C) 2021 Free Software Foundation, Inc.
2682 This configure script is free software; the Free Software Foundation
2683 gives unlimited permission to copy, distribute and modify it.
2684 _ACEOF
2685 exit
2688 ## ------------------------ ##
2689 ## Autoconf initialization. ##
2690 ## ------------------------ ##
2692 # ac_fn_c_try_compile LINENO
2693 # --------------------------
2694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2695 ac_fn_c_try_compile ()
2697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2698 rm -f conftest.$ac_objext conftest.beam
2699 if { { ac_try="$ac_compile"
2700 case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 printf "%s\n" "$ac_try_echo"; } >&5
2706 (eval "$ac_compile") 2>conftest.err
2707 ac_status=$?
2708 if test -s conftest.err; then
2709 grep -v '^ *+' conftest.err >conftest.er1
2710 cat conftest.er1 >&5
2711 mv -f conftest.er1 conftest.err
2713 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2714 test $ac_status = 0; } && {
2715 test -z "$ac_c_werror_flag" ||
2716 test ! -s conftest.err
2717 } && test -s conftest.$ac_objext
2718 then :
2719 ac_retval=0
2720 else $as_nop
2721 printf "%s\n" "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 ac_retval=1
2726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2727 as_fn_set_status $ac_retval
2729 } # ac_fn_c_try_compile
2731 # ac_fn_cxx_try_compile LINENO
2732 # ----------------------------
2733 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2734 ac_fn_cxx_try_compile ()
2736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2737 rm -f conftest.$ac_objext conftest.beam
2738 if { { ac_try="$ac_compile"
2739 case "(($ac_try" in
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2742 esac
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 printf "%s\n" "$ac_try_echo"; } >&5
2745 (eval "$ac_compile") 2>conftest.err
2746 ac_status=$?
2747 if test -s conftest.err; then
2748 grep -v '^ *+' conftest.err >conftest.er1
2749 cat conftest.er1 >&5
2750 mv -f conftest.er1 conftest.err
2752 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753 test $ac_status = 0; } && {
2754 test -z "$ac_cxx_werror_flag" ||
2755 test ! -s conftest.err
2756 } && test -s conftest.$ac_objext
2757 then :
2758 ac_retval=0
2759 else $as_nop
2760 printf "%s\n" "$as_me: failed program was:" >&5
2761 sed 's/^/| /' conftest.$ac_ext >&5
2763 ac_retval=1
2765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2766 as_fn_set_status $ac_retval
2768 } # ac_fn_cxx_try_compile
2770 # ac_fn_c_try_link LINENO
2771 # -----------------------
2772 # Try to link conftest.$ac_ext, and return whether this succeeded.
2773 ac_fn_c_try_link ()
2775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2777 if { { ac_try="$ac_link"
2778 case "(($ac_try" in
2779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2780 *) ac_try_echo=$ac_try;;
2781 esac
2782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2783 printf "%s\n" "$ac_try_echo"; } >&5
2784 (eval "$ac_link") 2>conftest.err
2785 ac_status=$?
2786 if test -s conftest.err; then
2787 grep -v '^ *+' conftest.err >conftest.er1
2788 cat conftest.er1 >&5
2789 mv -f conftest.er1 conftest.err
2791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; } && {
2793 test -z "$ac_c_werror_flag" ||
2794 test ! -s conftest.err
2795 } && test -s conftest$ac_exeext && {
2796 test "$cross_compiling" = yes ||
2797 test -x conftest$ac_exeext
2799 then :
2800 ac_retval=0
2801 else $as_nop
2802 printf "%s\n" "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2805 ac_retval=1
2807 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2808 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2809 # interfere with the next link command; also delete a directory that is
2810 # left behind by Apple's compiler. We do this before executing the actions.
2811 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 as_fn_set_status $ac_retval
2815 } # ac_fn_c_try_link
2817 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2818 # -------------------------------------------------------
2819 # Tests whether HEADER exists and can be compiled using the include files in
2820 # INCLUDES, setting the cache variable VAR accordingly.
2821 ac_fn_c_check_header_compile ()
2823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2825 printf %s "checking for $2... " >&6; }
2826 if eval test \${$3+y}
2827 then :
2828 printf %s "(cached) " >&6
2829 else $as_nop
2830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2831 /* end confdefs.h. */
2833 #include <$2>
2834 _ACEOF
2835 if ac_fn_c_try_compile "$LINENO"
2836 then :
2837 eval "$3=yes"
2838 else $as_nop
2839 eval "$3=no"
2841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2843 eval ac_res=\$$3
2844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 printf "%s\n" "$ac_res" >&6; }
2846 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 } # ac_fn_c_check_header_compile
2850 # ac_fn_objc_try_compile LINENO
2851 # -----------------------------
2852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2853 ac_fn_objc_try_compile ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext conftest.beam
2857 if { { ac_try="$ac_compile"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 printf "%s\n" "$ac_try_echo"; } >&5
2864 (eval "$ac_compile") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_objc_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest.$ac_objext
2876 then :
2877 ac_retval=0
2878 else $as_nop
2879 printf "%s\n" "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2882 ac_retval=1
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_objc_try_compile
2889 # ac_fn_c_check_func LINENO FUNC VAR
2890 # ----------------------------------
2891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2892 ac_fn_c_check_func ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2896 printf %s "checking for $2... " >&6; }
2897 if eval test \${$3+y}
2898 then :
2899 printf %s "(cached) " >&6
2900 else $as_nop
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2903 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2905 #define $2 innocuous_$2
2907 /* System header to define __stub macros and hopefully few prototypes,
2908 which can conflict with char $2 (); below. */
2910 #include <limits.h>
2911 #undef $2
2913 /* Override any GCC internal prototype to avoid an error.
2914 Use char because int might match the return type of a GCC
2915 builtin and then its argument prototype would still apply. */
2916 #ifdef __cplusplus
2917 extern "C"
2918 #endif
2919 char $2 ();
2920 /* The GNU C library defines this for functions which it implements
2921 to always fail with ENOSYS. Some functions are actually named
2922 something starting with __ and the normal name is an alias. */
2923 #if defined __stub_$2 || defined __stub___$2
2924 choke me
2925 #endif
2928 main (void)
2930 return $2 ();
2932 return 0;
2934 _ACEOF
2935 if ac_fn_c_try_link "$LINENO"
2936 then :
2937 eval "$3=yes"
2938 else $as_nop
2939 eval "$3=no"
2941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2942 conftest$ac_exeext conftest.$ac_ext
2944 eval ac_res=\$$3
2945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2946 printf "%s\n" "$ac_res" >&6; }
2947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2949 } # ac_fn_c_check_func
2951 # ac_fn_c_try_cpp LINENO
2952 # ----------------------
2953 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2954 ac_fn_c_try_cpp ()
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 if { { ac_try="$ac_cpp conftest.$ac_ext"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 printf "%s\n" "$ac_try_echo"; } >&5
2964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2965 ac_status=$?
2966 if test -s conftest.err; then
2967 grep -v '^ *+' conftest.err >conftest.er1
2968 cat conftest.er1 >&5
2969 mv -f conftest.er1 conftest.err
2971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2972 test $ac_status = 0; } > conftest.i && {
2973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2974 test ! -s conftest.err
2976 then :
2977 ac_retval=0
2978 else $as_nop
2979 printf "%s\n" "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 ac_retval=1
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2987 } # ac_fn_c_try_cpp
2989 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2990 # ----------------------------------------------------
2991 # Tries to find if the field MEMBER exists in type AGGR, after including
2992 # INCLUDES, setting cache variable VAR accordingly.
2993 ac_fn_c_check_member ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2997 printf %s "checking for $2.$3... " >&6; }
2998 if eval test \${$4+y}
2999 then :
3000 printf %s "(cached) " >&6
3001 else $as_nop
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main (void)
3008 static $2 ac_aggr;
3009 if (ac_aggr.$3)
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"
3016 then :
3017 eval "$4=yes"
3018 else $as_nop
3019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3020 /* end confdefs.h. */
3023 main (void)
3025 static $2 ac_aggr;
3026 if (sizeof ac_aggr.$3)
3027 return 0;
3029 return 0;
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"
3033 then :
3034 eval "$4=yes"
3035 else $as_nop
3036 eval "$4=no"
3038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3042 eval ac_res=\$$4
3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3044 printf "%s\n" "$ac_res" >&6; }
3045 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3047 } # ac_fn_c_check_member
3049 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3050 # -------------------------------------------
3051 # Tests whether TYPE exists after having included INCLUDES, setting cache
3052 # variable VAR accordingly.
3053 ac_fn_c_check_type ()
3055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3057 printf %s "checking for $2... " >&6; }
3058 if eval test \${$3+y}
3059 then :
3060 printf %s "(cached) " >&6
3061 else $as_nop
3062 eval "$3=no"
3063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3064 /* end confdefs.h. */
3067 main (void)
3069 if (sizeof ($2))
3070 return 0;
3072 return 0;
3074 _ACEOF
3075 if ac_fn_c_try_compile "$LINENO"
3076 then :
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3081 main (void)
3083 if (sizeof (($2)))
3084 return 0;
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"
3090 then :
3092 else $as_nop
3093 eval "$3=yes"
3095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3097 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3099 eval ac_res=\$$3
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3101 printf "%s\n" "$ac_res" >&6; }
3102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3104 } # ac_fn_c_check_type
3105 ac_configure_args_raw=
3106 for ac_arg
3108 case $ac_arg in
3109 *\'*)
3110 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3111 esac
3112 as_fn_append ac_configure_args_raw " '$ac_arg'"
3113 done
3115 case $ac_configure_args_raw in
3116 *$as_nl*)
3117 ac_safe_unquote= ;;
3119 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3120 ac_unsafe_a="$ac_unsafe_z#~"
3121 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3122 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3123 esac
3125 cat >config.log <<_ACEOF
3126 This file contains any messages produced by compilers while
3127 running configure, to aid debugging if configure makes a mistake.
3129 It was created by Wine $as_me 8.3, which was
3130 generated by GNU Autoconf 2.71. Invocation command line was
3132 $ $0$ac_configure_args_raw
3134 _ACEOF
3135 exec 5>>config.log
3137 cat <<_ASUNAME
3138 ## --------- ##
3139 ## Platform. ##
3140 ## --------- ##
3142 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3143 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3144 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3145 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3146 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3148 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3149 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3151 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3152 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3153 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3154 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3155 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3156 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3157 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3159 _ASUNAME
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3164 IFS=$as_save_IFS
3165 case $as_dir in #(((
3166 '') as_dir=./ ;;
3167 */) ;;
3168 *) as_dir=$as_dir/ ;;
3169 esac
3170 printf "%s\n" "PATH: $as_dir"
3171 done
3172 IFS=$as_save_IFS
3174 } >&5
3176 cat >&5 <<_ACEOF
3179 ## ----------- ##
3180 ## Core tests. ##
3181 ## ----------- ##
3183 _ACEOF
3186 # Keep a trace of the command line.
3187 # Strip out --no-create and --no-recursion so they do not pile up.
3188 # Strip out --silent because we don't want to record it for future runs.
3189 # Also quote any args containing shell meta-characters.
3190 # Make two passes to allow for proper duplicate-argument suppression.
3191 ac_configure_args=
3192 ac_configure_args0=
3193 ac_configure_args1=
3194 ac_must_keep_next=false
3195 for ac_pass in 1 2
3197 for ac_arg
3199 case $ac_arg in
3200 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3201 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3202 | -silent | --silent | --silen | --sile | --sil)
3203 continue ;;
3204 *\'*)
3205 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3206 esac
3207 case $ac_pass in
3208 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3210 as_fn_append ac_configure_args1 " '$ac_arg'"
3211 if test $ac_must_keep_next = true; then
3212 ac_must_keep_next=false # Got value, back to normal.
3213 else
3214 case $ac_arg in
3215 *=* | --config-cache | -C | -disable-* | --disable-* \
3216 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3217 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3218 | -with-* | --with-* | -without-* | --without-* | --x)
3219 case "$ac_configure_args0 " in
3220 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3221 esac
3223 -* ) ac_must_keep_next=true ;;
3224 esac
3226 as_fn_append ac_configure_args " '$ac_arg'"
3228 esac
3229 done
3230 done
3231 { ac_configure_args0=; unset ac_configure_args0;}
3232 { ac_configure_args1=; unset ac_configure_args1;}
3234 # When interrupted or exit'd, cleanup temporary files, and complete
3235 # config.log. We remove comments because anyway the quotes in there
3236 # would cause problems or look ugly.
3237 # WARNING: Use '\'' to represent an apostrophe within the trap.
3238 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3239 trap 'exit_status=$?
3240 # Sanitize IFS.
3241 IFS=" "" $as_nl"
3242 # Save into config.log some information that might help in debugging.
3244 echo
3246 printf "%s\n" "## ---------------- ##
3247 ## Cache variables. ##
3248 ## ---------------- ##"
3249 echo
3250 # The following way of writing the cache mishandles newlines in values,
3252 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3253 eval ac_val=\$$ac_var
3254 case $ac_val in #(
3255 *${as_nl}*)
3256 case $ac_var in #(
3257 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3258 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3259 esac
3260 case $ac_var in #(
3261 _ | IFS | as_nl) ;; #(
3262 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3263 *) { eval $ac_var=; unset $ac_var;} ;;
3264 esac ;;
3265 esac
3266 done
3267 (set) 2>&1 |
3268 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3269 *${as_nl}ac_space=\ *)
3270 sed -n \
3271 "s/'\''/'\''\\\\'\'''\''/g;
3272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3273 ;; #(
3275 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3277 esac |
3278 sort
3280 echo
3282 printf "%s\n" "## ----------------- ##
3283 ## Output variables. ##
3284 ## ----------------- ##"
3285 echo
3286 for ac_var in $ac_subst_vars
3288 eval ac_val=\$$ac_var
3289 case $ac_val in
3290 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3291 esac
3292 printf "%s\n" "$ac_var='\''$ac_val'\''"
3293 done | sort
3294 echo
3296 if test -n "$ac_subst_files"; then
3297 printf "%s\n" "## ------------------- ##
3298 ## File substitutions. ##
3299 ## ------------------- ##"
3300 echo
3301 for ac_var in $ac_subst_files
3303 eval ac_val=\$$ac_var
3304 case $ac_val in
3305 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3306 esac
3307 printf "%s\n" "$ac_var='\''$ac_val'\''"
3308 done | sort
3309 echo
3312 if test -s confdefs.h; then
3313 printf "%s\n" "## ----------- ##
3314 ## confdefs.h. ##
3315 ## ----------- ##"
3316 echo
3317 cat confdefs.h
3318 echo
3320 test "$ac_signal" != 0 &&
3321 printf "%s\n" "$as_me: caught signal $ac_signal"
3322 printf "%s\n" "$as_me: exit $exit_status"
3323 } >&5
3324 rm -f core *.core core.conftest.* &&
3325 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3326 exit $exit_status
3328 for ac_signal in 1 2 13 15; do
3329 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3330 done
3331 ac_signal=0
3333 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3334 rm -f -r conftest* confdefs.h
3336 printf "%s\n" "/* confdefs.h */" > confdefs.h
3338 # Predefined preprocessor variables.
3340 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3342 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3344 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3346 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3348 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3350 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3353 # Let the site file select an alternate cache file if it wants to.
3354 # Prefer an explicitly selected file to automatically selected ones.
3355 if test -n "$CONFIG_SITE"; then
3356 ac_site_files="$CONFIG_SITE"
3357 elif test "x$prefix" != xNONE; then
3358 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3359 else
3360 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3363 for ac_site_file in $ac_site_files
3365 case $ac_site_file in #(
3366 */*) :
3367 ;; #(
3368 *) :
3369 ac_site_file=./$ac_site_file ;;
3370 esac
3371 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3373 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3374 sed 's/^/| /' "$ac_site_file" >&5
3375 . "$ac_site_file" \
3376 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3378 as_fn_error $? "failed to load site script $ac_site_file
3379 See \`config.log' for more details" "$LINENO" 5; }
3381 done
3383 if test -r "$cache_file"; then
3384 # Some versions of bash will fail to source /dev/null (special files
3385 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3386 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3388 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3389 case $cache_file in
3390 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3391 *) . "./$cache_file";;
3392 esac
3394 else
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3396 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3397 >$cache_file
3400 # Test code for whether the C compiler supports C89 (global declarations)
3401 ac_c_conftest_c89_globals='
3402 /* Does the compiler advertise C89 conformance?
3403 Do not test the value of __STDC__, because some compilers set it to 0
3404 while being otherwise adequately conformant. */
3405 #if !defined __STDC__
3406 # error "Compiler does not advertise C89 conformance"
3407 #endif
3409 #include <stddef.h>
3410 #include <stdarg.h>
3411 struct stat;
3412 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3413 struct buf { int x; };
3414 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3415 static char *e (p, i)
3416 char **p;
3417 int i;
3419 return p[i];
3421 static char *f (char * (*g) (char **, int), char **p, ...)
3423 char *s;
3424 va_list v;
3425 va_start (v,p);
3426 s = g (p, va_arg (v,int));
3427 va_end (v);
3428 return s;
3431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3432 function prototypes and stuff, but not \xHH hex character constants.
3433 These do not provoke an error unfortunately, instead are silently treated
3434 as an "x". The following induces an error, until -std is added to get
3435 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3436 array size at least. It is necessary to write \x00 == 0 to get something
3437 that is true only with -std. */
3438 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3441 inside strings and character constants. */
3442 #define FOO(x) '\''x'\''
3443 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3445 int test (int i, double x);
3446 struct s1 {int (*f) (int a);};
3447 struct s2 {int (*f) (double a);};
3448 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3449 int, int);'
3451 # Test code for whether the C compiler supports C89 (body of main).
3452 ac_c_conftest_c89_main='
3453 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3456 # Test code for whether the C compiler supports C99 (global declarations)
3457 ac_c_conftest_c99_globals='
3458 // Does the compiler advertise C99 conformance?
3459 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3460 # error "Compiler does not advertise C99 conformance"
3461 #endif
3463 #include <stdbool.h>
3464 extern int puts (const char *);
3465 extern int printf (const char *, ...);
3466 extern int dprintf (int, const char *, ...);
3467 extern void *malloc (size_t);
3469 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3470 // dprintf is used instead of fprintf to avoid needing to declare
3471 // FILE and stderr.
3472 #define debug(...) dprintf (2, __VA_ARGS__)
3473 #define showlist(...) puts (#__VA_ARGS__)
3474 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3475 static void
3476 test_varargs_macros (void)
3478 int x = 1234;
3479 int y = 5678;
3480 debug ("Flag");
3481 debug ("X = %d\n", x);
3482 showlist (The first, second, and third items.);
3483 report (x>y, "x is %d but y is %d", x, y);
3486 // Check long long types.
3487 #define BIG64 18446744073709551615ull
3488 #define BIG32 4294967295ul
3489 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3490 #if !BIG_OK
3491 #error "your preprocessor is broken"
3492 #endif
3493 #if BIG_OK
3494 #else
3495 #error "your preprocessor is broken"
3496 #endif
3497 static long long int bignum = -9223372036854775807LL;
3498 static unsigned long long int ubignum = BIG64;
3500 struct incomplete_array
3502 int datasize;
3503 double data[];
3506 struct named_init {
3507 int number;
3508 const wchar_t *name;
3509 double average;
3512 typedef const char *ccp;
3514 static inline int
3515 test_restrict (ccp restrict text)
3517 // See if C++-style comments work.
3518 // Iterate through items via the restricted pointer.
3519 // Also check for declarations in for loops.
3520 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3521 continue;
3522 return 0;
3525 // Check varargs and va_copy.
3526 static bool
3527 test_varargs (const char *format, ...)
3529 va_list args;
3530 va_start (args, format);
3531 va_list args_copy;
3532 va_copy (args_copy, args);
3534 const char *str = "";
3535 int number = 0;
3536 float fnumber = 0;
3538 while (*format)
3540 switch (*format++)
3542 case '\''s'\'': // string
3543 str = va_arg (args_copy, const char *);
3544 break;
3545 case '\''d'\'': // int
3546 number = va_arg (args_copy, int);
3547 break;
3548 case '\''f'\'': // float
3549 fnumber = va_arg (args_copy, double);
3550 break;
3551 default:
3552 break;
3555 va_end (args_copy);
3556 va_end (args);
3558 return *str && number && fnumber;
3562 # Test code for whether the C compiler supports C99 (body of main).
3563 ac_c_conftest_c99_main='
3564 // Check bool.
3565 _Bool success = false;
3566 success |= (argc != 0);
3568 // Check restrict.
3569 if (test_restrict ("String literal") == 0)
3570 success = true;
3571 char *restrict newvar = "Another string";
3573 // Check varargs.
3574 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3575 test_varargs_macros ();
3577 // Check flexible array members.
3578 struct incomplete_array *ia =
3579 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3580 ia->datasize = 10;
3581 for (int i = 0; i < ia->datasize; ++i)
3582 ia->data[i] = i * 1.234;
3584 // Check named initializers.
3585 struct named_init ni = {
3586 .number = 34,
3587 .name = L"Test wide string",
3588 .average = 543.34343,
3591 ni.number = 58;
3593 int dynamic_array[ni.number];
3594 dynamic_array[0] = argv[0][0];
3595 dynamic_array[ni.number - 1] = 543;
3597 // work around unused variable warnings
3598 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3599 || dynamic_array[ni.number - 1] != 543);
3602 # Test code for whether the C compiler supports C11 (global declarations)
3603 ac_c_conftest_c11_globals='
3604 // Does the compiler advertise C11 conformance?
3605 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3606 # error "Compiler does not advertise C11 conformance"
3607 #endif
3609 // Check _Alignas.
3610 char _Alignas (double) aligned_as_double;
3611 char _Alignas (0) no_special_alignment;
3612 extern char aligned_as_int;
3613 char _Alignas (0) _Alignas (int) aligned_as_int;
3615 // Check _Alignof.
3616 enum
3618 int_alignment = _Alignof (int),
3619 int_array_alignment = _Alignof (int[100]),
3620 char_alignment = _Alignof (char)
3622 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3624 // Check _Noreturn.
3625 int _Noreturn does_not_return (void) { for (;;) continue; }
3627 // Check _Static_assert.
3628 struct test_static_assert
3630 int x;
3631 _Static_assert (sizeof (int) <= sizeof (long int),
3632 "_Static_assert does not work in struct");
3633 long int y;
3636 // Check UTF-8 literals.
3637 #define u8 syntax error!
3638 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3640 // Check duplicate typedefs.
3641 typedef long *long_ptr;
3642 typedef long int *long_ptr;
3643 typedef long_ptr long_ptr;
3645 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3646 struct anonymous
3648 union {
3649 struct { int i; int j; };
3650 struct { int k; long int l; } w;
3652 int m;
3653 } v1;
3656 # Test code for whether the C compiler supports C11 (body of main).
3657 ac_c_conftest_c11_main='
3658 _Static_assert ((offsetof (struct anonymous, i)
3659 == offsetof (struct anonymous, w.k)),
3660 "Anonymous union alignment botch");
3661 v1.i = 2;
3662 v1.w.k = 5;
3663 ok |= v1.i != 5;
3666 # Test code for whether the C compiler supports C11 (complete).
3667 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3668 ${ac_c_conftest_c99_globals}
3669 ${ac_c_conftest_c11_globals}
3672 main (int argc, char **argv)
3674 int ok = 0;
3675 ${ac_c_conftest_c89_main}
3676 ${ac_c_conftest_c99_main}
3677 ${ac_c_conftest_c11_main}
3678 return ok;
3682 # Test code for whether the C compiler supports C99 (complete).
3683 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3684 ${ac_c_conftest_c99_globals}
3687 main (int argc, char **argv)
3689 int ok = 0;
3690 ${ac_c_conftest_c89_main}
3691 ${ac_c_conftest_c99_main}
3692 return ok;
3696 # Test code for whether the C compiler supports C89 (complete).
3697 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3700 main (int argc, char **argv)
3702 int ok = 0;
3703 ${ac_c_conftest_c89_main}
3704 return ok;
3708 # Test code for whether the C++ compiler supports C++98 (global declarations)
3709 ac_cxx_conftest_cxx98_globals='
3710 // Does the compiler advertise C++98 conformance?
3711 #if !defined __cplusplus || __cplusplus < 199711L
3712 # error "Compiler does not advertise C++98 conformance"
3713 #endif
3715 // These inclusions are to reject old compilers that
3716 // lack the unsuffixed header files.
3717 #include <cstdlib>
3718 #include <exception>
3720 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3721 extern void assert (int);
3722 namespace std {
3723 extern int strcmp (const char *, const char *);
3726 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3727 using std::exception;
3728 using std::strcmp;
3730 namespace {
3732 void test_exception_syntax()
3734 try {
3735 throw "test";
3736 } catch (const char *s) {
3737 // Extra parentheses suppress a warning when building autoconf itself,
3738 // due to lint rules shared with more typical C programs.
3739 assert (!(strcmp) (s, "test"));
3743 template <typename T> struct test_template
3745 T const val;
3746 explicit test_template(T t) : val(t) {}
3747 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3750 } // anonymous namespace
3753 # Test code for whether the C++ compiler supports C++98 (body of main)
3754 ac_cxx_conftest_cxx98_main='
3755 assert (argc);
3756 assert (! argv[0]);
3758 test_exception_syntax ();
3759 test_template<double> tt (2.0);
3760 assert (tt.add (4) == 6.0);
3761 assert (true && !false);
3765 # Test code for whether the C++ compiler supports C++11 (global declarations)
3766 ac_cxx_conftest_cxx11_globals='
3767 // Does the compiler advertise C++ 2011 conformance?
3768 #if !defined __cplusplus || __cplusplus < 201103L
3769 # error "Compiler does not advertise C++11 conformance"
3770 #endif
3772 namespace cxx11test
3774 constexpr int get_val() { return 20; }
3776 struct testinit
3778 int i;
3779 double d;
3782 class delegate
3784 public:
3785 delegate(int n) : n(n) {}
3786 delegate(): delegate(2354) {}
3788 virtual int getval() { return this->n; };
3789 protected:
3790 int n;
3793 class overridden : public delegate
3795 public:
3796 overridden(int n): delegate(n) {}
3797 virtual int getval() override final { return this->n * 2; }
3800 class nocopy
3802 public:
3803 nocopy(int i): i(i) {}
3804 nocopy() = default;
3805 nocopy(const nocopy&) = delete;
3806 nocopy & operator=(const nocopy&) = delete;
3807 private:
3808 int i;
3811 // for testing lambda expressions
3812 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3814 return f(v);
3817 // for testing variadic templates and trailing return types
3818 template <typename V> auto sum(V first) -> V
3820 return first;
3822 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3824 return first + sum(rest...);
3829 # Test code for whether the C++ compiler supports C++11 (body of main)
3830 ac_cxx_conftest_cxx11_main='
3832 // Test auto and decltype
3833 auto a1 = 6538;
3834 auto a2 = 48573953.4;
3835 auto a3 = "String literal";
3837 int total = 0;
3838 for (auto i = a3; *i; ++i) { total += *i; }
3840 decltype(a2) a4 = 34895.034;
3843 // Test constexpr
3844 short sa[cxx11test::get_val()] = { 0 };
3847 // Test initializer lists
3848 cxx11test::testinit il = { 4323, 435234.23544 };
3851 // Test range-based for
3852 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3853 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3854 for (auto &x : array) { x += 23; }
3857 // Test lambda expressions
3858 using cxx11test::eval;
3859 assert (eval ([](int x) { return x*2; }, 21) == 42);
3860 double d = 2.0;
3861 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3862 assert (d == 5.0);
3863 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3864 assert (d == 5.0);
3867 // Test use of variadic templates
3868 using cxx11test::sum;
3869 auto a = sum(1);
3870 auto b = sum(1, 2);
3871 auto c = sum(1.0, 2.0, 3.0);
3874 // Test constructor delegation
3875 cxx11test::delegate d1;
3876 cxx11test::delegate d2();
3877 cxx11test::delegate d3(45);
3880 // Test override and final
3881 cxx11test::overridden o1(55464);
3884 // Test nullptr
3885 char *c = nullptr;
3888 // Test template brackets
3889 test_template<::test_template<int>> v(test_template<int>(12));
3892 // Unicode literals
3893 char const *utf8 = u8"UTF-8 string \u2500";
3894 char16_t const *utf16 = u"UTF-8 string \u2500";
3895 char32_t const *utf32 = U"UTF-32 string \u2500";
3899 # Test code for whether the C compiler supports C++11 (complete).
3900 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3901 ${ac_cxx_conftest_cxx11_globals}
3904 main (int argc, char **argv)
3906 int ok = 0;
3907 ${ac_cxx_conftest_cxx98_main}
3908 ${ac_cxx_conftest_cxx11_main}
3909 return ok;
3913 # Test code for whether the C compiler supports C++98 (complete).
3914 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3916 main (int argc, char **argv)
3918 int ok = 0;
3919 ${ac_cxx_conftest_cxx98_main}
3920 return ok;
3924 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3925 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3926 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3927 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3928 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3929 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3930 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3931 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3932 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3934 # Auxiliary files required by this configure script.
3935 ac_aux_files="config.guess config.sub"
3937 # Locations in which to look for auxiliary files.
3938 ac_aux_dir_candidates="${srcdir}/tools"
3940 # Search for a directory containing all of the required auxiliary files,
3941 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3942 # If we don't find one directory that contains all the files we need,
3943 # we report the set of missing files from the *first* directory in
3944 # $ac_aux_dir_candidates and give up.
3945 ac_missing_aux_files=""
3946 ac_first_candidate=:
3947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949 as_found=false
3950 for as_dir in $ac_aux_dir_candidates
3952 IFS=$as_save_IFS
3953 case $as_dir in #(((
3954 '') as_dir=./ ;;
3955 */) ;;
3956 *) as_dir=$as_dir/ ;;
3957 esac
3958 as_found=:
3960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3961 ac_aux_dir_found=yes
3962 ac_install_sh=
3963 for ac_aux in $ac_aux_files
3965 # As a special case, if "install-sh" is required, that requirement
3966 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3967 # and $ac_install_sh is set appropriately for whichever one is found.
3968 if test x"$ac_aux" = x"install-sh"
3969 then
3970 if test -f "${as_dir}install-sh"; then
3971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3972 ac_install_sh="${as_dir}install-sh -c"
3973 elif test -f "${as_dir}install.sh"; then
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3975 ac_install_sh="${as_dir}install.sh -c"
3976 elif test -f "${as_dir}shtool"; then
3977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3978 ac_install_sh="${as_dir}shtool install -c"
3979 else
3980 ac_aux_dir_found=no
3981 if $ac_first_candidate; then
3982 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3983 else
3984 break
3987 else
3988 if test -f "${as_dir}${ac_aux}"; then
3989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3990 else
3991 ac_aux_dir_found=no
3992 if $ac_first_candidate; then
3993 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3994 else
3995 break
3999 done
4000 if test "$ac_aux_dir_found" = yes; then
4001 ac_aux_dir="$as_dir"
4002 break
4004 ac_first_candidate=false
4006 as_found=false
4007 done
4008 IFS=$as_save_IFS
4009 if $as_found
4010 then :
4012 else $as_nop
4013 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4017 # These three variables are undocumented and unsupported,
4018 # and are intended to be withdrawn in a future Autoconf release.
4019 # They can cause serious problems if a builder's source tree is in a directory
4020 # whose full name contains unusual characters.
4021 if test -f "${ac_aux_dir}config.guess"; then
4022 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4024 if test -f "${ac_aux_dir}config.sub"; then
4025 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4027 if test -f "$ac_aux_dir/configure"; then
4028 ac_configure="$SHELL ${ac_aux_dir}configure"
4031 # Check that the precious variables saved in the cache have kept the same
4032 # value.
4033 ac_cache_corrupted=false
4034 for ac_var in $ac_precious_vars; do
4035 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4036 eval ac_new_set=\$ac_env_${ac_var}_set
4037 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4038 eval ac_new_val=\$ac_env_${ac_var}_value
4039 case $ac_old_set,$ac_new_set in
4040 set,)
4041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4042 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4043 ac_cache_corrupted=: ;;
4044 ,set)
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4046 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4047 ac_cache_corrupted=: ;;
4048 ,);;
4050 if test "x$ac_old_val" != "x$ac_new_val"; then
4051 # differences in whitespace do not lead to failure.
4052 ac_old_val_w=`echo x $ac_old_val`
4053 ac_new_val_w=`echo x $ac_new_val`
4054 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4056 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4057 ac_cache_corrupted=:
4058 else
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4060 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4061 eval $ac_var=\$ac_old_val
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4064 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4066 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4067 fi;;
4068 esac
4069 # Pass precious variables to config.status.
4070 if test "$ac_new_set" = set; then
4071 case $ac_new_val in
4072 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4073 *) ac_arg=$ac_var=$ac_new_val ;;
4074 esac
4075 case " $ac_configure_args " in
4076 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4077 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4078 esac
4080 done
4081 if $ac_cache_corrupted; then
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4083 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4085 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4086 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4087 and start over" "$LINENO" 5
4089 ## -------------------- ##
4090 ## Main body of script. ##
4091 ## -------------------- ##
4093 ac_ext=c
4094 ac_cpp='$CPP $CPPFLAGS'
4095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101 ac_config_headers="$ac_config_headers include/config.h"
4105 libwine_version="1.0"
4108 # Check whether --enable-archs was given.
4109 if test ${enable_archs+y}
4110 then :
4111 enableval=$enable_archs;
4114 # Check whether --enable-win16 was given.
4115 if test ${enable_win16+y}
4116 then :
4117 enableval=$enable_win16;
4120 # Check whether --enable-win64 was given.
4121 if test ${enable_win64+y}
4122 then :
4123 enableval=$enable_win64;
4126 # Check whether --enable-tests was given.
4127 if test ${enable_tests+y}
4128 then :
4129 enableval=$enable_tests;
4132 # Check whether --enable-build-id was given.
4133 if test ${enable_build_id+y}
4134 then :
4135 enableval=$enable_build_id;
4138 # Check whether --enable-maintainer-mode was given.
4139 if test ${enable_maintainer_mode+y}
4140 then :
4141 enableval=$enable_maintainer_mode;
4144 # Check whether --enable-silent-rules was given.
4145 if test ${enable_silent_rules+y}
4146 then :
4147 enableval=$enable_silent_rules;
4150 # Check whether --enable-werror was given.
4151 if test ${enable_werror+y}
4152 then :
4153 enableval=$enable_werror;
4158 # Check whether --with-alsa was given.
4159 if test ${with_alsa+y}
4160 then :
4161 withval=$with_alsa;
4165 # Check whether --with-capi was given.
4166 if test ${with_capi+y}
4167 then :
4168 withval=$with_capi;
4172 # Check whether --with-coreaudio was given.
4173 if test ${with_coreaudio+y}
4174 then :
4175 withval=$with_coreaudio;
4179 # Check whether --with-cups was given.
4180 if test ${with_cups+y}
4181 then :
4182 withval=$with_cups;
4186 # Check whether --with-dbus was given.
4187 if test ${with_dbus+y}
4188 then :
4189 withval=$with_dbus;
4193 # Check whether --with-float-abi was given.
4194 if test ${with_float_abi+y}
4195 then :
4196 withval=$with_float_abi;
4200 # Check whether --with-fontconfig was given.
4201 if test ${with_fontconfig+y}
4202 then :
4203 withval=$with_fontconfig;
4207 # Check whether --with-freetype was given.
4208 if test ${with_freetype+y}
4209 then :
4210 withval=$with_freetype;
4214 # Check whether --with-gettext was given.
4215 if test ${with_gettext+y}
4216 then :
4217 withval=$with_gettext;
4221 # Check whether --with-gettextpo was given.
4222 if test ${with_gettextpo+y}
4223 then :
4224 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4228 # Check whether --with-gphoto was given.
4229 if test ${with_gphoto+y}
4230 then :
4231 withval=$with_gphoto;
4235 # Check whether --with-gnutls was given.
4236 if test ${with_gnutls+y}
4237 then :
4238 withval=$with_gnutls;
4242 # Check whether --with-gssapi was given.
4243 if test ${with_gssapi+y}
4244 then :
4245 withval=$with_gssapi;
4249 # Check whether --with-gstreamer was given.
4250 if test ${with_gstreamer+y}
4251 then :
4252 withval=$with_gstreamer;
4256 # Check whether --with-inotify was given.
4257 if test ${with_inotify+y}
4258 then :
4259 withval=$with_inotify;
4263 # Check whether --with-krb5 was given.
4264 if test ${with_krb5+y}
4265 then :
4266 withval=$with_krb5;
4270 # Check whether --with-mingw was given.
4271 if test ${with_mingw+y}
4272 then :
4273 withval=$with_mingw;
4277 # Check whether --with-netapi was given.
4278 if test ${with_netapi+y}
4279 then :
4280 withval=$with_netapi;
4284 # Check whether --with-opencl was given.
4285 if test ${with_opencl+y}
4286 then :
4287 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4291 # Check whether --with-opengl was given.
4292 if test ${with_opengl+y}
4293 then :
4294 withval=$with_opengl;
4298 # Check whether --with-osmesa was given.
4299 if test ${with_osmesa+y}
4300 then :
4301 withval=$with_osmesa;
4305 # Check whether --with-oss was given.
4306 if test ${with_oss+y}
4307 then :
4308 withval=$with_oss;
4312 # Check whether --with-pcap was given.
4313 if test ${with_pcap+y}
4314 then :
4315 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4319 # Check whether --with-pcsclite was given.
4320 if test ${with_pcsclite+y}
4321 then :
4322 withval=$with_pcsclite;
4326 # Check whether --with-pthread was given.
4327 if test ${with_pthread+y}
4328 then :
4329 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4333 # Check whether --with-pulse was given.
4334 if test ${with_pulse+y}
4335 then :
4336 withval=$with_pulse;
4340 # Check whether --with-sane was given.
4341 if test ${with_sane+y}
4342 then :
4343 withval=$with_sane;
4347 # Check whether --with-sdl was given.
4348 if test ${with_sdl+y}
4349 then :
4350 withval=$with_sdl;
4354 # Check whether --with-udev was given.
4355 if test ${with_udev+y}
4356 then :
4357 withval=$with_udev;
4361 # Check whether --with-unwind was given.
4362 if test ${with_unwind+y}
4363 then :
4364 withval=$with_unwind;
4368 # Check whether --with-usb was given.
4369 if test ${with_usb+y}
4370 then :
4371 withval=$with_usb;
4375 # Check whether --with-v4l2 was given.
4376 if test ${with_v4l2+y}
4377 then :
4378 withval=$with_v4l2;
4382 # Check whether --with-vulkan was given.
4383 if test ${with_vulkan+y}
4384 then :
4385 withval=$with_vulkan;
4389 # Check whether --with-xcomposite was given.
4390 if test ${with_xcomposite+y}
4391 then :
4392 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4396 # Check whether --with-xcursor was given.
4397 if test ${with_xcursor+y}
4398 then :
4399 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4403 # Check whether --with-xfixes was given.
4404 if test ${with_xfixes+y}
4405 then :
4406 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4410 # Check whether --with-xinerama was given.
4411 if test ${with_xinerama+y}
4412 then :
4413 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4417 # Check whether --with-xinput was given.
4418 if test ${with_xinput+y}
4419 then :
4420 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4424 # Check whether --with-xinput2 was given.
4425 if test ${with_xinput2+y}
4426 then :
4427 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4431 # Check whether --with-xrandr was given.
4432 if test ${with_xrandr+y}
4433 then :
4434 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4438 # Check whether --with-xrender was given.
4439 if test ${with_xrender+y}
4440 then :
4441 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4445 # Check whether --with-xshape was given.
4446 if test ${with_xshape+y}
4447 then :
4448 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4452 # Check whether --with-xshm was given.
4453 if test ${with_xshm+y}
4454 then :
4455 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4459 # Check whether --with-xxf86vm was given.
4460 if test ${with_xxf86vm+y}
4461 then :
4462 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
4467 # Check whether --with-system-dllpath was given.
4468 if test ${with_system_dllpath+y}
4469 then :
4470 withval=$with_system_dllpath; system_dllpath=$withval
4475 # Check whether --with-wine-tools was given.
4476 if test ${with_wine_tools+y}
4477 then :
4478 withval=$with_wine_tools;
4482 # Check whether --with-wine64 was given.
4483 if test ${with_wine64+y}
4484 then :
4485 withval=$with_wine64;
4492 # Make sure we can run config.sub.
4493 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4494 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4497 printf %s "checking build system type... " >&6; }
4498 if test ${ac_cv_build+y}
4499 then :
4500 printf %s "(cached) " >&6
4501 else $as_nop
4502 ac_build_alias=$build_alias
4503 test "x$ac_build_alias" = x &&
4504 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4505 test "x$ac_build_alias" = x &&
4506 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4507 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4508 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4512 printf "%s\n" "$ac_cv_build" >&6; }
4513 case $ac_cv_build in
4514 *-*-*) ;;
4515 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4516 esac
4517 build=$ac_cv_build
4518 ac_save_IFS=$IFS; IFS='-'
4519 set x $ac_cv_build
4520 shift
4521 build_cpu=$1
4522 build_vendor=$2
4523 shift; shift
4524 # Remember, the first character of IFS is used to create $*,
4525 # except with old shells:
4526 build_os=$*
4527 IFS=$ac_save_IFS
4528 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4532 printf %s "checking host system type... " >&6; }
4533 if test ${ac_cv_host+y}
4534 then :
4535 printf %s "(cached) " >&6
4536 else $as_nop
4537 if test "x$host_alias" = x; then
4538 ac_cv_host=$ac_cv_build
4539 else
4540 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4541 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4546 printf "%s\n" "$ac_cv_host" >&6; }
4547 case $ac_cv_host in
4548 *-*-*) ;;
4549 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4550 esac
4551 host=$ac_cv_host
4552 ac_save_IFS=$IFS; IFS='-'
4553 set x $ac_cv_host
4554 shift
4555 host_cpu=$1
4556 host_vendor=$2
4557 shift; shift
4558 # Remember, the first character of IFS is used to create $*,
4559 # except with old shells:
4560 host_os=$*
4561 IFS=$ac_save_IFS
4562 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4566 dlldir=\${libdir}/wine
4568 fontdir=\${datadir}/wine/fonts
4570 nlsdir=\${datadir}/wine/nls
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4576 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4577 set x ${MAKE-make}
4578 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4579 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4580 then :
4581 printf %s "(cached) " >&6
4582 else $as_nop
4583 cat >conftest.make <<\_ACEOF
4584 SHELL = /bin/sh
4585 all:
4586 @echo '@@@%%%=$(MAKE)=@@@%%%'
4587 _ACEOF
4588 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4589 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4590 *@@@%%%=?*=@@@%%%*)
4591 eval ac_cv_prog_make_${ac_make}_set=yes;;
4593 eval ac_cv_prog_make_${ac_make}_set=no;;
4594 esac
4595 rm -f conftest.make
4597 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4599 printf "%s\n" "yes" >&6; }
4600 SET_MAKE=
4601 else
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 printf "%s\n" "no" >&6; }
4604 SET_MAKE="MAKE=${MAKE-make}"
4616 ac_ext=c
4617 ac_cpp='$CPP $CPPFLAGS'
4618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4621 if test -n "$ac_tool_prefix"; then
4622 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4623 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4625 printf %s "checking for $ac_word... " >&6; }
4626 if test ${ac_cv_prog_CC+y}
4627 then :
4628 printf %s "(cached) " >&6
4629 else $as_nop
4630 if test -n "$CC"; then
4631 ac_cv_prog_CC="$CC" # Let the user override the test.
4632 else
4633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4634 for as_dir in $PATH
4636 IFS=$as_save_IFS
4637 case $as_dir in #(((
4638 '') as_dir=./ ;;
4639 */) ;;
4640 *) as_dir=$as_dir/ ;;
4641 esac
4642 for ac_exec_ext in '' $ac_executable_extensions; do
4643 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4644 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4646 break 2
4648 done
4649 done
4650 IFS=$as_save_IFS
4654 CC=$ac_cv_prog_CC
4655 if test -n "$CC"; then
4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4657 printf "%s\n" "$CC" >&6; }
4658 else
4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660 printf "%s\n" "no" >&6; }
4665 if test -z "$ac_cv_prog_CC"; then
4666 ac_ct_CC=$CC
4667 # Extract the first word of "gcc", so it can be a program name with args.
4668 set dummy 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_ac_ct_CC+y}
4672 then :
4673 printf %s "(cached) " >&6
4674 else $as_nop
4675 if test -n "$ac_ct_CC"; then
4676 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4700 if test -n "$ac_ct_CC"; then
4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4702 printf "%s\n" "$ac_ct_CC" >&6; }
4703 else
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4705 printf "%s\n" "no" >&6; }
4708 if test "x$ac_ct_CC" = x; then
4709 CC=""
4710 else
4711 case $cross_compiling:$ac_tool_warned in
4712 yes:)
4713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4716 esac
4717 CC=$ac_ct_CC
4719 else
4720 CC="$ac_cv_prog_CC"
4723 if test -z "$CC"; then
4724 if test -n "$ac_tool_prefix"; then
4725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4726 set dummy ${ac_tool_prefix}cc; ac_word=$2
4727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 printf %s "checking for $ac_word... " >&6; }
4729 if test ${ac_cv_prog_CC+y}
4730 then :
4731 printf %s "(cached) " >&6
4732 else $as_nop
4733 if test -n "$CC"; then
4734 ac_cv_prog_CC="$CC" # Let the user override the test.
4735 else
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4739 IFS=$as_save_IFS
4740 case $as_dir in #(((
4741 '') as_dir=./ ;;
4742 */) ;;
4743 *) as_dir=$as_dir/ ;;
4744 esac
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4747 ac_cv_prog_CC="${ac_tool_prefix}cc"
4748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4749 break 2
4751 done
4752 done
4753 IFS=$as_save_IFS
4757 CC=$ac_cv_prog_CC
4758 if test -n "$CC"; then
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4760 printf "%s\n" "$CC" >&6; }
4761 else
4762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 printf "%s\n" "no" >&6; }
4769 if test -z "$CC"; then
4770 # Extract the first word of "cc", so it can be a program name with args.
4771 set dummy 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 ac_prog_rejected=no
4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 for as_dir in $PATH
4785 IFS=$as_save_IFS
4786 case $as_dir in #(((
4787 '') as_dir=./ ;;
4788 */) ;;
4789 *) as_dir=$as_dir/ ;;
4790 esac
4791 for ac_exec_ext in '' $ac_executable_extensions; do
4792 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4793 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4794 ac_prog_rejected=yes
4795 continue
4797 ac_cv_prog_CC="cc"
4798 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4799 break 2
4801 done
4802 done
4803 IFS=$as_save_IFS
4805 if test $ac_prog_rejected = yes; then
4806 # We found a bogon in the path, so make sure we never use it.
4807 set dummy $ac_cv_prog_CC
4808 shift
4809 if test $# != 0; then
4810 # We chose a different compiler from the bogus one.
4811 # However, it has the same basename, so the bogon will be chosen
4812 # first if we set CC to just the basename; use the full file name.
4813 shift
4814 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4819 CC=$ac_cv_prog_CC
4820 if test -n "$CC"; then
4821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4822 printf "%s\n" "$CC" >&6; }
4823 else
4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 printf "%s\n" "no" >&6; }
4830 if test -z "$CC"; then
4831 if test -n "$ac_tool_prefix"; then
4832 for ac_prog in cl.exe
4834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4837 printf %s "checking for $ac_word... " >&6; }
4838 if test ${ac_cv_prog_CC+y}
4839 then :
4840 printf %s "(cached) " >&6
4841 else $as_nop
4842 if test -n "$CC"; then
4843 ac_cv_prog_CC="$CC" # Let the user override the test.
4844 else
4845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4846 for as_dir in $PATH
4848 IFS=$as_save_IFS
4849 case $as_dir in #(((
4850 '') as_dir=./ ;;
4851 */) ;;
4852 *) as_dir=$as_dir/ ;;
4853 esac
4854 for ac_exec_ext in '' $ac_executable_extensions; do
4855 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4856 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4858 break 2
4860 done
4861 done
4862 IFS=$as_save_IFS
4866 CC=$ac_cv_prog_CC
4867 if test -n "$CC"; then
4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4869 printf "%s\n" "$CC" >&6; }
4870 else
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 printf "%s\n" "no" >&6; }
4876 test -n "$CC" && break
4877 done
4879 if test -z "$CC"; then
4880 ac_ct_CC=$CC
4881 for ac_prog in cl.exe
4883 # Extract the first word of "$ac_prog", so it can be a program name with args.
4884 set dummy $ac_prog; ac_word=$2
4885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 printf %s "checking for $ac_word... " >&6; }
4887 if test ${ac_cv_prog_ac_ct_CC+y}
4888 then :
4889 printf %s "(cached) " >&6
4890 else $as_nop
4891 if test -n "$ac_ct_CC"; then
4892 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4893 else
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH
4897 IFS=$as_save_IFS
4898 case $as_dir in #(((
4899 '') as_dir=./ ;;
4900 */) ;;
4901 *) as_dir=$as_dir/ ;;
4902 esac
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_ac_ct_CC="$ac_prog"
4906 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4916 if test -n "$ac_ct_CC"; then
4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4918 printf "%s\n" "$ac_ct_CC" >&6; }
4919 else
4920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 printf "%s\n" "no" >&6; }
4925 test -n "$ac_ct_CC" && break
4926 done
4928 if test "x$ac_ct_CC" = x; then
4929 CC=""
4930 else
4931 case $cross_compiling:$ac_tool_warned in
4932 yes:)
4933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4934 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4935 ac_tool_warned=yes ;;
4936 esac
4937 CC=$ac_ct_CC
4942 if test -z "$CC"; then
4943 if test -n "$ac_tool_prefix"; then
4944 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4945 set dummy ${ac_tool_prefix}clang; ac_word=$2
4946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 printf %s "checking for $ac_word... " >&6; }
4948 if test ${ac_cv_prog_CC+y}
4949 then :
4950 printf %s "(cached) " >&6
4951 else $as_nop
4952 if test -n "$CC"; then
4953 ac_cv_prog_CC="$CC" # Let the user override the test.
4954 else
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH
4958 IFS=$as_save_IFS
4959 case $as_dir in #(((
4960 '') as_dir=./ ;;
4961 */) ;;
4962 *) as_dir=$as_dir/ ;;
4963 esac
4964 for ac_exec_ext in '' $ac_executable_extensions; do
4965 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4966 ac_cv_prog_CC="${ac_tool_prefix}clang"
4967 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4968 break 2
4970 done
4971 done
4972 IFS=$as_save_IFS
4976 CC=$ac_cv_prog_CC
4977 if test -n "$CC"; then
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4979 printf "%s\n" "$CC" >&6; }
4980 else
4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 printf "%s\n" "no" >&6; }
4987 if test -z "$ac_cv_prog_CC"; then
4988 ac_ct_CC=$CC
4989 # Extract the first word of "clang", so it can be a program name with args.
4990 set dummy 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_ac_ct_CC+y}
4994 then :
4995 printf %s "(cached) " >&6
4996 else $as_nop
4997 if test -n "$ac_ct_CC"; then
4998 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 case $as_dir in #(((
5005 '') as_dir=./ ;;
5006 */) ;;
5007 *) as_dir=$as_dir/ ;;
5008 esac
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5011 ac_cv_prog_ac_ct_CC="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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5022 if test -n "$ac_ct_CC"; then
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5024 printf "%s\n" "$ac_ct_CC" >&6; }
5025 else
5026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 printf "%s\n" "no" >&6; }
5030 if test "x$ac_ct_CC" = x; then
5031 CC=""
5032 else
5033 case $cross_compiling:$ac_tool_warned in
5034 yes:)
5035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5036 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5037 ac_tool_warned=yes ;;
5038 esac
5039 CC=$ac_ct_CC
5041 else
5042 CC="$ac_cv_prog_CC"
5048 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5049 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5050 as_fn_error $? "no acceptable C compiler found in \$PATH
5051 See \`config.log' for more details" "$LINENO" 5; }
5053 # Provide some information about the compiler.
5054 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5055 set X $ac_compile
5056 ac_compiler=$2
5057 for ac_option in --version -v -V -qversion -version; do
5058 { { ac_try="$ac_compiler $ac_option >&5"
5059 case "(($ac_try" in
5060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5061 *) ac_try_echo=$ac_try;;
5062 esac
5063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5064 printf "%s\n" "$ac_try_echo"; } >&5
5065 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5066 ac_status=$?
5067 if test -s conftest.err; then
5068 sed '10a\
5069 ... rest of stderr output deleted ...
5070 10q' conftest.err >conftest.er1
5071 cat conftest.er1 >&5
5073 rm -f conftest.er1 conftest.err
5074 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5075 test $ac_status = 0; }
5076 done
5078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5079 /* end confdefs.h. */
5082 main (void)
5086 return 0;
5088 _ACEOF
5089 ac_clean_files_save=$ac_clean_files
5090 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5091 # Try to create an executable without -o first, disregard a.out.
5092 # It will help us diagnose broken compilers, and finding out an intuition
5093 # of exeext.
5094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5095 printf %s "checking whether the C compiler works... " >&6; }
5096 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5098 # The possible output files:
5099 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5101 ac_rmfiles=
5102 for ac_file in $ac_files
5104 case $ac_file in
5105 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5106 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5107 esac
5108 done
5109 rm -f $ac_rmfiles
5111 if { { ac_try="$ac_link_default"
5112 case "(($ac_try" in
5113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5114 *) ac_try_echo=$ac_try;;
5115 esac
5116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5117 printf "%s\n" "$ac_try_echo"; } >&5
5118 (eval "$ac_link_default") 2>&5
5119 ac_status=$?
5120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5121 test $ac_status = 0; }
5122 then :
5123 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5124 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5125 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5126 # so that the user can short-circuit this test for compilers unknown to
5127 # Autoconf.
5128 for ac_file in $ac_files ''
5130 test -f "$ac_file" || continue
5131 case $ac_file in
5132 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5134 [ab].out )
5135 # We found the default executable, but exeext='' is most
5136 # certainly right.
5137 break;;
5138 *.* )
5139 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5140 then :; else
5141 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5143 # We set ac_cv_exeext here because the later test for it is not
5144 # safe: cross compilers may not add the suffix if given an `-o'
5145 # argument, so we may need to know it at that point already.
5146 # Even if this section looks crufty: it has the advantage of
5147 # actually working.
5148 break;;
5150 break;;
5151 esac
5152 done
5153 test "$ac_cv_exeext" = no && ac_cv_exeext=
5155 else $as_nop
5156 ac_file=''
5158 if test -z "$ac_file"
5159 then :
5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 printf "%s\n" "no" >&6; }
5162 printf "%s\n" "$as_me: failed program was:" >&5
5163 sed 's/^/| /' conftest.$ac_ext >&5
5165 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5166 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5167 as_fn_error 77 "C compiler cannot create executables
5168 See \`config.log' for more details" "$LINENO" 5; }
5169 else $as_nop
5170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5171 printf "%s\n" "yes" >&6; }
5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5174 printf %s "checking for C compiler default output file name... " >&6; }
5175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5176 printf "%s\n" "$ac_file" >&6; }
5177 ac_exeext=$ac_cv_exeext
5179 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5180 ac_clean_files=$ac_clean_files_save
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5182 printf %s "checking for suffix of executables... " >&6; }
5183 if { { ac_try="$ac_link"
5184 case "(($ac_try" in
5185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5186 *) ac_try_echo=$ac_try;;
5187 esac
5188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5189 printf "%s\n" "$ac_try_echo"; } >&5
5190 (eval "$ac_link") 2>&5
5191 ac_status=$?
5192 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5193 test $ac_status = 0; }
5194 then :
5195 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5196 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5197 # work properly (i.e., refer to `conftest.exe'), while it won't with
5198 # `rm'.
5199 for ac_file in conftest.exe conftest conftest.*; do
5200 test -f "$ac_file" || continue
5201 case $ac_file in
5202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5203 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5204 break;;
5205 * ) break;;
5206 esac
5207 done
5208 else $as_nop
5209 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5210 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5211 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5212 See \`config.log' for more details" "$LINENO" 5; }
5214 rm -f conftest conftest$ac_cv_exeext
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5216 printf "%s\n" "$ac_cv_exeext" >&6; }
5218 rm -f conftest.$ac_ext
5219 EXEEXT=$ac_cv_exeext
5220 ac_exeext=$EXEEXT
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5223 #include <stdio.h>
5225 main (void)
5227 FILE *f = fopen ("conftest.out", "w");
5228 return ferror (f) || fclose (f) != 0;
5231 return 0;
5233 _ACEOF
5234 ac_clean_files="$ac_clean_files conftest.out"
5235 # Check that the compiler produces executables we can run. If not, either
5236 # the compiler is broken, or we cross compile.
5237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5238 printf %s "checking whether we are cross compiling... " >&6; }
5239 if test "$cross_compiling" != yes; then
5240 { { ac_try="$ac_link"
5241 case "(($ac_try" in
5242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5243 *) ac_try_echo=$ac_try;;
5244 esac
5245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5246 printf "%s\n" "$ac_try_echo"; } >&5
5247 (eval "$ac_link") 2>&5
5248 ac_status=$?
5249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5250 test $ac_status = 0; }
5251 if { ac_try='./conftest$ac_cv_exeext'
5252 { { case "(($ac_try" in
5253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5254 *) ac_try_echo=$ac_try;;
5255 esac
5256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5257 printf "%s\n" "$ac_try_echo"; } >&5
5258 (eval "$ac_try") 2>&5
5259 ac_status=$?
5260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5261 test $ac_status = 0; }; }; then
5262 cross_compiling=no
5263 else
5264 if test "$cross_compiling" = maybe; then
5265 cross_compiling=yes
5266 else
5267 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5268 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5269 as_fn_error 77 "cannot run C compiled programs.
5270 If you meant to cross compile, use \`--host'.
5271 See \`config.log' for more details" "$LINENO" 5; }
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5276 printf "%s\n" "$cross_compiling" >&6; }
5278 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5279 ac_clean_files=$ac_clean_files_save
5280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5281 printf %s "checking for suffix of object files... " >&6; }
5282 if test ${ac_cv_objext+y}
5283 then :
5284 printf %s "(cached) " >&6
5285 else $as_nop
5286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5290 main (void)
5294 return 0;
5296 _ACEOF
5297 rm -f conftest.o conftest.obj
5298 if { { ac_try="$ac_compile"
5299 case "(($ac_try" in
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5302 esac
5303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5304 printf "%s\n" "$ac_try_echo"; } >&5
5305 (eval "$ac_compile") 2>&5
5306 ac_status=$?
5307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5308 test $ac_status = 0; }
5309 then :
5310 for ac_file in conftest.o conftest.obj conftest.*; do
5311 test -f "$ac_file" || continue;
5312 case $ac_file in
5313 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5314 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5315 break;;
5316 esac
5317 done
5318 else $as_nop
5319 printf "%s\n" "$as_me: failed program was:" >&5
5320 sed 's/^/| /' conftest.$ac_ext >&5
5322 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5323 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5324 as_fn_error $? "cannot compute suffix of object files: cannot compile
5325 See \`config.log' for more details" "$LINENO" 5; }
5327 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5330 printf "%s\n" "$ac_cv_objext" >&6; }
5331 OBJEXT=$ac_cv_objext
5332 ac_objext=$OBJEXT
5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5334 printf %s "checking whether the compiler supports GNU C... " >&6; }
5335 if test ${ac_cv_c_compiler_gnu+y}
5336 then :
5337 printf %s "(cached) " >&6
5338 else $as_nop
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5343 main (void)
5345 #ifndef __GNUC__
5346 choke me
5347 #endif
5350 return 0;
5352 _ACEOF
5353 if ac_fn_c_try_compile "$LINENO"
5354 then :
5355 ac_compiler_gnu=yes
5356 else $as_nop
5357 ac_compiler_gnu=no
5359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5364 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5367 if test $ac_compiler_gnu = yes; then
5368 GCC=yes
5369 else
5370 GCC=
5372 ac_test_CFLAGS=${CFLAGS+y}
5373 ac_save_CFLAGS=$CFLAGS
5374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5375 printf %s "checking whether $CC accepts -g... " >&6; }
5376 if test ${ac_cv_prog_cc_g+y}
5377 then :
5378 printf %s "(cached) " >&6
5379 else $as_nop
5380 ac_save_c_werror_flag=$ac_c_werror_flag
5381 ac_c_werror_flag=yes
5382 ac_cv_prog_cc_g=no
5383 CFLAGS="-g"
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5388 main (void)
5392 return 0;
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"
5396 then :
5397 ac_cv_prog_cc_g=yes
5398 else $as_nop
5399 CFLAGS=""
5400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5404 main (void)
5408 return 0;
5410 _ACEOF
5411 if ac_fn_c_try_compile "$LINENO"
5412 then :
5414 else $as_nop
5415 ac_c_werror_flag=$ac_save_c_werror_flag
5416 CFLAGS="-g"
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5421 main (void)
5425 return 0;
5427 _ACEOF
5428 if ac_fn_c_try_compile "$LINENO"
5429 then :
5430 ac_cv_prog_cc_g=yes
5432 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5436 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5437 ac_c_werror_flag=$ac_save_c_werror_flag
5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5440 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5441 if test $ac_test_CFLAGS; then
5442 CFLAGS=$ac_save_CFLAGS
5443 elif test $ac_cv_prog_cc_g = yes; then
5444 if test "$GCC" = yes; then
5445 CFLAGS="-g -O2"
5446 else
5447 CFLAGS="-g"
5449 else
5450 if test "$GCC" = yes; then
5451 CFLAGS="-O2"
5452 else
5453 CFLAGS=
5456 ac_prog_cc_stdc=no
5457 if test x$ac_prog_cc_stdc = xno
5458 then :
5459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5460 printf %s "checking for $CC option to enable C11 features... " >&6; }
5461 if test ${ac_cv_prog_cc_c11+y}
5462 then :
5463 printf %s "(cached) " >&6
5464 else $as_nop
5465 ac_cv_prog_cc_c11=no
5466 ac_save_CC=$CC
5467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5469 $ac_c_conftest_c11_program
5470 _ACEOF
5471 for ac_arg in '' -std=gnu11
5473 CC="$ac_save_CC $ac_arg"
5474 if ac_fn_c_try_compile "$LINENO"
5475 then :
5476 ac_cv_prog_cc_c11=$ac_arg
5478 rm -f core conftest.err conftest.$ac_objext conftest.beam
5479 test "x$ac_cv_prog_cc_c11" != "xno" && break
5480 done
5481 rm -f conftest.$ac_ext
5482 CC=$ac_save_CC
5485 if test "x$ac_cv_prog_cc_c11" = xno
5486 then :
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5488 printf "%s\n" "unsupported" >&6; }
5489 else $as_nop
5490 if test "x$ac_cv_prog_cc_c11" = x
5491 then :
5492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5493 printf "%s\n" "none needed" >&6; }
5494 else $as_nop
5495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5496 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5497 CC="$CC $ac_cv_prog_cc_c11"
5499 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5500 ac_prog_cc_stdc=c11
5503 if test x$ac_prog_cc_stdc = xno
5504 then :
5505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5506 printf %s "checking for $CC option to enable C99 features... " >&6; }
5507 if test ${ac_cv_prog_cc_c99+y}
5508 then :
5509 printf %s "(cached) " >&6
5510 else $as_nop
5511 ac_cv_prog_cc_c99=no
5512 ac_save_CC=$CC
5513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5514 /* end confdefs.h. */
5515 $ac_c_conftest_c99_program
5516 _ACEOF
5517 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5519 CC="$ac_save_CC $ac_arg"
5520 if ac_fn_c_try_compile "$LINENO"
5521 then :
5522 ac_cv_prog_cc_c99=$ac_arg
5524 rm -f core conftest.err conftest.$ac_objext conftest.beam
5525 test "x$ac_cv_prog_cc_c99" != "xno" && break
5526 done
5527 rm -f conftest.$ac_ext
5528 CC=$ac_save_CC
5531 if test "x$ac_cv_prog_cc_c99" = xno
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5534 printf "%s\n" "unsupported" >&6; }
5535 else $as_nop
5536 if test "x$ac_cv_prog_cc_c99" = x
5537 then :
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5539 printf "%s\n" "none needed" >&6; }
5540 else $as_nop
5541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5542 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5543 CC="$CC $ac_cv_prog_cc_c99"
5545 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5546 ac_prog_cc_stdc=c99
5549 if test x$ac_prog_cc_stdc = xno
5550 then :
5551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5552 printf %s "checking for $CC option to enable C89 features... " >&6; }
5553 if test ${ac_cv_prog_cc_c89+y}
5554 then :
5555 printf %s "(cached) " >&6
5556 else $as_nop
5557 ac_cv_prog_cc_c89=no
5558 ac_save_CC=$CC
5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5561 $ac_c_conftest_c89_program
5562 _ACEOF
5563 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5565 CC="$ac_save_CC $ac_arg"
5566 if ac_fn_c_try_compile "$LINENO"
5567 then :
5568 ac_cv_prog_cc_c89=$ac_arg
5570 rm -f core conftest.err conftest.$ac_objext conftest.beam
5571 test "x$ac_cv_prog_cc_c89" != "xno" && break
5572 done
5573 rm -f conftest.$ac_ext
5574 CC=$ac_save_CC
5577 if test "x$ac_cv_prog_cc_c89" = xno
5578 then :
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5580 printf "%s\n" "unsupported" >&6; }
5581 else $as_nop
5582 if test "x$ac_cv_prog_cc_c89" = x
5583 then :
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5585 printf "%s\n" "none needed" >&6; }
5586 else $as_nop
5587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5588 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5589 CC="$CC $ac_cv_prog_cc_c89"
5591 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5592 ac_prog_cc_stdc=c89
5596 ac_ext=c
5597 ac_cpp='$CPP $CPPFLAGS'
5598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5608 ac_ext=cpp
5609 ac_cpp='$CXXCPP $CPPFLAGS'
5610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5613 if test -z "$CXX"; then
5614 if test -n "$CCC"; then
5615 CXX=$CCC
5616 else
5617 if test -n "$ac_tool_prefix"; then
5618 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5620 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5621 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 printf %s "checking for $ac_word... " >&6; }
5624 if test ${ac_cv_prog_CXX+y}
5625 then :
5626 printf %s "(cached) " >&6
5627 else $as_nop
5628 if test -n "$CXX"; then
5629 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5630 else
5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632 for as_dir in $PATH
5634 IFS=$as_save_IFS
5635 case $as_dir in #(((
5636 '') as_dir=./ ;;
5637 */) ;;
5638 *) as_dir=$as_dir/ ;;
5639 esac
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5642 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5643 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 CXX=$ac_cv_prog_CXX
5653 if test -n "$CXX"; then
5654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5655 printf "%s\n" "$CXX" >&6; }
5656 else
5657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 printf "%s\n" "no" >&6; }
5662 test -n "$CXX" && break
5663 done
5665 if test -z "$CXX"; then
5666 ac_ct_CXX=$CXX
5667 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5669 # Extract the first word of "$ac_prog", so it can be a program name with args.
5670 set dummy $ac_prog; ac_word=$2
5671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5672 printf %s "checking for $ac_word... " >&6; }
5673 if test ${ac_cv_prog_ac_ct_CXX+y}
5674 then :
5675 printf %s "(cached) " >&6
5676 else $as_nop
5677 if test -n "$ac_ct_CXX"; then
5678 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5679 else
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5681 for as_dir in $PATH
5683 IFS=$as_save_IFS
5684 case $as_dir in #(((
5685 '') as_dir=./ ;;
5686 */) ;;
5687 *) as_dir=$as_dir/ ;;
5688 esac
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_ac_ct_CXX="$ac_prog"
5692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5702 if test -n "$ac_ct_CXX"; then
5703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5704 printf "%s\n" "$ac_ct_CXX" >&6; }
5705 else
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 printf "%s\n" "no" >&6; }
5711 test -n "$ac_ct_CXX" && break
5712 done
5714 if test "x$ac_ct_CXX" = x; then
5715 CXX="g++"
5716 else
5717 case $cross_compiling:$ac_tool_warned in
5718 yes:)
5719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5720 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5721 ac_tool_warned=yes ;;
5722 esac
5723 CXX=$ac_ct_CXX
5729 # Provide some information about the compiler.
5730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5731 set X $ac_compile
5732 ac_compiler=$2
5733 for ac_option in --version -v -V -qversion; do
5734 { { ac_try="$ac_compiler $ac_option >&5"
5735 case "(($ac_try" in
5736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737 *) ac_try_echo=$ac_try;;
5738 esac
5739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5740 printf "%s\n" "$ac_try_echo"; } >&5
5741 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5742 ac_status=$?
5743 if test -s conftest.err; then
5744 sed '10a\
5745 ... rest of stderr output deleted ...
5746 10q' conftest.err >conftest.er1
5747 cat conftest.er1 >&5
5749 rm -f conftest.er1 conftest.err
5750 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5751 test $ac_status = 0; }
5752 done
5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5755 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5756 if test ${ac_cv_cxx_compiler_gnu+y}
5757 then :
5758 printf %s "(cached) " >&6
5759 else $as_nop
5760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5761 /* end confdefs.h. */
5764 main (void)
5766 #ifndef __GNUC__
5767 choke me
5768 #endif
5771 return 0;
5773 _ACEOF
5774 if ac_fn_cxx_try_compile "$LINENO"
5775 then :
5776 ac_compiler_gnu=yes
5777 else $as_nop
5778 ac_compiler_gnu=no
5780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5781 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5785 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5788 if test $ac_compiler_gnu = yes; then
5789 GXX=yes
5790 else
5791 GXX=
5793 ac_test_CXXFLAGS=${CXXFLAGS+y}
5794 ac_save_CXXFLAGS=$CXXFLAGS
5795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5796 printf %s "checking whether $CXX accepts -g... " >&6; }
5797 if test ${ac_cv_prog_cxx_g+y}
5798 then :
5799 printf %s "(cached) " >&6
5800 else $as_nop
5801 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5802 ac_cxx_werror_flag=yes
5803 ac_cv_prog_cxx_g=no
5804 CXXFLAGS="-g"
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5809 main (void)
5813 return 0;
5815 _ACEOF
5816 if ac_fn_cxx_try_compile "$LINENO"
5817 then :
5818 ac_cv_prog_cxx_g=yes
5819 else $as_nop
5820 CXXFLAGS=""
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5825 main (void)
5829 return 0;
5831 _ACEOF
5832 if ac_fn_cxx_try_compile "$LINENO"
5833 then :
5835 else $as_nop
5836 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5837 CXXFLAGS="-g"
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5842 main (void)
5846 return 0;
5848 _ACEOF
5849 if ac_fn_cxx_try_compile "$LINENO"
5850 then :
5851 ac_cv_prog_cxx_g=yes
5853 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5858 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5861 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5862 if test $ac_test_CXXFLAGS; then
5863 CXXFLAGS=$ac_save_CXXFLAGS
5864 elif test $ac_cv_prog_cxx_g = yes; then
5865 if test "$GXX" = yes; then
5866 CXXFLAGS="-g -O2"
5867 else
5868 CXXFLAGS="-g"
5870 else
5871 if test "$GXX" = yes; then
5872 CXXFLAGS="-O2"
5873 else
5874 CXXFLAGS=
5877 ac_prog_cxx_stdcxx=no
5878 if test x$ac_prog_cxx_stdcxx = xno
5879 then :
5880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5881 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5882 if test ${ac_cv_prog_cxx_cxx11+y}
5883 then :
5884 printf %s "(cached) " >&6
5885 else $as_nop
5886 ac_cv_prog_cxx_cxx11=no
5887 ac_save_CXX=$CXX
5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5889 /* end confdefs.h. */
5890 $ac_cxx_conftest_cxx11_program
5891 _ACEOF
5892 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5894 CXX="$ac_save_CXX $ac_arg"
5895 if ac_fn_cxx_try_compile "$LINENO"
5896 then :
5897 ac_cv_prog_cxx_cxx11=$ac_arg
5899 rm -f core conftest.err conftest.$ac_objext conftest.beam
5900 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5901 done
5902 rm -f conftest.$ac_ext
5903 CXX=$ac_save_CXX
5906 if test "x$ac_cv_prog_cxx_cxx11" = xno
5907 then :
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5909 printf "%s\n" "unsupported" >&6; }
5910 else $as_nop
5911 if test "x$ac_cv_prog_cxx_cxx11" = x
5912 then :
5913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5914 printf "%s\n" "none needed" >&6; }
5915 else $as_nop
5916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5917 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5918 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5920 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5921 ac_prog_cxx_stdcxx=cxx11
5924 if test x$ac_prog_cxx_stdcxx = xno
5925 then :
5926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5927 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5928 if test ${ac_cv_prog_cxx_cxx98+y}
5929 then :
5930 printf %s "(cached) " >&6
5931 else $as_nop
5932 ac_cv_prog_cxx_cxx98=no
5933 ac_save_CXX=$CXX
5934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5936 $ac_cxx_conftest_cxx98_program
5937 _ACEOF
5938 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5940 CXX="$ac_save_CXX $ac_arg"
5941 if ac_fn_cxx_try_compile "$LINENO"
5942 then :
5943 ac_cv_prog_cxx_cxx98=$ac_arg
5945 rm -f core conftest.err conftest.$ac_objext conftest.beam
5946 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5947 done
5948 rm -f conftest.$ac_ext
5949 CXX=$ac_save_CXX
5952 if test "x$ac_cv_prog_cxx_cxx98" = xno
5953 then :
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5955 printf "%s\n" "unsupported" >&6; }
5956 else $as_nop
5957 if test "x$ac_cv_prog_cxx_cxx98" = x
5958 then :
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5960 printf "%s\n" "none needed" >&6; }
5961 else $as_nop
5962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5963 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5964 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5966 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5967 ac_prog_cxx_stdcxx=cxx98
5971 ac_ext=c
5972 ac_cpp='$CPP $CPPFLAGS'
5973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5977 if test -n "$ac_tool_prefix"; then
5978 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5979 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 printf %s "checking for $ac_word... " >&6; }
5982 if test ${ac_cv_prog_CPPBIN+y}
5983 then :
5984 printf %s "(cached) " >&6
5985 else $as_nop
5986 if test -n "$CPPBIN"; then
5987 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5988 else
5989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990 for as_dir in $PATH
5992 IFS=$as_save_IFS
5993 case $as_dir in #(((
5994 '') as_dir=./ ;;
5995 */) ;;
5996 *) as_dir=$as_dir/ ;;
5997 esac
5998 for ac_exec_ext in '' $ac_executable_extensions; do
5999 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6000 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6002 break 2
6004 done
6005 done
6006 IFS=$as_save_IFS
6010 CPPBIN=$ac_cv_prog_CPPBIN
6011 if test -n "$CPPBIN"; then
6012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6013 printf "%s\n" "$CPPBIN" >&6; }
6014 else
6015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6016 printf "%s\n" "no" >&6; }
6021 if test -z "$ac_cv_prog_CPPBIN"; then
6022 ac_ct_CPPBIN=$CPPBIN
6023 # Extract the first word of "cpp", so it can be a program name with args.
6024 set dummy 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_ac_ct_CPPBIN+y}
6028 then :
6029 printf %s "(cached) " >&6
6030 else $as_nop
6031 if test -n "$ac_ct_CPPBIN"; then
6032 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_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_ac_ct_CPPBIN="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 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6056 if test -n "$ac_ct_CPPBIN"; then
6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6058 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6059 else
6060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6061 printf "%s\n" "no" >&6; }
6064 if test "x$ac_ct_CPPBIN" = x; then
6065 CPPBIN="cpp"
6066 else
6067 case $cross_compiling:$ac_tool_warned in
6068 yes:)
6069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6070 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6071 ac_tool_warned=yes ;;
6072 esac
6073 CPPBIN=$ac_ct_CPPBIN
6075 else
6076 CPPBIN="$ac_cv_prog_CPPBIN"
6080 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6082 if test -n "$ac_tool_prefix"; then
6083 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6084 set dummy ${ac_tool_prefix}ld; ac_word=$2
6085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 printf %s "checking for $ac_word... " >&6; }
6087 if test ${ac_cv_prog_LD+y}
6088 then :
6089 printf %s "(cached) " >&6
6090 else $as_nop
6091 if test -n "$LD"; then
6092 ac_cv_prog_LD="$LD" # Let the user override the test.
6093 else
6094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095 for as_dir in $PATH
6097 IFS=$as_save_IFS
6098 case $as_dir in #(((
6099 '') as_dir=./ ;;
6100 */) ;;
6101 *) as_dir=$as_dir/ ;;
6102 esac
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6105 ac_cv_prog_LD="${ac_tool_prefix}ld"
6106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 LD=$ac_cv_prog_LD
6116 if test -n "$LD"; then
6117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6118 printf "%s\n" "$LD" >&6; }
6119 else
6120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 printf "%s\n" "no" >&6; }
6126 if test -z "$ac_cv_prog_LD"; then
6127 ac_ct_LD=$LD
6128 # Extract the first word of "ld", so it can be a program name with args.
6129 set dummy 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_ac_ct_LD+y}
6133 then :
6134 printf %s "(cached) " >&6
6135 else $as_nop
6136 if test -n "$ac_ct_LD"; then
6137 ac_cv_prog_ac_ct_LD="$ac_ct_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_ac_ct_LD="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 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6161 if test -n "$ac_ct_LD"; then
6162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6163 printf "%s\n" "$ac_ct_LD" >&6; }
6164 else
6165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6166 printf "%s\n" "no" >&6; }
6169 if test "x$ac_ct_LD" = x; then
6170 LD=""
6171 else
6172 case $cross_compiling:$ac_tool_warned in
6173 yes:)
6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6175 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6176 ac_tool_warned=yes ;;
6177 esac
6178 LD=$ac_ct_LD
6180 else
6181 LD="$ac_cv_prog_LD"
6185 case $host in
6186 *-darwin*)
6187 with_fontconfig=${with_fontconfig:-no}
6189 *-mingw32*|*-cygwin*)
6190 enable_win16=${enable_win16:-no}
6191 with_mingw=${with_mingw:-no}
6193 esac
6196 case $host in
6197 x86_64*|amd64*)
6198 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6199 then
6200 CC="$CC -m32"
6201 CXX="$CXX -m32"
6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6204 printf %s "checking whether $CC works... " >&6; }
6205 if test ${wine_cv_cc_m32+y}
6206 then :
6207 printf %s "(cached) " >&6
6208 else $as_nop
6209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6210 /* end confdefs.h. */
6213 main (void)
6217 return 0;
6219 _ACEOF
6220 if ac_fn_c_try_link "$LINENO"
6221 then :
6222 wine_cv_cc_m32=yes
6223 else $as_nop
6224 wine_cv_cc_m32=no
6226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6227 conftest$ac_exeext conftest.$ac_ext
6229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6230 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6231 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
6232 host_cpu="i386"
6233 notice_platform="32-bit "
6234 TARGETFLAGS="$TARGETFLAGS -m32"
6235 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6236 export PKG_CONFIG_LIBDIR
6237 with_unwind=${with_unwind:-no}
6238 else
6239 if test "x${GCC}" = "xyes"
6240 then
6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6242 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6243 if test ${wine_cv_builtin_ms_va_list+y}
6244 then :
6245 printf %s "(cached) " >&6
6246 else $as_nop
6247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6248 /* end confdefs.h. */
6249 #include <stdarg.h>
6251 main (void)
6253 void func(__builtin_ms_va_list *args);
6255 return 0;
6257 _ACEOF
6258 if ac_fn_c_try_compile "$LINENO"
6259 then :
6260 wine_cv_builtin_ms_va_list=yes
6261 else $as_nop
6262 wine_cv_builtin_ms_va_list=no
6264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6267 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6268 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6270 CC="$CC -m64"
6271 CXX="$CXX -m64"
6272 host_cpu="x86_64"
6273 notice_platform="64-bit "
6274 TARGETFLAGS="$TARGETFLAGS -m64"
6277 arm*)
6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6279 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6280 if test ${wine_cv_thumb2+y}
6281 then :
6282 printf %s "(cached) " >&6
6283 else $as_nop
6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6288 main (void)
6290 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6292 return 0;
6294 _ACEOF
6295 if ac_fn_c_try_link "$LINENO"
6296 then :
6297 wine_cv_thumb2=yes
6298 else $as_nop
6299 wine_cv_thumb2=no
6301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6302 conftest$ac_exeext conftest.$ac_ext
6304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6305 printf "%s\n" "$wine_cv_thumb2" >&6; }
6306 if test x"$wine_cv_thumb2" = xyes
6307 then
6308 CFLAGS="$CFLAGS -mthumb"
6309 TARGETFLAGS="$TARGETFLAGS -mthumb"
6310 else
6311 CFLAGS="$CFLAGS -marm"
6312 TARGETFLAGS="$TARGETFLAGS -marm"
6314 case $with_float_abi in
6315 soft|softfp|hard)
6316 float_abi=$with_float_abi ;;
6318 case $host_os in
6319 *eabihf)
6320 float_abi=hard ;;
6322 float_abi=softfp
6323 saved_CFLAGS=$CFLAGS
6324 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6326 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6327 if test ${wine_cv_float_abi+y}
6328 then :
6329 printf %s "(cached) " >&6
6330 else $as_nop
6331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h. */
6335 main (void)
6337 asm("vmrs r2,fpscr");
6339 return 0;
6341 _ACEOF
6342 if ac_fn_c_try_link "$LINENO"
6343 then :
6344 wine_cv_float_abi=yes
6345 else $as_nop
6346 wine_cv_float_abi=no
6348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6349 conftest$ac_exeext conftest.$ac_ext
6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6352 printf "%s\n" "$wine_cv_float_abi" >&6; }
6353 if test $wine_cv_float_abi = no
6354 then
6355 float_abi=soft
6356 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6358 CFLAGS=$saved_CFLAGS
6359 esac
6361 esac
6362 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6363 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6365 i[3456789]86*)
6366 with_unwind=${with_unwind:-no}
6368 esac
6370 enable_win16=${enable_win16:-i386}
6371 enable_win64=${enable_win64:-no}
6372 enable_wow64=${enable_wow64:-aarch64,x86_64}
6373 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6374 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6376 enable_winetest=${enable_winetest:-$enable_tests}
6378 if test "x$enable_win64" = "xyes"
6379 then
6380 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6381 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6384 case $build_os in
6385 cygwin*|mingw32*) toolsext=".exe"
6387 *) toolsext=""
6389 esac
6391 HOST_ARCH=unknown
6392 case "$host_cpu" in
6393 aarch64*) HOST_ARCH=aarch64 ;;
6394 arm*) HOST_ARCH=arm ;;
6395 i[3456789]86*) HOST_ARCH=i386 ;;
6396 x86_64) HOST_ARCH=x86_64 ;;
6397 esac
6400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6401 printf %s "checking for the directory containing the Wine tools... " >&6; }
6402 if test ${wine_cv_toolsdir+y}
6403 then :
6404 printf %s "(cached) " >&6
6405 else $as_nop
6406 wine_cv_toolsdir="$with_wine_tools"
6407 if test -z "$with_wine_tools"; then
6408 if test "$cross_compiling" = "yes"; then
6409 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6410 elif test -n "$with_wine64"; then
6411 wine_cv_toolsdir="$with_wine64"
6415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6416 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6417 if test -z "$wine_cv_toolsdir"; then
6418 wine_makedep=tools/makedep$toolsext
6419 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6420 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6421 enable_tools=${enable_tools:-no}
6422 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6423 else
6424 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6426 toolsdir=$wine_cv_toolsdir
6428 MAKEDEP=$wine_makedep
6430 RUNTESTFLAGS="-q -P wine"
6432 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'"
6435 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6436 then
6437 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6440 for ac_prog in flex
6442 # Extract the first word of "$ac_prog", so it can be a program name with args.
6443 set dummy $ac_prog; ac_word=$2
6444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 printf %s "checking for $ac_word... " >&6; }
6446 if test ${ac_cv_prog_FLEX+y}
6447 then :
6448 printf %s "(cached) " >&6
6449 else $as_nop
6450 if test -n "$FLEX"; then
6451 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6456 IFS=$as_save_IFS
6457 case $as_dir in #(((
6458 '') as_dir=./ ;;
6459 */) ;;
6460 *) as_dir=$as_dir/ ;;
6461 esac
6462 for ac_exec_ext in '' $ac_executable_extensions; do
6463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6464 ac_cv_prog_FLEX="$ac_prog"
6465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6466 break 2
6468 done
6469 done
6470 IFS=$as_save_IFS
6474 FLEX=$ac_cv_prog_FLEX
6475 if test -n "$FLEX"; then
6476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6477 printf "%s\n" "$FLEX" >&6; }
6478 else
6479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6480 printf "%s\n" "no" >&6; }
6484 test -n "$FLEX" && break
6485 done
6486 test -n "$FLEX" || FLEX="none"
6488 if test "$FLEX" = "none"
6489 then
6490 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6493 printf %s "checking whether flex is recent enough... " >&6; }
6494 if test ${wine_cv_recent_flex+y}
6495 then :
6496 printf %s "(cached) " >&6
6497 else $as_nop
6498 cat >conftest.l <<EOF
6499 %top{
6500 #include "prediluvian.h"
6504 if $FLEX -t conftest.l >/dev/null 2>&5
6505 then
6506 wine_cv_recent_flex=yes
6507 else
6508 wine_cv_recent_flex=no
6511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6512 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6513 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
6515 for ac_prog in bison
6517 # Extract the first word of "$ac_prog", so it can be a program name with args.
6518 set dummy $ac_prog; ac_word=$2
6519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6520 printf %s "checking for $ac_word... " >&6; }
6521 if test ${ac_cv_prog_BISON+y}
6522 then :
6523 printf %s "(cached) " >&6
6524 else $as_nop
6525 if test -n "$BISON"; then
6526 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6527 else
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529 for as_dir in $PATH
6531 IFS=$as_save_IFS
6532 case $as_dir in #(((
6533 '') as_dir=./ ;;
6534 */) ;;
6535 *) as_dir=$as_dir/ ;;
6536 esac
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_BISON="$ac_prog"
6540 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6541 break 2
6543 done
6544 done
6545 IFS=$as_save_IFS
6549 BISON=$ac_cv_prog_BISON
6550 if test -n "$BISON"; then
6551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6552 printf "%s\n" "$BISON" >&6; }
6553 else
6554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 printf "%s\n" "no" >&6; }
6559 test -n "$BISON" && break
6560 done
6561 test -n "$BISON" || BISON="none"
6563 if test "$BISON" = "none"
6564 then
6565 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6568 printf %s "checking whether bison is recent enough... " >&6; }
6569 if test ${wine_cv_recent_bison+y}
6570 then :
6571 printf %s "(cached) " >&6
6572 else $as_nop
6573 cat >conftest.y <<EOF
6574 %define parse.error verbose
6576 empty: ;
6578 if $BISON conftest.y >/dev/null 2>&5
6579 then
6580 wine_cv_recent_bison=yes
6581 else
6582 wine_cv_recent_bison=no
6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6586 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6587 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
6589 if test -n "$ac_tool_prefix"; then
6590 for ac_prog in ar gar
6592 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 printf %s "checking for $ac_word... " >&6; }
6596 if test ${ac_cv_prog_AR+y}
6597 then :
6598 printf %s "(cached) " >&6
6599 else $as_nop
6600 if test -n "$AR"; then
6601 ac_cv_prog_AR="$AR" # Let the user override the test.
6602 else
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 for as_dir in $PATH
6606 IFS=$as_save_IFS
6607 case $as_dir in #(((
6608 '') as_dir=./ ;;
6609 */) ;;
6610 *) as_dir=$as_dir/ ;;
6611 esac
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6614 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6616 break 2
6618 done
6619 done
6620 IFS=$as_save_IFS
6624 AR=$ac_cv_prog_AR
6625 if test -n "$AR"; then
6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6627 printf "%s\n" "$AR" >&6; }
6628 else
6629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 printf "%s\n" "no" >&6; }
6634 test -n "$AR" && break
6635 done
6637 if test -z "$AR"; then
6638 ac_ct_AR=$AR
6639 for ac_prog in ar gar
6641 # Extract the first word of "$ac_prog", so it can be a program name with args.
6642 set dummy $ac_prog; ac_word=$2
6643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 printf %s "checking for $ac_word... " >&6; }
6645 if test ${ac_cv_prog_ac_ct_AR+y}
6646 then :
6647 printf %s "(cached) " >&6
6648 else $as_nop
6649 if test -n "$ac_ct_AR"; then
6650 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 case $as_dir in #(((
6657 '') as_dir=./ ;;
6658 */) ;;
6659 *) as_dir=$as_dir/ ;;
6660 esac
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6663 ac_cv_prog_ac_ct_AR="$ac_prog"
6664 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6674 if test -n "$ac_ct_AR"; then
6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6676 printf "%s\n" "$ac_ct_AR" >&6; }
6677 else
6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 printf "%s\n" "no" >&6; }
6683 test -n "$ac_ct_AR" && break
6684 done
6686 if test "x$ac_ct_AR" = x; then
6687 AR="ar"
6688 else
6689 case $cross_compiling:$ac_tool_warned in
6690 yes:)
6691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6692 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6693 ac_tool_warned=yes ;;
6694 esac
6695 AR=$ac_ct_AR
6699 if test -n "$ac_tool_prefix"; then
6700 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6701 set dummy ${ac_tool_prefix}strip; ac_word=$2
6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6703 printf %s "checking for $ac_word... " >&6; }
6704 if test ${ac_cv_prog_STRIP+y}
6705 then :
6706 printf %s "(cached) " >&6
6707 else $as_nop
6708 if test -n "$STRIP"; then
6709 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6710 else
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712 for as_dir in $PATH
6714 IFS=$as_save_IFS
6715 case $as_dir in #(((
6716 '') as_dir=./ ;;
6717 */) ;;
6718 *) as_dir=$as_dir/ ;;
6719 esac
6720 for ac_exec_ext in '' $ac_executable_extensions; do
6721 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6722 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6723 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6724 break 2
6726 done
6727 done
6728 IFS=$as_save_IFS
6732 STRIP=$ac_cv_prog_STRIP
6733 if test -n "$STRIP"; then
6734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6735 printf "%s\n" "$STRIP" >&6; }
6736 else
6737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6738 printf "%s\n" "no" >&6; }
6743 if test -z "$ac_cv_prog_STRIP"; then
6744 ac_ct_STRIP=$STRIP
6745 # Extract the first word of "strip", so it can be a program name with args.
6746 set dummy strip; ac_word=$2
6747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6748 printf %s "checking for $ac_word... " >&6; }
6749 if test ${ac_cv_prog_ac_ct_STRIP+y}
6750 then :
6751 printf %s "(cached) " >&6
6752 else $as_nop
6753 if test -n "$ac_ct_STRIP"; then
6754 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 case $as_dir in #(((
6761 '') as_dir=./ ;;
6762 */) ;;
6763 *) as_dir=$as_dir/ ;;
6764 esac
6765 for ac_exec_ext in '' $ac_executable_extensions; do
6766 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6767 ac_cv_prog_ac_ct_STRIP="strip"
6768 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6769 break 2
6771 done
6772 done
6773 IFS=$as_save_IFS
6777 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6778 if test -n "$ac_ct_STRIP"; then
6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6780 printf "%s\n" "$ac_ct_STRIP" >&6; }
6781 else
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783 printf "%s\n" "no" >&6; }
6786 if test "x$ac_ct_STRIP" = x; then
6787 STRIP="strip"
6788 else
6789 case $cross_compiling:$ac_tool_warned in
6790 yes:)
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793 ac_tool_warned=yes ;;
6794 esac
6795 STRIP=$ac_ct_STRIP
6797 else
6798 STRIP="$ac_cv_prog_STRIP"
6801 if test -n "$ac_tool_prefix"; then
6802 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6803 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 printf %s "checking for $ac_word... " >&6; }
6806 if test ${ac_cv_prog_RANLIB+y}
6807 then :
6808 printf %s "(cached) " >&6
6809 else $as_nop
6810 if test -n "$RANLIB"; then
6811 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6812 else
6813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 for as_dir in $PATH
6816 IFS=$as_save_IFS
6817 case $as_dir in #(((
6818 '') as_dir=./ ;;
6819 */) ;;
6820 *) as_dir=$as_dir/ ;;
6821 esac
6822 for ac_exec_ext in '' $ac_executable_extensions; do
6823 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6824 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6826 break 2
6828 done
6829 done
6830 IFS=$as_save_IFS
6834 RANLIB=$ac_cv_prog_RANLIB
6835 if test -n "$RANLIB"; then
6836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6837 printf "%s\n" "$RANLIB" >&6; }
6838 else
6839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 printf "%s\n" "no" >&6; }
6845 if test -z "$ac_cv_prog_RANLIB"; then
6846 ac_ct_RANLIB=$RANLIB
6847 # Extract the first word of "ranlib", so it can be a program name with args.
6848 set dummy ranlib; ac_word=$2
6849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 printf %s "checking for $ac_word... " >&6; }
6851 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6852 then :
6853 printf %s "(cached) " >&6
6854 else $as_nop
6855 if test -n "$ac_ct_RANLIB"; then
6856 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6857 else
6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859 for as_dir in $PATH
6861 IFS=$as_save_IFS
6862 case $as_dir in #(((
6863 '') as_dir=./ ;;
6864 */) ;;
6865 *) as_dir=$as_dir/ ;;
6866 esac
6867 for ac_exec_ext in '' $ac_executable_extensions; do
6868 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6869 ac_cv_prog_ac_ct_RANLIB="ranlib"
6870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6871 break 2
6873 done
6874 done
6875 IFS=$as_save_IFS
6879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6880 if test -n "$ac_ct_RANLIB"; then
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6882 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6883 else
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885 printf "%s\n" "no" >&6; }
6888 if test "x$ac_ct_RANLIB" = x; then
6889 RANLIB=":"
6890 else
6891 case $cross_compiling:$ac_tool_warned in
6892 yes:)
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6894 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6895 ac_tool_warned=yes ;;
6896 esac
6897 RANLIB=$ac_ct_RANLIB
6899 else
6900 RANLIB="$ac_cv_prog_RANLIB"
6903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6904 printf %s "checking whether ln -s works... " >&6; }
6905 LN_S=$as_ln_s
6906 if test "$LN_S" = "ln -s"; then
6907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6908 printf "%s\n" "yes" >&6; }
6909 else
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6911 printf "%s\n" "no, using $LN_S" >&6; }
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6915 printf %s "checking for grep that handles long lines and -e... " >&6; }
6916 if test ${ac_cv_path_GREP+y}
6917 then :
6918 printf %s "(cached) " >&6
6919 else $as_nop
6920 if test -z "$GREP"; then
6921 ac_path_GREP_found=false
6922 # Loop through the user's path and test for each of PROGNAME-LIST
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6926 IFS=$as_save_IFS
6927 case $as_dir in #(((
6928 '') as_dir=./ ;;
6929 */) ;;
6930 *) as_dir=$as_dir/ ;;
6931 esac
6932 for ac_prog in grep ggrep
6934 for ac_exec_ext in '' $ac_executable_extensions; do
6935 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6936 as_fn_executable_p "$ac_path_GREP" || continue
6937 # Check for GNU ac_path_GREP and select it if it is found.
6938 # Check for GNU $ac_path_GREP
6939 case `"$ac_path_GREP" --version 2>&1` in
6940 *GNU*)
6941 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6943 ac_count=0
6944 printf %s 0123456789 >"conftest.in"
6945 while :
6947 cat "conftest.in" "conftest.in" >"conftest.tmp"
6948 mv "conftest.tmp" "conftest.in"
6949 cp "conftest.in" "conftest.nl"
6950 printf "%s\n" 'GREP' >> "conftest.nl"
6951 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6952 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6953 as_fn_arith $ac_count + 1 && ac_count=$as_val
6954 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6955 # Best one so far, save it but keep looking for a better one
6956 ac_cv_path_GREP="$ac_path_GREP"
6957 ac_path_GREP_max=$ac_count
6959 # 10*(2^10) chars as input seems more than enough
6960 test $ac_count -gt 10 && break
6961 done
6962 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6963 esac
6965 $ac_path_GREP_found && break 3
6966 done
6967 done
6968 done
6969 IFS=$as_save_IFS
6970 if test -z "$ac_cv_path_GREP"; then
6971 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6973 else
6974 ac_cv_path_GREP=$GREP
6978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6979 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6980 GREP="$ac_cv_path_GREP"
6983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6984 printf %s "checking for egrep... " >&6; }
6985 if test ${ac_cv_path_EGREP+y}
6986 then :
6987 printf %s "(cached) " >&6
6988 else $as_nop
6989 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6990 then ac_cv_path_EGREP="$GREP -E"
6991 else
6992 if test -z "$EGREP"; then
6993 ac_path_EGREP_found=false
6994 # Loop through the user's path and test for each of PROGNAME-LIST
6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6996 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6998 IFS=$as_save_IFS
6999 case $as_dir in #(((
7000 '') as_dir=./ ;;
7001 */) ;;
7002 *) as_dir=$as_dir/ ;;
7003 esac
7004 for ac_prog in egrep
7006 for ac_exec_ext in '' $ac_executable_extensions; do
7007 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7008 as_fn_executable_p "$ac_path_EGREP" || continue
7009 # Check for GNU ac_path_EGREP and select it if it is found.
7010 # Check for GNU $ac_path_EGREP
7011 case `"$ac_path_EGREP" --version 2>&1` in
7012 *GNU*)
7013 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7015 ac_count=0
7016 printf %s 0123456789 >"conftest.in"
7017 while :
7019 cat "conftest.in" "conftest.in" >"conftest.tmp"
7020 mv "conftest.tmp" "conftest.in"
7021 cp "conftest.in" "conftest.nl"
7022 printf "%s\n" 'EGREP' >> "conftest.nl"
7023 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7024 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7025 as_fn_arith $ac_count + 1 && ac_count=$as_val
7026 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7027 # Best one so far, save it but keep looking for a better one
7028 ac_cv_path_EGREP="$ac_path_EGREP"
7029 ac_path_EGREP_max=$ac_count
7031 # 10*(2^10) chars as input seems more than enough
7032 test $ac_count -gt 10 && break
7033 done
7034 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7035 esac
7037 $ac_path_EGREP_found && break 3
7038 done
7039 done
7040 done
7041 IFS=$as_save_IFS
7042 if test -z "$ac_cv_path_EGREP"; then
7043 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7045 else
7046 ac_cv_path_EGREP=$EGREP
7051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7052 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7053 EGREP="$ac_cv_path_EGREP"
7056 # Extract the first word of "ldconfig", so it can be a program name with args.
7057 set dummy ldconfig; ac_word=$2
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059 printf %s "checking for $ac_word... " >&6; }
7060 if test ${ac_cv_path_LDCONFIG+y}
7061 then :
7062 printf %s "(cached) " >&6
7063 else $as_nop
7064 case $LDCONFIG in
7065 [\\/]* | ?:[\\/]*)
7066 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070 for as_dir in /sbin /usr/sbin $PATH
7072 IFS=$as_save_IFS
7073 case $as_dir in #(((
7074 '') as_dir=./ ;;
7075 */) ;;
7076 *) as_dir=$as_dir/ ;;
7077 esac
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7080 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7082 break 2
7084 done
7085 done
7086 IFS=$as_save_IFS
7088 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7090 esac
7092 LDCONFIG=$ac_cv_path_LDCONFIG
7093 if test -n "$LDCONFIG"; then
7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7095 printf "%s\n" "$LDCONFIG" >&6; }
7096 else
7097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098 printf "%s\n" "no" >&6; }
7102 for ac_prog in msgfmt
7104 # Extract the first word of "$ac_prog", so it can be a program name with args.
7105 set dummy $ac_prog; ac_word=$2
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7107 printf %s "checking for $ac_word... " >&6; }
7108 if test ${ac_cv_prog_MSGFMT+y}
7109 then :
7110 printf %s "(cached) " >&6
7111 else $as_nop
7112 if test -n "$MSGFMT"; then
7113 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7114 else
7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116 for as_dir in $PATH
7118 IFS=$as_save_IFS
7119 case $as_dir in #(((
7120 '') as_dir=./ ;;
7121 */) ;;
7122 *) as_dir=$as_dir/ ;;
7123 esac
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7126 ac_cv_prog_MSGFMT="$ac_prog"
7127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7128 break 2
7130 done
7131 done
7132 IFS=$as_save_IFS
7136 MSGFMT=$ac_cv_prog_MSGFMT
7137 if test -n "$MSGFMT"; then
7138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7139 printf "%s\n" "$MSGFMT" >&6; }
7140 else
7141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 printf "%s\n" "no" >&6; }
7146 test -n "$MSGFMT" && break
7147 done
7148 test -n "$MSGFMT" || MSGFMT="false"
7150 if test ${ac_tool_prefix+y}
7151 then :
7152 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7153 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7155 printf %s "checking for $ac_word... " >&6; }
7156 if test ${ac_cv_prog_PKG_CONFIG+y}
7157 then :
7158 printf %s "(cached) " >&6
7159 else $as_nop
7160 if test -n "$PKG_CONFIG"; then
7161 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7162 else
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 for as_dir in $PATH
7166 IFS=$as_save_IFS
7167 case $as_dir in #(((
7168 '') as_dir=./ ;;
7169 */) ;;
7170 *) as_dir=$as_dir/ ;;
7171 esac
7172 for ac_exec_ext in '' $ac_executable_extensions; do
7173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7174 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7176 break 2
7178 done
7179 done
7180 IFS=$as_save_IFS
7184 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7185 if test -n "$PKG_CONFIG"; then
7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7187 printf "%s\n" "$PKG_CONFIG" >&6; }
7188 else
7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7190 printf "%s\n" "no" >&6; }
7195 if ${ac_cv_prog_PKG_CONFIG:+false} :
7196 then :
7197 if test "x$cross_compiling" = xyes
7198 then :
7200 else $as_nop
7201 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7202 # Extract the first word of "pkg-config", so it can be a program name with args.
7203 set dummy pkg-config; ac_word=$2
7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7205 printf %s "checking for $ac_word... " >&6; }
7206 if test ${ac_cv_prog_PKG_CONFIG+y}
7207 then :
7208 printf %s "(cached) " >&6
7209 else $as_nop
7210 if test -n "$PKG_CONFIG"; then
7211 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7212 else
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214 for as_dir in $PATH
7216 IFS=$as_save_IFS
7217 case $as_dir in #(((
7218 '') as_dir=./ ;;
7219 */) ;;
7220 *) as_dir=$as_dir/ ;;
7221 esac
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_PKG_CONFIG="pkg-config"
7225 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7226 break 2
7228 done
7229 done
7230 IFS=$as_save_IFS
7234 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7235 if test -n "$PKG_CONFIG"; then
7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7237 printf "%s\n" "$PKG_CONFIG" >&6; }
7238 else
7239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 printf "%s\n" "no" >&6; }
7245 else $as_nop
7246 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7249 if test "x$enable_maintainer_mode" != "xyes"
7250 then
7251 FONTFORGE=""
7252 RSVG=""
7253 CONVERT=""
7254 ICOTOOL=""
7255 else
7256 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7257 for ac_prog in fontforge
7259 # Extract the first word of "$ac_prog", so it can be a program name with args.
7260 set dummy $ac_prog; ac_word=$2
7261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262 printf %s "checking for $ac_word... " >&6; }
7263 if test ${ac_cv_prog_FONTFORGE+y}
7264 then :
7265 printf %s "(cached) " >&6
7266 else $as_nop
7267 if test -n "$FONTFORGE"; then
7268 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7269 else
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7271 for as_dir in $PATH
7273 IFS=$as_save_IFS
7274 case $as_dir in #(((
7275 '') as_dir=./ ;;
7276 */) ;;
7277 *) as_dir=$as_dir/ ;;
7278 esac
7279 for ac_exec_ext in '' $ac_executable_extensions; do
7280 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7281 ac_cv_prog_FONTFORGE="$ac_prog"
7282 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7283 break 2
7285 done
7286 done
7287 IFS=$as_save_IFS
7291 FONTFORGE=$ac_cv_prog_FONTFORGE
7292 if test -n "$FONTFORGE"; then
7293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7294 printf "%s\n" "$FONTFORGE" >&6; }
7295 else
7296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7297 printf "%s\n" "no" >&6; }
7301 test -n "$FONTFORGE" && break
7302 done
7303 test -n "$FONTFORGE" || FONTFORGE="false"
7305 for ac_prog in rsvg-convert rsvg
7307 # Extract the first word of "$ac_prog", so it can be a program name with args.
7308 set dummy $ac_prog; ac_word=$2
7309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 printf %s "checking for $ac_word... " >&6; }
7311 if test ${ac_cv_prog_RSVG+y}
7312 then :
7313 printf %s "(cached) " >&6
7314 else $as_nop
7315 if test -n "$RSVG"; then
7316 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 case $as_dir in #(((
7323 '') as_dir=./ ;;
7324 */) ;;
7325 *) as_dir=$as_dir/ ;;
7326 esac
7327 for ac_exec_ext in '' $ac_executable_extensions; do
7328 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7329 ac_cv_prog_RSVG="$ac_prog"
7330 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7331 break 2
7333 done
7334 done
7335 IFS=$as_save_IFS
7339 RSVG=$ac_cv_prog_RSVG
7340 if test -n "$RSVG"; then
7341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7342 printf "%s\n" "$RSVG" >&6; }
7343 else
7344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 printf "%s\n" "no" >&6; }
7349 test -n "$RSVG" && break
7350 done
7351 test -n "$RSVG" || RSVG="false"
7353 for ac_prog in convert
7355 # Extract the first word of "$ac_prog", so it can be a program name with args.
7356 set dummy $ac_prog; ac_word=$2
7357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358 printf %s "checking for $ac_word... " >&6; }
7359 if test ${ac_cv_prog_CONVERT+y}
7360 then :
7361 printf %s "(cached) " >&6
7362 else $as_nop
7363 if test -n "$CONVERT"; then
7364 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7365 else
7366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 for as_dir in $PATH
7369 IFS=$as_save_IFS
7370 case $as_dir in #(((
7371 '') as_dir=./ ;;
7372 */) ;;
7373 *) as_dir=$as_dir/ ;;
7374 esac
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7377 ac_cv_prog_CONVERT="$ac_prog"
7378 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 CONVERT=$ac_cv_prog_CONVERT
7388 if test -n "$CONVERT"; then
7389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7390 printf "%s\n" "$CONVERT" >&6; }
7391 else
7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 printf "%s\n" "no" >&6; }
7397 test -n "$CONVERT" && break
7398 done
7399 test -n "$CONVERT" || CONVERT="false"
7401 for ac_prog in icotool
7403 # Extract the first word of "$ac_prog", so it can be a program name with args.
7404 set dummy $ac_prog; ac_word=$2
7405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7406 printf %s "checking for $ac_word... " >&6; }
7407 if test ${ac_cv_prog_ICOTOOL+y}
7408 then :
7409 printf %s "(cached) " >&6
7410 else $as_nop
7411 if test -n "$ICOTOOL"; then
7412 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7413 else
7414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 for as_dir in $PATH
7417 IFS=$as_save_IFS
7418 case $as_dir in #(((
7419 '') as_dir=./ ;;
7420 */) ;;
7421 *) as_dir=$as_dir/ ;;
7422 esac
7423 for ac_exec_ext in '' $ac_executable_extensions; do
7424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7425 ac_cv_prog_ICOTOOL="$ac_prog"
7426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7427 break 2
7429 done
7430 done
7431 IFS=$as_save_IFS
7435 ICOTOOL=$ac_cv_prog_ICOTOOL
7436 if test -n "$ICOTOOL"; then
7437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7438 printf "%s\n" "$ICOTOOL" >&6; }
7439 else
7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 printf "%s\n" "no" >&6; }
7445 test -n "$ICOTOOL" && break
7446 done
7447 test -n "$ICOTOOL" || ICOTOOL="false"
7449 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7450 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7452 if test "$CONVERT" = false
7453 then
7454 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7455 else
7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7457 printf %s "checking for recent enough imagemagick... " >&6; }
7458 convert_version=`convert --version | head -n1`
7459 if test "x$convert_version" != "x"
7460 then
7461 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7462 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7463 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7464 then
7465 CONVERT=false
7468 if test "$CONVERT" = false
7469 then
7470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7471 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7472 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7473 else
7474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7475 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7479 if test "$ICOTOOL" = false
7480 then
7481 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7482 else
7483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7484 printf %s "checking for recent enough icotool... " >&6; }
7485 icotool_version=`icotool --version | head -n1`
7486 if test "x$icotool_version" != "x"
7487 then
7488 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7489 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7490 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7491 then
7492 ICOTOOL=false
7493 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7496 if test "$ICOTOOL" = false
7497 then
7498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7499 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7500 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7501 else
7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7503 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 with_gettext=yes
7508 with_gettextpo=yes
7510 enable_werror=yes
7513 test "x$with_gettext" != xno || MSGFMT=false
7514 if test "$MSGFMT" != "false"
7515 then
7516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7517 printf %s "checking whether msgfmt supports contexts... " >&6; }
7518 if test ${wine_cv_msgfmt_contexts+y}
7519 then :
7520 printf %s "(cached) " >&6
7521 else $as_nop
7522 cat >conftest.po <<EOF
7523 # comment
7524 msgctxt "ctxt"
7525 msgid "id"
7526 msgstr "str"
7528 if $MSGFMT -o /dev/null conftest.po 2>&5
7529 then
7530 wine_cv_msgfmt_contexts=yes
7531 else
7532 wine_cv_msgfmt_contexts=no
7535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7536 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7537 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7539 if test "$MSGFMT" = false
7540 then :
7541 case "x$with_gettext" in
7542 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7543 xno) ;;
7544 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7545 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7546 esac
7547 enable_po=${enable_po:-no}
7551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7552 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7553 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7554 then :
7555 printf %s "(cached) " >&6
7556 else $as_nop
7557 ac_check_lib_save_LIBS=$LIBS
7558 LIBS="-li386 $LIBS"
7559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7560 /* end confdefs.h. */
7562 /* Override any GCC internal prototype to avoid an error.
7563 Use char because int might match the return type of a GCC
7564 builtin and then its argument prototype would still apply. */
7565 char i386_set_ldt ();
7567 main (void)
7569 return i386_set_ldt ();
7571 return 0;
7573 _ACEOF
7574 if ac_fn_c_try_link "$LINENO"
7575 then :
7576 ac_cv_lib_i386_i386_set_ldt=yes
7577 else $as_nop
7578 ac_cv_lib_i386_i386_set_ldt=no
7580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7581 conftest$ac_exeext conftest.$ac_ext
7582 LIBS=$ac_check_lib_save_LIBS
7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7585 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7586 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7587 then :
7588 I386_LIBS="-li386"
7593 OPENGL_LIBS=""
7597 # Check whether --enable-largefile was given.
7598 if test ${enable_largefile+y}
7599 then :
7600 enableval=$enable_largefile;
7603 if test "$enable_largefile" != no; then
7605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7606 printf %s "checking for special C compiler options needed for large files... " >&6; }
7607 if test ${ac_cv_sys_largefile_CC+y}
7608 then :
7609 printf %s "(cached) " >&6
7610 else $as_nop
7611 ac_cv_sys_largefile_CC=no
7612 if test "$GCC" != yes; then
7613 ac_save_CC=$CC
7614 while :; do
7615 # IRIX 6.2 and later do not support large files by default,
7616 # so use the C compiler's -n32 option if that helps.
7617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h. */
7619 #include <sys/types.h>
7620 /* Check that off_t can represent 2**63 - 1 correctly.
7621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7622 since some C++ compilers masquerading as C compilers
7623 incorrectly reject 9223372036854775807. */
7624 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7626 && LARGE_OFF_T % 2147483647 == 1)
7627 ? 1 : -1];
7629 main (void)
7633 return 0;
7635 _ACEOF
7636 if ac_fn_c_try_compile "$LINENO"
7637 then :
7638 break
7640 rm -f core conftest.err conftest.$ac_objext conftest.beam
7641 CC="$CC -n32"
7642 if ac_fn_c_try_compile "$LINENO"
7643 then :
7644 ac_cv_sys_largefile_CC=' -n32'; break
7646 rm -f core conftest.err conftest.$ac_objext conftest.beam
7647 break
7648 done
7649 CC=$ac_save_CC
7650 rm -f conftest.$ac_ext
7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7654 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7655 if test "$ac_cv_sys_largefile_CC" != no; then
7656 CC=$CC$ac_cv_sys_largefile_CC
7659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7660 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7661 if test ${ac_cv_sys_file_offset_bits+y}
7662 then :
7663 printf %s "(cached) " >&6
7664 else $as_nop
7665 while :; do
7666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7667 /* end confdefs.h. */
7668 #include <sys/types.h>
7669 /* Check that off_t can represent 2**63 - 1 correctly.
7670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7671 since some C++ compilers masquerading as C compilers
7672 incorrectly reject 9223372036854775807. */
7673 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7675 && LARGE_OFF_T % 2147483647 == 1)
7676 ? 1 : -1];
7678 main (void)
7682 return 0;
7684 _ACEOF
7685 if ac_fn_c_try_compile "$LINENO"
7686 then :
7687 ac_cv_sys_file_offset_bits=no; break
7689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7692 #define _FILE_OFFSET_BITS 64
7693 #include <sys/types.h>
7694 /* Check that off_t can represent 2**63 - 1 correctly.
7695 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7696 since some C++ compilers masquerading as C compilers
7697 incorrectly reject 9223372036854775807. */
7698 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7699 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7700 && LARGE_OFF_T % 2147483647 == 1)
7701 ? 1 : -1];
7703 main (void)
7707 return 0;
7709 _ACEOF
7710 if ac_fn_c_try_compile "$LINENO"
7711 then :
7712 ac_cv_sys_file_offset_bits=64; break
7714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7715 ac_cv_sys_file_offset_bits=unknown
7716 break
7717 done
7719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7720 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7721 case $ac_cv_sys_file_offset_bits in #(
7722 no | unknown) ;;
7724 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7726 esac
7727 rm -rf conftest*
7728 if test $ac_cv_sys_file_offset_bits = unknown; then
7729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7730 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7731 if test ${ac_cv_sys_large_files+y}
7732 then :
7733 printf %s "(cached) " >&6
7734 else $as_nop
7735 while :; do
7736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7738 #include <sys/types.h>
7739 /* Check that off_t can represent 2**63 - 1 correctly.
7740 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7741 since some C++ compilers masquerading as C compilers
7742 incorrectly reject 9223372036854775807. */
7743 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7744 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7745 && LARGE_OFF_T % 2147483647 == 1)
7746 ? 1 : -1];
7748 main (void)
7752 return 0;
7754 _ACEOF
7755 if ac_fn_c_try_compile "$LINENO"
7756 then :
7757 ac_cv_sys_large_files=no; break
7759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7762 #define _LARGE_FILES 1
7763 #include <sys/types.h>
7764 /* Check that off_t can represent 2**63 - 1 correctly.
7765 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7766 since some C++ compilers masquerading as C compilers
7767 incorrectly reject 9223372036854775807. */
7768 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7769 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7770 && LARGE_OFF_T % 2147483647 == 1)
7771 ? 1 : -1];
7773 main (void)
7777 return 0;
7779 _ACEOF
7780 if ac_fn_c_try_compile "$LINENO"
7781 then :
7782 ac_cv_sys_large_files=1; break
7784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7785 ac_cv_sys_large_files=unknown
7786 break
7787 done
7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7790 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7791 case $ac_cv_sys_large_files in #(
7792 no | unknown) ;;
7794 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7796 esac
7797 rm -rf conftest*
7802 ac_header= ac_cache=
7803 for ac_item in $ac_header_c_list
7805 if test $ac_cache; then
7806 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7807 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7808 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7810 ac_header= ac_cache=
7811 elif test $ac_header; then
7812 ac_cache=$ac_item
7813 else
7814 ac_header=$ac_item
7816 done
7825 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7826 then :
7828 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7831 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7832 if test "x$ac_cv_header_CL_cl_h" = xyes
7833 then :
7834 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7837 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7838 if test "x$ac_cv_header_EGL_egl_h" = xyes
7839 then :
7840 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_arpa_inet_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_asm_types_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_asm_user_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_elf_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_float_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_gettext_po_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_libproc_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_link_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_linux_filter_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_input_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_major_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_param_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_serial_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_types_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_lwp_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_mach_mach_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_machine_cpu_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_mntent_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_netdb_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_netinet_in_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_port_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_pthread_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_pwd_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_sched_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_scsi_sg_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_stdint_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_sys_attr_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_sys_auxv_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_sys_cdio_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_epoll_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_event_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_extattr_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_filio_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_ipc_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_link_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_modem_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_mtio_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_param_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_prctl_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_queue_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_random_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_resource_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_shm_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_signal_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_sockio_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_strtio_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_syscall_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_times_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_uio_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_user_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_utsname_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_vnode_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_xattr_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_syscall_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_utime_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8308 then :
8310 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8314 if test $ac_cv_header_sys_mkdev_h = no; then
8315 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8316 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8317 then :
8319 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8325 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8326 if test ${ac_cv_header_stat_broken+y}
8327 then :
8328 printf %s "(cached) " >&6
8329 else $as_nop
8330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8331 /* end confdefs.h. */
8332 #include <sys/types.h>
8333 #include <sys/stat.h>
8335 #if defined S_ISBLK && defined S_IFDIR
8336 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8337 #endif
8339 #if defined S_ISBLK && defined S_IFCHR
8340 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8341 #endif
8343 #if defined S_ISLNK && defined S_IFREG
8344 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8345 #endif
8347 #if defined S_ISSOCK && defined S_IFREG
8348 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8349 #endif
8351 _ACEOF
8352 if ac_fn_c_try_compile "$LINENO"
8353 then :
8354 ac_cv_header_stat_broken=no
8355 else $as_nop
8356 ac_cv_header_stat_broken=yes
8358 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8361 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8362 if test $ac_cv_header_stat_broken = yes; then
8364 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8370 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8371 #ifdef HAVE_SYS_PARAM_H
8372 # include <sys/param.h>
8373 #endif
8375 if test "x$ac_cv_header_sys_conf_h" = xyes
8376 then :
8377 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8380 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8381 #ifdef HAVE_SYS_PARAM_H
8382 # include <sys/param.h>
8383 #endif
8385 if test "x$ac_cv_header_sys_mount_h" = xyes
8386 then :
8387 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8390 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_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_statfs_h" = xyes
8396 then :
8397 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8400 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_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_user_h" = xyes
8406 then :
8407 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8410 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_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_vfs_h" = xyes
8416 then :
8417 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8422 saved_sysctl_h_CFLAGS=$CFLAGS
8423 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8424 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8425 #ifdef HAVE_SYS_PARAM_H
8426 # include <sys/param.h>
8427 #endif
8429 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8430 then :
8431 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8435 CFLAGS=$saved_sysctl_h_CFLAGS
8437 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8438 #include <sys/socket.h>
8439 #ifdef HAVE_SYS_SOCKETVAR_H
8440 # include <sys/socketvar.h>
8441 #endif
8442 #ifdef HAVE_NET_ROUTE_H
8443 # include <net/route.h>
8444 #endif
8445 #ifdef HAVE_NETINET_IN_H
8446 # include <netinet/in.h>
8447 #endif
8448 #ifdef HAVE_NETINET_IN_SYSTM_H
8449 # include <netinet/in_systm.h>
8450 #endif
8451 #ifdef HAVE_NET_IF_H
8452 # include <net/if.h>
8453 #endif
8454 #ifdef HAVE_NETINET_IP_H
8455 # include <netinet/ip.h>
8456 #endif
8458 if test "x$ac_cv_header_netinet_ip_h" = xyes
8459 then :
8460 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8463 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8464 #include <sys/socket.h>
8465 #ifdef HAVE_SYS_SOCKETVAR_H
8466 # include <sys/socketvar.h>
8467 #endif
8468 #ifdef HAVE_NET_ROUTE_H
8469 # include <net/route.h>
8470 #endif
8471 #ifdef HAVE_NETINET_IN_H
8472 # include <netinet/in.h>
8473 #endif
8474 #ifdef HAVE_NETINET_IN_SYSTM_H
8475 # include <netinet/in_systm.h>
8476 #endif
8477 #ifdef HAVE_NET_IF_H
8478 # include <net/if.h>
8479 #endif
8480 #ifdef HAVE_NETINET_IP_H
8481 # include <netinet/ip.h>
8482 #endif
8484 if test "x$ac_cv_header_net_if_h" = xyes
8485 then :
8486 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8489 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8490 #include <sys/socket.h>
8491 #ifdef HAVE_SYS_SOCKETVAR_H
8492 # include <sys/socketvar.h>
8493 #endif
8494 #ifdef HAVE_NET_ROUTE_H
8495 # include <net/route.h>
8496 #endif
8497 #ifdef HAVE_NETINET_IN_H
8498 # include <netinet/in.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IN_SYSTM_H
8501 # include <netinet/in_systm.h>
8502 #endif
8503 #ifdef HAVE_NET_IF_H
8504 # include <net/if.h>
8505 #endif
8506 #ifdef HAVE_NETINET_IP_H
8507 # include <netinet/ip.h>
8508 #endif
8510 if test "x$ac_cv_header_net_if_arp_h" = xyes
8511 then :
8512 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8515 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8516 #include <sys/socket.h>
8517 #ifdef HAVE_SYS_SOCKETVAR_H
8518 # include <sys/socketvar.h>
8519 #endif
8520 #ifdef HAVE_NET_ROUTE_H
8521 # include <net/route.h>
8522 #endif
8523 #ifdef HAVE_NETINET_IN_H
8524 # include <netinet/in.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IN_SYSTM_H
8527 # include <netinet/in_systm.h>
8528 #endif
8529 #ifdef HAVE_NET_IF_H
8530 # include <net/if.h>
8531 #endif
8532 #ifdef HAVE_NETINET_IP_H
8533 # include <netinet/ip.h>
8534 #endif
8536 if test "x$ac_cv_header_net_if_dl_h" = xyes
8537 then :
8538 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8541 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8542 #include <sys/socket.h>
8543 #ifdef HAVE_SYS_SOCKETVAR_H
8544 # include <sys/socketvar.h>
8545 #endif
8546 #ifdef HAVE_NET_ROUTE_H
8547 # include <net/route.h>
8548 #endif
8549 #ifdef HAVE_NETINET_IN_H
8550 # include <netinet/in.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IN_SYSTM_H
8553 # include <netinet/in_systm.h>
8554 #endif
8555 #ifdef HAVE_NET_IF_H
8556 # include <net/if.h>
8557 #endif
8558 #ifdef HAVE_NETINET_IP_H
8559 # include <netinet/ip.h>
8560 #endif
8562 if test "x$ac_cv_header_net_if_types_h" = xyes
8563 then :
8564 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8567 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8568 #include <sys/socket.h>
8569 #ifdef HAVE_SYS_SOCKETVAR_H
8570 # include <sys/socketvar.h>
8571 #endif
8572 #ifdef HAVE_NET_ROUTE_H
8573 # include <net/route.h>
8574 #endif
8575 #ifdef HAVE_NETINET_IN_H
8576 # include <netinet/in.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IN_SYSTM_H
8579 # include <netinet/in_systm.h>
8580 #endif
8581 #ifdef HAVE_NET_IF_H
8582 # include <net/if.h>
8583 #endif
8584 #ifdef HAVE_NETINET_IP_H
8585 # include <netinet/ip.h>
8586 #endif
8588 if test "x$ac_cv_header_net_route_h" = xyes
8589 then :
8590 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8593 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8594 #include <sys/socket.h>
8595 #ifdef HAVE_SYS_SOCKETVAR_H
8596 # include <sys/socketvar.h>
8597 #endif
8598 #ifdef HAVE_NET_ROUTE_H
8599 # include <net/route.h>
8600 #endif
8601 #ifdef HAVE_NETINET_IN_H
8602 # include <netinet/in.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IN_SYSTM_H
8605 # include <netinet/in_systm.h>
8606 #endif
8607 #ifdef HAVE_NET_IF_H
8608 # include <net/if.h>
8609 #endif
8610 #ifdef HAVE_NETINET_IP_H
8611 # include <netinet/ip.h>
8612 #endif
8614 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8615 then :
8616 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8619 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8620 #include <sys/socket.h>
8621 #ifdef HAVE_SYS_SOCKETVAR_H
8622 # include <sys/socketvar.h>
8623 #endif
8624 #ifdef HAVE_NET_ROUTE_H
8625 # include <net/route.h>
8626 #endif
8627 #ifdef HAVE_NETINET_IN_H
8628 # include <netinet/in.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IN_SYSTM_H
8631 # include <netinet/in_systm.h>
8632 #endif
8633 #ifdef HAVE_NET_IF_H
8634 # include <net/if.h>
8635 #endif
8636 #ifdef HAVE_NETINET_IP_H
8637 # include <netinet/ip.h>
8638 #endif
8640 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8641 then :
8642 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8645 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8646 #include <sys/socket.h>
8647 #ifdef HAVE_SYS_SOCKETVAR_H
8648 # include <sys/socketvar.h>
8649 #endif
8650 #ifdef HAVE_NET_ROUTE_H
8651 # include <net/route.h>
8652 #endif
8653 #ifdef HAVE_NETINET_IN_H
8654 # include <netinet/in.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IN_SYSTM_H
8657 # include <netinet/in_systm.h>
8658 #endif
8659 #ifdef HAVE_NET_IF_H
8660 # include <net/if.h>
8661 #endif
8662 #ifdef HAVE_NETINET_IP_H
8663 # include <netinet/ip.h>
8664 #endif
8666 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8667 then :
8668 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8671 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8672 #include <sys/socket.h>
8673 #ifdef HAVE_SYS_SOCKETVAR_H
8674 # include <sys/socketvar.h>
8675 #endif
8676 #ifdef HAVE_NET_ROUTE_H
8677 # include <net/route.h>
8678 #endif
8679 #ifdef HAVE_NETINET_IN_H
8680 # include <netinet/in.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IN_SYSTM_H
8683 # include <netinet/in_systm.h>
8684 #endif
8685 #ifdef HAVE_NET_IF_H
8686 # include <net/if.h>
8687 #endif
8688 #ifdef HAVE_NETINET_IP_H
8689 # include <netinet/ip.h>
8690 #endif
8692 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8693 then :
8694 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8697 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8698 #include <sys/socket.h>
8699 #ifdef HAVE_SYS_SOCKETVAR_H
8700 # include <sys/socketvar.h>
8701 #endif
8702 #ifdef HAVE_NET_ROUTE_H
8703 # include <net/route.h>
8704 #endif
8705 #ifdef HAVE_NETINET_IN_H
8706 # include <netinet/in.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IN_SYSTM_H
8709 # include <netinet/in_systm.h>
8710 #endif
8711 #ifdef HAVE_NET_IF_H
8712 # include <net/if.h>
8713 #endif
8714 #ifdef HAVE_NETINET_IP_H
8715 # include <netinet/ip.h>
8716 #endif
8718 if test "x$ac_cv_header_netinet_udp_h" = xyes
8719 then :
8720 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8723 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8724 #include <sys/socket.h>
8725 #ifdef HAVE_SYS_SOCKETVAR_H
8726 # include <sys/socketvar.h>
8727 #endif
8728 #ifdef HAVE_NET_ROUTE_H
8729 # include <net/route.h>
8730 #endif
8731 #ifdef HAVE_NETINET_IN_H
8732 # include <netinet/in.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IN_SYSTM_H
8735 # include <netinet/in_systm.h>
8736 #endif
8737 #ifdef HAVE_NET_IF_H
8738 # include <net/if.h>
8739 #endif
8740 #ifdef HAVE_NETINET_IP_H
8741 # include <netinet/ip.h>
8742 #endif
8744 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8745 then :
8746 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8749 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8750 #include <sys/socket.h>
8751 #ifdef HAVE_SYS_SOCKETVAR_H
8752 # include <sys/socketvar.h>
8753 #endif
8754 #ifdef HAVE_NET_ROUTE_H
8755 # include <net/route.h>
8756 #endif
8757 #ifdef HAVE_NETINET_IN_H
8758 # include <netinet/in.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IN_SYSTM_H
8761 # include <netinet/in_systm.h>
8762 #endif
8763 #ifdef HAVE_NET_IF_H
8764 # include <net/if.h>
8765 #endif
8766 #ifdef HAVE_NETINET_IP_H
8767 # include <netinet/ip.h>
8768 #endif
8770 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8771 then :
8772 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8775 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8776 #include <sys/socket.h>
8777 #ifdef HAVE_SYS_SOCKETVAR_H
8778 # include <sys/socketvar.h>
8779 #endif
8780 #ifdef HAVE_NET_ROUTE_H
8781 # include <net/route.h>
8782 #endif
8783 #ifdef HAVE_NETINET_IN_H
8784 # include <netinet/in.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IN_SYSTM_H
8787 # include <netinet/in_systm.h>
8788 #endif
8789 #ifdef HAVE_NET_IF_H
8790 # include <net/if.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IP_H
8793 # include <netinet/ip.h>
8794 #endif
8796 if test "x$ac_cv_header_sys_un_h" = xyes
8797 then :
8798 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8803 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8804 #include <sys/socket.h>
8805 #ifdef HAVE_SYS_SOCKETVAR_H
8806 # include <sys/socketvar.h>
8807 #endif
8808 #ifdef HAVE_NETINET_IN_H
8809 # include <netinet/in.h>
8810 #endif
8811 #ifdef HAVE_NETINET_IN_SYSTM_H
8812 # include <netinet/in_systm.h>
8813 #endif
8814 #ifdef HAVE_NETINET_IP_H
8815 # include <netinet/ip.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IP_VAR_H
8818 # include <netinet/ip_var.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IP_ICMP_H
8821 # include <netinet/ip_icmp.h>
8822 #endif
8823 #ifdef HAVE_NETINET_UDP_H
8824 # include <netinet/udp.h>
8825 #endif
8826 #ifdef HAVE_NETINET_TCP_H
8827 # include <netinet/tcp.h>
8828 #endif
8830 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8831 then :
8832 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8835 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8836 #include <sys/socket.h>
8837 #ifdef HAVE_SYS_SOCKETVAR_H
8838 # include <sys/socketvar.h>
8839 #endif
8840 #ifdef HAVE_NETINET_IN_H
8841 # include <netinet/in.h>
8842 #endif
8843 #ifdef HAVE_NETINET_IN_SYSTM_H
8844 # include <netinet/in_systm.h>
8845 #endif
8846 #ifdef HAVE_NETINET_IP_H
8847 # include <netinet/ip.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IP_VAR_H
8850 # include <netinet/ip_var.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IP_ICMP_H
8853 # include <netinet/ip_icmp.h>
8854 #endif
8855 #ifdef HAVE_NETINET_UDP_H
8856 # include <netinet/udp.h>
8857 #endif
8858 #ifdef HAVE_NETINET_TCP_H
8859 # include <netinet/tcp.h>
8860 #endif
8862 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8863 then :
8864 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8867 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8868 #include <sys/socket.h>
8869 #ifdef HAVE_SYS_SOCKETVAR_H
8870 # include <sys/socketvar.h>
8871 #endif
8872 #ifdef HAVE_NETINET_IN_H
8873 # include <netinet/in.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_SYSTM_H
8876 # include <netinet/in_systm.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IP_H
8879 # include <netinet/ip.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_VAR_H
8882 # include <netinet/ip_var.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_ICMP_H
8885 # include <netinet/ip_icmp.h>
8886 #endif
8887 #ifdef HAVE_NETINET_UDP_H
8888 # include <netinet/udp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_TCP_H
8891 # include <netinet/tcp.h>
8892 #endif
8894 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8895 then :
8896 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8899 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8900 #include <sys/socket.h>
8901 #ifdef HAVE_SYS_SOCKETVAR_H
8902 # include <sys/socketvar.h>
8903 #endif
8904 #ifdef HAVE_NETINET_IN_H
8905 # include <netinet/in.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_SYSTM_H
8908 # include <netinet/in_systm.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IP_H
8911 # include <netinet/ip.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_VAR_H
8914 # include <netinet/ip_var.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_ICMP_H
8917 # include <netinet/ip_icmp.h>
8918 #endif
8919 #ifdef HAVE_NETINET_UDP_H
8920 # include <netinet/udp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_TCP_H
8923 # include <netinet/tcp.h>
8924 #endif
8926 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8927 then :
8928 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8933 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8934 #include <sys/socket.h>
8935 #ifdef HAVE_ASM_TYPES_H
8936 # include <asm/types.h>
8937 #endif
8938 #ifdef HAVE_LINUX_TYPES_H
8939 # include <linux/types.h>
8940 #endif
8942 if test "x$ac_cv_header_linux_ipx_h" = xyes
8943 then :
8944 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8947 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8948 #include <sys/socket.h>
8949 #ifdef HAVE_ASM_TYPES_H
8950 # include <asm/types.h>
8951 #endif
8952 #ifdef HAVE_LINUX_TYPES_H
8953 # include <linux/types.h>
8954 #endif
8956 if test "x$ac_cv_header_linux_irda_h" = xyes
8957 then :
8958 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8961 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8962 #include <sys/socket.h>
8963 #ifdef HAVE_ASM_TYPES_H
8964 # include <asm/types.h>
8965 #endif
8966 #ifdef HAVE_LINUX_TYPES_H
8967 # include <linux/types.h>
8968 #endif
8970 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8971 then :
8972 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8977 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8978 #include <sys/socket.h>
8979 #ifdef HAVE_NETINET_IN_H
8980 # include <netinet/in.h>
8981 #endif
8982 #ifdef HAVE_ARPA_NAMESER_H
8983 # include <arpa/nameser.h>
8984 #endif
8986 if test "x$ac_cv_header_resolv_h" = xyes
8987 then :
8988 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8993 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8995 if test "x$ac_cv_header_ifaddrs_h" = xyes
8996 then :
8997 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9002 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9004 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9005 then :
9006 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9012 #ifdef HAVE_SYS_UCONTEXT_H
9013 #include <sys/ucontext.h>
9014 #endif
9016 if test "x$ac_cv_header_sys_thr_h" = xyes
9017 then :
9018 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9023 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9024 #include <pthread.h>
9025 #endif
9027 if test "x$ac_cv_header_pthread_np_h" = xyes
9028 then :
9029 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9034 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9035 #include <sys/types.h>
9036 #ifdef HAVE_ASM_TYPES_H
9037 #include <asm/types.h>
9038 #endif
9040 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9041 then :
9042 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9047 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9048 #include <sys/param.h>
9049 #endif
9050 #include <sys/socket.h>
9051 #ifdef HAVE_SYS_QUEUE_H
9052 #include <sys/queue.h>
9053 #endif
9055 if test "x$ac_cv_header_libprocstat_h" = xyes
9056 then :
9057 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9062 if test "x$ac_cv_header_sys_xattr_h" = xyes
9063 then
9064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9065 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9066 if test ${wine_cv_xattr_extra_args+y}
9067 then :
9068 printf %s "(cached) " >&6
9069 else $as_nop
9070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9071 /* end confdefs.h. */
9072 #include <sys/xattr.h>
9074 main (void)
9076 getxattr("", "", "", 0, 0, 0);
9078 return 0;
9080 _ACEOF
9081 if ac_fn_c_try_compile "$LINENO"
9082 then :
9083 wine_cv_xattr_extra_args=yes
9084 else $as_nop
9085 wine_cv_xattr_extra_args=no
9087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9090 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9091 test $wine_cv_xattr_extra_args != yes ||
9092 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9097 DLLFLAGS=""
9099 LDDLLFLAGS=""
9101 LDEXECFLAGS=""
9103 EXTRACFLAGS=""
9105 UNIXDLLFLAGS="-fPIC"
9107 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9109 TOP_INSTALL_LIB=""
9111 TOP_INSTALL_DEV=""
9113 WINELOADER_LDFLAGS=""
9115 WINEPRELOADER_LDFLAGS=""
9117 LIBEXT="so"
9118 # Extract the first word of "ldd", so it can be a program name with args.
9119 set dummy ldd; ac_word=$2
9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9121 printf %s "checking for $ac_word... " >&6; }
9122 if test ${ac_cv_path_LDD+y}
9123 then :
9124 printf %s "(cached) " >&6
9125 else $as_nop
9126 case $LDD in
9127 [\\/]* | ?:[\\/]*)
9128 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9132 as_dummy="/sbin:/usr/sbin:$PATH"
9133 for as_dir in $as_dummy
9135 IFS=$as_save_IFS
9136 case $as_dir in #(((
9137 '') as_dir=./ ;;
9138 */) ;;
9139 *) as_dir=$as_dir/ ;;
9140 esac
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9143 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9145 break 2
9147 done
9148 done
9149 IFS=$as_save_IFS
9151 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9153 esac
9155 LDD=$ac_cv_path_LDD
9156 if test -n "$LDD"; then
9157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9158 printf "%s\n" "$LDD" >&6; }
9159 else
9160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9161 printf "%s\n" "no" >&6; }
9165 if test -n "$ac_tool_prefix"; then
9166 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9167 set dummy ${ac_tool_prefix}otool; ac_word=$2
9168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9169 printf %s "checking for $ac_word... " >&6; }
9170 if test ${ac_cv_prog_OTOOL+y}
9171 then :
9172 printf %s "(cached) " >&6
9173 else $as_nop
9174 if test -n "$OTOOL"; then
9175 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9176 else
9177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 for as_dir in $PATH
9180 IFS=$as_save_IFS
9181 case $as_dir in #(((
9182 '') as_dir=./ ;;
9183 */) ;;
9184 *) as_dir=$as_dir/ ;;
9185 esac
9186 for ac_exec_ext in '' $ac_executable_extensions; do
9187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9188 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9190 break 2
9192 done
9193 done
9194 IFS=$as_save_IFS
9198 OTOOL=$ac_cv_prog_OTOOL
9199 if test -n "$OTOOL"; then
9200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9201 printf "%s\n" "$OTOOL" >&6; }
9202 else
9203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9204 printf "%s\n" "no" >&6; }
9209 if test -z "$ac_cv_prog_OTOOL"; then
9210 ac_ct_OTOOL=$OTOOL
9211 # Extract the first word of "otool", so it can be a program name with args.
9212 set dummy otool; ac_word=$2
9213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9214 printf %s "checking for $ac_word... " >&6; }
9215 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9216 then :
9217 printf %s "(cached) " >&6
9218 else $as_nop
9219 if test -n "$ac_ct_OTOOL"; then
9220 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9221 else
9222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9223 for as_dir in $PATH
9225 IFS=$as_save_IFS
9226 case $as_dir in #(((
9227 '') as_dir=./ ;;
9228 */) ;;
9229 *) as_dir=$as_dir/ ;;
9230 esac
9231 for ac_exec_ext in '' $ac_executable_extensions; do
9232 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9233 ac_cv_prog_ac_ct_OTOOL="otool"
9234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9235 break 2
9237 done
9238 done
9239 IFS=$as_save_IFS
9243 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9244 if test -n "$ac_ct_OTOOL"; then
9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9246 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9247 else
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9249 printf "%s\n" "no" >&6; }
9252 if test "x$ac_ct_OTOOL" = x; then
9253 OTOOL="otool"
9254 else
9255 case $cross_compiling:$ac_tool_warned in
9256 yes:)
9257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9258 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9259 ac_tool_warned=yes ;;
9260 esac
9261 OTOOL=$ac_ct_OTOOL
9263 else
9264 OTOOL="$ac_cv_prog_OTOOL"
9267 if test -n "$ac_tool_prefix"; then
9268 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9269 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9271 printf %s "checking for $ac_word... " >&6; }
9272 if test ${ac_cv_prog_READELF+y}
9273 then :
9274 printf %s "(cached) " >&6
9275 else $as_nop
9276 if test -n "$READELF"; then
9277 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9278 else
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9280 for as_dir in $PATH
9282 IFS=$as_save_IFS
9283 case $as_dir in #(((
9284 '') as_dir=./ ;;
9285 */) ;;
9286 *) as_dir=$as_dir/ ;;
9287 esac
9288 for ac_exec_ext in '' $ac_executable_extensions; do
9289 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9290 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9292 break 2
9294 done
9295 done
9296 IFS=$as_save_IFS
9300 READELF=$ac_cv_prog_READELF
9301 if test -n "$READELF"; then
9302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9303 printf "%s\n" "$READELF" >&6; }
9304 else
9305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9306 printf "%s\n" "no" >&6; }
9311 if test -z "$ac_cv_prog_READELF"; then
9312 ac_ct_READELF=$READELF
9313 # Extract the first word of "readelf", so it can be a program name with args.
9314 set dummy readelf; ac_word=$2
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9316 printf %s "checking for $ac_word... " >&6; }
9317 if test ${ac_cv_prog_ac_ct_READELF+y}
9318 then :
9319 printf %s "(cached) " >&6
9320 else $as_nop
9321 if test -n "$ac_ct_READELF"; then
9322 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9323 else
9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9325 for as_dir in $PATH
9327 IFS=$as_save_IFS
9328 case $as_dir in #(((
9329 '') as_dir=./ ;;
9330 */) ;;
9331 *) as_dir=$as_dir/ ;;
9332 esac
9333 for ac_exec_ext in '' $ac_executable_extensions; do
9334 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9335 ac_cv_prog_ac_ct_READELF="readelf"
9336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9337 break 2
9339 done
9340 done
9341 IFS=$as_save_IFS
9345 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9346 if test -n "$ac_ct_READELF"; then
9347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9348 printf "%s\n" "$ac_ct_READELF" >&6; }
9349 else
9350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9351 printf "%s\n" "no" >&6; }
9354 if test "x$ac_ct_READELF" = x; then
9355 READELF="true"
9356 else
9357 case $cross_compiling:$ac_tool_warned in
9358 yes:)
9359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9360 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9361 ac_tool_warned=yes ;;
9362 esac
9363 READELF=$ac_ct_READELF
9365 else
9366 READELF="$ac_cv_prog_READELF"
9369 wine_rules="all:"
9370 SUBDIRS=""
9372 DISABLED_SUBDIRS=""
9374 CONFIGURE_TARGETS=""
9377 wine_fn_config_makefile ()
9379 as_fn_append SUBDIRS " \\$as_nl $1"
9380 eval enable=\$$2
9381 case "$enable" in
9382 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9383 *aarch64*|*arm*|*i386*|*x86_64*)
9384 if test -n "$PE_ARCHS"
9385 then
9386 for i in $PE_ARCHS
9388 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9389 done
9390 else
9391 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9392 fi;;
9393 esac
9396 wine_fn_config_symlink ()
9398 ac_links=$@
9399 as_fn_append wine_rules "
9400 $ac_links:
9401 @./config.status \$@"
9402 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9405 case $host_os in
9406 cygwin*|mingw32*)
9407 LIBEXT="dll"
9408 EXTRACFLAGS="-D__WINE_PE_BUILD"
9409 case $host_cpu in
9410 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9411 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9412 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9413 then :
9414 printf %s "(cached) " >&6
9415 else $as_nop
9416 ac_wine_try_cflags_saved=$CFLAGS
9417 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9419 /* end confdefs.h. */
9420 int main(int argc, char **argv) { return 0; }
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"
9423 then :
9424 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9425 else $as_nop
9426 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9429 conftest$ac_exeext conftest.$ac_ext
9430 CFLAGS=$ac_wine_try_cflags_saved
9432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9433 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9434 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9435 then :
9436 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9437 fi ;;
9438 esac
9439 enable_loader=${enable_loader:-no}
9440 enable_server=${enable_server:-no}
9441 with_x=${with_x:-no}
9442 with_pthread=${with_pthread:-no}
9445 darwin*|macosx*)
9446 LIBEXT="dylib"
9447 DLLFLAGS="$DLLFLAGS -fPIC"
9448 LDDLLFLAGS="-fPIC"
9449 enable_winemac_drv=${enable_winemac_drv:-yes}
9450 CARBON_LIBS="-framework Carbon"
9452 COREFOUNDATION_LIBS="-framework CoreFoundation"
9454 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9456 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9458 METAL_LIBS="-framework Metal"
9460 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9462 CORESERVICES_LIBS="-framework CoreServices"
9464 APPKIT_LIBS="-framework AppKit"
9466 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9468 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9471 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9473 wine_can_build_preloader=yes
9474 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9476 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9477 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9478 then :
9479 printf %s "(cached) " >&6
9480 else $as_nop
9481 ac_wine_try_cflags_saved=$CFLAGS
9482 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9485 int main(int argc, char **argv) { return 0; }
9486 _ACEOF
9487 if ac_fn_c_try_link "$LINENO"
9488 then :
9489 ac_cv_cflags__Wl__no_new_main__e__main=yes
9490 else $as_nop
9491 ac_cv_cflags__Wl__no_new_main__e__main=no
9493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9498 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9499 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9500 then :
9501 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9503 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9504 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9505 then :
9506 printf %s "(cached) " >&6
9507 else $as_nop
9508 ac_wine_try_cflags_saved=$CFLAGS
9509 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9512 int main(int argc, char **argv) { return 0; }
9513 _ACEOF
9514 if ac_fn_c_try_link "$LINENO"
9515 then :
9516 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9517 else $as_nop
9518 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9521 conftest$ac_exeext conftest.$ac_ext
9522 CFLAGS=$ac_wine_try_cflags_saved
9524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9525 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9526 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9527 then :
9528 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9529 else $as_nop
9530 wine_can_build_preloader=no
9532 else $as_nop
9533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9534 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9535 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9536 then :
9537 printf %s "(cached) " >&6
9538 else $as_nop
9539 ac_wine_try_cflags_saved=$CFLAGS
9540 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"
9546 then :
9547 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9548 else $as_nop
9549 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9552 conftest$ac_exeext conftest.$ac_ext
9553 CFLAGS=$ac_wine_try_cflags_saved
9555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9556 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9557 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9558 then :
9559 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9560 else $as_nop
9561 wine_can_build_preloader=no
9564 if test "$wine_can_build_preloader" = "yes"
9565 then
9566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9567 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9568 if test ${ac_cv_cflags__Wl__no_pie+y}
9569 then :
9570 printf %s "(cached) " >&6
9571 else $as_nop
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,-no_pie"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"
9579 then :
9580 ac_cv_cflags__Wl__no_pie=yes
9581 else $as_nop
9582 ac_cv_cflags__Wl__no_pie=no
9584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9585 conftest$ac_exeext conftest.$ac_ext
9586 CFLAGS=$ac_wine_try_cflags_saved
9588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9589 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9590 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9591 then :
9592 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9594 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9595 else
9596 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9599 if test "x$with_coreaudio" != "xno";
9600 then
9601 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9603 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9605 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9606 then
9607 OPENCL_LIBS="-framework OpenCL"
9609 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9613 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9614 ac_ext=m
9615 ac_cpp='$OBJCPP $CPPFLAGS'
9616 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9617 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9618 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9620 ac_ext=m
9621 ac_cpp='$OBJCPP $CPPFLAGS'
9622 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9623 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9624 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9625 if test -n "$ac_tool_prefix"; then
9626 for ac_prog in gcc objcc objc cc CC clang
9628 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 printf %s "checking for $ac_word... " >&6; }
9632 if test ${ac_cv_prog_OBJC+y}
9633 then :
9634 printf %s "(cached) " >&6
9635 else $as_nop
9636 if test -n "$OBJC"; then
9637 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9638 else
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 for as_dir in $PATH
9642 IFS=$as_save_IFS
9643 case $as_dir in #(((
9644 '') as_dir=./ ;;
9645 */) ;;
9646 *) as_dir=$as_dir/ ;;
9647 esac
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9650 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9652 break 2
9654 done
9655 done
9656 IFS=$as_save_IFS
9660 OBJC=$ac_cv_prog_OBJC
9661 if test -n "$OBJC"; then
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9663 printf "%s\n" "$OBJC" >&6; }
9664 else
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9666 printf "%s\n" "no" >&6; }
9670 test -n "$OBJC" && break
9671 done
9673 if test -z "$OBJC"; then
9674 ac_ct_OBJC=$OBJC
9675 for ac_prog in gcc objcc objc cc CC clang
9677 # Extract the first word of "$ac_prog", so it can be a program name with args.
9678 set dummy $ac_prog; ac_word=$2
9679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9680 printf %s "checking for $ac_word... " >&6; }
9681 if test ${ac_cv_prog_ac_ct_OBJC+y}
9682 then :
9683 printf %s "(cached) " >&6
9684 else $as_nop
9685 if test -n "$ac_ct_OBJC"; then
9686 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9687 else
9688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 for as_dir in $PATH
9691 IFS=$as_save_IFS
9692 case $as_dir in #(((
9693 '') as_dir=./ ;;
9694 */) ;;
9695 *) as_dir=$as_dir/ ;;
9696 esac
9697 for ac_exec_ext in '' $ac_executable_extensions; do
9698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9699 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9701 break 2
9703 done
9704 done
9705 IFS=$as_save_IFS
9709 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9710 if test -n "$ac_ct_OBJC"; then
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9712 printf "%s\n" "$ac_ct_OBJC" >&6; }
9713 else
9714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9715 printf "%s\n" "no" >&6; }
9719 test -n "$ac_ct_OBJC" && break
9720 done
9722 if test "x$ac_ct_OBJC" = x; then
9723 OBJC="gcc"
9724 else
9725 case $cross_compiling:$ac_tool_warned in
9726 yes:)
9727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9728 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9729 ac_tool_warned=yes ;;
9730 esac
9731 OBJC=$ac_ct_OBJC
9735 # Provide some information about the compiler.
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9737 set X $ac_compile
9738 ac_compiler=$2
9739 for ac_option in --version -v -V -qversion; do
9740 { { ac_try="$ac_compiler $ac_option >&5"
9741 case "(($ac_try" in
9742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9743 *) ac_try_echo=$ac_try;;
9744 esac
9745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9746 printf "%s\n" "$ac_try_echo"; } >&5
9747 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9748 ac_status=$?
9749 if test -s conftest.err; then
9750 sed '10a\
9751 ... rest of stderr output deleted ...
9752 10q' conftest.err >conftest.er1
9753 cat conftest.er1 >&5
9755 rm -f conftest.er1 conftest.err
9756 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9757 test $ac_status = 0; }
9758 done
9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9761 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9762 if test ${ac_cv_objc_compiler_gnu+y}
9763 then :
9764 printf %s "(cached) " >&6
9765 else $as_nop
9766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9767 /* end confdefs.h. */
9770 main (void)
9772 #ifndef __GNUC__
9773 choke me
9774 #endif
9777 return 0;
9779 _ACEOF
9780 if ac_fn_objc_try_compile "$LINENO"
9781 then :
9782 ac_compiler_gnu=yes
9783 else $as_nop
9784 ac_compiler_gnu=no
9786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9787 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9791 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9792 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9794 if test $ac_compiler_gnu = yes; then
9795 GOBJC=yes
9796 else
9797 GOBJC=
9799 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9800 ac_save_OBJCFLAGS=$OBJCFLAGS
9801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9802 printf %s "checking whether $OBJC accepts -g... " >&6; }
9803 if test ${ac_cv_prog_objc_g+y}
9804 then :
9805 printf %s "(cached) " >&6
9806 else $as_nop
9807 ac_save_objc_werror_flag=$ac_objc_werror_flag
9808 ac_objc_werror_flag=yes
9809 ac_cv_prog_objc_g=no
9810 OBJCFLAGS="-g"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9815 main (void)
9819 return 0;
9821 _ACEOF
9822 if ac_fn_objc_try_compile "$LINENO"
9823 then :
9824 ac_cv_prog_objc_g=yes
9825 else $as_nop
9826 OBJCFLAGS=""
9827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828 /* end confdefs.h. */
9831 main (void)
9835 return 0;
9837 _ACEOF
9838 if ac_fn_objc_try_compile "$LINENO"
9839 then :
9841 else $as_nop
9842 ac_objc_werror_flag=$ac_save_objc_werror_flag
9843 OBJCFLAGS="-g"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9848 main (void)
9852 return 0;
9854 _ACEOF
9855 if ac_fn_objc_try_compile "$LINENO"
9856 then :
9857 ac_cv_prog_objc_g=yes
9859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9864 ac_objc_werror_flag=$ac_save_objc_werror_flag
9866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9867 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9868 if test $ac_test_OBJCFLAGS; then
9869 OBJCFLAGS=$ac_save_OBJCFLAGS
9870 elif test $ac_cv_prog_objc_g = yes; then
9871 if test "$GOBJC" = yes; then
9872 OBJCFLAGS="-g -O2"
9873 else
9874 OBJCFLAGS="-g"
9876 else
9877 if test "$GOBJC" = yes; then
9878 OBJCFLAGS="-O2"
9879 else
9880 OBJCFLAGS=
9883 ac_ext=m
9884 ac_cpp='$OBJCPP $CPPFLAGS'
9885 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9886 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9887 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9892 #include <Metal/Metal.h>
9894 main (void)
9896 id<MTLDevice> device; device.registryID;
9898 return 0;
9900 _ACEOF
9901 if ac_fn_objc_try_compile "$LINENO"
9902 then :
9903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9904 printf "%s\n" "yes" >&6; }
9906 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9908 else $as_nop
9909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9910 printf "%s\n" "no" >&6; }
9912 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9913 ac_ext=c
9914 ac_cpp='$CPP $CPPFLAGS'
9915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9920 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9921 WINELOADER_DEPENDS="wine_info.plist"
9925 linux-android*)
9927 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9929 DLLFLAGS="$DLLFLAGS -fPIC"
9930 LDDLLFLAGS="-fPIC"
9931 LDEXECFLAGS="-Wl,-pie"
9932 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9934 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9935 if test ${ac_cv_cflags__Wl__z_defs+y}
9936 then :
9937 printf %s "(cached) " >&6
9938 else $as_nop
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 CFLAGS="$CFLAGS -Wl,-z,defs"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int main(int argc, char **argv) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"
9946 then :
9947 ac_cv_cflags__Wl__z_defs=yes
9948 else $as_nop
9949 ac_cv_cflags__Wl__z_defs=no
9951 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9952 conftest$ac_exeext conftest.$ac_ext
9953 CFLAGS=$ac_wine_try_cflags_saved
9955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9956 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9957 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9958 then :
9959 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9962 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9963 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9964 then :
9965 printf %s "(cached) " >&6
9966 else $as_nop
9967 ac_wine_try_cflags_saved=$CFLAGS
9968 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 int main(int argc, char **argv) { return 0; }
9972 _ACEOF
9973 if ac_fn_c_try_link "$LINENO"
9974 then :
9975 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9976 else $as_nop
9977 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9984 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9985 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9986 then :
9987 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9989 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9992 printf %s "checking for -lEGL... " >&6; }
9993 if test ${ac_cv_lib_soname_EGL+y}
9994 then :
9995 printf %s "(cached) " >&6
9996 else $as_nop
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lEGL $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 eglGetProcAddress ();
10007 main (void)
10009 return eglGetProcAddress ();
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_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10018 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'` ;;
10019 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10020 if ${ac_cv_lib_soname_EGL:+false} :
10021 then :
10022 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 fi ;;
10024 esac
10025 else $as_nop
10026 ac_cv_lib_soname_EGL=
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_EGL:+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_EGL" >&5
10039 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10041 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10046 printf %s "checking for -lGLESv2... " >&6; }
10047 if test ${ac_cv_lib_soname_GLESv2+y}
10048 then :
10049 printf %s "(cached) " >&6
10050 else $as_nop
10051 ac_check_soname_save_LIBS=$LIBS
10052 LIBS="-lGLESv2 $LIBS"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10056 /* Override any GCC internal prototype to avoid an error.
10057 Use char because int might match the return type of a GCC
10058 builtin and then its argument prototype would still apply. */
10059 char glFlush ();
10061 main (void)
10063 return glFlush ();
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"
10069 then :
10070 case "$LIBEXT" in
10071 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10072 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'` ;;
10073 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10074 if ${ac_cv_lib_soname_GLESv2:+false} :
10075 then :
10076 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10077 fi ;;
10078 esac
10079 else $as_nop
10080 ac_cv_lib_soname_GLESv2=
10082 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_soname_save_LIBS
10086 if ${ac_cv_lib_soname_GLESv2:+false} :
10087 then :
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10089 printf "%s\n" "not found" >&6; }
10091 else $as_nop
10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10093 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10095 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10100 if test "x$exec_prefix" = xNONE
10101 then
10102 case $host_cpu in
10103 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10104 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10105 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10106 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10107 esac
10113 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10115 test "$ac_cv_sys_file_offset_bits" = 64 &&
10116 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10118 case $host_cpu in
10119 *i[3456789]86*)
10120 DLLFLAGS="$DLLFLAGS -fno-PIC"
10121 LDDLLFLAGS="-fno-PIC"
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10123 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10124 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10125 then :
10126 printf %s "(cached) " >&6
10127 else $as_nop
10128 ac_wine_try_cflags_saved=$CFLAGS
10129 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10132 int main(int argc, char **argv) { return 0; }
10133 _ACEOF
10134 if ac_fn_c_try_link "$LINENO"
10135 then :
10136 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10137 else $as_nop
10138 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10145 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10146 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10147 then :
10148 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10152 DLLFLAGS="$DLLFLAGS -fPIC"
10153 LDDLLFLAGS="-fPIC" ;;
10154 esac
10156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10157 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10158 if test ${ac_cv_cflags__Wl__z_defs+y}
10159 then :
10160 printf %s "(cached) " >&6
10161 else $as_nop
10162 ac_wine_try_cflags_saved=$CFLAGS
10163 CFLAGS="$CFLAGS -Wl,-z,defs"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10166 int main(int argc, char **argv) { return 0; }
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"
10169 then :
10170 ac_cv_cflags__Wl__z_defs=yes
10171 else $as_nop
10172 ac_cv_cflags__Wl__z_defs=no
10174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10175 conftest$ac_exeext conftest.$ac_ext
10176 CFLAGS=$ac_wine_try_cflags_saved
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10179 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10180 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10181 then :
10182 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10185 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10186 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10187 then :
10188 printf %s "(cached) " >&6
10189 else $as_nop
10190 ac_wine_try_cflags_saved=$CFLAGS
10191 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10193 /* end confdefs.h. */
10194 int main(int argc, char **argv) { return 0; }
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"
10197 then :
10198 ac_cv_cflags__Wl___export_dynamic=yes
10199 else $as_nop
10200 ac_cv_cflags__Wl___export_dynamic=no
10202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10207 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10208 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10209 then :
10210 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10212 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10214 case $host_cpu in
10215 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10217 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10218 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10219 then :
10220 printf %s "(cached) " >&6
10221 else $as_nop
10222 ac_wine_try_cflags_saved=$CFLAGS
10223 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 int main(int argc, char **argv) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"
10229 then :
10230 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10231 else $as_nop
10232 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10234 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10235 conftest$ac_exeext conftest.$ac_ext
10236 CFLAGS=$ac_wine_try_cflags_saved
10238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10239 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10240 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10241 then :
10242 case $host_os in
10243 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10244 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10245 esac
10246 else $as_nop
10247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10248 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10249 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10250 then :
10251 printf %s "(cached) " >&6
10252 else $as_nop
10253 ac_wine_try_cflags_saved=$CFLAGS
10254 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"
10260 then :
10261 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10262 else $as_nop
10263 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10266 conftest$ac_exeext conftest.$ac_ext
10267 CFLAGS=$ac_wine_try_cflags_saved
10269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10270 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10271 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10272 then :
10273 case $host_os in
10274 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10275 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10276 esac
10279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10280 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10281 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10282 then :
10283 printf %s "(cached) " >&6
10284 else $as_nop
10285 ac_wine_try_cflags_saved=$CFLAGS
10286 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10289 int main(int argc, char **argv) { return 0; }
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"
10292 then :
10293 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10294 else $as_nop
10295 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10302 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10303 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10304 then :
10305 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10308 esac
10310 esac
10312 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10313 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10314 enable_winemac_drv=${enable_winemac_drv:-no}
10316 PE_ARCHS=""
10318 cross_archs=
10319 if test ${enable_archs+y}
10320 then :
10321 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10322 ac_save_IFS=$IFS
10323 IFS=' ,'
10324 set x $enable_archs
10325 IFS=$ac_save_IFS
10326 shift
10327 for arch
10329 case $arch in
10330 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10331 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10332 esac
10333 done
10334 else $as_nop
10335 if test "x$with_mingw" != xno
10336 then
10337 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10338 case "x$with_mingw" in
10339 x|xyes) ;;
10340 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10341 esac
10345 for wine_arch in $cross_archs
10347 if eval \${${wine_arch}_CC:+false} :
10348 then :
10349 case $wine_arch in
10350 aarch64)
10351 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10353 # Extract the first word of "$ac_prog", so it can be a program name with args.
10354 set dummy $ac_prog; ac_word=$2
10355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10356 printf %s "checking for $ac_word... " >&6; }
10357 if test ${ac_cv_prog_aarch64_CC+y}
10358 then :
10359 printf %s "(cached) " >&6
10360 else $as_nop
10361 if test -n "$aarch64_CC"; then
10362 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10363 else
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10367 IFS=$as_save_IFS
10368 case $as_dir in #(((
10369 '') as_dir=./ ;;
10370 */) ;;
10371 *) as_dir=$as_dir/ ;;
10372 esac
10373 for ac_exec_ext in '' $ac_executable_extensions; do
10374 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10375 ac_cv_prog_aarch64_CC="$ac_prog"
10376 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10377 break 2
10379 done
10380 done
10381 IFS=$as_save_IFS
10385 aarch64_CC=$ac_cv_prog_aarch64_CC
10386 if test -n "$aarch64_CC"; then
10387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10388 printf "%s\n" "$aarch64_CC" >&6; }
10389 else
10390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10391 printf "%s\n" "no" >&6; }
10395 test -n "$aarch64_CC" && break
10396 done
10397 test -n "$aarch64_CC" || aarch64_CC="false"
10400 arm)
10401 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10403 # Extract the first word of "$ac_prog", so it can be a program name with args.
10404 set dummy $ac_prog; ac_word=$2
10405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10406 printf %s "checking for $ac_word... " >&6; }
10407 if test ${ac_cv_prog_arm_CC+y}
10408 then :
10409 printf %s "(cached) " >&6
10410 else $as_nop
10411 if test -n "$arm_CC"; then
10412 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10413 else
10414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10415 for as_dir in $PATH
10417 IFS=$as_save_IFS
10418 case $as_dir in #(((
10419 '') as_dir=./ ;;
10420 */) ;;
10421 *) as_dir=$as_dir/ ;;
10422 esac
10423 for ac_exec_ext in '' $ac_executable_extensions; do
10424 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10425 ac_cv_prog_arm_CC="$ac_prog"
10426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10427 break 2
10429 done
10430 done
10431 IFS=$as_save_IFS
10435 arm_CC=$ac_cv_prog_arm_CC
10436 if test -n "$arm_CC"; then
10437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10438 printf "%s\n" "$arm_CC" >&6; }
10439 else
10440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10441 printf "%s\n" "no" >&6; }
10445 test -n "$arm_CC" && break
10446 done
10447 test -n "$arm_CC" || arm_CC="false"
10450 i386)
10451 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 "
10452 for ac_prog in $ac_prefix_list clang
10454 # Extract the first word of "$ac_prog", so it can be a program name with args.
10455 set dummy $ac_prog; ac_word=$2
10456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 printf %s "checking for $ac_word... " >&6; }
10458 if test ${ac_cv_prog_i386_CC+y}
10459 then :
10460 printf %s "(cached) " >&6
10461 else $as_nop
10462 if test -n "$i386_CC"; then
10463 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10464 else
10465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10466 for as_dir in $PATH
10468 IFS=$as_save_IFS
10469 case $as_dir in #(((
10470 '') as_dir=./ ;;
10471 */) ;;
10472 *) as_dir=$as_dir/ ;;
10473 esac
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10476 ac_cv_prog_i386_CC="$ac_prog"
10477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10478 break 2
10480 done
10481 done
10482 IFS=$as_save_IFS
10486 i386_CC=$ac_cv_prog_i386_CC
10487 if test -n "$i386_CC"; then
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10489 printf "%s\n" "$i386_CC" >&6; }
10490 else
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 printf "%s\n" "no" >&6; }
10496 test -n "$i386_CC" && break
10497 done
10498 test -n "$i386_CC" || i386_CC="false"
10501 x86_64)
10502 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10503 for ac_prog in $ac_prefix_list clang
10505 # Extract the first word of "$ac_prog", so it can be a program name with args.
10506 set dummy $ac_prog; ac_word=$2
10507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10508 printf %s "checking for $ac_word... " >&6; }
10509 if test ${ac_cv_prog_x86_64_CC+y}
10510 then :
10511 printf %s "(cached) " >&6
10512 else $as_nop
10513 if test -n "$x86_64_CC"; then
10514 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10515 else
10516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in $PATH
10519 IFS=$as_save_IFS
10520 case $as_dir in #(((
10521 '') as_dir=./ ;;
10522 */) ;;
10523 *) as_dir=$as_dir/ ;;
10524 esac
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10527 ac_cv_prog_x86_64_CC="$ac_prog"
10528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10529 break 2
10531 done
10532 done
10533 IFS=$as_save_IFS
10537 x86_64_CC=$ac_cv_prog_x86_64_CC
10538 if test -n "$x86_64_CC"; then
10539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10540 printf "%s\n" "$x86_64_CC" >&6; }
10541 else
10542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10543 printf "%s\n" "no" >&6; }
10547 test -n "$x86_64_CC" && break
10548 done
10549 test -n "$x86_64_CC" || x86_64_CC="false"
10552 esac
10555 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10556 then :
10557 continue
10560 saved_CC=$CC
10561 saved_CFLAGS=$CFLAGS
10563 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10564 eval CC=\$${wine_arch}_CC
10565 eval ${wine_arch}_CFLAGS=\$CFLAGS
10566 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10567 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10569 target=""
10570 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10573 printf %s "checking whether $CC works... " >&6; }
10574 if eval test \${$as_wine_cv_crosscc+y}
10575 then :
10576 printf %s "(cached) " >&6
10577 else $as_nop
10578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10579 /* end confdefs.h. */
10582 main (void)
10586 return 0;
10588 _ACEOF
10589 if ac_fn_c_try_compile "$LINENO"
10590 then :
10591 eval "$as_wine_cv_crosscc=yes"
10592 else $as_nop
10593 eval "$as_wine_cv_crosscc=no"
10595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10597 eval ac_res=\$$as_wine_cv_crosscc
10598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10599 printf "%s\n" "$ac_res" >&6; }
10600 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10601 then :
10602 set x $CC
10603 shift
10604 while test $# -ge 1
10606 case "$1" in
10607 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10608 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10609 esac
10610 shift
10611 done
10613 llvm_target=$target
10614 if test -z "$llvm_target"
10615 then
10616 case $wine_arch in
10617 i386) llvm_target=i686-windows ;;
10618 arm) llvm_target=armv7-windows ;;
10619 *) llvm_target=$wine_arch-windows ;;
10620 esac
10622 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10623 case $llvm_target in
10624 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10625 esac
10626 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10628 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10629 if eval test \${$as_ac_var+y}
10630 then :
10631 printf %s "(cached) " >&6
10632 else $as_nop
10633 ac_wine_try_cflags_saved=$CFLAGS
10634 ac_wine_try_cflags_saved_exeext=$ac_exeext
10635 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10636 ac_exeext=".exe"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 int __cdecl mainCRTStartup(void) { return 0; }
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"
10642 then :
10643 eval "$as_ac_var=yes"
10644 else $as_nop
10645 eval "$as_ac_var=no"
10647 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10648 conftest$ac_exeext conftest.$ac_ext
10649 CFLAGS=$ac_wine_try_cflags_saved
10650 ac_exeext=$ac_wine_try_cflags_saved_exeext
10652 eval ac_res=\$$as_ac_var
10653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10654 printf "%s\n" "$ac_res" >&6; }
10655 if eval test \"x\$"$as_ac_var"\" = x"yes"
10656 then :
10657 target=$llvm_target
10658 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10659 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10660 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10661 fi }
10662 eval "${wine_arch}_TARGET=\$target"
10666 if test -z "$target"
10667 then
10668 CC=$saved_CC
10669 CFLAGS=$saved_CFLAGS
10670 continue
10672 as_fn_append PE_ARCHS " $wine_arch"
10674 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10677 printf %s "checking for $CC option to enable C99 features... " >&6; }
10678 if eval test \${$as_wine_cv_crosscc_c99+y}
10679 then :
10680 printf %s "(cached) " >&6
10681 else $as_nop
10682 eval "$as_wine_cv_crosscc_c99=no"
10683 for arg in '' '-std=gnu99'
10685 test -z "$arg" || CC="$CC $arg"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 $ac_c_conftest_c99_program
10689 _ACEOF
10690 if ac_fn_c_try_compile "$LINENO"
10691 then :
10692 eval "$as_wine_cv_crosscc_c99=\$arg"
10693 else $as_nop
10694 eval "$as_wine_cv_crosscc_c99=no"
10696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10697 eval CC=\$${wine_arch}_CC
10698 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10699 then :
10701 else $as_nop
10702 break
10704 done
10707 eval res=\$$as_wine_cv_crosscc_c99
10708 case "x$res" in
10709 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10710 printf "%s\n" "none needed" >&6; } ;;
10711 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10712 printf "%s\n" "unsupported" >&6; } ;;
10713 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10714 printf "%s\n" "$res" >&6; }
10715 as_fn_append ${wine_arch}_CC " $res" ;;
10716 esac
10719 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10721 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10722 if eval test \${$as_ac_var+y}
10723 then :
10724 printf %s "(cached) " >&6
10725 else $as_nop
10726 ac_wine_try_cflags_saved=$CFLAGS
10727 ac_wine_try_cflags_saved_exeext=$ac_exeext
10728 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10729 ac_exeext=".exe"
10730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10731 /* end confdefs.h. */
10732 int __cdecl mainCRTStartup(void) { return 0; }
10733 _ACEOF
10734 if ac_fn_c_try_link "$LINENO"
10735 then :
10736 eval "$as_ac_var=yes"
10737 else $as_nop
10738 eval "$as_ac_var=no"
10740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10741 conftest$ac_exeext conftest.$ac_ext
10742 CFLAGS=$ac_wine_try_cflags_saved
10743 ac_exeext=$ac_wine_try_cflags_saved_exeext
10745 eval ac_res=\$$as_ac_var
10746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10747 printf "%s\n" "$ac_res" >&6; }
10748 if eval test \"x\$"$as_ac_var"\" = x"yes"
10749 then :
10750 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10751 fi }
10752 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10754 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10755 if eval test \${$as_ac_var+y}
10756 then :
10757 printf %s "(cached) " >&6
10758 else $as_nop
10759 ac_wine_try_cflags_saved=$CFLAGS
10760 ac_wine_try_cflags_saved_exeext=$ac_exeext
10761 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10762 ac_exeext=".exe"
10763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765 int __cdecl mainCRTStartup(void) { return 0; }
10766 _ACEOF
10767 if ac_fn_c_try_link "$LINENO"
10768 then :
10769 eval "$as_ac_var=yes"
10770 else $as_nop
10771 eval "$as_ac_var=no"
10773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10774 conftest$ac_exeext conftest.$ac_ext
10775 CFLAGS=$ac_wine_try_cflags_saved
10776 ac_exeext=$ac_wine_try_cflags_saved_exeext
10778 eval ac_res=\$$as_ac_var
10779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10780 printf "%s\n" "$ac_res" >&6; }
10781 if eval test \"x\$"$as_ac_var"\" = x"yes"
10782 then :
10783 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10784 fi }
10785 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10787 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10788 if eval test \${$as_ac_var+y}
10789 then :
10790 printf %s "(cached) " >&6
10791 else $as_nop
10792 ac_wine_try_cflags_saved=$CFLAGS
10793 ac_wine_try_cflags_saved_exeext=$ac_exeext
10794 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10795 ac_exeext=".exe"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10798 int __cdecl mainCRTStartup(void) { return 0; }
10799 _ACEOF
10800 if ac_fn_c_try_link "$LINENO"
10801 then :
10802 eval "$as_ac_var=yes"
10803 else $as_nop
10804 eval "$as_ac_var=no"
10806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10807 conftest$ac_exeext conftest.$ac_ext
10808 CFLAGS=$ac_wine_try_cflags_saved
10809 ac_exeext=$ac_wine_try_cflags_saved_exeext
10811 eval ac_res=\$$as_ac_var
10812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10813 printf "%s\n" "$ac_res" >&6; }
10814 if eval test \"x\$"$as_ac_var"\" = x"yes"
10815 then :
10816 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10817 fi }
10818 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10820 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10821 if eval test \${$as_ac_var+y}
10822 then :
10823 printf %s "(cached) " >&6
10824 else $as_nop
10825 ac_wine_try_cflags_saved=$CFLAGS
10826 ac_wine_try_cflags_saved_exeext=$ac_exeext
10827 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10828 ac_exeext=".exe"
10829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10831 int __cdecl mainCRTStartup(void) { return 0; }
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"
10834 then :
10835 eval "$as_ac_var=yes"
10836 else $as_nop
10837 eval "$as_ac_var=no"
10839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10840 conftest$ac_exeext conftest.$ac_ext
10841 CFLAGS=$ac_wine_try_cflags_saved
10842 ac_exeext=$ac_wine_try_cflags_saved_exeext
10844 eval ac_res=\$$as_ac_var
10845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10846 printf "%s\n" "$ac_res" >&6; }
10847 if eval test \"x\$"$as_ac_var"\" = x"yes"
10848 then :
10849 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10850 fi }
10851 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10853 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10854 if eval test \${$as_ac_var+y}
10855 then :
10856 printf %s "(cached) " >&6
10857 else $as_nop
10858 ac_wine_try_cflags_saved=$CFLAGS
10859 ac_wine_try_cflags_saved_exeext=$ac_exeext
10860 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10861 ac_exeext=".exe"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10864 int __cdecl mainCRTStartup(void) { return 0; }
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"
10867 then :
10868 eval "$as_ac_var=yes"
10869 else $as_nop
10870 eval "$as_ac_var=no"
10872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10873 conftest$ac_exeext conftest.$ac_ext
10874 CFLAGS=$ac_wine_try_cflags_saved
10875 ac_exeext=$ac_wine_try_cflags_saved_exeext
10877 eval ac_res=\$$as_ac_var
10878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10879 printf "%s\n" "$ac_res" >&6; }
10880 if eval test \"x\$"$as_ac_var"\" = x"yes"
10881 then :
10882 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10883 fi }
10884 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10886 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10887 if eval test \${$as_ac_var+y}
10888 then :
10889 printf %s "(cached) " >&6
10890 else $as_nop
10891 ac_wine_try_cflags_saved=$CFLAGS
10892 ac_wine_try_cflags_saved_exeext=$ac_exeext
10893 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10894 ac_exeext=".exe"
10895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10896 /* end confdefs.h. */
10897 int __cdecl mainCRTStartup(void) { return 0; }
10898 _ACEOF
10899 if ac_fn_c_try_link "$LINENO"
10900 then :
10901 eval "$as_ac_var=yes"
10902 else $as_nop
10903 eval "$as_ac_var=no"
10905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10906 conftest$ac_exeext conftest.$ac_ext
10907 CFLAGS=$ac_wine_try_cflags_saved
10908 ac_exeext=$ac_wine_try_cflags_saved_exeext
10910 eval ac_res=\$$as_ac_var
10911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10912 printf "%s\n" "$ac_res" >&6; }
10913 if eval test \"x\$"$as_ac_var"\" = x"yes"
10914 then :
10915 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10916 fi }
10917 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10919 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10920 if eval test \${$as_ac_var+y}
10921 then :
10922 printf %s "(cached) " >&6
10923 else $as_nop
10924 ac_wine_try_cflags_saved=$CFLAGS
10925 ac_wine_try_cflags_saved_exeext=$ac_exeext
10926 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10927 ac_exeext=".exe"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10930 int __cdecl mainCRTStartup(void) { return 0; }
10931 _ACEOF
10932 if ac_fn_c_try_link "$LINENO"
10933 then :
10934 eval "$as_ac_var=yes"
10935 else $as_nop
10936 eval "$as_ac_var=no"
10938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10939 conftest$ac_exeext conftest.$ac_ext
10940 CFLAGS=$ac_wine_try_cflags_saved
10941 ac_exeext=$ac_wine_try_cflags_saved_exeext
10943 eval ac_res=\$$as_ac_var
10944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10945 printf "%s\n" "$ac_res" >&6; }
10946 if eval test \"x\$"$as_ac_var"\" = x"yes"
10947 then :
10948 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10949 fi }
10950 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10952 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10953 if eval test \${$as_ac_var+y}
10954 then :
10955 printf %s "(cached) " >&6
10956 else $as_nop
10957 ac_wine_try_cflags_saved=$CFLAGS
10958 ac_wine_try_cflags_saved_exeext=$ac_exeext
10959 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10960 ac_exeext=".exe"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 int __cdecl mainCRTStartup(void) { return 0; }
10964 _ACEOF
10965 if ac_fn_c_try_link "$LINENO"
10966 then :
10967 eval "$as_ac_var=yes"
10968 else $as_nop
10969 eval "$as_ac_var=no"
10971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10972 conftest$ac_exeext conftest.$ac_ext
10973 CFLAGS=$ac_wine_try_cflags_saved
10974 ac_exeext=$ac_wine_try_cflags_saved_exeext
10976 eval ac_res=\$$as_ac_var
10977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10978 printf "%s\n" "$ac_res" >&6; }
10979 if eval test \"x\$"$as_ac_var"\" = x"yes"
10980 then :
10981 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10982 fi }
10983 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10985 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10986 if eval test \${$as_ac_var+y}
10987 then :
10988 printf %s "(cached) " >&6
10989 else $as_nop
10990 ac_wine_try_cflags_saved=$CFLAGS
10991 ac_wine_try_cflags_saved_exeext=$ac_exeext
10992 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10993 ac_exeext=".exe"
10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10995 /* end confdefs.h. */
10996 int __cdecl mainCRTStartup(void) { return 0; }
10997 _ACEOF
10998 if ac_fn_c_try_link "$LINENO"
10999 then :
11000 eval "$as_ac_var=yes"
11001 else $as_nop
11002 eval "$as_ac_var=no"
11004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11005 conftest$ac_exeext conftest.$ac_ext
11006 CFLAGS=$ac_wine_try_cflags_saved
11007 ac_exeext=$ac_wine_try_cflags_saved_exeext
11009 eval ac_res=\$$as_ac_var
11010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11011 printf "%s\n" "$ac_res" >&6; }
11012 if eval test \"x\$"$as_ac_var"\" = x"yes"
11013 then :
11014 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11015 fi }
11016 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11018 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11019 if eval test \${$as_ac_var+y}
11020 then :
11021 printf %s "(cached) " >&6
11022 else $as_nop
11023 ac_wine_try_cflags_saved=$CFLAGS
11024 ac_wine_try_cflags_saved_exeext=$ac_exeext
11025 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11026 ac_exeext=".exe"
11027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11028 /* end confdefs.h. */
11029 int __cdecl mainCRTStartup(void) { return 0; }
11030 _ACEOF
11031 if ac_fn_c_try_link "$LINENO"
11032 then :
11033 eval "$as_ac_var=yes"
11034 else $as_nop
11035 eval "$as_ac_var=no"
11037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11038 conftest$ac_exeext conftest.$ac_ext
11039 CFLAGS=$ac_wine_try_cflags_saved
11040 ac_exeext=$ac_wine_try_cflags_saved_exeext
11042 eval ac_res=\$$as_ac_var
11043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11044 printf "%s\n" "$ac_res" >&6; }
11045 if eval test \"x\$"$as_ac_var"\" = x"yes"
11046 then :
11047 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11048 fi }
11049 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11051 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11052 if eval test \${$as_ac_var+y}
11053 then :
11054 printf %s "(cached) " >&6
11055 else $as_nop
11056 ac_wine_try_cflags_saved=$CFLAGS
11057 ac_wine_try_cflags_saved_exeext=$ac_exeext
11058 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11059 ac_exeext=".exe"
11060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061 /* end confdefs.h. */
11062 int __cdecl mainCRTStartup(void) { return 0; }
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"
11065 then :
11066 eval "$as_ac_var=yes"
11067 else $as_nop
11068 eval "$as_ac_var=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11071 conftest$ac_exeext conftest.$ac_ext
11072 CFLAGS=$ac_wine_try_cflags_saved
11073 ac_exeext=$ac_wine_try_cflags_saved_exeext
11075 eval ac_res=\$$as_ac_var
11076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11077 printf "%s\n" "$ac_res" >&6; }
11078 if eval test \"x\$"$as_ac_var"\" = x"yes"
11079 then :
11080 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11081 fi }
11082 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11084 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11085 if eval test \${$as_ac_var+y}
11086 then :
11087 printf %s "(cached) " >&6
11088 else $as_nop
11089 ac_wine_try_cflags_saved=$CFLAGS
11090 ac_wine_try_cflags_saved_exeext=$ac_exeext
11091 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11092 ac_exeext=".exe"
11093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11095 int __cdecl mainCRTStartup(void) { return 0; }
11096 _ACEOF
11097 if ac_fn_c_try_link "$LINENO"
11098 then :
11099 eval "$as_ac_var=yes"
11100 else $as_nop
11101 eval "$as_ac_var=no"
11103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11104 conftest$ac_exeext conftest.$ac_ext
11105 CFLAGS=$ac_wine_try_cflags_saved
11106 ac_exeext=$ac_wine_try_cflags_saved_exeext
11108 eval ac_res=\$$as_ac_var
11109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11110 printf "%s\n" "$ac_res" >&6; }
11111 if eval test \"x\$"$as_ac_var"\" = x"yes"
11112 then :
11113 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11114 fi }
11115 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11117 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11118 if eval test \${$as_ac_var+y}
11119 then :
11120 printf %s "(cached) " >&6
11121 else $as_nop
11122 ac_wine_try_cflags_saved=$CFLAGS
11123 ac_wine_try_cflags_saved_exeext=$ac_exeext
11124 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11125 ac_exeext=".exe"
11126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11127 /* end confdefs.h. */
11128 int __cdecl mainCRTStartup(void) { return 0; }
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"
11131 then :
11132 eval "$as_ac_var=yes"
11133 else $as_nop
11134 eval "$as_ac_var=no"
11136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11137 conftest$ac_exeext conftest.$ac_ext
11138 CFLAGS=$ac_wine_try_cflags_saved
11139 ac_exeext=$ac_wine_try_cflags_saved_exeext
11141 eval ac_res=\$$as_ac_var
11142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11143 printf "%s\n" "$ac_res" >&6; }
11144 if eval test \"x\$"$as_ac_var"\" = x"yes"
11145 then :
11146 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11147 fi }
11148 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11150 printf %s "checking whether $CC supports -Wvla... " >&6; }
11151 if eval test \${$as_ac_var+y}
11152 then :
11153 printf %s "(cached) " >&6
11154 else $as_nop
11155 ac_wine_try_cflags_saved=$CFLAGS
11156 ac_wine_try_cflags_saved_exeext=$ac_exeext
11157 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11158 ac_exeext=".exe"
11159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11160 /* end confdefs.h. */
11161 int __cdecl mainCRTStartup(void) { return 0; }
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"
11164 then :
11165 eval "$as_ac_var=yes"
11166 else $as_nop
11167 eval "$as_ac_var=no"
11169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11170 conftest$ac_exeext conftest.$ac_ext
11171 CFLAGS=$ac_wine_try_cflags_saved
11172 ac_exeext=$ac_wine_try_cflags_saved_exeext
11174 eval ac_res=\$$as_ac_var
11175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11176 printf "%s\n" "$ac_res" >&6; }
11177 if eval test \"x\$"$as_ac_var"\" = x"yes"
11178 then :
11179 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11180 fi }
11181 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11183 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11184 if eval test \${$as_ac_var+y}
11185 then :
11186 printf %s "(cached) " >&6
11187 else $as_nop
11188 ac_wine_try_cflags_saved=$CFLAGS
11189 ac_wine_try_cflags_saved_exeext=$ac_exeext
11190 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11191 ac_exeext=".exe"
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194 int __cdecl mainCRTStartup(void) { return 0; }
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"
11197 then :
11198 eval "$as_ac_var=yes"
11199 else $as_nop
11200 eval "$as_ac_var=no"
11202 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11203 conftest$ac_exeext conftest.$ac_ext
11204 CFLAGS=$ac_wine_try_cflags_saved
11205 ac_exeext=$ac_wine_try_cflags_saved_exeext
11207 eval ac_res=\$$as_ac_var
11208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11209 printf "%s\n" "$ac_res" >&6; }
11210 if eval test \"x\$"$as_ac_var"\" = x"yes"
11211 then :
11212 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11213 fi }
11214 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11216 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11217 if eval test \${$as_ac_var+y}
11218 then :
11219 printf %s "(cached) " >&6
11220 else $as_nop
11221 ac_wine_try_cflags_saved=$CFLAGS
11222 ac_wine_try_cflags_saved_exeext=$ac_exeext
11223 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11224 ac_exeext=".exe"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11227 int __cdecl mainCRTStartup(void) { return 0; }
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"
11230 then :
11231 eval "$as_ac_var=yes"
11232 else $as_nop
11233 eval "$as_ac_var=no"
11235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11236 conftest$ac_exeext conftest.$ac_ext
11237 CFLAGS=$ac_wine_try_cflags_saved
11238 ac_exeext=$ac_wine_try_cflags_saved_exeext
11240 eval ac_res=\$$as_ac_var
11241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11242 printf "%s\n" "$ac_res" >&6; }
11243 if eval test \"x\$"$as_ac_var"\" = x"yes"
11244 then :
11245 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11246 fi }
11247 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11249 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11250 if eval test \${$as_ac_var+y}
11251 then :
11252 printf %s "(cached) " >&6
11253 else $as_nop
11254 ac_wine_try_cflags_saved=$CFLAGS
11255 ac_wine_try_cflags_saved_exeext=$ac_exeext
11256 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11257 ac_exeext=".exe"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11260 int __cdecl mainCRTStartup(void) { return 0; }
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"
11263 then :
11264 eval "$as_ac_var=yes"
11265 else $as_nop
11266 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11269 conftest$ac_exeext conftest.$ac_ext
11270 CFLAGS=$ac_wine_try_cflags_saved
11271 ac_exeext=$ac_wine_try_cflags_saved_exeext
11273 eval ac_res=\$$as_ac_var
11274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11275 printf "%s\n" "$ac_res" >&6; }
11276 if eval test \"x\$"$as_ac_var"\" = x"yes"
11277 then :
11278 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11279 fi }
11280 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11282 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11283 if eval test \${$as_ac_var+y}
11284 then :
11285 printf %s "(cached) " >&6
11286 else $as_nop
11287 ac_wine_try_cflags_saved=$CFLAGS
11288 ac_wine_try_cflags_saved_exeext=$ac_exeext
11289 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11290 ac_exeext=".exe"
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293 int __cdecl mainCRTStartup(void) { return 0; }
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"
11296 then :
11297 eval "$as_ac_var=yes"
11298 else $as_nop
11299 eval "$as_ac_var=no"
11301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11302 conftest$ac_exeext conftest.$ac_ext
11303 CFLAGS=$ac_wine_try_cflags_saved
11304 ac_exeext=$ac_wine_try_cflags_saved_exeext
11306 eval ac_res=\$$as_ac_var
11307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11308 printf "%s\n" "$ac_res" >&6; }
11309 if eval test \"x\$"$as_ac_var"\" = x"yes"
11310 then :
11311 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11312 fi }
11314 case $wine_arch in
11315 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11317 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11318 if eval test \${$as_ac_var+y}
11319 then :
11320 printf %s "(cached) " >&6
11321 else $as_nop
11322 ac_wine_try_cflags_saved=$CFLAGS
11323 ac_wine_try_cflags_saved_exeext=$ac_exeext
11324 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11325 ac_exeext=".exe"
11326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327 /* end confdefs.h. */
11328 int __cdecl mainCRTStartup(void) { return 0; }
11329 _ACEOF
11330 if ac_fn_c_try_link "$LINENO"
11331 then :
11332 eval "$as_ac_var=yes"
11333 else $as_nop
11334 eval "$as_ac_var=no"
11336 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11337 conftest$ac_exeext conftest.$ac_ext
11338 CFLAGS=$ac_wine_try_cflags_saved
11339 ac_exeext=$ac_wine_try_cflags_saved_exeext
11341 eval ac_res=\$$as_ac_var
11342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11343 printf "%s\n" "$ac_res" >&6; }
11344 if eval test \"x\$"$as_ac_var"\" = x"yes"
11345 then :
11346 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11347 fi }
11348 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11350 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11351 if eval test \${$as_ac_var+y}
11352 then :
11353 printf %s "(cached) " >&6
11354 else $as_nop
11355 ac_wine_try_cflags_saved=$CFLAGS
11356 ac_wine_try_cflags_saved_exeext=$ac_exeext
11357 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11358 ac_exeext=".exe"
11359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11360 /* end confdefs.h. */
11361 int __cdecl mainCRTStartup(void) { return 0; }
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"
11364 then :
11365 eval "$as_ac_var=yes"
11366 else $as_nop
11367 eval "$as_ac_var=no"
11369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11370 conftest$ac_exeext conftest.$ac_ext
11371 CFLAGS=$ac_wine_try_cflags_saved
11372 ac_exeext=$ac_wine_try_cflags_saved_exeext
11374 eval ac_res=\$$as_ac_var
11375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11376 printf "%s\n" "$ac_res" >&6; }
11377 if eval test \"x\$"$as_ac_var"\" = x"yes"
11378 then :
11379 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11380 fi } ;;
11381 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11383 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11384 if eval test \${$as_ac_var+y}
11385 then :
11386 printf %s "(cached) " >&6
11387 else $as_nop
11388 ac_wine_try_cflags_saved=$CFLAGS
11389 ac_wine_try_cflags_saved_exeext=$ac_exeext
11390 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11391 ac_exeext=".exe"
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11394 int __cdecl mainCRTStartup(void) { return 0; }
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"
11397 then :
11398 eval "$as_ac_var=yes"
11399 else $as_nop
11400 eval "$as_ac_var=no"
11402 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11403 conftest$ac_exeext conftest.$ac_ext
11404 CFLAGS=$ac_wine_try_cflags_saved
11405 ac_exeext=$ac_wine_try_cflags_saved_exeext
11407 eval ac_res=\$$as_ac_var
11408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11409 printf "%s\n" "$ac_res" >&6; }
11410 if eval test \"x\$"$as_ac_var"\" = x"yes"
11411 then :
11412 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11413 fi }
11414 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11416 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11417 if eval test \${$as_ac_var+y}
11418 then :
11419 printf %s "(cached) " >&6
11420 else $as_nop
11421 ac_wine_try_cflags_saved=$CFLAGS
11422 ac_wine_try_cflags_saved_exeext=$ac_exeext
11423 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11424 ac_exeext=".exe"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11427 int __cdecl mainCRTStartup(void) { return 0; }
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"
11430 then :
11431 eval "$as_ac_var=yes"
11432 else $as_nop
11433 eval "$as_ac_var=no"
11435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11436 conftest$ac_exeext conftest.$ac_ext
11437 CFLAGS=$ac_wine_try_cflags_saved
11438 ac_exeext=$ac_wine_try_cflags_saved_exeext
11440 eval ac_res=\$$as_ac_var
11441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11442 printf "%s\n" "$ac_res" >&6; }
11443 if eval test \"x\$"$as_ac_var"\" = x"yes"
11444 then :
11445 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11446 fi }
11447 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11449 printf %s "checking whether $CC supports -mcx16... " >&6; }
11450 if eval test \${$as_ac_var+y}
11451 then :
11452 printf %s "(cached) " >&6
11453 else $as_nop
11454 ac_wine_try_cflags_saved=$CFLAGS
11455 ac_wine_try_cflags_saved_exeext=$ac_exeext
11456 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11457 ac_exeext=".exe"
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11460 int __cdecl mainCRTStartup(void) { return 0; }
11461 _ACEOF
11462 if ac_fn_c_try_link "$LINENO"
11463 then :
11464 eval "$as_ac_var=yes"
11465 else $as_nop
11466 eval "$as_ac_var=no"
11468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11469 conftest$ac_exeext conftest.$ac_ext
11470 CFLAGS=$ac_wine_try_cflags_saved
11471 ac_exeext=$ac_wine_try_cflags_saved_exeext
11473 eval ac_res=\$$as_ac_var
11474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11475 printf "%s\n" "$ac_res" >&6; }
11476 if eval test \"x\$"$as_ac_var"\" = x"yes"
11477 then :
11478 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11479 fi } ;;
11480 esac
11482 wine_crossdebug=$CROSSDEBUG
11483 if test -z "$wine_crossdebug"
11484 then
11485 for ac_flag in $CFLAGS; do
11486 case $ac_flag in
11487 -gdwarf*) wine_crossdebug=dwarf ;;
11488 -gcodeview) wine_crossdebug=pdb ;;
11489 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11490 esac
11491 done
11494 ac_debug_format_seen=""
11495 for ac_flag in $CFLAGS; do
11496 case $ac_flag in
11497 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11498 esac
11499 done
11500 if test "x$ac_debug_format_seen" = x
11501 then
11502 case $wine_crossdebug in
11503 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11505 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11506 if eval test \${$as_ac_var+y}
11507 then :
11508 printf %s "(cached) " >&6
11509 else $as_nop
11510 ac_wine_try_cflags_saved=$CFLAGS
11511 ac_wine_try_cflags_saved_exeext=$ac_exeext
11512 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11513 ac_exeext=".exe"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11516 int __cdecl mainCRTStartup(void) { return 0; }
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"
11519 then :
11520 eval "$as_ac_var=yes"
11521 else $as_nop
11522 eval "$as_ac_var=no"
11524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11525 conftest$ac_exeext conftest.$ac_ext
11526 CFLAGS=$ac_wine_try_cflags_saved
11527 ac_exeext=$ac_wine_try_cflags_saved_exeext
11529 eval ac_res=\$$as_ac_var
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11531 printf "%s\n" "$ac_res" >&6; }
11532 if eval test \"x\$"$as_ac_var"\" = x"yes"
11533 then :
11534 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11535 fi } ;;
11536 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11538 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11539 if eval test \${$as_ac_var+y}
11540 then :
11541 printf %s "(cached) " >&6
11542 else $as_nop
11543 ac_wine_try_cflags_saved=$CFLAGS
11544 ac_wine_try_cflags_saved_exeext=$ac_exeext
11545 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11546 ac_exeext=".exe"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 int __cdecl mainCRTStartup(void) { return 0; }
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"
11552 then :
11553 eval "$as_ac_var=yes"
11554 else $as_nop
11555 eval "$as_ac_var=no"
11557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11558 conftest$ac_exeext conftest.$ac_ext
11559 CFLAGS=$ac_wine_try_cflags_saved
11560 ac_exeext=$ac_wine_try_cflags_saved_exeext
11562 eval ac_res=\$$as_ac_var
11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11564 printf "%s\n" "$ac_res" >&6; }
11565 if eval test \"x\$"$as_ac_var"\" = x"yes"
11566 then :
11567 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11568 fi } ;;
11569 esac
11571 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11573 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11575 printf %s "checking whether $CC supports -Werror... " >&6; }
11576 if eval test \${$as_ac_var+y}
11577 then :
11578 printf %s "(cached) " >&6
11579 else $as_nop
11580 ac_wine_try_cflags_saved=$CFLAGS
11581 ac_wine_try_cflags_saved_exeext=$ac_exeext
11582 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11583 ac_exeext=".exe"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 int __cdecl mainCRTStartup(void) { return 0; }
11587 _ACEOF
11588 if ac_fn_c_try_link "$LINENO"
11589 then :
11590 eval "$as_ac_var=yes"
11591 else $as_nop
11592 eval "$as_ac_var=no"
11594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11595 conftest$ac_exeext conftest.$ac_ext
11596 CFLAGS=$ac_wine_try_cflags_saved
11597 ac_exeext=$ac_wine_try_cflags_saved_exeext
11599 eval ac_res=\$$as_ac_var
11600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11601 printf "%s\n" "$ac_res" >&6; }
11602 if eval test \"x\$"$as_ac_var"\" = x"yes"
11603 then :
11604 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11605 fi }
11606 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11608 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11609 if eval test \${$as_ac_var+y}
11610 then :
11611 printf %s "(cached) " >&6
11612 else $as_nop
11613 ac_wine_try_cflags_saved=$CFLAGS
11614 ac_wine_try_cflags_saved_exeext=$ac_exeext
11615 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11616 ac_exeext=".exe"
11617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11618 /* end confdefs.h. */
11619 int __cdecl mainCRTStartup(void) { return 0; }
11620 _ACEOF
11621 if ac_fn_c_try_link "$LINENO"
11622 then :
11623 eval "$as_ac_var=yes"
11624 else $as_nop
11625 eval "$as_ac_var=no"
11627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11628 conftest$ac_exeext conftest.$ac_ext
11629 CFLAGS=$ac_wine_try_cflags_saved
11630 ac_exeext=$ac_wine_try_cflags_saved_exeext
11632 eval ac_res=\$$as_ac_var
11633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11634 printf "%s\n" "$ac_res" >&6; }
11635 if eval test \"x\$"$as_ac_var"\" = x"yes"
11636 then :
11637 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11638 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11639 fi }
11641 CC=$saved_CC
11642 CFLAGS=$saved_CFLAGS
11643 done
11645 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11646 then
11647 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11650 if test "x$PE_ARCHS" = "x"
11651 then :
11652 case "x$with_mingw" in
11653 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11654 xno) ;;
11655 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11656 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11657 esac
11662 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11663 then
11664 case "$host_cpu" in
11665 i[3456789]86*)
11666 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11668 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11669 esac
11670 for ac_prog in $ac_prefix_list
11672 # Extract the first word of "$ac_prog", so it can be a program name with args.
11673 set dummy $ac_prog; ac_word=$2
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11675 printf %s "checking for $ac_word... " >&6; }
11676 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11677 then :
11678 printf %s "(cached) " >&6
11679 else $as_nop
11680 if test -n "$MINGW_PKG_CONFIG"; then
11681 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11682 else
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11686 IFS=$as_save_IFS
11687 case $as_dir in #(((
11688 '') as_dir=./ ;;
11689 */) ;;
11690 *) as_dir=$as_dir/ ;;
11691 esac
11692 for ac_exec_ext in '' $ac_executable_extensions; do
11693 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11694 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11696 break 2
11698 done
11699 done
11700 IFS=$as_save_IFS
11704 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11705 if test -n "$MINGW_PKG_CONFIG"; then
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11707 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11708 else
11709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 printf "%s\n" "no" >&6; }
11714 test -n "$MINGW_PKG_CONFIG" && break
11715 done
11716 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11718 if ${FAUDIO_PE_CFLAGS:+false} :
11719 then :
11720 if test ${MINGW_PKG_CONFIG+y}
11721 then :
11722 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11725 if ${FAUDIO_PE_LIBS:+false} :
11726 then :
11727 if test ${MINGW_PKG_CONFIG+y}
11728 then :
11729 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11732 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11733 ac_save_CPPFLAGS=$CPPFLAGS
11734 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11736 printf %s "checking for MinGW FAudio.h... " >&6; }
11737 if test ${ac_cv_mingw_header_FAudio_h+y}
11738 then :
11739 printf %s "(cached) " >&6
11740 else $as_nop
11741 ac_wine_check_headers_saved_cc=$CC
11742 ac_wine_check_headers_saved_exeext=$ac_exeext
11743 eval CC=\$${wine_arch}_CC
11744 ac_exeext=".exe"
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 #include <FAudio.h>
11750 main (void)
11754 return 0;
11756 _ACEOF
11757 if ac_fn_c_try_compile "$LINENO"
11758 then :
11759 ac_cv_mingw_header_FAudio_h=yes
11760 else $as_nop
11761 ac_cv_mingw_header_FAudio_h=no
11763 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11764 CC=$ac_wine_check_headers_saved_cc
11765 ac_exeext=$ac_wine_check_headers_saved_exeext
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11768 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11769 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11770 then :
11771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11772 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11773 if test ${ac_cv_mingw_lib_FAudio+y}
11774 then :
11775 printf %s "(cached) " >&6
11776 else $as_nop
11777 ac_wine_check_headers_saved_cc=$CC
11778 ac_wine_check_headers_saved_exeext=$ac_exeext
11779 ac_wine_check_headers_saved_libs=$LIBS
11780 eval CC=\$${wine_arch}_CC
11781 ac_exeext=".exe"
11782 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784 /* end confdefs.h. */
11786 /* Override any GCC internal prototype to avoid an error.
11787 Use char because int might match the return type of a GCC
11788 builtin and then its argument prototype would still apply. */
11789 char FAudio_CommitOperationSet ();
11791 main (void)
11793 return FAudio_CommitOperationSet ();
11795 return 0;
11797 _ACEOF
11798 if ac_fn_c_try_link "$LINENO"
11799 then :
11800 ac_cv_mingw_lib_FAudio=yes
11801 else $as_nop
11802 ac_cv_mingw_lib_FAudio=no
11804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11805 conftest$ac_exeext conftest.$ac_ext
11806 CC=$ac_wine_check_headers_saved_cc
11807 ac_exeext=$ac_wine_check_headers_saved_exeext
11808 LIBS=$ac_wine_check_headers_saved_libs
11810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11811 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11812 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11813 then :
11815 else $as_nop
11816 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11818 else $as_nop
11819 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11821 CPPFLAGS=$ac_save_CPPFLAGS
11823 if test "x$FAUDIO_PE_LIBS" = "x"
11824 then
11825 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11828 if ${JPEG_PE_CFLAGS:+false} :
11829 then :
11830 if test ${MINGW_PKG_CONFIG+y}
11831 then :
11832 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11835 if ${JPEG_PE_LIBS:+false} :
11836 then :
11837 if test ${MINGW_PKG_CONFIG+y}
11838 then :
11839 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11843 ac_save_CPPFLAGS=$CPPFLAGS
11844 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11846 printf %s "checking for MinGW jpeglib.h... " >&6; }
11847 if test ${ac_cv_mingw_header_jpeglib_h+y}
11848 then :
11849 printf %s "(cached) " >&6
11850 else $as_nop
11851 ac_wine_check_headers_saved_cc=$CC
11852 ac_wine_check_headers_saved_exeext=$ac_exeext
11853 eval CC=\$${wine_arch}_CC
11854 ac_exeext=".exe"
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11857 #include <stddef.h>
11858 #include <stdio.h>
11859 #include <jpeglib.h>
11861 main (void)
11865 return 0;
11867 _ACEOF
11868 if ac_fn_c_try_compile "$LINENO"
11869 then :
11870 ac_cv_mingw_header_jpeglib_h=yes
11871 else $as_nop
11872 ac_cv_mingw_header_jpeglib_h=no
11874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11875 CC=$ac_wine_check_headers_saved_cc
11876 ac_exeext=$ac_wine_check_headers_saved_exeext
11878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11879 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11880 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11881 then :
11882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11883 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11884 if test ${ac_cv_mingw_lib_jpeg+y}
11885 then :
11886 printf %s "(cached) " >&6
11887 else $as_nop
11888 ac_wine_check_headers_saved_cc=$CC
11889 ac_wine_check_headers_saved_exeext=$ac_exeext
11890 ac_wine_check_headers_saved_libs=$LIBS
11891 eval CC=\$${wine_arch}_CC
11892 ac_exeext=".exe"
11893 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11900 char jpeg_start_decompress ();
11902 main (void)
11904 return jpeg_start_decompress ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"
11910 then :
11911 ac_cv_mingw_lib_jpeg=yes
11912 else $as_nop
11913 ac_cv_mingw_lib_jpeg=no
11915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11916 conftest$ac_exeext conftest.$ac_ext
11917 CC=$ac_wine_check_headers_saved_cc
11918 ac_exeext=$ac_wine_check_headers_saved_exeext
11919 LIBS=$ac_wine_check_headers_saved_libs
11921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11922 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11923 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11924 then :
11926 else $as_nop
11927 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11929 else $as_nop
11930 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11932 CPPFLAGS=$ac_save_CPPFLAGS
11934 if test "x$JPEG_PE_LIBS" = "x"
11935 then
11936 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11939 if ${LCMS2_PE_CFLAGS:+false} :
11940 then :
11941 if test ${MINGW_PKG_CONFIG+y}
11942 then :
11943 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11946 if ${LCMS2_PE_LIBS:+false} :
11947 then :
11948 if test ${MINGW_PKG_CONFIG+y}
11949 then :
11950 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11953 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11954 ac_save_CPPFLAGS=$CPPFLAGS
11955 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11957 printf %s "checking for MinGW lcms2.h... " >&6; }
11958 if test ${ac_cv_mingw_header_lcms2_h+y}
11959 then :
11960 printf %s "(cached) " >&6
11961 else $as_nop
11962 ac_wine_check_headers_saved_cc=$CC
11963 ac_wine_check_headers_saved_exeext=$ac_exeext
11964 eval CC=\$${wine_arch}_CC
11965 ac_exeext=".exe"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 #include <lcms2.h>
11971 main (void)
11975 return 0;
11977 _ACEOF
11978 if ac_fn_c_try_compile "$LINENO"
11979 then :
11980 ac_cv_mingw_header_lcms2_h=yes
11981 else $as_nop
11982 ac_cv_mingw_header_lcms2_h=no
11984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11985 CC=$ac_wine_check_headers_saved_cc
11986 ac_exeext=$ac_wine_check_headers_saved_exeext
11988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11989 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11990 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11991 then :
11992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11993 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11994 if test ${ac_cv_mingw_lib_lcms2+y}
11995 then :
11996 printf %s "(cached) " >&6
11997 else $as_nop
11998 ac_wine_check_headers_saved_cc=$CC
11999 ac_wine_check_headers_saved_exeext=$ac_exeext
12000 ac_wine_check_headers_saved_libs=$LIBS
12001 eval CC=\$${wine_arch}_CC
12002 ac_exeext=".exe"
12003 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 char cmsOpenProfileFromFile ();
12012 main (void)
12014 return cmsOpenProfileFromFile ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"
12020 then :
12021 ac_cv_mingw_lib_lcms2=yes
12022 else $as_nop
12023 ac_cv_mingw_lib_lcms2=no
12025 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12026 conftest$ac_exeext conftest.$ac_ext
12027 CC=$ac_wine_check_headers_saved_cc
12028 ac_exeext=$ac_wine_check_headers_saved_exeext
12029 LIBS=$ac_wine_check_headers_saved_libs
12031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12032 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12033 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12034 then :
12036 else $as_nop
12037 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12039 else $as_nop
12040 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12042 CPPFLAGS=$ac_save_CPPFLAGS
12044 if test "x$LCMS2_PE_LIBS" = "x"
12045 then
12046 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12049 if ${MPG123_PE_CFLAGS:+false} :
12050 then :
12051 if test ${MINGW_PKG_CONFIG+y}
12052 then :
12053 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12056 if ${MPG123_PE_LIBS:+false} :
12057 then :
12058 if test ${MINGW_PKG_CONFIG+y}
12059 then :
12060 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12063 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12064 ac_save_CPPFLAGS=$CPPFLAGS
12065 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12067 printf %s "checking for MinGW mpg123.h... " >&6; }
12068 if test ${ac_cv_mingw_header_mpg123_h+y}
12069 then :
12070 printf %s "(cached) " >&6
12071 else $as_nop
12072 ac_wine_check_headers_saved_cc=$CC
12073 ac_wine_check_headers_saved_exeext=$ac_exeext
12074 eval CC=\$${wine_arch}_CC
12075 ac_exeext=".exe"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 #include <mpg123.h>
12081 main (void)
12085 return 0;
12087 _ACEOF
12088 if ac_fn_c_try_compile "$LINENO"
12089 then :
12090 ac_cv_mingw_header_mpg123_h=yes
12091 else $as_nop
12092 ac_cv_mingw_header_mpg123_h=no
12094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12095 CC=$ac_wine_check_headers_saved_cc
12096 ac_exeext=$ac_wine_check_headers_saved_exeext
12098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12099 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12100 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12101 then :
12102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12103 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12104 if test ${ac_cv_mingw_lib_mpg123+y}
12105 then :
12106 printf %s "(cached) " >&6
12107 else $as_nop
12108 ac_wine_check_headers_saved_cc=$CC
12109 ac_wine_check_headers_saved_exeext=$ac_exeext
12110 ac_wine_check_headers_saved_libs=$LIBS
12111 eval CC=\$${wine_arch}_CC
12112 ac_exeext=".exe"
12113 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h. */
12117 /* Override any GCC internal prototype to avoid an error.
12118 Use char because int might match the return type of a GCC
12119 builtin and then its argument prototype would still apply. */
12120 char mpg123_feed ();
12122 main (void)
12124 return mpg123_feed ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"
12130 then :
12131 ac_cv_mingw_lib_mpg123=yes
12132 else $as_nop
12133 ac_cv_mingw_lib_mpg123=no
12135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12136 conftest$ac_exeext conftest.$ac_ext
12137 CC=$ac_wine_check_headers_saved_cc
12138 ac_exeext=$ac_wine_check_headers_saved_exeext
12139 LIBS=$ac_wine_check_headers_saved_libs
12141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12142 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12143 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12144 then :
12146 else $as_nop
12147 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12149 else $as_nop
12150 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12152 CPPFLAGS=$ac_save_CPPFLAGS
12154 if test "x$MPG123_PE_LIBS" = "x"
12155 then
12156 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12159 if ${PNG_PE_CFLAGS:+false} :
12160 then :
12161 if test ${MINGW_PKG_CONFIG+y}
12162 then :
12163 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12166 if ${PNG_PE_LIBS:+false} :
12167 then :
12168 if test ${MINGW_PKG_CONFIG+y}
12169 then :
12170 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12174 ac_save_CPPFLAGS=$CPPFLAGS
12175 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12177 printf %s "checking for MinGW png.h... " >&6; }
12178 if test ${ac_cv_mingw_header_png_h+y}
12179 then :
12180 printf %s "(cached) " >&6
12181 else $as_nop
12182 ac_wine_check_headers_saved_cc=$CC
12183 ac_wine_check_headers_saved_exeext=$ac_exeext
12184 eval CC=\$${wine_arch}_CC
12185 ac_exeext=".exe"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 #include <png.h>
12191 main (void)
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_compile "$LINENO"
12199 then :
12200 ac_cv_mingw_header_png_h=yes
12201 else $as_nop
12202 ac_cv_mingw_header_png_h=no
12204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12205 CC=$ac_wine_check_headers_saved_cc
12206 ac_exeext=$ac_wine_check_headers_saved_exeext
12208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12209 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12210 if test "x$ac_cv_mingw_header_png_h" = xyes
12211 then :
12212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12213 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12214 if test ${ac_cv_mingw_lib_png+y}
12215 then :
12216 printf %s "(cached) " >&6
12217 else $as_nop
12218 ac_wine_check_headers_saved_cc=$CC
12219 ac_wine_check_headers_saved_exeext=$ac_exeext
12220 ac_wine_check_headers_saved_libs=$LIBS
12221 eval CC=\$${wine_arch}_CC
12222 ac_exeext=".exe"
12223 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12230 char png_create_read_struct ();
12232 main (void)
12234 return png_create_read_struct ();
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_link "$LINENO"
12240 then :
12241 ac_cv_mingw_lib_png=yes
12242 else $as_nop
12243 ac_cv_mingw_lib_png=no
12245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12246 conftest$ac_exeext conftest.$ac_ext
12247 CC=$ac_wine_check_headers_saved_cc
12248 ac_exeext=$ac_wine_check_headers_saved_exeext
12249 LIBS=$ac_wine_check_headers_saved_libs
12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12252 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12253 if test "x$ac_cv_mingw_lib_png" = xyes
12254 then :
12256 else $as_nop
12257 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12259 else $as_nop
12260 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12262 CPPFLAGS=$ac_save_CPPFLAGS
12264 if test "x$PNG_PE_LIBS" = "x"
12265 then
12266 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12269 if ${TIFF_PE_CFLAGS:+false} :
12270 then :
12271 if test ${MINGW_PKG_CONFIG+y}
12272 then :
12273 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12276 if ${TIFF_PE_LIBS:+false} :
12277 then :
12278 if test ${MINGW_PKG_CONFIG+y}
12279 then :
12280 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12284 ac_save_CPPFLAGS=$CPPFLAGS
12285 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12287 printf %s "checking for MinGW tiffio.h... " >&6; }
12288 if test ${ac_cv_mingw_header_tiffio_h+y}
12289 then :
12290 printf %s "(cached) " >&6
12291 else $as_nop
12292 ac_wine_check_headers_saved_cc=$CC
12293 ac_wine_check_headers_saved_exeext=$ac_exeext
12294 eval CC=\$${wine_arch}_CC
12295 ac_exeext=".exe"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 #include <tiffio.h>
12301 main (void)
12305 return 0;
12307 _ACEOF
12308 if ac_fn_c_try_compile "$LINENO"
12309 then :
12310 ac_cv_mingw_header_tiffio_h=yes
12311 else $as_nop
12312 ac_cv_mingw_header_tiffio_h=no
12314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12315 CC=$ac_wine_check_headers_saved_cc
12316 ac_exeext=$ac_wine_check_headers_saved_exeext
12318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12319 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12320 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12321 then :
12322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12323 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12324 if test ${ac_cv_mingw_lib_tiff+y}
12325 then :
12326 printf %s "(cached) " >&6
12327 else $as_nop
12328 ac_wine_check_headers_saved_cc=$CC
12329 ac_wine_check_headers_saved_exeext=$ac_exeext
12330 ac_wine_check_headers_saved_libs=$LIBS
12331 eval CC=\$${wine_arch}_CC
12332 ac_exeext=".exe"
12333 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12337 /* Override any GCC internal prototype to avoid an error.
12338 Use char because int might match the return type of a GCC
12339 builtin and then its argument prototype would still apply. */
12340 char TIFFClientOpen ();
12342 main (void)
12344 return TIFFClientOpen ();
12346 return 0;
12348 _ACEOF
12349 if ac_fn_c_try_link "$LINENO"
12350 then :
12351 ac_cv_mingw_lib_tiff=yes
12352 else $as_nop
12353 ac_cv_mingw_lib_tiff=no
12355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12356 conftest$ac_exeext conftest.$ac_ext
12357 CC=$ac_wine_check_headers_saved_cc
12358 ac_exeext=$ac_wine_check_headers_saved_exeext
12359 LIBS=$ac_wine_check_headers_saved_libs
12361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12362 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12363 if test "x$ac_cv_mingw_lib_tiff" = xyes
12364 then :
12366 else $as_nop
12367 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12369 else $as_nop
12370 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12372 CPPFLAGS=$ac_save_CPPFLAGS
12374 if test "x$TIFF_PE_LIBS" = "x"
12375 then
12376 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12379 if ${XML2_PE_CFLAGS:+false} :
12380 then :
12381 if test ${MINGW_PKG_CONFIG+y}
12382 then :
12383 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12386 if ${XML2_PE_LIBS:+false} :
12387 then :
12388 if test ${MINGW_PKG_CONFIG+y}
12389 then :
12390 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12393 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12394 ac_save_CPPFLAGS=$CPPFLAGS
12395 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12397 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12398 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12399 then :
12400 printf %s "(cached) " >&6
12401 else $as_nop
12402 ac_wine_check_headers_saved_cc=$CC
12403 ac_wine_check_headers_saved_exeext=$ac_exeext
12404 eval CC=\$${wine_arch}_CC
12405 ac_exeext=".exe"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 #include <libxml/parser.h>
12411 main (void)
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_compile "$LINENO"
12419 then :
12420 ac_cv_mingw_header_libxml_parser_h=yes
12421 else $as_nop
12422 ac_cv_mingw_header_libxml_parser_h=no
12424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12425 CC=$ac_wine_check_headers_saved_cc
12426 ac_exeext=$ac_wine_check_headers_saved_exeext
12428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12429 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12430 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12431 then :
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12435 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12436 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12437 then :
12438 printf %s "(cached) " >&6
12439 else $as_nop
12440 ac_wine_check_headers_saved_cc=$CC
12441 ac_wine_check_headers_saved_exeext=$ac_exeext
12442 eval CC=\$${wine_arch}_CC
12443 ac_exeext=".exe"
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12447 #include <libxml/xmlsave.h>
12449 main (void)
12453 return 0;
12455 _ACEOF
12456 if ac_fn_c_try_compile "$LINENO"
12457 then :
12458 ac_cv_mingw_header_libxml_xmlsave_h=yes
12459 else $as_nop
12460 ac_cv_mingw_header_libxml_xmlsave_h=no
12462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12463 CC=$ac_wine_check_headers_saved_cc
12464 ac_exeext=$ac_wine_check_headers_saved_exeext
12466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12467 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12468 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12469 then :
12472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12473 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12474 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12475 then :
12476 printf %s "(cached) " >&6
12477 else $as_nop
12478 ac_wine_check_headers_saved_cc=$CC
12479 ac_wine_check_headers_saved_exeext=$ac_exeext
12480 eval CC=\$${wine_arch}_CC
12481 ac_exeext=".exe"
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12485 #include <libxml/SAX2.h>
12487 main (void)
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_compile "$LINENO"
12495 then :
12496 ac_cv_mingw_header_libxml_SAX2_h=yes
12497 else $as_nop
12498 ac_cv_mingw_header_libxml_SAX2_h=no
12500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12501 CC=$ac_wine_check_headers_saved_cc
12502 ac_exeext=$ac_wine_check_headers_saved_exeext
12504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12505 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12506 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12507 then :
12510 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"
12511 then
12512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12513 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12514 if test ${ac_cv_mingw_lib_xml2+y}
12515 then :
12516 printf %s "(cached) " >&6
12517 else $as_nop
12518 ac_wine_check_headers_saved_cc=$CC
12519 ac_wine_check_headers_saved_exeext=$ac_exeext
12520 ac_wine_check_headers_saved_libs=$LIBS
12521 eval CC=\$${wine_arch}_CC
12522 ac_exeext=".exe"
12523 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12527 /* Override any GCC internal prototype to avoid an error.
12528 Use char because int might match the return type of a GCC
12529 builtin and then its argument prototype would still apply. */
12530 char xmlFirstElementChild ();
12532 main (void)
12534 return xmlFirstElementChild ();
12536 return 0;
12538 _ACEOF
12539 if ac_fn_c_try_link "$LINENO"
12540 then :
12541 ac_cv_mingw_lib_xml2=yes
12542 else $as_nop
12543 ac_cv_mingw_lib_xml2=no
12545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12546 conftest$ac_exeext conftest.$ac_ext
12547 CC=$ac_wine_check_headers_saved_cc
12548 ac_exeext=$ac_wine_check_headers_saved_exeext
12549 LIBS=$ac_wine_check_headers_saved_libs
12551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12552 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12553 if test "x$ac_cv_mingw_lib_xml2" = xyes
12554 then :
12556 else $as_nop
12557 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12559 else
12560 XML2_PE_CFLAGS=""
12561 XML2_PE_LIBS=""
12563 CPPFLAGS=$ac_save_CPPFLAGS
12565 if test "x$XML2_PE_LIBS" = "x"
12566 then
12567 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12570 if ${XSLT_PE_CFLAGS:+false} :
12571 then :
12572 if test ${MINGW_PKG_CONFIG+y}
12573 then :
12574 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12577 if ${XSLT_PE_LIBS:+false} :
12578 then :
12579 if test ${MINGW_PKG_CONFIG+y}
12580 then :
12581 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12584 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12585 ac_save_CPPFLAGS=$CPPFLAGS
12586 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12588 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12589 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12590 then :
12591 printf %s "(cached) " >&6
12592 else $as_nop
12593 ac_wine_check_headers_saved_cc=$CC
12594 ac_wine_check_headers_saved_exeext=$ac_exeext
12595 eval CC=\$${wine_arch}_CC
12596 ac_exeext=".exe"
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 #include <libxslt/pattern.h>
12602 main (void)
12606 return 0;
12608 _ACEOF
12609 if ac_fn_c_try_compile "$LINENO"
12610 then :
12611 ac_cv_mingw_header_libxslt_pattern_h=yes
12612 else $as_nop
12613 ac_cv_mingw_header_libxslt_pattern_h=no
12615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12616 CC=$ac_wine_check_headers_saved_cc
12617 ac_exeext=$ac_wine_check_headers_saved_exeext
12619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12620 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12621 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12622 then :
12625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12626 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12627 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12628 then :
12629 printf %s "(cached) " >&6
12630 else $as_nop
12631 ac_wine_check_headers_saved_cc=$CC
12632 ac_wine_check_headers_saved_exeext=$ac_exeext
12633 eval CC=\$${wine_arch}_CC
12634 ac_exeext=".exe"
12635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12636 /* end confdefs.h. */
12638 #include <libxslt/transform.h>
12640 main (void)
12644 return 0;
12646 _ACEOF
12647 if ac_fn_c_try_compile "$LINENO"
12648 then :
12649 ac_cv_mingw_header_libxslt_transform_h=yes
12650 else $as_nop
12651 ac_cv_mingw_header_libxslt_transform_h=no
12653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12654 CC=$ac_wine_check_headers_saved_cc
12655 ac_exeext=$ac_wine_check_headers_saved_exeext
12657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12658 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12659 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12660 then :
12663 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12664 then
12665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12666 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12667 if test ${ac_cv_mingw_lib_xslt+y}
12668 then :
12669 printf %s "(cached) " >&6
12670 else $as_nop
12671 ac_wine_check_headers_saved_cc=$CC
12672 ac_wine_check_headers_saved_exeext=$ac_exeext
12673 ac_wine_check_headers_saved_libs=$LIBS
12674 eval CC=\$${wine_arch}_CC
12675 ac_exeext=".exe"
12676 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 char xsltCompilePattern ();
12685 main (void)
12687 return xsltCompilePattern ();
12689 return 0;
12691 _ACEOF
12692 if ac_fn_c_try_link "$LINENO"
12693 then :
12694 ac_cv_mingw_lib_xslt=yes
12695 else $as_nop
12696 ac_cv_mingw_lib_xslt=no
12698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12699 conftest$ac_exeext conftest.$ac_ext
12700 CC=$ac_wine_check_headers_saved_cc
12701 ac_exeext=$ac_wine_check_headers_saved_exeext
12702 LIBS=$ac_wine_check_headers_saved_libs
12704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12705 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12706 if test "x$ac_cv_mingw_lib_xslt" = xyes
12707 then :
12709 else $as_nop
12710 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12712 else
12713 XSLT_PE_CFLAGS=""
12714 XSLT_PE_LIBS=""
12716 CPPFLAGS=$ac_save_CPPFLAGS
12718 if test "x$XSLT_PE_LIBS" = "x"
12719 then
12720 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12723 if ${VKD3D_PE_CFLAGS:+false} :
12724 then :
12725 if test ${MINGW_PKG_CONFIG+y}
12726 then :
12727 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12730 if ${VKD3D_PE_LIBS:+false} :
12731 then :
12732 if test ${MINGW_PKG_CONFIG+y}
12733 then :
12734 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12737 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12738 ac_save_CPPFLAGS=$CPPFLAGS
12739 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12741 printf %s "checking for MinGW vkd3d.h... " >&6; }
12742 if test ${ac_cv_mingw_header_vkd3d_h+y}
12743 then :
12744 printf %s "(cached) " >&6
12745 else $as_nop
12746 ac_wine_check_headers_saved_cc=$CC
12747 ac_wine_check_headers_saved_exeext=$ac_exeext
12748 eval CC=\$${wine_arch}_CC
12749 ac_exeext=".exe"
12750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12751 /* end confdefs.h. */
12753 #include <vkd3d.h>
12755 main (void)
12759 return 0;
12761 _ACEOF
12762 if ac_fn_c_try_compile "$LINENO"
12763 then :
12764 ac_cv_mingw_header_vkd3d_h=yes
12765 else $as_nop
12766 ac_cv_mingw_header_vkd3d_h=no
12768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12769 CC=$ac_wine_check_headers_saved_cc
12770 ac_exeext=$ac_wine_check_headers_saved_exeext
12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12773 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12774 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12775 then :
12778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12779 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12780 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12781 then :
12782 printf %s "(cached) " >&6
12783 else $as_nop
12784 ac_wine_check_headers_saved_cc=$CC
12785 ac_wine_check_headers_saved_exeext=$ac_exeext
12786 eval CC=\$${wine_arch}_CC
12787 ac_exeext=".exe"
12788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12789 /* end confdefs.h. */
12791 #include <vkd3d_shader.h>
12793 main (void)
12797 return 0;
12799 _ACEOF
12800 if ac_fn_c_try_compile "$LINENO"
12801 then :
12802 ac_cv_mingw_header_vkd3d_shader_h=yes
12803 else $as_nop
12804 ac_cv_mingw_header_vkd3d_shader_h=no
12806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12807 CC=$ac_wine_check_headers_saved_cc
12808 ac_exeext=$ac_wine_check_headers_saved_exeext
12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12811 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12812 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12813 then :
12816 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12817 then
12818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12819 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12820 if test ${ac_cv_mingw_lib_vkd3d+y}
12821 then :
12822 printf %s "(cached) " >&6
12823 else $as_nop
12824 ac_wine_check_headers_saved_cc=$CC
12825 ac_wine_check_headers_saved_exeext=$ac_exeext
12826 ac_wine_check_headers_saved_libs=$LIBS
12827 eval CC=\$${wine_arch}_CC
12828 ac_exeext=".exe"
12829 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12836 char vkd3d_set_log_callback ();
12838 main (void)
12840 return vkd3d_set_log_callback ();
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_link "$LINENO"
12846 then :
12847 ac_cv_mingw_lib_vkd3d=yes
12848 else $as_nop
12849 ac_cv_mingw_lib_vkd3d=no
12851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12852 conftest$ac_exeext conftest.$ac_ext
12853 CC=$ac_wine_check_headers_saved_cc
12854 ac_exeext=$ac_wine_check_headers_saved_exeext
12855 LIBS=$ac_wine_check_headers_saved_libs
12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12858 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12859 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12860 then :
12862 else $as_nop
12865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12866 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12867 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12868 then :
12869 printf %s "(cached) " >&6
12870 else $as_nop
12871 ac_wine_check_headers_saved_cc=$CC
12872 ac_wine_check_headers_saved_exeext=$ac_exeext
12873 ac_wine_check_headers_saved_libs=$LIBS
12874 eval CC=\$${wine_arch}_CC
12875 ac_exeext=".exe"
12876 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 char vkd3d_shader_compile ();
12885 main (void)
12887 return vkd3d_shader_compile ();
12889 return 0;
12891 _ACEOF
12892 if ac_fn_c_try_link "$LINENO"
12893 then :
12894 ac_cv_mingw_lib_vkd3d_shader=yes
12895 else $as_nop
12896 ac_cv_mingw_lib_vkd3d_shader=no
12898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12899 conftest$ac_exeext conftest.$ac_ext
12900 CC=$ac_wine_check_headers_saved_cc
12901 ac_exeext=$ac_wine_check_headers_saved_exeext
12902 LIBS=$ac_wine_check_headers_saved_libs
12904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12905 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12906 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12907 then :
12909 else $as_nop
12912 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12913 then
12914 VKD3D_PE_CFLAGS=""
12915 VKD3D_PE_LIBS=""
12917 else
12918 VKD3D_PE_CFLAGS=""
12919 VKD3D_PE_LIBS=""
12921 CPPFLAGS=$ac_save_CPPFLAGS
12923 if test "x$VKD3D_PE_LIBS" = "x"
12924 then
12925 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12928 if ${ZLIB_PE_CFLAGS:+false} :
12929 then :
12930 if test ${MINGW_PKG_CONFIG+y}
12931 then :
12932 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12935 if ${ZLIB_PE_LIBS:+false} :
12936 then :
12937 if test ${MINGW_PKG_CONFIG+y}
12938 then :
12939 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12942 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12943 ac_save_CPPFLAGS=$CPPFLAGS
12944 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12946 printf %s "checking for MinGW zlib.h... " >&6; }
12947 if test ${ac_cv_mingw_header_zlib_h+y}
12948 then :
12949 printf %s "(cached) " >&6
12950 else $as_nop
12951 ac_wine_check_headers_saved_cc=$CC
12952 ac_wine_check_headers_saved_exeext=$ac_exeext
12953 eval CC=\$${wine_arch}_CC
12954 ac_exeext=".exe"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 #include <zlib.h>
12960 main (void)
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_compile "$LINENO"
12968 then :
12969 ac_cv_mingw_header_zlib_h=yes
12970 else $as_nop
12971 ac_cv_mingw_header_zlib_h=no
12973 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12974 CC=$ac_wine_check_headers_saved_cc
12975 ac_exeext=$ac_wine_check_headers_saved_exeext
12977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12978 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12979 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12980 then :
12981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12982 printf %s "checking for inflate in MinGW -lz... " >&6; }
12983 if test ${ac_cv_mingw_lib_z+y}
12984 then :
12985 printf %s "(cached) " >&6
12986 else $as_nop
12987 ac_wine_check_headers_saved_cc=$CC
12988 ac_wine_check_headers_saved_exeext=$ac_exeext
12989 ac_wine_check_headers_saved_libs=$LIBS
12990 eval CC=\$${wine_arch}_CC
12991 ac_exeext=".exe"
12992 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12994 /* end confdefs.h. */
12996 /* Override any GCC internal prototype to avoid an error.
12997 Use char because int might match the return type of a GCC
12998 builtin and then its argument prototype would still apply. */
12999 char inflate ();
13001 main (void)
13003 return inflate ();
13005 return 0;
13007 _ACEOF
13008 if ac_fn_c_try_link "$LINENO"
13009 then :
13010 ac_cv_mingw_lib_z=yes
13011 else $as_nop
13012 ac_cv_mingw_lib_z=no
13014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13015 conftest$ac_exeext conftest.$ac_ext
13016 CC=$ac_wine_check_headers_saved_cc
13017 ac_exeext=$ac_wine_check_headers_saved_exeext
13018 LIBS=$ac_wine_check_headers_saved_libs
13020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13021 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13022 if test "x$ac_cv_mingw_lib_z" = xyes
13023 then :
13025 else $as_nop
13026 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13028 else $as_nop
13029 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13031 CPPFLAGS=$ac_save_CPPFLAGS
13033 if test "x$ZLIB_PE_LIBS" = "x"
13034 then
13035 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13039 if ${FAUDIO_PE_LIBS:+false} :
13040 then :
13041 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13042 if ${FAUDIO_PE_CFLAGS:+false} :
13043 then :
13044 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13045 else $as_nop
13046 enable_faudio=no
13048 else $as_nop
13049 enable_faudio=no
13051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13054 if ${GSM_PE_LIBS:+false} :
13055 then :
13056 GSM_PE_LIBS=gsm
13057 if ${GSM_PE_CFLAGS:+false} :
13058 then :
13059 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13060 else $as_nop
13061 enable_gsm=no
13063 else $as_nop
13064 enable_gsm=no
13066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13069 if ${JPEG_PE_LIBS:+false} :
13070 then :
13071 JPEG_PE_LIBS=jpeg
13072 if ${JPEG_PE_CFLAGS:+false} :
13073 then :
13074 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13075 else $as_nop
13076 enable_jpeg=no
13078 else $as_nop
13079 enable_jpeg=no
13081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13084 if ${JXR_PE_LIBS:+false} :
13085 then :
13086 JXR_PE_LIBS=jxr
13087 if ${JXR_PE_CFLAGS:+false} :
13088 then :
13089 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13090 else $as_nop
13091 enable_jxr=no
13093 else $as_nop
13094 enable_jxr=no
13096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13099 if ${LCMS2_PE_LIBS:+false} :
13100 then :
13101 LCMS2_PE_LIBS=lcms2
13102 if ${LCMS2_PE_CFLAGS:+false} :
13103 then :
13104 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13105 else $as_nop
13106 enable_lcms2=no
13108 else $as_nop
13109 enable_lcms2=no
13111 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13114 if ${LDAP_PE_LIBS:+false} :
13115 then :
13116 LDAP_PE_LIBS=ldap
13117 if ${LDAP_PE_CFLAGS:+false} :
13118 then :
13119 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13120 else $as_nop
13121 enable_ldap=no
13123 else $as_nop
13124 enable_ldap=no
13126 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13129 if ${MPG123_PE_LIBS:+false} :
13130 then :
13131 MPG123_PE_LIBS=mpg123
13132 if ${MPG123_PE_CFLAGS:+false} :
13133 then :
13134 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13135 else $as_nop
13136 enable_mpg123=no
13138 else $as_nop
13139 enable_mpg123=no
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13144 if ${PNG_PE_LIBS:+false} :
13145 then :
13146 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13147 if ${PNG_PE_CFLAGS:+false} :
13148 then :
13149 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13150 else $as_nop
13151 enable_png=no
13153 else $as_nop
13154 enable_png=no
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13159 if ${TIFF_PE_LIBS:+false} :
13160 then :
13161 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13162 if ${TIFF_PE_CFLAGS:+false} :
13163 then :
13164 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13165 else $as_nop
13166 enable_tiff=no
13168 else $as_nop
13169 enable_tiff=no
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13174 if ${VKD3D_PE_LIBS:+false} :
13175 then :
13176 VKD3D_PE_LIBS=vkd3d
13177 if ${VKD3D_PE_CFLAGS:+false} :
13178 then :
13179 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13180 else $as_nop
13181 enable_vkd3d=no
13183 else $as_nop
13184 enable_vkd3d=no
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13189 if ${XML2_PE_LIBS:+false} :
13190 then :
13191 XML2_PE_LIBS=xml2
13192 if ${XML2_PE_CFLAGS:+false} :
13193 then :
13194 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13195 else $as_nop
13196 enable_xml2=no
13198 else $as_nop
13199 enable_xml2=no
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13204 if ${XSLT_PE_LIBS:+false} :
13205 then :
13206 XSLT_PE_LIBS=xslt
13207 if ${XSLT_PE_CFLAGS:+false} :
13208 then :
13209 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13210 else $as_nop
13211 enable_xslt=no
13213 else $as_nop
13214 enable_xslt=no
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13219 if ${ZLIB_PE_LIBS:+false} :
13220 then :
13221 ZLIB_PE_LIBS=z
13222 if ${ZLIB_PE_CFLAGS:+false} :
13223 then :
13224 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13225 else $as_nop
13226 enable_zlib=no
13228 else $as_nop
13229 enable_zlib=no
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13234 if ${ZYDIS_PE_LIBS:+false} :
13235 then :
13236 ZYDIS_PE_LIBS=zydis
13237 if ${ZYDIS_PE_CFLAGS:+false} :
13238 then :
13239 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13240 else $as_nop
13241 enable_zydis=no
13243 else $as_nop
13244 enable_zydis=no
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13251 if test "$ac_cv_header_pthread_h" = "yes"
13252 then
13253 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13254 if test "x$ac_cv_func_pthread_create" = xyes
13255 then :
13257 else $as_nop
13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13259 printf %s "checking for pthread_create in -lpthread... " >&6; }
13260 if test ${ac_cv_lib_pthread_pthread_create+y}
13261 then :
13262 printf %s "(cached) " >&6
13263 else $as_nop
13264 ac_check_lib_save_LIBS=$LIBS
13265 LIBS="-lpthread $LIBS"
13266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267 /* end confdefs.h. */
13269 /* Override any GCC internal prototype to avoid an error.
13270 Use char because int might match the return type of a GCC
13271 builtin and then its argument prototype would still apply. */
13272 char pthread_create ();
13274 main (void)
13276 return pthread_create ();
13278 return 0;
13280 _ACEOF
13281 if ac_fn_c_try_link "$LINENO"
13282 then :
13283 ac_cv_lib_pthread_pthread_create=yes
13284 else $as_nop
13285 ac_cv_lib_pthread_pthread_create=no
13287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_lib_save_LIBS
13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13292 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13293 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13294 then :
13295 PTHREAD_LIBS="-lpthread"
13302 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13303 then :
13304 case "x$with_pthread" in
13305 xno) ;;
13306 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13307 Wine cannot support threads without libpthread.
13308 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13309 esac
13314 ac_ext=c
13315 ac_cpp='$CPP $CPPFLAGS'
13316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13320 printf %s "checking how to run the C preprocessor... " >&6; }
13321 # On Suns, sometimes $CPP names a directory.
13322 if test -n "$CPP" && test -d "$CPP"; then
13323 CPP=
13325 if test -z "$CPP"; then
13326 if test ${ac_cv_prog_CPP+y}
13327 then :
13328 printf %s "(cached) " >&6
13329 else $as_nop
13330 # Double quotes because $CC needs to be expanded
13331 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13333 ac_preproc_ok=false
13334 for ac_c_preproc_warn_flag in '' yes
13336 # Use a header file that comes with gcc, so configuring glibc
13337 # with a fresh cross-compiler works.
13338 # On the NeXT, cc -E runs the code through the compiler's parser,
13339 # not just through cpp. "Syntax error" is here to catch this case.
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13342 #include <limits.h>
13343 Syntax error
13344 _ACEOF
13345 if ac_fn_c_try_cpp "$LINENO"
13346 then :
13348 else $as_nop
13349 # Broken: fails on valid input.
13350 continue
13352 rm -f conftest.err conftest.i conftest.$ac_ext
13354 # OK, works on sane cases. Now check whether nonexistent headers
13355 # can be detected and how.
13356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357 /* end confdefs.h. */
13358 #include <ac_nonexistent.h>
13359 _ACEOF
13360 if ac_fn_c_try_cpp "$LINENO"
13361 then :
13362 # Broken: success on invalid input.
13363 continue
13364 else $as_nop
13365 # Passes both tests.
13366 ac_preproc_ok=:
13367 break
13369 rm -f conftest.err conftest.i conftest.$ac_ext
13371 done
13372 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13373 rm -f conftest.i conftest.err conftest.$ac_ext
13374 if $ac_preproc_ok
13375 then :
13376 break
13379 done
13380 ac_cv_prog_CPP=$CPP
13383 CPP=$ac_cv_prog_CPP
13384 else
13385 ac_cv_prog_CPP=$CPP
13387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13388 printf "%s\n" "$CPP" >&6; }
13389 ac_preproc_ok=false
13390 for ac_c_preproc_warn_flag in '' yes
13392 # Use a header file that comes with gcc, so configuring glibc
13393 # with a fresh cross-compiler works.
13394 # On the NeXT, cc -E runs the code through the compiler's parser,
13395 # not just through cpp. "Syntax error" is here to catch this case.
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13398 #include <limits.h>
13399 Syntax error
13400 _ACEOF
13401 if ac_fn_c_try_cpp "$LINENO"
13402 then :
13404 else $as_nop
13405 # Broken: fails on valid input.
13406 continue
13408 rm -f conftest.err conftest.i conftest.$ac_ext
13410 # OK, works on sane cases. Now check whether nonexistent headers
13411 # can be detected and how.
13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413 /* end confdefs.h. */
13414 #include <ac_nonexistent.h>
13415 _ACEOF
13416 if ac_fn_c_try_cpp "$LINENO"
13417 then :
13418 # Broken: success on invalid input.
13419 continue
13420 else $as_nop
13421 # Passes both tests.
13422 ac_preproc_ok=:
13423 break
13425 rm -f conftest.err conftest.i conftest.$ac_ext
13427 done
13428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13429 rm -f conftest.i conftest.err conftest.$ac_ext
13430 if $ac_preproc_ok
13431 then :
13433 else $as_nop
13434 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13435 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13436 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13437 See \`config.log' for more details" "$LINENO" 5; }
13440 ac_ext=c
13441 ac_cpp='$CPP $CPPFLAGS'
13442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13448 printf %s "checking for X... " >&6; }
13451 # Check whether --with-x was given.
13452 if test ${with_x+y}
13453 then :
13454 withval=$with_x;
13457 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13458 if test "x$with_x" = xno; then
13459 # The user explicitly disabled X.
13460 have_x=disabled
13461 else
13462 case $x_includes,$x_libraries in #(
13463 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13464 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13465 then :
13466 printf %s "(cached) " >&6
13467 else $as_nop
13468 # One or both of the vars are not set, and there is no cached value.
13469 ac_x_includes=no
13470 ac_x_libraries=no
13471 # Do we need to do anything special at all?
13472 ac_save_LIBS=$LIBS
13473 LIBS="-lX11 $LIBS"
13474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13475 /* end confdefs.h. */
13476 #include <X11/Xlib.h>
13478 main (void)
13480 XrmInitialize ()
13482 return 0;
13484 _ACEOF
13485 if ac_fn_c_try_link "$LINENO"
13486 then :
13487 # We can compile and link X programs with no special options.
13488 ac_x_includes=
13489 ac_x_libraries=
13491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS="$ac_save_LIBS"
13494 # If that didn't work, only try xmkmf and file system searches
13495 # for native compilation.
13496 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13497 then :
13498 rm -f -r conftest.dir
13499 if mkdir conftest.dir; then
13500 cd conftest.dir
13501 cat >Imakefile <<'_ACEOF'
13502 incroot:
13503 @echo incroot='${INCROOT}'
13504 usrlibdir:
13505 @echo usrlibdir='${USRLIBDIR}'
13506 libdir:
13507 @echo libdir='${LIBDIR}'
13508 _ACEOF
13509 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13510 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13511 for ac_var in incroot usrlibdir libdir; do
13512 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13513 done
13514 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13515 for ac_extension in a so sl dylib la dll; do
13516 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13517 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13518 ac_im_usrlibdir=$ac_im_libdir; break
13520 done
13521 # Screen out bogus values from the imake configuration. They are
13522 # bogus both because they are the default anyway, and because
13523 # using them would break gcc on systems where it needs fixed includes.
13524 case $ac_im_incroot in
13525 /usr/include) ac_x_includes= ;;
13526 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13527 esac
13528 case $ac_im_usrlibdir in
13529 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13530 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13531 esac
13533 cd ..
13534 rm -f -r conftest.dir
13537 # Standard set of common directories for X headers.
13538 # Check X11 before X11Rn because it is often a symlink to the current release.
13539 ac_x_header_dirs='
13540 /usr/X11/include
13541 /usr/X11R7/include
13542 /usr/X11R6/include
13543 /usr/X11R5/include
13544 /usr/X11R4/include
13546 /usr/include/X11
13547 /usr/include/X11R7
13548 /usr/include/X11R6
13549 /usr/include/X11R5
13550 /usr/include/X11R4
13552 /usr/local/X11/include
13553 /usr/local/X11R7/include
13554 /usr/local/X11R6/include
13555 /usr/local/X11R5/include
13556 /usr/local/X11R4/include
13558 /usr/local/include/X11
13559 /usr/local/include/X11R7
13560 /usr/local/include/X11R6
13561 /usr/local/include/X11R5
13562 /usr/local/include/X11R4
13564 /opt/X11/include
13566 /usr/X386/include
13567 /usr/x386/include
13568 /usr/XFree86/include/X11
13570 /usr/include
13571 /usr/local/include
13572 /usr/unsupported/include
13573 /usr/athena/include
13574 /usr/local/x11r5/include
13575 /usr/lpp/Xamples/include
13577 /usr/openwin/include
13578 /usr/openwin/share/include'
13580 if test "$ac_x_includes" = no; then
13581 # Guess where to find include files, by looking for Xlib.h.
13582 # First, try using that file with no special directory specified.
13583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13584 /* end confdefs.h. */
13585 #include <X11/Xlib.h>
13586 _ACEOF
13587 if ac_fn_c_try_cpp "$LINENO"
13588 then :
13589 # We can compile using X headers with no special include directory.
13590 ac_x_includes=
13591 else $as_nop
13592 for ac_dir in $ac_x_header_dirs; do
13593 if test -r "$ac_dir/X11/Xlib.h"; then
13594 ac_x_includes=$ac_dir
13595 break
13597 done
13599 rm -f conftest.err conftest.i conftest.$ac_ext
13600 fi # $ac_x_includes = no
13602 if test "$ac_x_libraries" = no; then
13603 # Check for the libraries.
13604 # See if we find them without any special options.
13605 # Don't add to $LIBS permanently.
13606 ac_save_LIBS=$LIBS
13607 LIBS="-lX11 $LIBS"
13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13609 /* end confdefs.h. */
13610 #include <X11/Xlib.h>
13612 main (void)
13614 XrmInitialize ()
13616 return 0;
13618 _ACEOF
13619 if ac_fn_c_try_link "$LINENO"
13620 then :
13621 LIBS=$ac_save_LIBS
13622 # We can link X programs with no special library path.
13623 ac_x_libraries=
13624 else $as_nop
13625 LIBS=$ac_save_LIBS
13626 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13628 # Don't even attempt the hair of trying to link an X program!
13629 for ac_extension in a so sl dylib la dll; do
13630 if test -r "$ac_dir/libX11.$ac_extension"; then
13631 ac_x_libraries=$ac_dir
13632 break 2
13634 done
13635 done
13637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13638 conftest$ac_exeext conftest.$ac_ext
13639 fi # $ac_x_libraries = no
13642 # Record the results.
13643 case $ac_x_includes,$ac_x_libraries in #(
13644 no,* | *,no | *\'*) :
13645 # Didn't find X, or a directory has "'" in its name.
13646 ac_cv_have_x="have_x=no" ;; #(
13647 *) :
13648 # Record where we found X for the cache.
13649 ac_cv_have_x="have_x=yes\
13650 ac_x_includes='$ac_x_includes'\
13651 ac_x_libraries='$ac_x_libraries'" ;;
13652 esac
13654 ;; #(
13655 *) have_x=yes;;
13656 esac
13657 eval "$ac_cv_have_x"
13658 fi # $with_x != no
13660 if test "$have_x" != yes; then
13661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13662 printf "%s\n" "$have_x" >&6; }
13663 no_x=yes
13664 else
13665 # If each of the values was on the command line, it overrides each guess.
13666 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13667 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13668 # Update the cache value to reflect the command line values.
13669 ac_cv_have_x="have_x=yes\
13670 ac_x_includes='$x_includes'\
13671 ac_x_libraries='$x_libraries'"
13672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13673 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13676 if test "$no_x" = yes; then
13677 # Not all programs may use this symbol, but it does not hurt to define it.
13679 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13681 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13682 else
13683 if test -n "$x_includes"; then
13684 X_CFLAGS="$X_CFLAGS -I$x_includes"
13687 # It would also be nice to do this for all -L options, not just this one.
13688 if test -n "$x_libraries"; then
13689 X_LIBS="$X_LIBS -L$x_libraries"
13690 # For Solaris; some versions of Sun CC require a space after -R and
13691 # others require no space. Words are not sufficient . . . .
13692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13693 printf %s "checking whether -R must be followed by a space... " >&6; }
13694 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13695 ac_xsave_c_werror_flag=$ac_c_werror_flag
13696 ac_c_werror_flag=yes
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13701 main (void)
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"
13709 then :
13710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13711 printf "%s\n" "no" >&6; }
13712 X_LIBS="$X_LIBS -R$x_libraries"
13713 else $as_nop
13714 LIBS="$ac_xsave_LIBS -R $x_libraries"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13719 main (void)
13723 return 0;
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"
13727 then :
13728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13729 printf "%s\n" "yes" >&6; }
13730 X_LIBS="$X_LIBS -R $x_libraries"
13731 else $as_nop
13732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13733 printf "%s\n" "neither works" >&6; }
13735 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13736 conftest$ac_exeext conftest.$ac_ext
13738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13739 conftest$ac_exeext conftest.$ac_ext
13740 ac_c_werror_flag=$ac_xsave_c_werror_flag
13741 LIBS=$ac_xsave_LIBS
13744 # Check for system-dependent libraries X programs must link with.
13745 # Do this before checking for the system-independent R6 libraries
13746 # (-lICE), since we may need -lsocket or whatever for X linking.
13748 if test "$ISC" = yes; then
13749 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13750 else
13751 # Martyn Johnson says this is needed for Ultrix, if the X
13752 # libraries were built with DECnet support. And Karl Berry says
13753 # the Alpha needs dnet_stub (dnet does not exist).
13754 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 /* Override any GCC internal prototype to avoid an error.
13759 Use char because int might match the return type of a GCC
13760 builtin and then its argument prototype would still apply. */
13761 char XOpenDisplay ();
13763 main (void)
13765 return XOpenDisplay ();
13767 return 0;
13769 _ACEOF
13770 if ac_fn_c_try_link "$LINENO"
13771 then :
13773 else $as_nop
13774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13775 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13776 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13777 then :
13778 printf %s "(cached) " >&6
13779 else $as_nop
13780 ac_check_lib_save_LIBS=$LIBS
13781 LIBS="-ldnet $LIBS"
13782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13783 /* end confdefs.h. */
13785 /* Override any GCC internal prototype to avoid an error.
13786 Use char because int might match the return type of a GCC
13787 builtin and then its argument prototype would still apply. */
13788 char dnet_ntoa ();
13790 main (void)
13792 return dnet_ntoa ();
13794 return 0;
13796 _ACEOF
13797 if ac_fn_c_try_link "$LINENO"
13798 then :
13799 ac_cv_lib_dnet_dnet_ntoa=yes
13800 else $as_nop
13801 ac_cv_lib_dnet_dnet_ntoa=no
13803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13804 conftest$ac_exeext conftest.$ac_ext
13805 LIBS=$ac_check_lib_save_LIBS
13807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13808 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13809 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13810 then :
13811 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13814 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13816 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13817 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13818 then :
13819 printf %s "(cached) " >&6
13820 else $as_nop
13821 ac_check_lib_save_LIBS=$LIBS
13822 LIBS="-ldnet_stub $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13829 char dnet_ntoa ();
13831 main (void)
13833 return dnet_ntoa ();
13835 return 0;
13837 _ACEOF
13838 if ac_fn_c_try_link "$LINENO"
13839 then :
13840 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13841 else $as_nop
13842 ac_cv_lib_dnet_stub_dnet_ntoa=no
13844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_lib_save_LIBS
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13849 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13850 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13851 then :
13852 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS="$ac_xsave_LIBS"
13861 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13862 # to get the SysV transport functions.
13863 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13864 # needs -lnsl.
13865 # The nsl library prevents programs from opening the X display
13866 # on Irix 5.2, according to T.E. Dickey.
13867 # The functions gethostbyname, getservbyname, and inet_addr are
13868 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13869 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13870 if test "x$ac_cv_func_gethostbyname" = xyes
13871 then :
13875 if test $ac_cv_func_gethostbyname = no; then
13876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13877 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13878 if test ${ac_cv_lib_nsl_gethostbyname+y}
13879 then :
13880 printf %s "(cached) " >&6
13881 else $as_nop
13882 ac_check_lib_save_LIBS=$LIBS
13883 LIBS="-lnsl $LIBS"
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13890 char gethostbyname ();
13892 main (void)
13894 return gethostbyname ();
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"
13900 then :
13901 ac_cv_lib_nsl_gethostbyname=yes
13902 else $as_nop
13903 ac_cv_lib_nsl_gethostbyname=no
13905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_lib_save_LIBS
13909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13910 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13911 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13912 then :
13913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13916 if test $ac_cv_lib_nsl_gethostbyname = no; then
13917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13918 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13919 if test ${ac_cv_lib_bsd_gethostbyname+y}
13920 then :
13921 printf %s "(cached) " >&6
13922 else $as_nop
13923 ac_check_lib_save_LIBS=$LIBS
13924 LIBS="-lbsd $LIBS"
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13931 char gethostbyname ();
13933 main (void)
13935 return gethostbyname ();
13937 return 0;
13939 _ACEOF
13940 if ac_fn_c_try_link "$LINENO"
13941 then :
13942 ac_cv_lib_bsd_gethostbyname=yes
13943 else $as_nop
13944 ac_cv_lib_bsd_gethostbyname=no
13946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13947 conftest$ac_exeext conftest.$ac_ext
13948 LIBS=$ac_check_lib_save_LIBS
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13951 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13952 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13953 then :
13954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13960 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13961 # socket/setsockopt and other routines are undefined under SCO ODT
13962 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13963 # on later versions), says Simon Leinen: it contains gethostby*
13964 # variants that don't use the name server (or something). -lsocket
13965 # must be given before -lnsl if both are needed. We assume that
13966 # if connect needs -lnsl, so does gethostbyname.
13967 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13968 if test "x$ac_cv_func_connect" = xyes
13969 then :
13973 if test $ac_cv_func_connect = no; then
13974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13975 printf %s "checking for connect in -lsocket... " >&6; }
13976 if test ${ac_cv_lib_socket_connect+y}
13977 then :
13978 printf %s "(cached) " >&6
13979 else $as_nop
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 char connect ();
13990 main (void)
13992 return connect ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"
13998 then :
13999 ac_cv_lib_socket_connect=yes
14000 else $as_nop
14001 ac_cv_lib_socket_connect=no
14003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14004 conftest$ac_exeext conftest.$ac_ext
14005 LIBS=$ac_check_lib_save_LIBS
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14008 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14009 if test "x$ac_cv_lib_socket_connect" = xyes
14010 then :
14011 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14016 # Guillermo Gomez says -lposix is necessary on A/UX.
14017 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14018 if test "x$ac_cv_func_remove" = xyes
14019 then :
14023 if test $ac_cv_func_remove = no; then
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14025 printf %s "checking for remove in -lposix... " >&6; }
14026 if test ${ac_cv_lib_posix_remove+y}
14027 then :
14028 printf %s "(cached) " >&6
14029 else $as_nop
14030 ac_check_lib_save_LIBS=$LIBS
14031 LIBS="-lposix $LIBS"
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14035 /* Override any GCC internal prototype to avoid an error.
14036 Use char because int might match the return type of a GCC
14037 builtin and then its argument prototype would still apply. */
14038 char remove ();
14040 main (void)
14042 return remove ();
14044 return 0;
14046 _ACEOF
14047 if ac_fn_c_try_link "$LINENO"
14048 then :
14049 ac_cv_lib_posix_remove=yes
14050 else $as_nop
14051 ac_cv_lib_posix_remove=no
14053 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14054 conftest$ac_exeext conftest.$ac_ext
14055 LIBS=$ac_check_lib_save_LIBS
14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14058 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14059 if test "x$ac_cv_lib_posix_remove" = xyes
14060 then :
14061 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14066 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14067 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14068 if test "x$ac_cv_func_shmat" = xyes
14069 then :
14073 if test $ac_cv_func_shmat = no; then
14074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14075 printf %s "checking for shmat in -lipc... " >&6; }
14076 if test ${ac_cv_lib_ipc_shmat+y}
14077 then :
14078 printf %s "(cached) " >&6
14079 else $as_nop
14080 ac_check_lib_save_LIBS=$LIBS
14081 LIBS="-lipc $LIBS"
14082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14088 char shmat ();
14090 main (void)
14092 return shmat ();
14094 return 0;
14096 _ACEOF
14097 if ac_fn_c_try_link "$LINENO"
14098 then :
14099 ac_cv_lib_ipc_shmat=yes
14100 else $as_nop
14101 ac_cv_lib_ipc_shmat=no
14103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14104 conftest$ac_exeext conftest.$ac_ext
14105 LIBS=$ac_check_lib_save_LIBS
14107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14108 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14109 if test "x$ac_cv_lib_ipc_shmat" = xyes
14110 then :
14111 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14117 # Check for libraries that X11R6 Xt/Xaw programs need.
14118 ac_save_LDFLAGS=$LDFLAGS
14119 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14120 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14121 # check for ICE first), but we must link in the order -lSM -lICE or
14122 # we get undefined symbols. So assume we have SM if we have ICE.
14123 # These have to be linked with before -lX11, unlike the other
14124 # libraries we check for below, so use a different variable.
14125 # John Interrante, Karl Berry
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14127 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14128 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14129 then :
14130 printf %s "(cached) " >&6
14131 else $as_nop
14132 ac_check_lib_save_LIBS=$LIBS
14133 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14135 /* end confdefs.h. */
14137 /* Override any GCC internal prototype to avoid an error.
14138 Use char because int might match the return type of a GCC
14139 builtin and then its argument prototype would still apply. */
14140 char IceConnectionNumber ();
14142 main (void)
14144 return IceConnectionNumber ();
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"
14150 then :
14151 ac_cv_lib_ICE_IceConnectionNumber=yes
14152 else $as_nop
14153 ac_cv_lib_ICE_IceConnectionNumber=no
14155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14156 conftest$ac_exeext conftest.$ac_ext
14157 LIBS=$ac_check_lib_save_LIBS
14159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14160 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14161 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14162 then :
14163 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14166 LDFLAGS=$ac_save_LDFLAGS
14171 if test "$have_x" = "yes"
14172 then
14173 ac_save_CPPFLAGS="$CPPFLAGS"
14174 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14177 printf %s "checking for -lX11... " >&6; }
14178 if test ${ac_cv_lib_soname_X11+y}
14179 then :
14180 printf %s "(cached) " >&6
14181 else $as_nop
14182 ac_check_soname_save_LIBS=$LIBS
14183 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14185 /* end confdefs.h. */
14187 /* Override any GCC internal prototype to avoid an error.
14188 Use char because int might match the return type of a GCC
14189 builtin and then its argument prototype would still apply. */
14190 char XCreateWindow ();
14192 main (void)
14194 return XCreateWindow ();
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"
14200 then :
14201 case "$LIBEXT" in
14202 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14203 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'` ;;
14204 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14205 if ${ac_cv_lib_soname_X11:+false} :
14206 then :
14207 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14208 fi ;;
14209 esac
14210 else $as_nop
14211 ac_cv_lib_soname_X11=
14213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14214 conftest$ac_exeext conftest.$ac_ext
14215 LIBS=$ac_check_soname_save_LIBS
14217 if ${ac_cv_lib_soname_X11:+false} :
14218 then :
14219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14220 printf "%s\n" "not found" >&6; }
14222 else $as_nop
14223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14224 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14226 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14231 printf %s "checking for -lXext... " >&6; }
14232 if test ${ac_cv_lib_soname_Xext+y}
14233 then :
14234 printf %s "(cached) " >&6
14235 else $as_nop
14236 ac_check_soname_save_LIBS=$LIBS
14237 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14241 /* Override any GCC internal prototype to avoid an error.
14242 Use char because int might match the return type of a GCC
14243 builtin and then its argument prototype would still apply. */
14244 char XextCreateExtension ();
14246 main (void)
14248 return XextCreateExtension ();
14250 return 0;
14252 _ACEOF
14253 if ac_fn_c_try_link "$LINENO"
14254 then :
14255 case "$LIBEXT" in
14256 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14257 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'` ;;
14258 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14259 if ${ac_cv_lib_soname_Xext:+false} :
14260 then :
14261 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14262 fi ;;
14263 esac
14264 else $as_nop
14265 ac_cv_lib_soname_Xext=
14267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14268 conftest$ac_exeext conftest.$ac_ext
14269 LIBS=$ac_check_soname_save_LIBS
14271 if ${ac_cv_lib_soname_Xext:+false} :
14272 then :
14273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14274 printf "%s\n" "not found" >&6; }
14276 else $as_nop
14277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14278 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14280 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14282 X_LIBS="$X_LIBS -lXext"
14284 X_LIBS="$X_LIBS -lX11"
14286 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14287 # include <X11/Xlib.h>
14288 #endif
14289 #ifdef HAVE_X11_XUTIL_H
14290 # include <X11/Xutil.h>
14291 #endif
14293 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14294 then :
14295 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14298 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14299 # include <X11/Xlib.h>
14300 #endif
14301 #ifdef HAVE_X11_XUTIL_H
14302 # include <X11/Xutil.h>
14303 #endif
14305 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14306 then :
14307 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14310 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14311 # include <X11/Xlib.h>
14312 #endif
14313 #ifdef HAVE_X11_XUTIL_H
14314 # include <X11/Xutil.h>
14315 #endif
14317 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14318 then :
14319 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14322 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14323 # include <X11/Xlib.h>
14324 #endif
14325 #ifdef HAVE_X11_XUTIL_H
14326 # include <X11/Xutil.h>
14327 #endif
14329 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14330 then :
14331 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14334 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14335 # include <X11/Xlib.h>
14336 #endif
14337 #ifdef HAVE_X11_XUTIL_H
14338 # include <X11/Xutil.h>
14339 #endif
14341 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14342 then :
14343 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14346 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14347 # include <X11/Xlib.h>
14348 #endif
14349 #ifdef HAVE_X11_XUTIL_H
14350 # include <X11/Xutil.h>
14351 #endif
14353 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14354 then :
14355 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14358 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14359 # include <X11/Xlib.h>
14360 #endif
14361 #ifdef HAVE_X11_XUTIL_H
14362 # include <X11/Xutil.h>
14363 #endif
14365 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14366 then :
14367 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14370 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14371 # include <X11/Xlib.h>
14372 #endif
14373 #ifdef HAVE_X11_XUTIL_H
14374 # include <X11/Xutil.h>
14375 #endif
14377 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14378 then :
14379 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14382 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14383 # include <X11/Xlib.h>
14384 #endif
14385 #ifdef HAVE_X11_XUTIL_H
14386 # include <X11/Xutil.h>
14387 #endif
14389 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14390 then :
14391 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14394 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14395 # include <X11/Xlib.h>
14396 #endif
14397 #ifdef HAVE_X11_XUTIL_H
14398 # include <X11/Xutil.h>
14399 #endif
14401 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14402 then :
14403 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14406 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14407 # include <X11/Xlib.h>
14408 #endif
14409 #ifdef HAVE_X11_XUTIL_H
14410 # include <X11/Xutil.h>
14411 #endif
14413 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14414 then :
14415 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14418 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14419 # include <X11/Xlib.h>
14420 #endif
14421 #ifdef HAVE_X11_XUTIL_H
14422 # include <X11/Xutil.h>
14423 #endif
14425 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14426 then :
14427 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14430 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14431 # include <X11/Xlib.h>
14432 #endif
14433 #ifdef HAVE_X11_XUTIL_H
14434 # include <X11/Xutil.h>
14435 #endif
14437 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14438 then :
14439 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14442 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14443 # include <X11/Xlib.h>
14444 #endif
14445 #ifdef HAVE_X11_XUTIL_H
14446 # include <X11/Xutil.h>
14447 #endif
14449 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14450 then :
14451 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14454 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14455 # include <X11/Xlib.h>
14456 #endif
14457 #ifdef HAVE_X11_XUTIL_H
14458 # include <X11/Xutil.h>
14459 #endif
14461 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14462 then :
14463 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14468 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14469 then
14470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14471 printf %s "checking for -lXcursor... " >&6; }
14472 if test ${ac_cv_lib_soname_Xcursor+y}
14473 then :
14474 printf %s "(cached) " >&6
14475 else $as_nop
14476 ac_check_soname_save_LIBS=$LIBS
14477 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 char XcursorImageLoadCursor ();
14486 main (void)
14488 return XcursorImageLoadCursor ();
14490 return 0;
14492 _ACEOF
14493 if ac_fn_c_try_link "$LINENO"
14494 then :
14495 case "$LIBEXT" in
14496 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14497 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'` ;;
14498 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14499 if ${ac_cv_lib_soname_Xcursor:+false} :
14500 then :
14501 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14502 fi ;;
14503 esac
14504 else $as_nop
14505 ac_cv_lib_soname_Xcursor=
14507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14508 conftest$ac_exeext conftest.$ac_ext
14509 LIBS=$ac_check_soname_save_LIBS
14511 if ${ac_cv_lib_soname_Xcursor:+false} :
14512 then :
14513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14514 printf "%s\n" "not found" >&6; }
14516 else $as_nop
14517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14518 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14520 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14525 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14526 then :
14527 case "x$with_xcursor" in
14528 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14529 xno) ;;
14530 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14531 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14532 esac
14536 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14537 then
14538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14539 printf %s "checking for -lXi... " >&6; }
14540 if test ${ac_cv_lib_soname_Xi+y}
14541 then :
14542 printf %s "(cached) " >&6
14543 else $as_nop
14544 ac_check_soname_save_LIBS=$LIBS
14545 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14552 char XOpenDevice ();
14554 main (void)
14556 return XOpenDevice ();
14558 return 0;
14560 _ACEOF
14561 if ac_fn_c_try_link "$LINENO"
14562 then :
14563 case "$LIBEXT" in
14564 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14565 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'` ;;
14566 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14567 if ${ac_cv_lib_soname_Xi:+false} :
14568 then :
14569 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14570 fi ;;
14571 esac
14572 else $as_nop
14573 ac_cv_lib_soname_Xi=
14575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14576 conftest$ac_exeext conftest.$ac_ext
14577 LIBS=$ac_check_soname_save_LIBS
14579 if ${ac_cv_lib_soname_Xi:+false} :
14580 then :
14581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14582 printf "%s\n" "not found" >&6; }
14584 else $as_nop
14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14586 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14588 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14593 if test "x$ac_cv_lib_soname_Xi" = "x"
14594 then :
14595 case "x$with_xinput" in
14596 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14597 xno) ;;
14598 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14599 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14600 esac
14604 if test "x$ac_cv_lib_soname_Xi" != x
14605 then
14606 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14607 then :
14608 case "x$with_xinput2" in
14609 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14610 xno) ;;
14611 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14612 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14613 esac
14618 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14619 then
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14621 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14622 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14623 then :
14624 printf %s "(cached) " >&6
14625 else $as_nop
14626 ac_check_lib_save_LIBS=$LIBS
14627 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14631 /* Override any GCC internal prototype to avoid an error.
14632 Use char because int might match the return type of a GCC
14633 builtin and then its argument prototype would still apply. */
14634 char XShmQueryExtension ();
14636 main (void)
14638 return XShmQueryExtension ();
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_link "$LINENO"
14644 then :
14645 ac_cv_lib_Xext_XShmQueryExtension=yes
14646 else $as_nop
14647 ac_cv_lib_Xext_XShmQueryExtension=no
14649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14650 conftest$ac_exeext conftest.$ac_ext
14651 LIBS=$ac_check_lib_save_LIBS
14653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14654 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14655 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14656 then :
14658 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14663 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14664 then :
14665 case "x$with_xshm" in
14666 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14667 xno) ;;
14668 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14669 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14670 esac
14674 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14675 then
14676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14677 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14678 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14679 then :
14680 printf %s "(cached) " >&6
14681 else $as_nop
14682 ac_check_lib_save_LIBS=$LIBS
14683 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14687 /* Override any GCC internal prototype to avoid an error.
14688 Use char because int might match the return type of a GCC
14689 builtin and then its argument prototype would still apply. */
14690 char XShapeQueryExtension ();
14692 main (void)
14694 return XShapeQueryExtension ();
14696 return 0;
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"
14700 then :
14701 ac_cv_lib_Xext_XShapeQueryExtension=yes
14702 else $as_nop
14703 ac_cv_lib_Xext_XShapeQueryExtension=no
14705 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14706 conftest$ac_exeext conftest.$ac_ext
14707 LIBS=$ac_check_lib_save_LIBS
14709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14710 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14711 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14712 then :
14714 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14719 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14720 then :
14721 case "x$with_xshape" in
14722 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14723 xno) ;;
14724 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14725 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14726 esac
14730 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14731 then
14732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14733 printf %s "checking for -lXxf86vm... " >&6; }
14734 if test ${ac_cv_lib_soname_Xxf86vm+y}
14735 then :
14736 printf %s "(cached) " >&6
14737 else $as_nop
14738 ac_check_soname_save_LIBS=$LIBS
14739 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14743 /* Override any GCC internal prototype to avoid an error.
14744 Use char because int might match the return type of a GCC
14745 builtin and then its argument prototype would still apply. */
14746 char XF86VidModeQueryExtension ();
14748 main (void)
14750 return XF86VidModeQueryExtension ();
14752 return 0;
14754 _ACEOF
14755 if ac_fn_c_try_link "$LINENO"
14756 then :
14757 case "$LIBEXT" in
14758 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14759 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'` ;;
14760 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14761 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14762 then :
14763 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14764 fi ;;
14765 esac
14766 else $as_nop
14767 ac_cv_lib_soname_Xxf86vm=
14769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14770 conftest$ac_exeext conftest.$ac_ext
14771 LIBS=$ac_check_soname_save_LIBS
14773 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14774 then :
14775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14776 printf "%s\n" "not found" >&6; }
14778 else $as_nop
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14780 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14782 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14787 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14788 then :
14789 case "x$with_xxf86vm" in
14790 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14791 xno) ;;
14792 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14793 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14794 esac
14798 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14799 then
14800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14801 printf %s "checking for -lXrender... " >&6; }
14802 if test ${ac_cv_lib_soname_Xrender+y}
14803 then :
14804 printf %s "(cached) " >&6
14805 else $as_nop
14806 ac_check_soname_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 XRenderQueryExtension ();
14816 main (void)
14818 return XRenderQueryExtension ();
14820 return 0;
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"
14824 then :
14825 case "$LIBEXT" in
14826 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14827 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'` ;;
14828 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14829 if ${ac_cv_lib_soname_Xrender:+false} :
14830 then :
14831 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14832 fi ;;
14833 esac
14834 else $as_nop
14835 ac_cv_lib_soname_Xrender=
14837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14838 conftest$ac_exeext conftest.$ac_ext
14839 LIBS=$ac_check_soname_save_LIBS
14841 if ${ac_cv_lib_soname_Xrender:+false} :
14842 then :
14843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14844 printf "%s\n" "not found" >&6; }
14846 else $as_nop
14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14848 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14850 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14853 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14854 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14855 then :
14856 printf %s "(cached) " >&6
14857 else $as_nop
14858 ac_check_lib_save_LIBS=$LIBS
14859 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14866 char XRenderSetPictureTransform ();
14868 main (void)
14870 return XRenderSetPictureTransform ();
14872 return 0;
14874 _ACEOF
14875 if ac_fn_c_try_link "$LINENO"
14876 then :
14877 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14878 else $as_nop
14879 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14882 conftest$ac_exeext conftest.$ac_ext
14883 LIBS=$ac_check_lib_save_LIBS
14885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14886 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14887 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14888 then :
14890 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14895 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14896 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14897 then :
14898 printf %s "(cached) " >&6
14899 else $as_nop
14900 ac_check_lib_save_LIBS=$LIBS
14901 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14903 /* end confdefs.h. */
14905 /* Override any GCC internal prototype to avoid an error.
14906 Use char because int might match the return type of a GCC
14907 builtin and then its argument prototype would still apply. */
14908 char XRenderCreateLinearGradient ();
14910 main (void)
14912 return XRenderCreateLinearGradient ();
14914 return 0;
14916 _ACEOF
14917 if ac_fn_c_try_link "$LINENO"
14918 then :
14919 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14920 else $as_nop
14921 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14928 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14929 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14930 then :
14932 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14939 if test "x$ac_cv_lib_soname_Xrender" = "x"
14940 then :
14941 case "x$with_xrender" in
14942 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14943 xno) ;;
14944 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14945 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14946 esac
14950 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14951 then
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14954 #include <X11/Xlib.h>
14955 #include <X11/extensions/Xrandr.h>
14957 main (void)
14959 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14961 return 0;
14963 _ACEOF
14964 if ac_fn_c_try_compile "$LINENO"
14965 then :
14966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14967 printf %s "checking for -lXrandr... " >&6; }
14968 if test ${ac_cv_lib_soname_Xrandr+y}
14969 then :
14970 printf %s "(cached) " >&6
14971 else $as_nop
14972 ac_check_soname_save_LIBS=$LIBS
14973 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 char XRRQueryExtension ();
14982 main (void)
14984 return XRRQueryExtension ();
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_link "$LINENO"
14990 then :
14991 case "$LIBEXT" in
14992 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14993 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'` ;;
14994 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14995 if ${ac_cv_lib_soname_Xrandr:+false} :
14996 then :
14997 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14998 fi ;;
14999 esac
15000 else $as_nop
15001 ac_cv_lib_soname_Xrandr=
15003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15004 conftest$ac_exeext conftest.$ac_ext
15005 LIBS=$ac_check_soname_save_LIBS
15007 if ${ac_cv_lib_soname_Xrandr:+false} :
15008 then :
15009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15010 printf "%s\n" "not found" >&6; }
15012 else $as_nop
15013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15014 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15016 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15019 /* end confdefs.h. */
15020 #include <X11/Xlib.h>
15021 #include <X11/extensions/Xrandr.h>
15023 main (void)
15025 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15027 return 0;
15029 _ACEOF
15030 if ac_fn_c_try_compile "$LINENO"
15031 then :
15033 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15035 else $as_nop
15036 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15043 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15044 then :
15045 case "x$with_xrandr" in
15046 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15047 xno) ;;
15048 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15049 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15050 esac
15054 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15055 then
15056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15057 /* end confdefs.h. */
15058 #include <X11/Xlib.h>
15059 #include <X11/extensions/Xfixes.h>
15061 main (void)
15063 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15065 return 0;
15067 _ACEOF
15068 if ac_fn_c_try_compile "$LINENO"
15069 then :
15070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15071 printf %s "checking for -lXfixes... " >&6; }
15072 if test ${ac_cv_lib_soname_Xfixes+y}
15073 then :
15074 printf %s "(cached) " >&6
15075 else $as_nop
15076 ac_check_soname_save_LIBS=$LIBS
15077 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15081 /* Override any GCC internal prototype to avoid an error.
15082 Use char because int might match the return type of a GCC
15083 builtin and then its argument prototype would still apply. */
15084 char XFixesQueryVersion ();
15086 main (void)
15088 return XFixesQueryVersion ();
15090 return 0;
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"
15094 then :
15095 case "$LIBEXT" in
15096 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15097 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'` ;;
15098 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15099 if ${ac_cv_lib_soname_Xfixes:+false} :
15100 then :
15101 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15102 fi ;;
15103 esac
15104 else $as_nop
15105 ac_cv_lib_soname_Xfixes=
15107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15108 conftest$ac_exeext conftest.$ac_ext
15109 LIBS=$ac_check_soname_save_LIBS
15111 if ${ac_cv_lib_soname_Xfixes:+false} :
15112 then :
15113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15114 printf "%s\n" "not found" >&6; }
15116 else $as_nop
15117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15118 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15120 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15127 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15128 then :
15129 case "x$with_xfixes" in
15130 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15131 xno) ;;
15132 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15133 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15134 esac
15138 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15139 then
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #include <X11/Xlib.h>
15143 #include <X11/extensions/Xinerama.h>
15145 main (void)
15147 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15149 return 0;
15151 _ACEOF
15152 if ac_fn_c_try_compile "$LINENO"
15153 then :
15154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15155 printf %s "checking for -lXinerama... " >&6; }
15156 if test ${ac_cv_lib_soname_Xinerama+y}
15157 then :
15158 printf %s "(cached) " >&6
15159 else $as_nop
15160 ac_check_soname_save_LIBS=$LIBS
15161 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15165 /* Override any GCC internal prototype to avoid an error.
15166 Use char because int might match the return type of a GCC
15167 builtin and then its argument prototype would still apply. */
15168 char XineramaQueryScreens ();
15170 main (void)
15172 return XineramaQueryScreens ();
15174 return 0;
15176 _ACEOF
15177 if ac_fn_c_try_link "$LINENO"
15178 then :
15179 case "$LIBEXT" in
15180 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15181 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'` ;;
15182 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15183 if ${ac_cv_lib_soname_Xinerama:+false} :
15184 then :
15185 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15186 fi ;;
15187 esac
15188 else $as_nop
15189 ac_cv_lib_soname_Xinerama=
15191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15192 conftest$ac_exeext conftest.$ac_ext
15193 LIBS=$ac_check_soname_save_LIBS
15195 if ${ac_cv_lib_soname_Xinerama:+false} :
15196 then :
15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15198 printf "%s\n" "not found" >&6; }
15200 else $as_nop
15201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15202 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15204 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15211 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15212 then :
15213 case "x$with_xinerama" in
15214 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15215 xno) ;;
15216 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15217 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15218 esac
15222 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15223 then
15224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15225 printf %s "checking for -lXcomposite... " >&6; }
15226 if test ${ac_cv_lib_soname_Xcomposite+y}
15227 then :
15228 printf %s "(cached) " >&6
15229 else $as_nop
15230 ac_check_soname_save_LIBS=$LIBS
15231 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15233 /* end confdefs.h. */
15235 /* Override any GCC internal prototype to avoid an error.
15236 Use char because int might match the return type of a GCC
15237 builtin and then its argument prototype would still apply. */
15238 char XCompositeRedirectWindow ();
15240 main (void)
15242 return XCompositeRedirectWindow ();
15244 return 0;
15246 _ACEOF
15247 if ac_fn_c_try_link "$LINENO"
15248 then :
15249 case "$LIBEXT" in
15250 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15251 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'` ;;
15252 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15253 if ${ac_cv_lib_soname_Xcomposite:+false} :
15254 then :
15255 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15256 fi ;;
15257 esac
15258 else $as_nop
15259 ac_cv_lib_soname_Xcomposite=
15261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15262 conftest$ac_exeext conftest.$ac_ext
15263 LIBS=$ac_check_soname_save_LIBS
15265 if ${ac_cv_lib_soname_Xcomposite:+false} :
15266 then :
15267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15268 printf "%s\n" "not found" >&6; }
15270 else $as_nop
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15272 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15274 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15279 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15280 then :
15281 case "x$with_xcomposite" in
15282 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15283 xno) ;;
15284 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15285 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15286 esac
15290 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15291 #include <X11/Xlib.h>
15292 #endif
15294 if test "x$ac_cv_member_XICCallback_callback" = xyes
15295 then :
15297 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15301 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15302 #include <X11/Xlib.h>
15303 #endif
15305 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15306 then :
15308 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15315 opengl_msg=""
15316 if test "x$with_opengl" != "xno"
15317 then
15318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15319 printf %s "checking for -lGL... " >&6; }
15320 if test ${ac_cv_lib_soname_GL+y}
15321 then :
15322 printf %s "(cached) " >&6
15323 else $as_nop
15324 ac_check_soname_save_LIBS=$LIBS
15325 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15329 /* Override any GCC internal prototype to avoid an error.
15330 Use char because int might match the return type of a GCC
15331 builtin and then its argument prototype would still apply. */
15332 char glXCreateContext ();
15334 main (void)
15336 return glXCreateContext ();
15338 return 0;
15340 _ACEOF
15341 if ac_fn_c_try_link "$LINENO"
15342 then :
15343 case "$LIBEXT" in
15344 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15345 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'` ;;
15346 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15347 if ${ac_cv_lib_soname_GL:+false} :
15348 then :
15349 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15350 fi ;;
15351 esac
15352 else $as_nop
15353 ac_cv_lib_soname_GL=
15355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15356 conftest$ac_exeext conftest.$ac_ext
15357 LIBS=$ac_check_soname_save_LIBS
15359 if ${ac_cv_lib_soname_GL:+false} :
15360 then :
15361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15362 printf "%s\n" "not found" >&6; }
15363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15364 printf %s "checking for -lGL... " >&6; }
15365 if test ${ac_cv_lib_soname_GL+y}
15366 then :
15367 printf %s "(cached) " >&6
15368 else $as_nop
15369 ac_check_soname_save_LIBS=$LIBS
15370 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"
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15374 /* Override any GCC internal prototype to avoid an error.
15375 Use char because int might match the return type of a GCC
15376 builtin and then its argument prototype would still apply. */
15377 char glXCreateContext ();
15379 main (void)
15381 return glXCreateContext ();
15383 return 0;
15385 _ACEOF
15386 if ac_fn_c_try_link "$LINENO"
15387 then :
15388 case "$LIBEXT" in
15389 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15392 if ${ac_cv_lib_soname_GL:+false} :
15393 then :
15394 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15395 fi ;;
15396 esac
15397 else $as_nop
15398 ac_cv_lib_soname_GL=
15400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if ${ac_cv_lib_soname_GL:+false} :
15405 then :
15406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15407 printf "%s\n" "not found" >&6; }
15408 if test -f /usr/X11R6/lib/libGL.a
15409 then
15410 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15411 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15412 else
15413 opengl_msg="No OpenGL library found on this system."
15415 else $as_nop
15416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15417 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15419 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15421 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"
15423 else $as_nop
15424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15425 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15427 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15429 OPENGL_LIBS="-lGL"
15431 if test "x$with_osmesa" != "xno"
15432 then
15433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15434 printf %s "checking for -lOSMesa... " >&6; }
15435 if test ${ac_cv_lib_soname_OSMesa+y}
15436 then :
15437 printf %s "(cached) " >&6
15438 else $as_nop
15439 ac_check_soname_save_LIBS=$LIBS
15440 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15442 /* end confdefs.h. */
15444 /* Override any GCC internal prototype to avoid an error.
15445 Use char because int might match the return type of a GCC
15446 builtin and then its argument prototype would still apply. */
15447 char OSMesaGetProcAddress ();
15449 main (void)
15451 return OSMesaGetProcAddress ();
15453 return 0;
15455 _ACEOF
15456 if ac_fn_c_try_link "$LINENO"
15457 then :
15458 case "$LIBEXT" in
15459 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15460 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'` ;;
15461 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15462 if ${ac_cv_lib_soname_OSMesa:+false} :
15463 then :
15464 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15465 fi ;;
15466 esac
15467 else $as_nop
15468 ac_cv_lib_soname_OSMesa=
15470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15471 conftest$ac_exeext conftest.$ac_ext
15472 LIBS=$ac_check_soname_save_LIBS
15474 if ${ac_cv_lib_soname_OSMesa:+false} :
15475 then :
15476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15477 printf "%s\n" "not found" >&6; }
15479 else $as_nop
15480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15481 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15483 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15487 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15488 then :
15489 case "x$with_osmesa" in
15490 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15491 xno) ;;
15492 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15493 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15494 esac
15499 if test -n "$opengl_msg"
15500 then :
15501 case "x$with_opengl" in
15502 x) as_fn_append wine_warnings "|$opengl_msg
15503 OpenGL and Direct3D won't be supported." ;;
15504 xno) ;;
15505 *) as_fn_error $? "$opengl_msg
15506 OpenGL and Direct3D won't be supported.
15507 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15508 esac
15512 CPPFLAGS="$ac_save_CPPFLAGS"
15513 else
15514 X_CFLAGS=""
15515 X_LIBS=""
15518 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15519 then
15520 if test "x$X_LIBS" = "x"
15521 then :
15522 case "x$with_x" in
15523 xno) ;;
15524 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15525 without X support, which probably isn't what you want. You will need
15526 to install ${notice_platform}development packages of Xlib at the very least.
15527 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15528 esac
15529 enable_winex11_drv=${enable_winex11_drv:-no}
15531 else
15532 if test "x$X_LIBS" = "x"
15533 then :
15534 case "x$with_x" in
15535 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15536 xno) ;;
15537 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15538 This is an error since --with-x was requested." "$LINENO" 5 ;;
15539 esac
15540 enable_winex11_drv=${enable_winex11_drv:-no}
15544 if test "$ac_cv_header_CL_cl_h" = "yes"
15545 then
15546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15547 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15548 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15549 then :
15550 printf %s "(cached) " >&6
15551 else $as_nop
15552 ac_check_lib_save_LIBS=$LIBS
15553 LIBS="-lOpenCL $LIBS"
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15557 /* Override any GCC internal prototype to avoid an error.
15558 Use char because int might match the return type of a GCC
15559 builtin and then its argument prototype would still apply. */
15560 char clGetPlatformInfo ();
15562 main (void)
15564 return clGetPlatformInfo ();
15566 return 0;
15568 _ACEOF
15569 if ac_fn_c_try_link "$LINENO"
15570 then :
15571 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15572 else $as_nop
15573 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_lib_save_LIBS
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15580 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15581 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15582 then :
15583 OPENCL_LIBS="-lOpenCL"
15588 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15589 then :
15590 case "x$with_opencl" in
15591 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15592 xno) ;;
15593 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15594 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15595 esac
15596 enable_opencl=${enable_opencl:-no}
15599 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15600 then
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15602 printf %s "checking for pcap_init in -lpcap... " >&6; }
15603 if test ${ac_cv_lib_pcap_pcap_init+y}
15604 then :
15605 printf %s "(cached) " >&6
15606 else $as_nop
15607 ac_check_lib_save_LIBS=$LIBS
15608 LIBS="-lpcap $LIBS"
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 char pcap_init ();
15617 main (void)
15619 return pcap_init ();
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"
15625 then :
15626 ac_cv_lib_pcap_pcap_init=yes
15627 else $as_nop
15628 ac_cv_lib_pcap_pcap_init=no
15630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15631 conftest$ac_exeext conftest.$ac_ext
15632 LIBS=$ac_check_lib_save_LIBS
15634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15635 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15636 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15637 then :
15638 PCAP_LIBS="-lpcap"
15643 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15644 then :
15645 case "x$with_pcap" in
15646 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15647 xno) ;;
15648 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15649 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15650 esac
15651 enable_wpcap=${enable_wpcap:-no}
15654 if test "x$with_pcsclite" != "xno"
15655 then
15656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15657 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15658 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15659 then :
15660 printf %s "(cached) " >&6
15661 else $as_nop
15662 ac_check_lib_save_LIBS=$LIBS
15663 LIBS="-lpcsclite $LIBS"
15664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 char SCardEstablishContext ();
15672 main (void)
15674 return SCardEstablishContext ();
15676 return 0;
15678 _ACEOF
15679 if ac_fn_c_try_link "$LINENO"
15680 then :
15681 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15682 else $as_nop
15683 ac_cv_lib_pcsclite_SCardEstablishContext=no
15685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15686 conftest$ac_exeext conftest.$ac_ext
15687 LIBS=$ac_check_lib_save_LIBS
15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15690 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15691 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15692 then :
15693 PCSCLITE_LIBS="-lpcsclite"
15698 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15699 then :
15700 case "x$with_pcsclite" in
15701 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15702 xno) ;;
15703 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15704 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15705 esac
15706 enable_winscard=${enable_winscard:-no}
15709 if test "x$with_inotify" != "xno"
15710 then
15711 rm -f conftest.err
15712 if ${INOTIFY_CFLAGS:+false} :
15713 then :
15714 if test ${PKG_CONFIG+y}
15715 then :
15716 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15720 if ${INOTIFY_LIBS:+false} :
15721 then :
15722 if test ${PKG_CONFIG+y}
15723 then :
15724 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15731 if test -s conftest.err; then
15732 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15733 cat conftest.err >&5
15735 rm -f conftest.err
15736 ac_save_CPPFLAGS=$CPPFLAGS
15737 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15738 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15739 if test "x$ac_cv_header_sys_inotify_h" = xyes
15740 then :
15741 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15746 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15747 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15748 then :
15749 printf %s "(cached) " >&6
15750 else $as_nop
15751 ac_check_lib_save_LIBS=$LIBS
15752 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h. */
15756 /* Override any GCC internal prototype to avoid an error.
15757 Use char because int might match the return type of a GCC
15758 builtin and then its argument prototype would still apply. */
15759 char inotify_add_watch ();
15761 main (void)
15763 return inotify_add_watch ();
15765 return 0;
15767 _ACEOF
15768 if ac_fn_c_try_link "$LINENO"
15769 then :
15770 ac_cv_lib_inotify_inotify_add_watch=yes
15771 else $as_nop
15772 ac_cv_lib_inotify_inotify_add_watch=no
15774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15775 conftest$ac_exeext conftest.$ac_ext
15776 LIBS=$ac_check_lib_save_LIBS
15778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15779 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15780 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15781 then :
15783 else $as_nop
15784 INOTIFY_LIBS=""
15787 CPPFLAGS=$ac_save_CPPFLAGS
15790 if test "$ac_cv_header_sys_inotify_h" != "yes"
15791 then :
15792 case "x$with_inotify" in
15793 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15794 xno) ;;
15795 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15796 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15797 esac
15801 if test "x$with_dbus" != "xno"
15802 then
15803 rm -f conftest.err
15804 if ${DBUS_CFLAGS:+false} :
15805 then :
15806 if test ${PKG_CONFIG+y}
15807 then :
15808 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15812 if ${DBUS_LIBS:+false} :
15813 then :
15814 if test ${PKG_CONFIG+y}
15815 then :
15816 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15823 if test -s conftest.err; then
15824 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15825 cat conftest.err >&5
15827 rm -f conftest.err
15828 ac_save_CPPFLAGS=$CPPFLAGS
15829 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15830 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15831 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15832 then :
15833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15834 printf %s "checking for -ldbus-1... " >&6; }
15835 if test ${ac_cv_lib_soname_dbus_1+y}
15836 then :
15837 printf %s "(cached) " >&6
15838 else $as_nop
15839 ac_check_soname_save_LIBS=$LIBS
15840 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15842 /* end confdefs.h. */
15844 /* Override any GCC internal prototype to avoid an error.
15845 Use char because int might match the return type of a GCC
15846 builtin and then its argument prototype would still apply. */
15847 char dbus_connection_close ();
15849 main (void)
15851 return dbus_connection_close ();
15853 return 0;
15855 _ACEOF
15856 if ac_fn_c_try_link "$LINENO"
15857 then :
15858 case "$LIBEXT" in
15859 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15860 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'` ;;
15861 *) 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'`
15862 if ${ac_cv_lib_soname_dbus_1:+false} :
15863 then :
15864 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15865 fi ;;
15866 esac
15867 else $as_nop
15868 ac_cv_lib_soname_dbus_1=
15870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15871 conftest$ac_exeext conftest.$ac_ext
15872 LIBS=$ac_check_soname_save_LIBS
15874 if ${ac_cv_lib_soname_dbus_1:+false} :
15875 then :
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15877 printf "%s\n" "not found" >&6; }
15878 DBUS_CFLAGS=""
15879 else $as_nop
15880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15881 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15883 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15887 else $as_nop
15888 DBUS_CFLAGS=""
15891 CPPFLAGS=$ac_save_CPPFLAGS
15894 case $host_os in
15895 darwin*|macosx*) ;;
15896 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15897 then :
15898 case "x$with_dbus" in
15899 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15900 xno) ;;
15901 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15902 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15903 esac
15905 fi ;;
15906 esac
15908 if test "x$with_gnutls" != "xno"
15909 then
15910 rm -f conftest.err
15911 if ${GNUTLS_CFLAGS:+false} :
15912 then :
15913 if test ${PKG_CONFIG+y}
15914 then :
15915 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15919 if ${GNUTLS_LIBS:+false} :
15920 then :
15921 if test ${PKG_CONFIG+y}
15922 then :
15923 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15927 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15928 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15930 if test -s conftest.err; then
15931 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15932 cat conftest.err >&5
15934 rm -f conftest.err
15935 ac_save_CPPFLAGS=$CPPFLAGS
15936 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15937 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15938 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15939 then :
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #include <gnutls/gnutls.h>
15943 #include <gnutls/crypto.h>
15945 main (void)
15947 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15949 return 0;
15951 _ACEOF
15952 if ac_fn_c_try_compile "$LINENO"
15953 then :
15954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15955 printf %s "checking for -lgnutls... " >&6; }
15956 if test ${ac_cv_lib_soname_gnutls+y}
15957 then :
15958 printf %s "(cached) " >&6
15959 else $as_nop
15960 ac_check_soname_save_LIBS=$LIBS
15961 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15965 /* Override any GCC internal prototype to avoid an error.
15966 Use char because int might match the return type of a GCC
15967 builtin and then its argument prototype would still apply. */
15968 char gnutls_global_init ();
15970 main (void)
15972 return gnutls_global_init ();
15974 return 0;
15976 _ACEOF
15977 if ac_fn_c_try_link "$LINENO"
15978 then :
15979 case "$LIBEXT" in
15980 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15981 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'` ;;
15982 *) 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'`
15983 if ${ac_cv_lib_soname_gnutls:+false} :
15984 then :
15985 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'`
15986 fi ;;
15987 esac
15988 else $as_nop
15989 ac_cv_lib_soname_gnutls=
15991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15992 conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_soname_save_LIBS
15995 if ${ac_cv_lib_soname_gnutls:+false} :
15996 then :
15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15998 printf "%s\n" "not found" >&6; }
15999 GNUTLS_CFLAGS=""
16000 else $as_nop
16001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16002 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16004 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16008 ac_wine_check_funcs_save_LIBS="$LIBS"
16009 LIBS="$LIBS $GNUTLS_LIBS"
16011 for ac_func in gnutls_cipher_init
16012 do :
16013 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16014 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16015 then :
16016 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16018 else $as_nop
16019 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16022 done
16023 LIBS="$ac_wine_check_funcs_save_LIBS"
16025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16026 else $as_nop
16027 GNUTLS_CFLAGS=""
16030 CPPFLAGS=$ac_save_CPPFLAGS
16033 if test "x$ac_cv_lib_soname_gnutls" = "x"
16034 then :
16035 case "x$with_gnutls" in
16036 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16037 xno) ;;
16038 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16039 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16040 esac
16044 if test "x$with_sane" != "xno"
16045 then
16046 rm -f conftest.err
16047 if ${SANE_CFLAGS:+false} :
16048 then :
16049 if test ${PKG_CONFIG+y}
16050 then :
16051 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16054 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16055 if ${SANE_LIBS:+false} :
16056 then :
16057 if test ${PKG_CONFIG+y}
16058 then :
16059 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16062 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16066 if test -s conftest.err; then
16067 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16068 cat conftest.err >&5
16070 rm -f conftest.err
16071 ac_save_CPPFLAGS=$CPPFLAGS
16072 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16073 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16074 if test "x$ac_cv_header_sane_sane_h" = xyes
16075 then :
16076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16077 printf %s "checking for sane_init in -lsane... " >&6; }
16078 if test ${ac_cv_lib_sane_sane_init+y}
16079 then :
16080 printf %s "(cached) " >&6
16081 else $as_nop
16082 ac_check_lib_save_LIBS=$LIBS
16083 LIBS="-lsane $SANE_LIBS $LIBS"
16084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16085 /* end confdefs.h. */
16087 /* Override any GCC internal prototype to avoid an error.
16088 Use char because int might match the return type of a GCC
16089 builtin and then its argument prototype would still apply. */
16090 char sane_init ();
16092 main (void)
16094 return sane_init ();
16096 return 0;
16098 _ACEOF
16099 if ac_fn_c_try_link "$LINENO"
16100 then :
16101 ac_cv_lib_sane_sane_init=yes
16102 else $as_nop
16103 ac_cv_lib_sane_sane_init=no
16105 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16106 conftest$ac_exeext conftest.$ac_ext
16107 LIBS=$ac_check_lib_save_LIBS
16109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16110 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16111 if test "x$ac_cv_lib_sane_sane_init" = xyes
16112 then :
16118 CPPFLAGS=$ac_save_CPPFLAGS
16121 if test "$ac_cv_lib_sane_sane_init" != "yes"
16122 then :
16123 case "x$with_sane" in
16124 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16125 xno) ;;
16126 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16127 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16128 esac
16129 enable_sane_ds=${enable_sane_ds:-no}
16132 if test "x$with_usb" != "xno"
16133 then
16134 rm -f conftest.err
16135 if ${USB_CFLAGS:+false} :
16136 then :
16137 if test ${PKG_CONFIG+y}
16138 then :
16139 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16143 if ${USB_LIBS:+false} :
16144 then :
16145 if test ${PKG_CONFIG+y}
16146 then :
16147 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16151 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16154 if test -s conftest.err; then
16155 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16156 cat conftest.err >&5
16158 rm -f conftest.err
16159 ac_save_CPPFLAGS=$CPPFLAGS
16160 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16161 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16162 if test "x$ac_cv_header_libusb_h" = xyes
16163 then :
16164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16165 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16166 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16167 then :
16168 printf %s "(cached) " >&6
16169 else $as_nop
16170 ac_check_lib_save_LIBS=$LIBS
16171 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16173 /* end confdefs.h. */
16175 /* Override any GCC internal prototype to avoid an error.
16176 Use char because int might match the return type of a GCC
16177 builtin and then its argument prototype would still apply. */
16178 char libusb_interrupt_event_handler ();
16180 main (void)
16182 return libusb_interrupt_event_handler ();
16184 return 0;
16186 _ACEOF
16187 if ac_fn_c_try_link "$LINENO"
16188 then :
16189 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16190 else $as_nop
16191 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16194 conftest$ac_exeext conftest.$ac_ext
16195 LIBS=$ac_check_lib_save_LIBS
16197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16198 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16199 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16200 then :
16202 else $as_nop
16203 USB_LIBS=""
16206 else $as_nop
16207 USB_LIBS=""
16210 CPPFLAGS=$ac_save_CPPFLAGS
16213 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16214 then :
16215 case "x$with_usb" in
16216 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16217 xno) ;;
16218 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16219 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16220 esac
16221 enable_wineusb_sys=${enable_wineusb_sys:-no}
16224 if test "x$with_v4l2" != "xno"
16225 then
16226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16227 printf %s "checking for -lv4l2... " >&6; }
16228 if test ${ac_cv_lib_soname_v4l2+y}
16229 then :
16230 printf %s "(cached) " >&6
16231 else $as_nop
16232 ac_check_soname_save_LIBS=$LIBS
16233 LIBS="-lv4l2 $LIBS"
16234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16237 /* Override any GCC internal prototype to avoid an error.
16238 Use char because int might match the return type of a GCC
16239 builtin and then its argument prototype would still apply. */
16240 char v4l2_open ();
16242 main (void)
16244 return v4l2_open ();
16246 return 0;
16248 _ACEOF
16249 if ac_fn_c_try_link "$LINENO"
16250 then :
16251 case "$LIBEXT" in
16252 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16253 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'` ;;
16254 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16255 if ${ac_cv_lib_soname_v4l2:+false} :
16256 then :
16257 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16258 fi ;;
16259 esac
16260 else $as_nop
16261 ac_cv_lib_soname_v4l2=
16263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16264 conftest$ac_exeext conftest.$ac_ext
16265 LIBS=$ac_check_soname_save_LIBS
16267 if ${ac_cv_lib_soname_v4l2:+false} :
16268 then :
16269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16270 printf "%s\n" "not found" >&6; }
16272 else $as_nop
16273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16274 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16276 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16281 if test "x$ac_cv_lib_soname_v4l2" = "x"
16282 then :
16283 case "x$with_v4l2" in
16284 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16285 xno) ;;
16286 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16287 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16288 esac
16292 if test "x$with_gphoto" != "xno"
16293 then
16294 rm -f conftest.err
16295 if ${GPHOTO2_CFLAGS:+false} :
16296 then :
16297 if test ${PKG_CONFIG+y}
16298 then :
16299 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16302 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16303 if ${GPHOTO2_LIBS:+false} :
16304 then :
16305 if test ${PKG_CONFIG+y}
16306 then :
16307 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16310 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16311 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16314 if test -s conftest.err; then
16315 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16316 cat conftest.err >&5
16318 rm -f conftest.err
16319 ac_save_CPPFLAGS=$CPPFLAGS
16320 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16321 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16322 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16323 then :
16324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16325 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16326 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16327 then :
16328 printf %s "(cached) " >&6
16329 else $as_nop
16330 ac_check_lib_save_LIBS=$LIBS
16331 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16335 /* Override any GCC internal prototype to avoid an error.
16336 Use char because int might match the return type of a GCC
16337 builtin and then its argument prototype would still apply. */
16338 char gp_camera_new ();
16340 main (void)
16342 return gp_camera_new ();
16344 return 0;
16346 _ACEOF
16347 if ac_fn_c_try_link "$LINENO"
16348 then :
16349 ac_cv_lib_gphoto2_gp_camera_new=yes
16350 else $as_nop
16351 ac_cv_lib_gphoto2_gp_camera_new=no
16353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16354 conftest$ac_exeext conftest.$ac_ext
16355 LIBS=$ac_check_lib_save_LIBS
16357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16358 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16359 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16360 then :
16366 CPPFLAGS=$ac_save_CPPFLAGS
16368 rm -f conftest.err
16369 if ${GPHOTO2_PORT_CFLAGS:+false} :
16370 then :
16371 if test ${PKG_CONFIG+y}
16372 then :
16373 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16376 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16377 if ${GPHOTO2_PORT_LIBS:+false} :
16378 then :
16379 if test ${PKG_CONFIG+y}
16380 then :
16381 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16384 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16385 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16386 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16388 if test -s conftest.err; then
16389 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16390 cat conftest.err >&5
16392 rm -f conftest.err
16393 ac_save_CPPFLAGS=$CPPFLAGS
16394 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16395 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16397 then :
16398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16399 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16400 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16401 then :
16402 printf %s "(cached) " >&6
16403 else $as_nop
16404 ac_check_lib_save_LIBS=$LIBS
16405 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16409 /* Override any GCC internal prototype to avoid an error.
16410 Use char because int might match the return type of a GCC
16411 builtin and then its argument prototype would still apply. */
16412 char gp_port_info_list_new ();
16414 main (void)
16416 return gp_port_info_list_new ();
16418 return 0;
16420 _ACEOF
16421 if ac_fn_c_try_link "$LINENO"
16422 then :
16423 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16424 else $as_nop
16425 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16428 conftest$ac_exeext conftest.$ac_ext
16429 LIBS=$ac_check_lib_save_LIBS
16431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16432 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16433 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16434 then :
16436 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16438 else $as_nop
16439 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16442 else $as_nop
16443 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16446 CPPFLAGS=$ac_save_CPPFLAGS
16449 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16450 then :
16451 case "x$with_gphoto" in
16452 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16453 xno) ;;
16454 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16455 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16456 esac
16457 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16459 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16460 then :
16461 case "x$with_gphoto" in
16462 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16463 xno) ;;
16464 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16465 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16466 esac
16471 if test "$ac_cv_header_resolv_h" = "yes"
16472 then
16473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16474 printf %s "checking for resolver library... " >&6; }
16475 if test ${ac_cv_have_resolv+y}
16476 then :
16477 printf %s "(cached) " >&6
16478 else $as_nop
16479 ac_save_LIBS="$LIBS"
16480 for lib in '' -lresolv
16482 LIBS="$lib $ac_save_LIBS"
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #ifdef HAVE_NETINET_IN_H
16486 #include <netinet/in.h>
16487 #endif
16488 #include <resolv.h>
16490 main (void)
16492 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"
16498 then :
16499 ac_cv_have_resolv=${lib:-"none required"}
16500 else $as_nop
16501 ac_cv_have_resolv="not found"
16503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16504 conftest$ac_exeext conftest.$ac_ext
16505 test "x$ac_cv_have_resolv" = "xnot found" || break
16506 done
16507 LIBS="$ac_save_LIBS"
16509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16510 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16512 case "$ac_cv_have_resolv" in
16513 "not found") ;;
16514 "none required")
16516 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16519 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16521 RESOLV_LIBS=$ac_cv_have_resolv
16523 esac
16525 if test "x$ac_cv_have_resolv" != "xnot found"
16526 then
16527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16528 printf %s "checking for res_getservers... " >&6; }
16529 if test ${ac_cv_have_res_getservers+y}
16530 then :
16531 printf %s "(cached) " >&6
16532 else $as_nop
16533 ac_save_LIBS="$LIBS"
16534 LIBS="$RESOLV_LIBS $LIBS"
16535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 #include <resolv.h>
16539 main (void)
16541 res_getservers(NULL, NULL, 0);
16543 return 0;
16545 _ACEOF
16546 if ac_fn_c_try_link "$LINENO"
16547 then :
16548 ac_cv_have_res_getservers=yes
16549 else $as_nop
16550 ac_cv_have_res_getservers=no
16552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16553 conftest$ac_exeext conftest.$ac_ext
16554 LIBS="$ac_save_LIBS"
16556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16557 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16558 if test "$ac_cv_have_res_getservers" = "yes"
16559 then
16561 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16567 if test "x$with_freetype" != "xno"
16568 then
16569 rm -f conftest.err
16570 if ${FREETYPE_CFLAGS:+false} :
16571 then :
16572 if test ${PKG_CONFIG+y}
16573 then :
16574 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16577 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16578 if ${FREETYPE_LIBS:+false} :
16579 then :
16580 if test ${PKG_CONFIG+y}
16581 then :
16582 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16585 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16586 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16587 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16589 if test -s conftest.err; then
16590 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16591 cat conftest.err >&5
16593 rm -f conftest.err
16594 ac_save_CPPFLAGS=$CPPFLAGS
16595 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16596 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16597 if test "x$ac_cv_header_ft2build_h" = xyes
16598 then :
16599 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16603 if test "$ac_cv_header_ft2build_h" = "yes"
16604 then
16605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16606 printf %s "checking for -lfreetype... " >&6; }
16607 if test ${ac_cv_lib_soname_freetype+y}
16608 then :
16609 printf %s "(cached) " >&6
16610 else $as_nop
16611 ac_check_soname_save_LIBS=$LIBS
16612 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16614 /* end confdefs.h. */
16616 /* Override any GCC internal prototype to avoid an error.
16617 Use char because int might match the return type of a GCC
16618 builtin and then its argument prototype would still apply. */
16619 char FT_Init_FreeType ();
16621 main (void)
16623 return FT_Init_FreeType ();
16625 return 0;
16627 _ACEOF
16628 if ac_fn_c_try_link "$LINENO"
16629 then :
16630 case "$LIBEXT" in
16631 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16632 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'` ;;
16633 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16634 if ${ac_cv_lib_soname_freetype:+false} :
16635 then :
16636 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16637 fi ;;
16638 esac
16639 else $as_nop
16640 ac_cv_lib_soname_freetype=
16642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16643 conftest$ac_exeext conftest.$ac_ext
16644 LIBS=$ac_check_soname_save_LIBS
16646 if ${ac_cv_lib_soname_freetype:+false} :
16647 then :
16648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16649 printf "%s\n" "not found" >&6; }
16650 FREETYPE_LIBS=""
16651 else $as_nop
16652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16653 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16655 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16658 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16660 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16661 #include FT_MODULE_H
16663 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16664 then :
16666 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16672 else
16673 FREETYPE_CFLAGS=""
16674 FREETYPE_LIBS=""
16676 CPPFLAGS=$ac_save_CPPFLAGS
16679 if test "x$ac_cv_lib_soname_freetype" = x
16680 then :
16681 case "x$with_freetype" in
16682 xno) ;;
16683 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16684 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16685 esac
16686 enable_fonts=${enable_fonts:-no}
16689 ac_wine_check_funcs_save_LIBS="$LIBS"
16690 LIBS="$LIBS $PTHREAD_LIBS"
16691 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16692 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16693 then :
16694 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16698 LIBS="$ac_wine_check_funcs_save_LIBS"
16700 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16701 then
16702 if test "$ac_cv_header_gettext_po_h" = "yes"
16703 then
16704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16705 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16706 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16707 then :
16708 printf %s "(cached) " >&6
16709 else $as_nop
16710 ac_check_lib_save_LIBS=$LIBS
16711 LIBS="-lgettextpo $LIBS"
16712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16713 /* end confdefs.h. */
16715 /* Override any GCC internal prototype to avoid an error.
16716 Use char because int might match the return type of a GCC
16717 builtin and then its argument prototype would still apply. */
16718 char po_message_msgctxt ();
16720 main (void)
16722 return po_message_msgctxt ();
16724 return 0;
16726 _ACEOF
16727 if ac_fn_c_try_link "$LINENO"
16728 then :
16729 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16730 else $as_nop
16731 ac_cv_lib_gettextpo_po_message_msgctxt=no
16733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16734 conftest$ac_exeext conftest.$ac_ext
16735 LIBS=$ac_check_lib_save_LIBS
16737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16738 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16739 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16740 then :
16742 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16744 GETTEXTPO_LIBS="-lgettextpo"
16749 if test "x$GETTEXTPO_LIBS" = "x"
16750 then :
16751 case "x$with_gettextpo" in
16752 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16753 xno) ;;
16754 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16755 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16756 esac
16759 if test "$srcdir" != .
16760 then :
16761 case "x$with_gettextpo" in
16762 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16763 xno) ;;
16764 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16765 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16766 esac
16771 if test "x$with_pulse" != "xno";
16772 then
16773 rm -f conftest.err
16774 if ${PULSE_CFLAGS:+false} :
16775 then :
16776 if test ${PKG_CONFIG+y}
16777 then :
16778 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16782 if ${PULSE_LIBS:+false} :
16783 then :
16784 if test ${PKG_CONFIG+y}
16785 then :
16786 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16793 if test -s conftest.err; then
16794 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16795 cat conftest.err >&5
16797 rm -f conftest.err
16798 ac_save_CPPFLAGS=$CPPFLAGS
16799 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16800 for ac_header in pulse/pulseaudio.h
16801 do :
16802 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16803 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16804 then :
16805 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16807 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16808 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16809 then :
16810 printf %s "(cached) " >&6
16811 else $as_nop
16812 ac_check_lib_save_LIBS=$LIBS
16813 LIBS="-lpulse $PULSE_LIBS $LIBS"
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16820 char pa_stream_is_corked ();
16822 main (void)
16824 return pa_stream_is_corked ();
16826 return 0;
16828 _ACEOF
16829 if ac_fn_c_try_link "$LINENO"
16830 then :
16831 ac_cv_lib_pulse_pa_stream_is_corked=yes
16832 else $as_nop
16833 ac_cv_lib_pulse_pa_stream_is_corked=no
16835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16836 conftest$ac_exeext conftest.$ac_ext
16837 LIBS=$ac_check_lib_save_LIBS
16839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16840 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16841 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16842 then :
16844 else $as_nop
16845 PULSE_LIBS=""
16848 else $as_nop
16849 PULSE_LIBS=""
16852 done
16853 CPPFLAGS=$ac_save_CPPFLAGS
16856 if test -z "$PULSE_LIBS"
16857 then :
16858 case "x$with_pulse" in
16859 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16860 xno) ;;
16861 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16862 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16863 esac
16864 enable_winepulse_drv=${enable_winepulse_drv:-no}
16867 if test "x$with_gstreamer" != "xno"
16868 then
16869 rm -f conftest.err
16870 if ${GSTREAMER_CFLAGS:+false} :
16871 then :
16872 if test ${PKG_CONFIG+y}
16873 then :
16874 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16878 if ${GSTREAMER_LIBS:+false} :
16879 then :
16880 if test ${PKG_CONFIG+y}
16881 then :
16882 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16887 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
16888 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
16889 if test -s conftest.err; then
16890 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16891 cat conftest.err >&5
16893 rm -f conftest.err
16894 ac_save_CPPFLAGS=$CPPFLAGS
16895 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16896 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16897 if test "x$ac_cv_header_gst_gst_h" = xyes
16898 then :
16899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16900 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <gst/gst.h>
16905 main (void)
16907 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16909 return 0;
16911 _ACEOF
16912 if ac_fn_c_try_compile "$LINENO"
16913 then :
16914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16915 printf "%s\n" "yes" >&6; }
16916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16917 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16918 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16919 then :
16920 printf %s "(cached) " >&6
16921 else $as_nop
16922 ac_check_lib_save_LIBS=$LIBS
16923 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16927 /* Override any GCC internal prototype to avoid an error.
16928 Use char because int might match the return type of a GCC
16929 builtin and then its argument prototype would still apply. */
16930 char gst_pad_new ();
16932 main (void)
16934 return gst_pad_new ();
16936 return 0;
16938 _ACEOF
16939 if ac_fn_c_try_link "$LINENO"
16940 then :
16941 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16942 else $as_nop
16943 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16946 conftest$ac_exeext conftest.$ac_ext
16947 LIBS=$ac_check_lib_save_LIBS
16949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16950 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16951 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16952 then :
16956 else $as_nop
16957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16958 printf "%s\n" "no" >&6; }
16959 ac_glib2_broken=yes
16960 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16965 CPPFLAGS=$ac_save_CPPFLAGS
16968 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16969 then :
16970 case "x$with_gstreamer" in
16971 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16972 xno) ;;
16973 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16974 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16975 esac
16976 enable_winegstreamer=${enable_winegstreamer:-no}
16979 ALSA_LIBS=""
16981 if test "x$with_alsa" != "xno"
16982 then
16983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16984 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16985 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16986 then :
16987 printf %s "(cached) " >&6
16988 else $as_nop
16989 ac_check_lib_save_LIBS=$LIBS
16990 LIBS="-lasound $LIBS"
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16994 /* Override any GCC internal prototype to avoid an error.
16995 Use char because int might match the return type of a GCC
16996 builtin and then its argument prototype would still apply. */
16997 char snd_pcm_hw_params_get_access_mask ();
16999 main (void)
17001 return snd_pcm_hw_params_get_access_mask ();
17003 return 0;
17005 _ACEOF
17006 if ac_fn_c_try_link "$LINENO"
17007 then :
17008 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17009 else $as_nop
17010 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17013 conftest$ac_exeext conftest.$ac_ext
17014 LIBS=$ac_check_lib_save_LIBS
17016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17017 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17018 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17019 then :
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <alsa/asoundlib.h>
17024 main (void)
17026 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17028 return 0;
17030 _ACEOF
17031 if ac_fn_c_try_compile "$LINENO"
17032 then :
17033 ALSA_LIBS="-lasound"
17035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17039 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17041 if test "x$with_oss" != xno
17042 then
17043 ac_save_CPPFLAGS="$CPPFLAGS"
17044 if test -f /etc/oss.conf
17045 then
17046 . /etc/oss.conf
17048 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17049 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17050 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17051 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17052 then :
17053 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17055 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17056 then :
17058 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17060 OSS4_CFLAGS="$ac_oss_incl"
17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17063 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17064 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17065 then :
17066 printf %s "(cached) " >&6
17067 else $as_nop
17068 ac_check_lib_save_LIBS=$LIBS
17069 LIBS="-lossaudio $LIBS"
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17073 /* Override any GCC internal prototype to avoid an error.
17074 Use char because int might match the return type of a GCC
17075 builtin and then its argument prototype would still apply. */
17076 char _oss_ioctl ();
17078 main (void)
17080 return _oss_ioctl ();
17082 return 0;
17084 _ACEOF
17085 if ac_fn_c_try_link "$LINENO"
17086 then :
17087 ac_cv_lib_ossaudio__oss_ioctl=yes
17088 else $as_nop
17089 ac_cv_lib_ossaudio__oss_ioctl=no
17091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17092 conftest$ac_exeext conftest.$ac_ext
17093 LIBS=$ac_check_lib_save_LIBS
17095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17096 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17097 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17098 then :
17099 OSS4_LIBS="-lossaudio"
17107 CPPFLAGS="$ac_save_CPPFLAGS"
17109 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17110 then :
17111 case "x$with_oss" in
17112 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17113 xno) ;;
17114 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17115 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17116 esac
17117 enable_wineoss_drv=${enable_wineoss_drv:-no}
17120 if test "x$with_udev" != "xno"
17121 then
17122 rm -f conftest.err
17123 if ${UDEV_CFLAGS:+false} :
17124 then :
17125 if test ${PKG_CONFIG+y}
17126 then :
17127 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17131 if ${UDEV_LIBS:+false} :
17132 then :
17133 if test ${PKG_CONFIG+y}
17134 then :
17135 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17139 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17142 if test -s conftest.err; then
17143 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17144 cat conftest.err >&5
17146 rm -f conftest.err
17147 ac_save_CPPFLAGS=$CPPFLAGS
17148 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17149 for ac_header in libudev.h
17150 do :
17151 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17152 if test "x$ac_cv_header_libudev_h" = xyes
17153 then :
17154 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17156 printf %s "checking for udev_new in -ludev... " >&6; }
17157 if test ${ac_cv_lib_udev_udev_new+y}
17158 then :
17159 printf %s "(cached) " >&6
17160 else $as_nop
17161 ac_check_lib_save_LIBS=$LIBS
17162 LIBS="-ludev $UDEV_LIBS $LIBS"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17166 /* Override any GCC internal prototype to avoid an error.
17167 Use char because int might match the return type of a GCC
17168 builtin and then its argument prototype would still apply. */
17169 char udev_new ();
17171 main (void)
17173 return udev_new ();
17175 return 0;
17177 _ACEOF
17178 if ac_fn_c_try_link "$LINENO"
17179 then :
17180 ac_cv_lib_udev_udev_new=yes
17181 else $as_nop
17182 ac_cv_lib_udev_udev_new=no
17184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17185 conftest$ac_exeext conftest.$ac_ext
17186 LIBS=$ac_check_lib_save_LIBS
17188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17189 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17190 if test "x$ac_cv_lib_udev_udev_new" = xyes
17191 then :
17193 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17195 else $as_nop
17196 UDEV_LIBS=""
17199 else $as_nop
17200 UDEV_LIBS=""
17203 done
17204 CPPFLAGS=$ac_save_CPPFLAGS
17207 if test "x$UDEV_LIBS" = "x"
17208 then :
17209 case "x$with_udev" in
17210 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17211 xno) ;;
17212 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17213 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17214 esac
17218 if test "x$with_unwind" != xno
17219 then
17220 rm -f conftest.err
17221 if ${UNWIND_CFLAGS:+false} :
17222 then :
17223 if test ${PKG_CONFIG+y}
17224 then :
17225 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17229 if ${UNWIND_LIBS:+false} :
17230 then :
17231 if test ${PKG_CONFIG+y}
17232 then :
17233 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17237 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17240 if test -s conftest.err; then
17241 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17242 cat conftest.err >&5
17244 rm -f conftest.err
17245 ac_save_CPPFLAGS=$CPPFLAGS
17246 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17248 printf %s "checking for unw_step... " >&6; }
17249 if test ${wine_cv_have_unw_step+y}
17250 then :
17251 printf %s "(cached) " >&6
17252 else $as_nop
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 #define UNW_LOCAL_ONLY
17256 #include <libunwind.h>
17258 main (void)
17260 unw_cursor_t cursor; unw_step( &cursor );
17262 return 0;
17264 _ACEOF
17265 if ac_fn_c_try_link "$LINENO"
17266 then :
17267 wine_cv_have_unw_step="yes"
17268 else $as_nop
17269 wine_cv_have_unw_step="no"
17271 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17272 conftest$ac_exeext conftest.$ac_ext
17274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17275 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17276 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17277 then
17278 save_libs=$LIBS
17279 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17280 LIBS="$UNWIND_LIBS $LIBS"
17281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17282 printf %s "checking for unw_step in libunwind... " >&6; }
17283 if test ${wine_cv_have_libunwind_unw_step+y}
17284 then :
17285 printf %s "(cached) " >&6
17286 else $as_nop
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 #define UNW_LOCAL_ONLY
17290 #include <libunwind.h>
17292 main (void)
17294 unw_cursor_t cursor; unw_step( &cursor );
17296 return 0;
17298 _ACEOF
17299 if ac_fn_c_try_link "$LINENO"
17300 then :
17301 wine_cv_have_libunwind_unw_step="yes"
17302 else $as_nop
17303 wine_cv_have_libunwind_unw_step="no"
17305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17306 conftest$ac_exeext conftest.$ac_ext
17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17309 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17310 LIBS=$save_libs
17312 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17313 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17314 then
17316 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17319 CPPFLAGS=$ac_save_CPPFLAGS
17322 case $host in
17323 aarch64*|*-darwin*)
17324 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17325 then :
17326 case "x$with_unwind" in
17327 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17328 xno) ;;
17329 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17330 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17331 esac
17333 fi ;;
17334 esac
17336 if test "x$with_sdl" != "xno"
17337 then
17338 rm -f conftest.err
17339 if ${SDL2_CFLAGS:+false} :
17340 then :
17341 if test ${PKG_CONFIG+y}
17342 then :
17343 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17347 if ${SDL2_LIBS:+false} :
17348 then :
17349 if test ${PKG_CONFIG+y}
17350 then :
17351 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17355 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17358 if test -s conftest.err; then
17359 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17360 cat conftest.err >&5
17362 rm -f conftest.err
17363 ac_save_CPPFLAGS=$CPPFLAGS
17364 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17365 for ac_header in SDL.h
17366 do :
17367 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17368 if test "x$ac_cv_header_SDL_h" = xyes
17369 then :
17370 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17372 printf %s "checking for -lSDL2... " >&6; }
17373 if test ${ac_cv_lib_soname_SDL2+y}
17374 then :
17375 printf %s "(cached) " >&6
17376 else $as_nop
17377 ac_check_soname_save_LIBS=$LIBS
17378 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 /* end confdefs.h. */
17382 /* Override any GCC internal prototype to avoid an error.
17383 Use char because int might match the return type of a GCC
17384 builtin and then its argument prototype would still apply. */
17385 char SDL_Init ();
17387 main (void)
17389 return SDL_Init ();
17391 return 0;
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"
17395 then :
17396 case "$LIBEXT" in
17397 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17398 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'` ;;
17399 *) 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'`
17400 if ${ac_cv_lib_soname_SDL2:+false} :
17401 then :
17402 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17403 fi ;;
17404 esac
17405 else $as_nop
17406 ac_cv_lib_soname_SDL2=
17408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17409 conftest$ac_exeext conftest.$ac_ext
17410 LIBS=$ac_check_soname_save_LIBS
17412 if ${ac_cv_lib_soname_SDL2:+false} :
17413 then :
17414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17415 printf "%s\n" "not found" >&6; }
17417 else $as_nop
17418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17419 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17421 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17427 done
17428 CPPFLAGS=$ac_save_CPPFLAGS
17431 if test "x$ac_cv_lib_soname_SDL2" = "x"
17432 then :
17433 case "x$with_sdl" in
17434 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17435 xno) ;;
17436 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17437 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17438 esac
17442 if test "x$with_capi" != "xno"
17443 then
17444 rm -f conftest.err
17445 if ${CAPI20_CFLAGS:+false} :
17446 then :
17447 if test ${PKG_CONFIG+y}
17448 then :
17449 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17453 if ${CAPI20_LIBS:+false} :
17454 then :
17455 if test ${PKG_CONFIG+y}
17456 then :
17457 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17464 if test -s conftest.err; then
17465 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17466 cat conftest.err >&5
17468 rm -f conftest.err
17469 ac_save_CPPFLAGS=$CPPFLAGS
17470 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17471 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17473 if test "x$ac_cv_header_capi20_h" = xyes
17474 then :
17475 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17478 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17480 if test "x$ac_cv_header_linux_capi_h" = xyes
17481 then :
17482 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17486 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17487 then
17488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17489 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17490 if test ${ac_cv_lib_capi20_capi20_register+y}
17491 then :
17492 printf %s "(cached) " >&6
17493 else $as_nop
17494 ac_check_lib_save_LIBS=$LIBS
17495 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17499 /* Override any GCC internal prototype to avoid an error.
17500 Use char because int might match the return type of a GCC
17501 builtin and then its argument prototype would still apply. */
17502 char capi20_register ();
17504 main (void)
17506 return capi20_register ();
17508 return 0;
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"
17512 then :
17513 ac_cv_lib_capi20_capi20_register=yes
17514 else $as_nop
17515 ac_cv_lib_capi20_capi20_register=no
17517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17518 conftest$ac_exeext conftest.$ac_ext
17519 LIBS=$ac_check_lib_save_LIBS
17521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17522 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17523 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17524 then :
17526 else $as_nop
17527 CAPI20_LIBS=""
17531 CPPFLAGS=$ac_save_CPPFLAGS
17534 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17535 then :
17536 case "x$with_capi" in
17537 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17538 xno) ;;
17539 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17540 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17541 esac
17542 enable_capi2032=${enable_capi2032:-no}
17545 if test "x$with_cups" != "xno"
17546 then
17547 rm -f conftest.err
17548 if ${CUPS_CFLAGS:+false} :
17549 then :
17550 if test ${PKG_CONFIG+y}
17551 then :
17552 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17555 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17556 if ${CUPS_LIBS:+false} :
17557 then :
17558 if test ${PKG_CONFIG+y}
17559 then :
17560 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17563 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17564 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17565 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17567 if test -s conftest.err; then
17568 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17569 cat conftest.err >&5
17571 rm -f conftest.err
17572 ac_save_CPPFLAGS=$CPPFLAGS
17573 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17574 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17575 if test "x$ac_cv_header_cups_cups_h" = xyes
17576 then :
17577 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17580 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17581 if test "x$ac_cv_header_cups_ppd_h" = xyes
17582 then :
17583 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17587 if test "$ac_cv_header_cups_cups_h" = "yes"
17588 then
17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17590 printf %s "checking for -lcups... " >&6; }
17591 if test ${ac_cv_lib_soname_cups+y}
17592 then :
17593 printf %s "(cached) " >&6
17594 else $as_nop
17595 ac_check_soname_save_LIBS=$LIBS
17596 LIBS="-lcups $CUPS_LIBS $LIBS"
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17600 /* Override any GCC internal prototype to avoid an error.
17601 Use char because int might match the return type of a GCC
17602 builtin and then its argument prototype would still apply. */
17603 char cupsGetDefault ();
17605 main (void)
17607 return cupsGetDefault ();
17609 return 0;
17611 _ACEOF
17612 if ac_fn_c_try_link "$LINENO"
17613 then :
17614 case "$LIBEXT" in
17615 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17616 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'` ;;
17617 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17618 if ${ac_cv_lib_soname_cups:+false} :
17619 then :
17620 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17621 fi ;;
17622 esac
17623 else $as_nop
17624 ac_cv_lib_soname_cups=
17626 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17627 conftest$ac_exeext conftest.$ac_ext
17628 LIBS=$ac_check_soname_save_LIBS
17630 if ${ac_cv_lib_soname_cups:+false} :
17631 then :
17632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17633 printf "%s\n" "not found" >&6; }
17634 CUPS_LIBS=""
17635 else $as_nop
17636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17637 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17639 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17643 else
17644 CUPS_CFLAGS=""
17645 CUPS_LIBS=""
17647 CPPFLAGS=$ac_save_CPPFLAGS
17650 if test "x$ac_cv_lib_soname_cups" = "x"
17651 then :
17652 case "x$with_cups" in
17653 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17654 xno) ;;
17655 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17656 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17657 esac
17661 if test "x$with_fontconfig" != "xno"
17662 then
17663 rm -f conftest.err
17664 if ${FONTCONFIG_CFLAGS:+false} :
17665 then :
17666 if test ${PKG_CONFIG+y}
17667 then :
17668 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17671 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17672 if ${FONTCONFIG_LIBS:+false} :
17673 then :
17674 if test ${PKG_CONFIG+y}
17675 then :
17676 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17679 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17681 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17683 if test -s conftest.err; then
17684 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17685 cat conftest.err >&5
17687 rm -f conftest.err
17688 ac_save_CPPFLAGS=$CPPFLAGS
17689 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17690 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17691 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17692 then :
17693 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17697 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17698 then
17699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17700 printf %s "checking for -lfontconfig... " >&6; }
17701 if test ${ac_cv_lib_soname_fontconfig+y}
17702 then :
17703 printf %s "(cached) " >&6
17704 else $as_nop
17705 ac_check_soname_save_LIBS=$LIBS
17706 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17710 /* Override any GCC internal prototype to avoid an error.
17711 Use char because int might match the return type of a GCC
17712 builtin and then its argument prototype would still apply. */
17713 char FcInit ();
17715 main (void)
17717 return FcInit ();
17719 return 0;
17721 _ACEOF
17722 if ac_fn_c_try_link "$LINENO"
17723 then :
17724 case "$LIBEXT" in
17725 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17726 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'` ;;
17727 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17728 if ${ac_cv_lib_soname_fontconfig:+false} :
17729 then :
17730 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17731 fi ;;
17732 esac
17733 else $as_nop
17734 ac_cv_lib_soname_fontconfig=
17736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17737 conftest$ac_exeext conftest.$ac_ext
17738 LIBS=$ac_check_soname_save_LIBS
17740 if ${ac_cv_lib_soname_fontconfig:+false} :
17741 then :
17742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17743 printf "%s\n" "not found" >&6; }
17744 FONTCONFIG_CFLAGS=""
17745 else $as_nop
17746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17747 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17749 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17753 else
17754 FONTCONFIG_CFLAGS=""
17756 CPPFLAGS=$ac_save_CPPFLAGS
17759 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17760 then :
17761 case "x$with_fontconfig" in
17762 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17763 xno) ;;
17764 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17765 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17766 esac
17770 if test "x$with_krb5" != "xno"
17771 then
17772 rm -f conftest.err
17773 if ${KRB5_CFLAGS:+false} :
17774 then :
17775 if test ${PKG_CONFIG+y}
17776 then :
17777 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17780 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17781 if ${KRB5_LIBS:+false} :
17782 then :
17783 if test ${PKG_CONFIG+y}
17784 then :
17785 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17788 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17792 if test -s conftest.err; then
17793 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17794 cat conftest.err >&5
17796 rm -f conftest.err
17797 ac_save_CPPFLAGS=$CPPFLAGS
17798 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17799 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17800 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17801 then :
17802 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17806 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17807 then
17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17809 printf %s "checking for -lkrb5... " >&6; }
17810 if test ${ac_cv_lib_soname_krb5+y}
17811 then :
17812 printf %s "(cached) " >&6
17813 else $as_nop
17814 ac_check_soname_save_LIBS=$LIBS
17815 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17819 /* Override any GCC internal prototype to avoid an error.
17820 Use char because int might match the return type of a GCC
17821 builtin and then its argument prototype would still apply. */
17822 char krb5_is_config_principal ();
17824 main (void)
17826 return krb5_is_config_principal ();
17828 return 0;
17830 _ACEOF
17831 if ac_fn_c_try_link "$LINENO"
17832 then :
17833 case "$LIBEXT" in
17834 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17835 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'` ;;
17836 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17837 if ${ac_cv_lib_soname_krb5:+false} :
17838 then :
17839 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17840 fi ;;
17841 esac
17842 else $as_nop
17843 ac_cv_lib_soname_krb5=
17845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17846 conftest$ac_exeext conftest.$ac_ext
17847 LIBS=$ac_check_soname_save_LIBS
17849 if ${ac_cv_lib_soname_krb5:+false} :
17850 then :
17851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17852 printf "%s\n" "not found" >&6; }
17853 KRB5_CFLAGS=""
17854 else $as_nop
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17856 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17858 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17862 else
17863 KRB5_CFLAGS=""
17865 CPPFLAGS=$ac_save_CPPFLAGS
17868 if test "x$ac_cv_lib_soname_krb5" = "x"
17869 then :
17870 case "x$with_krb5" in
17871 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17872 xno) ;;
17873 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17874 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17875 esac
17878 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17880 if test "x$with_gssapi" != "xno"
17881 then
17882 rm -f conftest.err
17883 if ${GSSAPI_CFLAGS:+false} :
17884 then :
17885 if test ${PKG_CONFIG+y}
17886 then :
17887 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17890 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17891 if ${GSSAPI_LIBS:+false} :
17892 then :
17893 if test ${PKG_CONFIG+y}
17894 then :
17895 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17898 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17902 if test -s conftest.err; then
17903 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17904 cat conftest.err >&5
17906 rm -f conftest.err
17907 ac_save_CPPFLAGS=$CPPFLAGS
17908 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17909 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17910 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17911 then :
17912 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17915 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17916 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17917 then :
17918 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17922 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17923 then
17924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17925 printf %s "checking for -lgssapi_krb5... " >&6; }
17926 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17927 then :
17928 printf %s "(cached) " >&6
17929 else $as_nop
17930 ac_check_soname_save_LIBS=$LIBS
17931 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h. */
17935 /* Override any GCC internal prototype to avoid an error.
17936 Use char because int might match the return type of a GCC
17937 builtin and then its argument prototype would still apply. */
17938 char gss_init_sec_context ();
17940 main (void)
17942 return gss_init_sec_context ();
17944 return 0;
17946 _ACEOF
17947 if ac_fn_c_try_link "$LINENO"
17948 then :
17949 case "$LIBEXT" in
17950 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17951 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'` ;;
17952 *) 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'`
17953 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17954 then :
17955 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17956 fi ;;
17957 esac
17958 else $as_nop
17959 ac_cv_lib_soname_gssapi_krb5=
17961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17962 conftest$ac_exeext conftest.$ac_ext
17963 LIBS=$ac_check_soname_save_LIBS
17965 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17966 then :
17967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17968 printf "%s\n" "not found" >&6; }
17969 GSSAPI_CFLAGS=""
17970 else $as_nop
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17972 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17974 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17978 else
17979 GSSAPI_CFLAGS=""
17981 CPPFLAGS=$ac_save_CPPFLAGS
17984 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17985 then :
17986 case "x$with_gssapi" in
17987 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17988 xno) ;;
17989 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17990 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17991 esac
17995 if test "$ac_cv_header_libprocstat_h" = "yes"
17996 then
17997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17998 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
17999 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18000 then :
18001 printf %s "(cached) " >&6
18002 else $as_nop
18003 ac_check_lib_save_LIBS=$LIBS
18004 LIBS="-lprocstat $LIBS"
18005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18006 /* end confdefs.h. */
18008 /* Override any GCC internal prototype to avoid an error.
18009 Use char because int might match the return type of a GCC
18010 builtin and then its argument prototype would still apply. */
18011 char procstat_open_sysctl ();
18013 main (void)
18015 return procstat_open_sysctl ();
18017 return 0;
18019 _ACEOF
18020 if ac_fn_c_try_link "$LINENO"
18021 then :
18022 ac_cv_lib_procstat_procstat_open_sysctl=yes
18023 else $as_nop
18024 ac_cv_lib_procstat_procstat_open_sysctl=no
18026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18027 conftest$ac_exeext conftest.$ac_ext
18028 LIBS=$ac_check_lib_save_LIBS
18030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18031 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18032 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18033 then :
18035 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18037 PROCSTAT_LIBS="-lprocstat"
18043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18044 printf %s "checking for -lodbc... " >&6; }
18045 if test ${ac_cv_lib_soname_odbc+y}
18046 then :
18047 printf %s "(cached) " >&6
18048 else $as_nop
18049 ac_check_soname_save_LIBS=$LIBS
18050 LIBS="-lodbc $LIBS"
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18054 /* Override any GCC internal prototype to avoid an error.
18055 Use char because int might match the return type of a GCC
18056 builtin and then its argument prototype would still apply. */
18057 char SQLConnect ();
18059 main (void)
18061 return SQLConnect ();
18063 return 0;
18065 _ACEOF
18066 if ac_fn_c_try_link "$LINENO"
18067 then :
18068 case "$LIBEXT" in
18069 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18070 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'` ;;
18071 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18072 if ${ac_cv_lib_soname_odbc:+false} :
18073 then :
18074 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18075 fi ;;
18076 esac
18077 else $as_nop
18078 ac_cv_lib_soname_odbc=
18080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18081 conftest$ac_exeext conftest.$ac_ext
18082 LIBS=$ac_check_soname_save_LIBS
18084 if ${ac_cv_lib_soname_odbc:+false} :
18085 then :
18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18087 printf "%s\n" "not found" >&6; }
18088 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18090 else $as_nop
18091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18092 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18094 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18099 if test "x$with_netapi" != "xno"
18100 then
18101 rm -f conftest.err
18102 if ${NETAPI_CFLAGS:+false} :
18103 then :
18104 if test ${PKG_CONFIG+y}
18105 then :
18106 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18110 if ${NETAPI_LIBS:+false} :
18111 then :
18112 if test ${PKG_CONFIG+y}
18113 then :
18114 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18119 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18121 if test -s conftest.err; then
18122 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18123 cat conftest.err >&5
18125 rm -f conftest.err
18126 ac_save_CPPFLAGS=$CPPFLAGS
18127 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18129 printf %s "checking for -lnetapi... " >&6; }
18130 if test ${ac_cv_lib_soname_netapi+y}
18131 then :
18132 printf %s "(cached) " >&6
18133 else $as_nop
18134 ac_check_soname_save_LIBS=$LIBS
18135 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18139 /* Override any GCC internal prototype to avoid an error.
18140 Use char because int might match the return type of a GCC
18141 builtin and then its argument prototype would still apply. */
18142 char libnetapi_init ();
18144 main (void)
18146 return libnetapi_init ();
18148 return 0;
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"
18152 then :
18153 case "$LIBEXT" in
18154 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18155 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'` ;;
18156 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18157 if ${ac_cv_lib_soname_netapi:+false} :
18158 then :
18159 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18160 fi ;;
18161 esac
18162 else $as_nop
18163 ac_cv_lib_soname_netapi=
18165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18166 conftest$ac_exeext conftest.$ac_ext
18167 LIBS=$ac_check_soname_save_LIBS
18169 if ${ac_cv_lib_soname_netapi:+false} :
18170 then :
18171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18172 printf "%s\n" "not found" >&6; }
18173 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18175 else $as_nop
18176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18177 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18179 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18183 CPPFLAGS=$ac_save_CPPFLAGS
18186 if test "x$ac_cv_lib_soname_netapi" = "x"
18187 then :
18188 case "x$with_netapi" in
18189 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18190 xno) ;;
18191 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18192 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18193 esac
18194 enable_netapi=${enable_netapi:-no}
18198 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18199 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18200 then
18201 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18204 if test "x$with_vulkan" != "xno"
18205 then
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18207 printf %s "checking for -lvulkan... " >&6; }
18208 if test ${ac_cv_lib_soname_vulkan+y}
18209 then :
18210 printf %s "(cached) " >&6
18211 else $as_nop
18212 ac_check_soname_save_LIBS=$LIBS
18213 LIBS="-lvulkan $LIBS"
18214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18215 /* end confdefs.h. */
18217 /* Override any GCC internal prototype to avoid an error.
18218 Use char because int might match the return type of a GCC
18219 builtin and then its argument prototype would still apply. */
18220 char vkGetInstanceProcAddr ();
18222 main (void)
18224 return vkGetInstanceProcAddr ();
18226 return 0;
18228 _ACEOF
18229 if ac_fn_c_try_link "$LINENO"
18230 then :
18231 case "$LIBEXT" in
18232 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18233 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'` ;;
18234 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18235 if ${ac_cv_lib_soname_vulkan:+false} :
18236 then :
18237 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18238 fi ;;
18239 esac
18240 else $as_nop
18241 ac_cv_lib_soname_vulkan=
18243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18244 conftest$ac_exeext conftest.$ac_ext
18245 LIBS=$ac_check_soname_save_LIBS
18247 if ${ac_cv_lib_soname_vulkan:+false} :
18248 then :
18249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18250 printf "%s\n" "not found" >&6; }
18252 else $as_nop
18253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18254 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18256 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18260 if test "x$ac_cv_lib_soname_vulkan" = "x"
18261 then
18262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18263 printf %s "checking for -lMoltenVK... " >&6; }
18264 if test ${ac_cv_lib_soname_MoltenVK+y}
18265 then :
18266 printf %s "(cached) " >&6
18267 else $as_nop
18268 ac_check_soname_save_LIBS=$LIBS
18269 LIBS="-lMoltenVK $LIBS"
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18273 /* Override any GCC internal prototype to avoid an error.
18274 Use char because int might match the return type of a GCC
18275 builtin and then its argument prototype would still apply. */
18276 char vkGetInstanceProcAddr ();
18278 main (void)
18280 return vkGetInstanceProcAddr ();
18282 return 0;
18284 _ACEOF
18285 if ac_fn_c_try_link "$LINENO"
18286 then :
18287 case "$LIBEXT" in
18288 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18289 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'` ;;
18290 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18291 if ${ac_cv_lib_soname_MoltenVK:+false} :
18292 then :
18293 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18294 fi ;;
18295 esac
18296 else $as_nop
18297 ac_cv_lib_soname_MoltenVK=
18299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18300 conftest$ac_exeext conftest.$ac_ext
18301 LIBS=$ac_check_soname_save_LIBS
18303 if ${ac_cv_lib_soname_MoltenVK:+false} :
18304 then :
18305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18306 printf "%s\n" "not found" >&6; }
18308 else $as_nop
18309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18310 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18312 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18318 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18319 then :
18320 case "x$with_vulkan" in
18321 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18322 xno) ;;
18323 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18324 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18325 esac
18330 if test "x${GCC}" = "xyes"
18331 then
18332 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18334 saved_CFLAGS=$CFLAGS
18335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18336 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18337 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18338 then :
18339 printf %s "(cached) " >&6
18340 else $as_nop
18341 ac_wine_try_cflags_saved=$CFLAGS
18342 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18345 int main(int argc, char **argv) { return 0; }
18346 _ACEOF
18347 if ac_fn_c_try_link "$LINENO"
18348 then :
18349 ac_cv_cflags__Werror_unknown_warning_option=yes
18350 else $as_nop
18351 ac_cv_cflags__Werror_unknown_warning_option=no
18353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18354 conftest$ac_exeext conftest.$ac_ext
18355 CFLAGS=$ac_wine_try_cflags_saved
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18358 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18359 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18360 then :
18361 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18364 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18365 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18366 then :
18367 printf %s "(cached) " >&6
18368 else $as_nop
18369 ac_wine_try_cflags_saved=$CFLAGS
18370 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18372 /* end confdefs.h. */
18373 int main(int argc, char **argv) { return 0; }
18374 _ACEOF
18375 if ac_fn_c_try_link "$LINENO"
18376 then :
18377 ac_cv_cflags__Werror_unused_command_line_argument=yes
18378 else $as_nop
18379 ac_cv_cflags__Werror_unused_command_line_argument=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18382 conftest$ac_exeext conftest.$ac_ext
18383 CFLAGS=$ac_wine_try_cflags_saved
18385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18386 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18387 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18388 then :
18389 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18392 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18393 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18394 then :
18395 printf %s "(cached) " >&6
18396 else $as_nop
18397 ac_wine_try_cflags_saved=$CFLAGS
18398 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18401 int main(int argc, char **argv) { return 0; }
18402 _ACEOF
18403 if ac_fn_c_try_link "$LINENO"
18404 then :
18405 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18406 else $as_nop
18407 ac_cv_cflags__Werror_ignored_optimization_argument=no
18409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18410 conftest$ac_exeext conftest.$ac_ext
18411 CFLAGS=$ac_wine_try_cflags_saved
18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18414 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18415 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18416 then :
18417 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18420 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18421 if test ${ac_cv_cflags__fcf_protection_none+y}
18422 then :
18423 printf %s "(cached) " >&6
18424 else $as_nop
18425 ac_wine_try_cflags_saved=$CFLAGS
18426 CFLAGS="$CFLAGS -fcf-protection=none"
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18429 int main(int argc, char **argv) { return 0; }
18430 _ACEOF
18431 if ac_fn_c_try_link "$LINENO"
18432 then :
18433 ac_cv_cflags__fcf_protection_none=yes
18434 else $as_nop
18435 ac_cv_cflags__fcf_protection_none=no
18437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18438 conftest$ac_exeext conftest.$ac_ext
18439 CFLAGS=$ac_wine_try_cflags_saved
18441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18442 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18443 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18444 then :
18445 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18448 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18449 if test ${ac_cv_cflags__fno_stack_protector+y}
18450 then :
18451 printf %s "(cached) " >&6
18452 else $as_nop
18453 ac_wine_try_cflags_saved=$CFLAGS
18454 CFLAGS="$CFLAGS -fno-stack-protector"
18455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18456 /* end confdefs.h. */
18457 int main(int argc, char **argv) { return 0; }
18458 _ACEOF
18459 if ac_fn_c_try_link "$LINENO"
18460 then :
18461 ac_cv_cflags__fno_stack_protector=yes
18462 else $as_nop
18463 ac_cv_cflags__fno_stack_protector=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18466 conftest$ac_exeext conftest.$ac_ext
18467 CFLAGS=$ac_wine_try_cflags_saved
18469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18470 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18471 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18472 then :
18473 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18476 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18477 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18478 then :
18479 printf %s "(cached) " >&6
18480 else $as_nop
18481 ac_wine_try_cflags_saved=$CFLAGS
18482 CFLAGS="$CFLAGS -fno-strict-aliasing"
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18485 int main(int argc, char **argv) { return 0; }
18486 _ACEOF
18487 if ac_fn_c_try_link "$LINENO"
18488 then :
18489 ac_cv_cflags__fno_strict_aliasing=yes
18490 else $as_nop
18491 ac_cv_cflags__fno_strict_aliasing=no
18493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18494 conftest$ac_exeext conftest.$ac_ext
18495 CFLAGS=$ac_wine_try_cflags_saved
18497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18498 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18499 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18500 then :
18501 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18504 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18505 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18506 then :
18507 printf %s "(cached) " >&6
18508 else $as_nop
18509 ac_wine_try_cflags_saved=$CFLAGS
18510 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 int main(int argc, char **argv) { return 0; }
18514 _ACEOF
18515 if ac_fn_c_try_link "$LINENO"
18516 then :
18517 ac_cv_cflags__Wdeclaration_after_statement=yes
18518 else $as_nop
18519 ac_cv_cflags__Wdeclaration_after_statement=no
18521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18522 conftest$ac_exeext conftest.$ac_ext
18523 CFLAGS=$ac_wine_try_cflags_saved
18525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18526 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18527 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18528 then :
18529 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18532 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18533 if test ${ac_cv_cflags__Wempty_body+y}
18534 then :
18535 printf %s "(cached) " >&6
18536 else $as_nop
18537 ac_wine_try_cflags_saved=$CFLAGS
18538 CFLAGS="$CFLAGS -Wempty-body"
18539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18541 int main(int argc, char **argv) { return 0; }
18542 _ACEOF
18543 if ac_fn_c_try_link "$LINENO"
18544 then :
18545 ac_cv_cflags__Wempty_body=yes
18546 else $as_nop
18547 ac_cv_cflags__Wempty_body=no
18549 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18550 conftest$ac_exeext conftest.$ac_ext
18551 CFLAGS=$ac_wine_try_cflags_saved
18553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18554 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18555 if test "x$ac_cv_cflags__Wempty_body" = xyes
18556 then :
18557 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18560 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18561 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18562 then :
18563 printf %s "(cached) " >&6
18564 else $as_nop
18565 ac_wine_try_cflags_saved=$CFLAGS
18566 CFLAGS="$CFLAGS -Wignored-qualifiers"
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18569 int main(int argc, char **argv) { return 0; }
18570 _ACEOF
18571 if ac_fn_c_try_link "$LINENO"
18572 then :
18573 ac_cv_cflags__Wignored_qualifiers=yes
18574 else $as_nop
18575 ac_cv_cflags__Wignored_qualifiers=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18578 conftest$ac_exeext conftest.$ac_ext
18579 CFLAGS=$ac_wine_try_cflags_saved
18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18582 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18583 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18584 then :
18585 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18588 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18589 if test ${ac_cv_cflags__Winit_self+y}
18590 then :
18591 printf %s "(cached) " >&6
18592 else $as_nop
18593 ac_wine_try_cflags_saved=$CFLAGS
18594 CFLAGS="$CFLAGS -Winit-self"
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 int main(int argc, char **argv) { return 0; }
18598 _ACEOF
18599 if ac_fn_c_try_link "$LINENO"
18600 then :
18601 ac_cv_cflags__Winit_self=yes
18602 else $as_nop
18603 ac_cv_cflags__Winit_self=no
18605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18606 conftest$ac_exeext conftest.$ac_ext
18607 CFLAGS=$ac_wine_try_cflags_saved
18609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18610 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18611 if test "x$ac_cv_cflags__Winit_self" = xyes
18612 then :
18613 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18616 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18617 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18618 then :
18619 printf %s "(cached) " >&6
18620 else $as_nop
18621 ac_wine_try_cflags_saved=$CFLAGS
18622 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18625 int main(int argc, char **argv) { return 0; }
18626 _ACEOF
18627 if ac_fn_c_try_link "$LINENO"
18628 then :
18629 ac_cv_cflags__Wpacked_not_aligned=yes
18630 else $as_nop
18631 ac_cv_cflags__Wpacked_not_aligned=no
18633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18634 conftest$ac_exeext conftest.$ac_ext
18635 CFLAGS=$ac_wine_try_cflags_saved
18637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18638 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18639 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18640 then :
18641 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18644 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18645 if test ${ac_cv_cflags__Wpragma_pack+y}
18646 then :
18647 printf %s "(cached) " >&6
18648 else $as_nop
18649 ac_wine_try_cflags_saved=$CFLAGS
18650 CFLAGS="$CFLAGS -Wpragma-pack"
18651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18652 /* end confdefs.h. */
18653 int main(int argc, char **argv) { return 0; }
18654 _ACEOF
18655 if ac_fn_c_try_link "$LINENO"
18656 then :
18657 ac_cv_cflags__Wpragma_pack=yes
18658 else $as_nop
18659 ac_cv_cflags__Wpragma_pack=no
18661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18662 conftest$ac_exeext conftest.$ac_ext
18663 CFLAGS=$ac_wine_try_cflags_saved
18665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18666 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18667 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18668 then :
18669 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18672 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18673 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18674 then :
18675 printf %s "(cached) " >&6
18676 else $as_nop
18677 ac_wine_try_cflags_saved=$CFLAGS
18678 CFLAGS="$CFLAGS -Wshift-overflow=2"
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 int main(int argc, char **argv) { return 0; }
18682 _ACEOF
18683 if ac_fn_c_try_link "$LINENO"
18684 then :
18685 ac_cv_cflags__Wshift_overflow_2=yes
18686 else $as_nop
18687 ac_cv_cflags__Wshift_overflow_2=no
18689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18690 conftest$ac_exeext conftest.$ac_ext
18691 CFLAGS=$ac_wine_try_cflags_saved
18693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18694 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18695 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18696 then :
18697 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18700 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18701 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18702 then :
18703 printf %s "(cached) " >&6
18704 else $as_nop
18705 ac_wine_try_cflags_saved=$CFLAGS
18706 CFLAGS="$CFLAGS -Wstrict-prototypes"
18707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18708 /* end confdefs.h. */
18709 int main(int argc, char **argv) { return 0; }
18710 _ACEOF
18711 if ac_fn_c_try_link "$LINENO"
18712 then :
18713 ac_cv_cflags__Wstrict_prototypes=yes
18714 else $as_nop
18715 ac_cv_cflags__Wstrict_prototypes=no
18717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18718 conftest$ac_exeext conftest.$ac_ext
18719 CFLAGS=$ac_wine_try_cflags_saved
18721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18722 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18723 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18724 then :
18725 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18728 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18729 if test ${ac_cv_cflags__Wtype_limits+y}
18730 then :
18731 printf %s "(cached) " >&6
18732 else $as_nop
18733 ac_wine_try_cflags_saved=$CFLAGS
18734 CFLAGS="$CFLAGS -Wtype-limits"
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 int main(int argc, char **argv) { return 0; }
18738 _ACEOF
18739 if ac_fn_c_try_link "$LINENO"
18740 then :
18741 ac_cv_cflags__Wtype_limits=yes
18742 else $as_nop
18743 ac_cv_cflags__Wtype_limits=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18746 conftest$ac_exeext conftest.$ac_ext
18747 CFLAGS=$ac_wine_try_cflags_saved
18749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18750 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18751 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18752 then :
18753 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18756 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18757 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18758 then :
18759 printf %s "(cached) " >&6
18760 else $as_nop
18761 ac_wine_try_cflags_saved=$CFLAGS
18762 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 int main(int argc, char **argv) { return 0; }
18766 _ACEOF
18767 if ac_fn_c_try_link "$LINENO"
18768 then :
18769 ac_cv_cflags__Wunused_but_set_parameter=yes
18770 else $as_nop
18771 ac_cv_cflags__Wunused_but_set_parameter=no
18773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18774 conftest$ac_exeext conftest.$ac_ext
18775 CFLAGS=$ac_wine_try_cflags_saved
18777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18778 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18779 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18780 then :
18781 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18784 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18785 if test ${ac_cv_cflags__Wvla+y}
18786 then :
18787 printf %s "(cached) " >&6
18788 else $as_nop
18789 ac_wine_try_cflags_saved=$CFLAGS
18790 CFLAGS="$CFLAGS -Wvla"
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793 int main(int argc, char **argv) { return 0; }
18794 _ACEOF
18795 if ac_fn_c_try_link "$LINENO"
18796 then :
18797 ac_cv_cflags__Wvla=yes
18798 else $as_nop
18799 ac_cv_cflags__Wvla=no
18801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18802 conftest$ac_exeext conftest.$ac_ext
18803 CFLAGS=$ac_wine_try_cflags_saved
18805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18806 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18807 if test "x$ac_cv_cflags__Wvla" = xyes
18808 then :
18809 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18812 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18813 if test ${ac_cv_cflags__Wwrite_strings+y}
18814 then :
18815 printf %s "(cached) " >&6
18816 else $as_nop
18817 ac_wine_try_cflags_saved=$CFLAGS
18818 CFLAGS="$CFLAGS -Wwrite-strings"
18819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18820 /* end confdefs.h. */
18821 int main(int argc, char **argv) { return 0; }
18822 _ACEOF
18823 if ac_fn_c_try_link "$LINENO"
18824 then :
18825 ac_cv_cflags__Wwrite_strings=yes
18826 else $as_nop
18827 ac_cv_cflags__Wwrite_strings=no
18829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18830 conftest$ac_exeext conftest.$ac_ext
18831 CFLAGS=$ac_wine_try_cflags_saved
18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18834 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18835 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18836 then :
18837 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18841 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18842 if test ${ac_cv_cflags__Wpointer_arith+y}
18843 then :
18844 printf %s "(cached) " >&6
18845 else $as_nop
18846 ac_wine_try_cflags_saved=$CFLAGS
18847 CFLAGS="$CFLAGS -Wpointer-arith"
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18850 int main(int argc, char **argv) { return 0; }
18851 _ACEOF
18852 if ac_fn_c_try_link "$LINENO"
18853 then :
18854 ac_cv_cflags__Wpointer_arith=yes
18855 else $as_nop
18856 ac_cv_cflags__Wpointer_arith=no
18858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18859 conftest$ac_exeext conftest.$ac_ext
18860 CFLAGS=$ac_wine_try_cflags_saved
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18863 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18864 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18865 then :
18866 saved_string_h_CFLAGS=$CFLAGS
18867 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18869 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18870 if test ${ac_cv_c_string_h_warnings+y}
18871 then :
18872 printf %s "(cached) " >&6
18873 else $as_nop
18874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18875 /* end confdefs.h. */
18876 #include <string.h>
18878 main (void)
18882 return 0;
18884 _ACEOF
18885 if ac_fn_c_try_compile "$LINENO"
18886 then :
18887 ac_cv_c_string_h_warnings=no
18888 else $as_nop
18889 ac_cv_c_string_h_warnings=yes
18891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18894 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18895 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18896 CFLAGS=$saved_string_h_CFLAGS
18899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18900 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18901 if test ${ac_cv_cflags__Wlogical_op+y}
18902 then :
18903 printf %s "(cached) " >&6
18904 else $as_nop
18905 ac_wine_try_cflags_saved=$CFLAGS
18906 CFLAGS="$CFLAGS -Wlogical-op"
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 int main(int argc, char **argv) { return 0; }
18910 _ACEOF
18911 if ac_fn_c_try_link "$LINENO"
18912 then :
18913 ac_cv_cflags__Wlogical_op=yes
18914 else $as_nop
18915 ac_cv_cflags__Wlogical_op=no
18917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18918 conftest$ac_exeext conftest.$ac_ext
18919 CFLAGS=$ac_wine_try_cflags_saved
18921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18922 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18923 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18924 then :
18925 saved_string_h_CFLAGS=$CFLAGS
18926 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18928 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18929 if test ${ac_cv_c_logicalop_noisy+y}
18930 then :
18931 printf %s "(cached) " >&6
18932 else $as_nop
18933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18934 /* end confdefs.h. */
18935 #include <string.h>
18936 char*f(const char *h,char n) {return strchr(h,n);}
18938 main (void)
18942 return 0;
18944 _ACEOF
18945 if ac_fn_c_try_compile "$LINENO"
18946 then :
18947 ac_cv_c_logicalop_noisy=no
18948 else $as_nop
18949 ac_cv_c_logicalop_noisy=yes
18951 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18954 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18955 CFLAGS=$saved_string_h_CFLAGS
18956 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18960 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18961 if test ${wine_cv_64bit_compare_swap+y}
18962 then :
18963 printf %s "(cached) " >&6
18964 else $as_nop
18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h. */
18967 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18968 #error no
18969 #endif
18971 main (void)
18975 return 0;
18977 _ACEOF
18978 if ac_fn_c_try_compile "$LINENO"
18979 then :
18980 wine_cv_64bit_compare_swap="none needed"
18981 else $as_nop
18982 case $host_cpu in
18983 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18984 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18985 *) wine_cv_64bit_compare_swap="unknown" ;;
18986 esac
18987 if test "x$wine_cv_64bit_compare_swap" != xunknown
18988 then
18989 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 /* end confdefs.h. */
18992 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18993 #error no
18994 #endif
18996 main (void)
19000 return 0;
19002 _ACEOF
19003 if ac_fn_c_try_compile "$LINENO"
19004 then :
19006 else $as_nop
19007 wine_cv_64bit_compare_swap="unknown"
19009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19010 CFLAGS=$saved_CFLAGS
19013 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19016 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19017 case "$wine_cv_64bit_compare_swap" in
19018 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19019 "none needed") ;;
19020 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19021 esac
19023 ac_debug_format_seen=""
19024 for ac_flag in $CFLAGS; do
19025 case $ac_flag in
19026 -gdwarf*) ac_debug_format_seen=yes ;;
19027 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19028 esac
19029 done
19030 if test "x$ac_debug_format_seen" = xdefault
19031 then
19032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19033 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19034 if test ${ac_cv_cflags__gdwarf_4+y}
19035 then :
19036 printf %s "(cached) " >&6
19037 else $as_nop
19038 ac_wine_try_cflags_saved=$CFLAGS
19039 CFLAGS="$CFLAGS -gdwarf-4"
19040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041 /* end confdefs.h. */
19042 int main(int argc, char **argv) { return 0; }
19043 _ACEOF
19044 if ac_fn_c_try_link "$LINENO"
19045 then :
19046 ac_cv_cflags__gdwarf_4=yes
19047 else $as_nop
19048 ac_cv_cflags__gdwarf_4=no
19050 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19051 conftest$ac_exeext conftest.$ac_ext
19052 CFLAGS=$ac_wine_try_cflags_saved
19054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19055 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19056 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19057 then :
19058 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19062 MSVCRTFLAGS=""
19064 case $host_os in
19065 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19066 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19067 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19068 then :
19069 printf %s "(cached) " >&6
19070 else $as_nop
19071 ac_wine_try_cflags_saved=$CFLAGS
19072 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 int main(int argc, char **argv) { return 0; }
19076 _ACEOF
19077 if ac_fn_c_try_link "$LINENO"
19078 then :
19079 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19080 else $as_nop
19081 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19084 conftest$ac_exeext conftest.$ac_ext
19085 CFLAGS=$ac_wine_try_cflags_saved
19087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19088 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19089 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19090 then :
19091 DELAYLOADFLAG="-Wl,-delayload,"
19093 fi ;;
19094 *) MSVCRTFLAGS="-D_WIN32"
19095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19096 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19097 if test ${ac_cv_cflags__fno_builtin+y}
19098 then :
19099 printf %s "(cached) " >&6
19100 else $as_nop
19101 ac_wine_try_cflags_saved=$CFLAGS
19102 CFLAGS="$CFLAGS -fno-builtin"
19103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h. */
19105 int main(int argc, char **argv) { return 0; }
19106 _ACEOF
19107 if ac_fn_c_try_link "$LINENO"
19108 then :
19109 ac_cv_cflags__fno_builtin=yes
19110 else $as_nop
19111 ac_cv_cflags__fno_builtin=no
19113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19114 conftest$ac_exeext conftest.$ac_ext
19115 CFLAGS=$ac_wine_try_cflags_saved
19117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19118 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19119 if test "x$ac_cv_cflags__fno_builtin" = xyes
19120 then :
19121 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19124 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19125 if test ${ac_cv_cflags__fshort_wchar+y}
19126 then :
19127 printf %s "(cached) " >&6
19128 else $as_nop
19129 ac_wine_try_cflags_saved=$CFLAGS
19130 CFLAGS="$CFLAGS -fshort-wchar"
19131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19132 /* end confdefs.h. */
19133 int main(int argc, char **argv) { return 0; }
19134 _ACEOF
19135 if ac_fn_c_try_link "$LINENO"
19136 then :
19137 ac_cv_cflags__fshort_wchar=yes
19138 else $as_nop
19139 ac_cv_cflags__fshort_wchar=no
19141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19142 conftest$ac_exeext conftest.$ac_ext
19143 CFLAGS=$ac_wine_try_cflags_saved
19145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19146 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19147 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19148 then :
19149 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19152 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19153 if test ${ac_cv_cflags__Wno_format+y}
19154 then :
19155 printf %s "(cached) " >&6
19156 else $as_nop
19157 ac_wine_try_cflags_saved=$CFLAGS
19158 CFLAGS="$CFLAGS -Wno-format"
19159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h. */
19161 int main(int argc, char **argv) { return 0; }
19162 _ACEOF
19163 if ac_fn_c_try_link "$LINENO"
19164 then :
19165 ac_cv_cflags__Wno_format=yes
19166 else $as_nop
19167 ac_cv_cflags__Wno_format=no
19169 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19170 conftest$ac_exeext conftest.$ac_ext
19171 CFLAGS=$ac_wine_try_cflags_saved
19173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19174 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19175 if test "x$ac_cv_cflags__Wno_format" = xyes
19176 then :
19177 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19178 fi ;;
19179 esac
19181 case $host_cpu in
19182 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19183 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19184 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19185 then :
19186 printf %s "(cached) " >&6
19187 else $as_nop
19188 ac_wine_try_cflags_saved=$CFLAGS
19189 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 int main(int argc, char **argv) { return 0; }
19193 _ACEOF
19194 if ac_fn_c_try_link "$LINENO"
19195 then :
19196 ac_cv_cflags__fno_omit_frame_pointer=yes
19197 else $as_nop
19198 ac_cv_cflags__fno_omit_frame_pointer=no
19200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19201 conftest$ac_exeext conftest.$ac_ext
19202 CFLAGS=$ac_wine_try_cflags_saved
19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19205 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19206 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19207 then :
19208 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19209 fi ;;
19210 *x86_64*)
19211 case $host_os in
19212 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19213 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19214 if test ${ac_cv_cflags__Wno_format+y}
19215 then :
19216 printf %s "(cached) " >&6
19217 else $as_nop
19218 ac_wine_try_cflags_saved=$CFLAGS
19219 CFLAGS="$CFLAGS -Wno-format"
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222 int main(int argc, char **argv) { return 0; }
19223 _ACEOF
19224 if ac_fn_c_try_link "$LINENO"
19225 then :
19226 ac_cv_cflags__Wno_format=yes
19227 else $as_nop
19228 ac_cv_cflags__Wno_format=no
19230 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19231 conftest$ac_exeext conftest.$ac_ext
19232 CFLAGS=$ac_wine_try_cflags_saved
19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19235 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19236 if test "x$ac_cv_cflags__Wno_format" = xyes
19237 then :
19238 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19239 fi ;;
19240 *) if test -z "$PE_ARCHS"
19241 then
19242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19243 printf %s "checking for working -mabi=ms... " >&6; }
19244 if test ${ac_cv_mabi_ms+y}
19245 then :
19246 printf %s "(cached) " >&6
19247 else $as_nop
19248 CFLAGS="$CFLAGS -mabi=ms"
19249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19250 /* end confdefs.h. */
19251 #include <stdarg.h>
19252 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19254 main (void)
19258 return 0;
19260 _ACEOF
19261 if ac_fn_c_try_compile "$LINENO"
19262 then :
19263 ac_cv_mabi_ms=yes
19264 else $as_nop
19265 ac_cv_mabi_ms=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19268 CFLAGS=$saved_CFLAGS
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19271 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19272 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
19274 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19275 esac ;;
19276 arm*)
19277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19278 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19279 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19280 then :
19281 printf %s "(cached) " >&6
19282 else $as_nop
19283 ac_wine_try_cflags_saved=$CFLAGS
19284 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
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__Wincompatible_function_pointer_types=yes
19292 else $as_nop
19293 ac_cv_cflags__Wincompatible_function_pointer_types=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__Wincompatible_function_pointer_types" >&5
19300 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19301 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19302 then :
19303 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19304 fi ;;
19305 esac
19307 CFLAGS=$saved_CFLAGS
19309 if test "x$enable_werror" = "xyes"
19310 then
19311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19312 printf %s "checking whether the compiler supports -Werror... " >&6; }
19313 if test ${ac_cv_cflags__Werror+y}
19314 then :
19315 printf %s "(cached) " >&6
19316 else $as_nop
19317 ac_wine_try_cflags_saved=$CFLAGS
19318 CFLAGS="$CFLAGS -Werror"
19319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19320 /* end confdefs.h. */
19321 int main(int argc, char **argv) { return 0; }
19322 _ACEOF
19323 if ac_fn_c_try_link "$LINENO"
19324 then :
19325 ac_cv_cflags__Werror=yes
19326 else $as_nop
19327 ac_cv_cflags__Werror=no
19329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19330 conftest$ac_exeext conftest.$ac_ext
19331 CFLAGS=$ac_wine_try_cflags_saved
19333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19334 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19335 if test "x$ac_cv_cflags__Werror" = xyes
19336 then :
19337 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19340 if test "x$enable_build_id" = "xyes"
19341 then
19342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19343 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19344 if test ${ac_cv_cflags__Wl___build_id+y}
19345 then :
19346 printf %s "(cached) " >&6
19347 else $as_nop
19348 ac_wine_try_cflags_saved=$CFLAGS
19349 CFLAGS="$CFLAGS -Wl,--build-id"
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__Wl___build_id=yes
19357 else $as_nop
19358 ac_cv_cflags__Wl___build_id=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__Wl___build_id" >&5
19365 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19366 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19367 then :
19368 CFLAGS="$CFLAGS -Wl,--build-id"
19369 LDFLAGS="$LDFLAGS -Wl,--build-id"
19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19376 printf %s "checking for the need to disable Fortify... " >&6; }
19377 if test ${ac_cv_c_fortify_enabled+y}
19378 then :
19379 printf %s "(cached) " >&6
19380 else $as_nop
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h. */
19383 #include <string.h>
19385 main (void)
19387 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19388 #error Fortify enabled
19389 #endif
19391 return 0;
19393 _ACEOF
19394 if ac_fn_c_try_compile "$LINENO"
19395 then :
19396 ac_cv_c_fortify_enabled=no
19397 else $as_nop
19398 ac_cv_c_fortify_enabled=yes
19400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19403 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19404 if test "$ac_cv_c_fortify_enabled" = yes
19405 then
19406 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19411 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19412 if test ${ac_cv_c_cfi_support+y}
19413 then :
19414 printf %s "(cached) " >&6
19415 else $as_nop
19416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19417 /* end confdefs.h. */
19418 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19420 main (void)
19424 return 0;
19426 _ACEOF
19427 if ac_fn_c_try_compile "$LINENO"
19428 then :
19429 ac_cv_c_cfi_support="yes"
19430 else $as_nop
19431 ac_cv_c_cfi_support="no"
19433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19436 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19437 if test "$ac_cv_c_cfi_support" = "yes"
19438 then
19439 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19440 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19441 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19442 elif test $HOST_ARCH = x86_64
19443 then
19444 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19448 case "$HOST_ARCH,$PE_ARCHS" in
19449 x86_64,*i386*) wine_binary="wine" ;;
19450 x86_64,*) wine_binary="wine64" ;;
19451 *) wine_binary="wine" ;;
19452 esac
19453 WINELOADER_PROGRAMS="$wine_binary"
19456 case $host_os in
19457 linux*)
19458 case $host_cpu in
19459 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19460 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19461 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19463 esac
19465 darwin*|macosx*)
19466 if test "$wine_can_build_preloader" = "yes"
19467 then
19468 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19469 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19472 esac
19475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19476 printf %s "checking for library containing dlopen... " >&6; }
19477 if test ${ac_cv_search_dlopen+y}
19478 then :
19479 printf %s "(cached) " >&6
19480 else $as_nop
19481 ac_func_search_save_LIBS=$LIBS
19482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19483 /* end confdefs.h. */
19485 /* Override any GCC internal prototype to avoid an error.
19486 Use char because int might match the return type of a GCC
19487 builtin and then its argument prototype would still apply. */
19488 char dlopen ();
19490 main (void)
19492 return dlopen ();
19494 return 0;
19496 _ACEOF
19497 for ac_lib in '' dl
19499 if test -z "$ac_lib"; then
19500 ac_res="none required"
19501 else
19502 ac_res=-l$ac_lib
19503 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19505 if ac_fn_c_try_link "$LINENO"
19506 then :
19507 ac_cv_search_dlopen=$ac_res
19509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19510 conftest$ac_exeext
19511 if test ${ac_cv_search_dlopen+y}
19512 then :
19513 break
19515 done
19516 if test ${ac_cv_search_dlopen+y}
19517 then :
19519 else $as_nop
19520 ac_cv_search_dlopen=no
19522 rm conftest.$ac_ext
19523 LIBS=$ac_func_search_save_LIBS
19525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19526 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19527 ac_res=$ac_cv_search_dlopen
19528 if test "$ac_res" != no
19529 then :
19530 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19536 printf %s "checking for library containing gethostbyname... " >&6; }
19537 if test ${ac_cv_search_gethostbyname+y}
19538 then :
19539 printf %s "(cached) " >&6
19540 else $as_nop
19541 ac_func_search_save_LIBS=$LIBS
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19545 /* Override any GCC internal prototype to avoid an error.
19546 Use char because int might match the return type of a GCC
19547 builtin and then its argument prototype would still apply. */
19548 char gethostbyname ();
19550 main (void)
19552 return gethostbyname ();
19554 return 0;
19556 _ACEOF
19557 for ac_lib in '' nsl
19559 if test -z "$ac_lib"; then
19560 ac_res="none required"
19561 else
19562 ac_res=-l$ac_lib
19563 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19565 if ac_fn_c_try_link "$LINENO"
19566 then :
19567 ac_cv_search_gethostbyname=$ac_res
19569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19570 conftest$ac_exeext
19571 if test ${ac_cv_search_gethostbyname+y}
19572 then :
19573 break
19575 done
19576 if test ${ac_cv_search_gethostbyname+y}
19577 then :
19579 else $as_nop
19580 ac_cv_search_gethostbyname=no
19582 rm conftest.$ac_ext
19583 LIBS=$ac_func_search_save_LIBS
19585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19586 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19587 ac_res=$ac_cv_search_gethostbyname
19588 if test "$ac_res" != no
19589 then :
19590 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19596 printf %s "checking for library containing connect... " >&6; }
19597 if test ${ac_cv_search_connect+y}
19598 then :
19599 printf %s "(cached) " >&6
19600 else $as_nop
19601 ac_func_search_save_LIBS=$LIBS
19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19605 /* Override any GCC internal prototype to avoid an error.
19606 Use char because int might match the return type of a GCC
19607 builtin and then its argument prototype would still apply. */
19608 char connect ();
19610 main (void)
19612 return connect ();
19614 return 0;
19616 _ACEOF
19617 for ac_lib in '' socket
19619 if test -z "$ac_lib"; then
19620 ac_res="none required"
19621 else
19622 ac_res=-l$ac_lib
19623 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19625 if ac_fn_c_try_link "$LINENO"
19626 then :
19627 ac_cv_search_connect=$ac_res
19629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19630 conftest$ac_exeext
19631 if test ${ac_cv_search_connect+y}
19632 then :
19633 break
19635 done
19636 if test ${ac_cv_search_connect+y}
19637 then :
19639 else $as_nop
19640 ac_cv_search_connect=no
19642 rm conftest.$ac_ext
19643 LIBS=$ac_func_search_save_LIBS
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19646 printf "%s\n" "$ac_cv_search_connect" >&6; }
19647 ac_res=$ac_cv_search_connect
19648 if test "$ac_res" != no
19649 then :
19650 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19656 printf %s "checking for library containing inet_aton... " >&6; }
19657 if test ${ac_cv_search_inet_aton+y}
19658 then :
19659 printf %s "(cached) " >&6
19660 else $as_nop
19661 ac_func_search_save_LIBS=$LIBS
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19665 /* Override any GCC internal prototype to avoid an error.
19666 Use char because int might match the return type of a GCC
19667 builtin and then its argument prototype would still apply. */
19668 char inet_aton ();
19670 main (void)
19672 return inet_aton ();
19674 return 0;
19676 _ACEOF
19677 for ac_lib in '' resolv
19679 if test -z "$ac_lib"; then
19680 ac_res="none required"
19681 else
19682 ac_res=-l$ac_lib
19683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19685 if ac_fn_c_try_link "$LINENO"
19686 then :
19687 ac_cv_search_inet_aton=$ac_res
19689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19690 conftest$ac_exeext
19691 if test ${ac_cv_search_inet_aton+y}
19692 then :
19693 break
19695 done
19696 if test ${ac_cv_search_inet_aton+y}
19697 then :
19699 else $as_nop
19700 ac_cv_search_inet_aton=no
19702 rm conftest.$ac_ext
19703 LIBS=$ac_func_search_save_LIBS
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19706 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19707 ac_res=$ac_cv_search_inet_aton
19708 if test "$ac_res" != no
19709 then :
19710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19715 ac_save_CFLAGS="$CFLAGS"
19716 CFLAGS="$CFLAGS $BUILTINFLAG"
19717 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19718 if test "x$ac_cv_func_dladdr1" = xyes
19719 then :
19720 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19723 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19724 if test "x$ac_cv_func_dlinfo" = xyes
19725 then :
19726 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19729 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19730 if test "x$ac_cv_func_epoll_create" = xyes
19731 then :
19732 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19735 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19736 if test "x$ac_cv_func_fstatfs" = xyes
19737 then :
19738 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19741 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19742 if test "x$ac_cv_func_futimens" = xyes
19743 then :
19744 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19747 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19748 if test "x$ac_cv_func_futimes" = xyes
19749 then :
19750 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19753 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19754 if test "x$ac_cv_func_futimesat" = xyes
19755 then :
19756 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19759 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19760 if test "x$ac_cv_func_getaddrinfo" = xyes
19761 then :
19762 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19765 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19766 if test "x$ac_cv_func_getattrlist" = xyes
19767 then :
19768 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19771 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19772 if test "x$ac_cv_func_getauxval" = xyes
19773 then :
19774 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19777 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19778 if test "x$ac_cv_func_getifaddrs" = xyes
19779 then :
19780 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19783 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19784 if test "x$ac_cv_func_getrandom" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19789 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19790 if test "x$ac_cv_func_kqueue" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19796 if test "x$ac_cv_func_mach_continuous_time" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19802 if test "x$ac_cv_func_pipe2" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19808 if test "x$ac_cv_func_port_create" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19814 if test "x$ac_cv_func_posix_fadvise" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19820 if test "x$ac_cv_func_posix_fallocate" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19825 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19826 if test "x$ac_cv_func_prctl" = xyes
19827 then :
19828 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19831 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19832 if test "x$ac_cv_func_proc_pidinfo" = xyes
19833 then :
19834 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19837 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19838 if test "x$ac_cv_func_sched_yield" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19844 if test "x$ac_cv_func_setproctitle" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19850 if test "x$ac_cv_func_setprogname" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19856 if test "x$ac_cv_func_sigprocmask" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19862 if test "x$ac_cv_func_sysinfo" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19868 if test "x$ac_cv_func_tcdrain" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19874 if test "x$ac_cv_func_thr_kill2" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19880 CFLAGS="$ac_save_CFLAGS"
19882 case $host_os in
19883 darwin*|macosx*) ;;
19884 *) ac_save_LIBS=$LIBS
19885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19886 printf %s "checking for library containing clock_gettime... " >&6; }
19887 if test ${ac_cv_search_clock_gettime+y}
19888 then :
19889 printf %s "(cached) " >&6
19890 else $as_nop
19891 ac_func_search_save_LIBS=$LIBS
19892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19893 /* end confdefs.h. */
19895 /* Override any GCC internal prototype to avoid an error.
19896 Use char because int might match the return type of a GCC
19897 builtin and then its argument prototype would still apply. */
19898 char clock_gettime ();
19900 main (void)
19902 return clock_gettime ();
19904 return 0;
19906 _ACEOF
19907 for ac_lib in '' rt
19909 if test -z "$ac_lib"; then
19910 ac_res="none required"
19911 else
19912 ac_res=-l$ac_lib
19913 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19915 if ac_fn_c_try_link "$LINENO"
19916 then :
19917 ac_cv_search_clock_gettime=$ac_res
19919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19920 conftest$ac_exeext
19921 if test ${ac_cv_search_clock_gettime+y}
19922 then :
19923 break
19925 done
19926 if test ${ac_cv_search_clock_gettime+y}
19927 then :
19929 else $as_nop
19930 ac_cv_search_clock_gettime=no
19932 rm conftest.$ac_ext
19933 LIBS=$ac_func_search_save_LIBS
19935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19936 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19937 ac_res=$ac_cv_search_clock_gettime
19938 if test "$ac_res" != no
19939 then :
19940 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19942 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19944 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19948 LIBS=$ac_save_LIBS
19950 esac
19952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19953 printf %s "checking for sched_setaffinity... " >&6; }
19954 if test ${wine_cv_have_sched_setaffinity+y}
19955 then :
19956 printf %s "(cached) " >&6
19957 else $as_nop
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <sched.h>
19962 main (void)
19964 sched_setaffinity(0, 0, 0);
19966 return 0;
19968 _ACEOF
19969 if ac_fn_c_try_link "$LINENO"
19970 then :
19971 wine_cv_have_sched_setaffinity=yes
19972 else $as_nop
19973 wine_cv_have_sched_setaffinity=no
19975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19976 conftest$ac_exeext conftest.$ac_ext
19978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19979 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19980 if test "$wine_cv_have_sched_setaffinity" = "yes"
19981 then
19983 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19989 printf %s "checking for inline... " >&6; }
19990 if test ${ac_cv_c_inline+y}
19991 then :
19992 printf %s "(cached) " >&6
19993 else $as_nop
19994 ac_cv_c_inline=no
19995 for ac_kw in inline __inline__ __inline; do
19996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997 /* end confdefs.h. */
19998 #ifndef __cplusplus
19999 typedef int foo_t;
20000 static $ac_kw foo_t static_foo (void) {return 0; }
20001 $ac_kw foo_t foo (void) {return 0; }
20002 #endif
20004 _ACEOF
20005 if ac_fn_c_try_compile "$LINENO"
20006 then :
20007 ac_cv_c_inline=$ac_kw
20009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20010 test "$ac_cv_c_inline" != no && break
20011 done
20014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20015 printf "%s\n" "$ac_cv_c_inline" >&6; }
20017 case $ac_cv_c_inline in
20018 inline | yes) ;;
20020 case $ac_cv_c_inline in
20021 no) ac_val=;;
20022 *) ac_val=$ac_cv_c_inline;;
20023 esac
20024 cat >>confdefs.h <<_ACEOF
20025 #ifndef __cplusplus
20026 #define inline $ac_val
20027 #endif
20028 _ACEOF
20030 esac
20032 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20034 if test "x$ac_cv_type_request_sense" = xyes
20035 then :
20037 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20043 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20044 #include <sys/socket.h>
20045 #ifdef HAVE_SYS_SOCKETVAR_H
20046 #include <sys/socketvar.h>
20047 #endif
20048 #ifdef HAVE_NET_ROUTE_H
20049 #include <net/route.h>
20050 #endif
20051 #ifdef HAVE_NETINET_IN_H
20052 #include <netinet/in.h>
20053 #endif
20054 #ifdef HAVE_NETINET_IN_SYSTM_H
20055 #include <netinet/in_systm.h>
20056 #endif
20057 #ifdef HAVE_NETINET_IP_H
20058 #include <netinet/ip.h>
20059 #endif
20060 #ifdef HAVE_NETINET_IN_PCB_H
20061 #include <netinet/in_pcb.h>
20062 #endif
20064 if test "x$ac_cv_type_struct_xinpgen" = xyes
20065 then :
20067 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20074 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20075 if test ${wine_cv_linux_gethostbyname_r_6+y}
20076 then :
20077 printf %s "(cached) " >&6
20078 else $as_nop
20079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20080 /* end confdefs.h. */
20081 #include <netdb.h>
20083 main (void)
20086 char *name=0;
20087 struct hostent he;
20088 struct hostent *result;
20089 char *buf=0;
20090 int bufsize=0;
20091 int errnr;
20092 char *addr=0;
20093 int addrlen=0;
20094 int addrtype=0;
20095 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20096 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20099 return 0;
20101 _ACEOF
20102 if ac_fn_c_try_link "$LINENO"
20103 then :
20104 wine_cv_linux_gethostbyname_r_6=yes
20105 else $as_nop
20106 wine_cv_linux_gethostbyname_r_6=no
20109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20110 conftest$ac_exeext conftest.$ac_ext
20113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20114 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20115 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20116 then
20118 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20122 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20123 #include <sys/socket.h>
20124 #ifdef HAVE_SYS_UN_H
20125 # include <sys/un.h>
20126 #endif
20128 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20129 then :
20131 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20135 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20136 #include <sys/socket.h>
20137 #ifdef HAVE_SYS_UN_H
20138 # include <sys/un.h>
20139 #endif
20141 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20142 then :
20144 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20150 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20151 #ifdef HAVE_SCSI_SG_H
20152 #include <scsi/sg.h>
20153 #endif
20155 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20156 then :
20158 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20162 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>
20163 #ifdef HAVE_SCSI_SG_H
20164 #include <scsi/sg.h>
20165 #endif
20167 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20168 then :
20170 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20176 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20178 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20179 then :
20181 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20187 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20188 #ifdef HAVE_SYS_MTIO_H
20189 #include <sys/mtio.h>
20190 #endif
20192 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20193 then :
20195 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20199 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20200 #ifdef HAVE_SYS_MTIO_H
20201 #include <sys/mtio.h>
20202 #endif
20204 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20205 then :
20207 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20211 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20212 #ifdef HAVE_SYS_MTIO_H
20213 #include <sys/mtio.h>
20214 #endif
20216 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20217 then :
20219 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20225 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20226 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20227 then :
20229 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20233 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20234 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20235 then :
20237 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20241 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20242 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20243 then :
20245 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20249 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20250 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20251 then :
20253 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20257 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20258 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20259 then :
20261 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20265 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20266 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20267 then :
20269 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20273 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20274 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20275 then :
20277 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20281 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20282 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20283 then :
20285 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20289 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20290 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20291 then :
20293 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20297 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20298 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20299 then :
20301 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20305 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20306 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20307 then :
20309 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20315 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>
20316 #ifdef HAVE_NETINET_IN_H
20317 #include <netinet/in.h>
20318 #endif
20320 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20321 then :
20323 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20329 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
20330 #include <resolv.h>
20331 #endif
20333 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20334 then :
20336 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20342 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20343 #include <netinet/in.h>
20344 #endif
20346 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20347 then :
20349 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20355 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20356 #ifdef HAVE_SYS_SOCKETVAR_H
20357 #include <sys/socketvar.h>
20358 #endif
20359 #ifdef HAVE_NETINET_IN_H
20360 #include <netinet/in.h>
20361 #endif
20362 #ifdef HAVE_NETINET_IP_VAR_H
20363 #include <netinet/ip_var.h>
20364 #endif
20366 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20367 then :
20369 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20375 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
20376 #include <netinet/ip_var.h>
20377 #endif
20379 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20380 then :
20382 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20388 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20389 #ifdef HAVE_SYS_SOCKETVAR_H
20390 #include <sys/socketvar.h>
20391 #endif
20392 #ifdef HAVE_NETINET_IN_H
20393 #include <netinet/in.h>
20394 #endif
20395 #ifdef HAVE_NETINET6_IP6_VAR_H
20396 #include <netinet6/ip6_var.h>
20397 #endif
20399 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20400 then :
20402 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20408 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20409 #ifdef HAVE_SYS_SOCKETVAR_H
20410 #include <sys/socketvar.h>
20411 #endif
20412 #ifdef HAVE_NETINET_IN_H
20413 #include <netinet/in.h>
20414 #endif
20415 #ifdef HAVE_NETINET_IP_H
20416 #include <netinet/ip.h>
20417 #endif
20418 #ifdef HAVE_NETINET_IP_ICMP_H
20419 #include <netinet/ip_icmp.h>
20420 #endif
20421 #ifdef HAVE_NETINET_ICMP_VAR_H
20422 #include <netinet/icmp_var.h>
20423 #endif
20425 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20426 then :
20428 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20434 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20435 #ifdef HAVE_SYS_SOCKETVAR_H
20436 #include <sys/socketvar.h>
20437 #endif
20438 #ifdef HAVE_NETINET_IN_H
20439 #include <netinet/in.h>
20440 #endif
20441 #ifdef HAVE_NETINET_ICMP6_H
20442 #include <netinet/icmp6.h>
20443 #endif
20445 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20446 then :
20448 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20454 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20455 #ifdef HAVE_SYS_SOCKETVAR_H
20456 #include <sys/socketvar.h>
20457 #endif
20458 #ifdef HAVE_NETINET_IN_H
20459 #include <netinet/in.h>
20460 #endif
20461 #ifdef HAVE_NETINET_TCP_H
20462 #include <netinet/tcp.h>
20463 #endif
20464 #ifdef HAVE_NETINET_TCP_VAR_H
20465 #include <netinet/tcp_var.h>
20466 #endif
20468 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20469 then :
20471 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20477 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
20478 #include <netinet/tcp_var.h>
20479 #endif
20481 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20482 then :
20484 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20491 #ifdef HAVE_NETINET_IN_H
20492 #include <netinet/in.h>
20493 #endif
20494 #ifdef HAVE_NETINET_IP_VAR_H
20495 #include <netinet/ip_var.h>
20496 #endif
20497 #ifdef HAVE_NETINET_UDP_H
20498 #include <netinet/udp.h>
20499 #endif
20500 #ifdef HAVE_NETINET_UDP_VAR_H
20501 #include <netinet/udp_var.h>
20502 #endif
20504 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20505 then :
20507 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20513 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20514 #ifdef HAVE_NET_IF_H
20515 # include <net/if.h>
20516 #endif
20518 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20519 then :
20521 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20527 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20528 # include <sys/sysinfo.h>
20529 #endif
20531 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20532 then :
20534 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20538 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20539 # include <sys/sysinfo.h>
20540 #endif
20542 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20543 then :
20545 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20551 LIBS="$ac_save_LIBS"
20553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20554 printf %s "checking for __builtin_popcount... " >&6; }
20555 if test ${ac_cv_have___builtin_popcount+y}
20556 then :
20557 printf %s "(cached) " >&6
20558 else $as_nop
20559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h. */
20563 main (void)
20565 return __builtin_popcount(1)
20567 return 0;
20569 _ACEOF
20570 if ac_fn_c_try_link "$LINENO"
20571 then :
20572 ac_cv_have___builtin_popcount="yes"
20573 else $as_nop
20574 ac_cv_have___builtin_popcount="no"
20576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20577 conftest$ac_exeext conftest.$ac_ext
20579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20580 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20581 if test "$ac_cv_have___builtin_popcount" = "yes"
20582 then
20584 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20589 printf %s "checking for __clear_cache... " >&6; }
20590 if test ${ac_cv_have___clear_cache+y}
20591 then :
20592 printf %s "(cached) " >&6
20593 else $as_nop
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20598 main (void)
20600 __clear_cache((void*)0, (void*)0); return 0;
20602 return 0;
20604 _ACEOF
20605 if ac_fn_c_try_link "$LINENO"
20606 then :
20607 ac_cv_have___clear_cache="yes"
20608 else $as_nop
20609 ac_cv_have___clear_cache="no"
20611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20612 conftest$ac_exeext conftest.$ac_ext
20614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20615 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20616 if test "$ac_cv_have___clear_cache" = "yes"
20617 then
20619 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20624 case $host_cpu in
20625 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20626 printf %s "checking whether we need to define __i386__... " >&6; }
20627 if test ${ac_cv_cpp_def___i386__+y}
20628 then :
20629 printf %s "(cached) " >&6
20630 else $as_nop
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20633 #ifndef __i386__
20635 #endif
20636 _ACEOF
20637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20638 $EGREP "yes" >/dev/null 2>&1
20639 then :
20640 ac_cv_cpp_def___i386__=yes
20641 else $as_nop
20642 ac_cv_cpp_def___i386__=no
20644 rm -rf conftest*
20647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20648 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20649 if test "x$ac_cv_cpp_def___i386__" = xyes
20650 then :
20651 CFLAGS="$CFLAGS -D__i386__"
20652 LINTFLAGS="$LINTFLAGS -D__i386__"
20653 fi ;;
20654 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20655 printf %s "checking whether we need to define __x86_64__... " >&6; }
20656 if test ${ac_cv_cpp_def___x86_64__+y}
20657 then :
20658 printf %s "(cached) " >&6
20659 else $as_nop
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20662 #ifndef __x86_64__
20664 #endif
20665 _ACEOF
20666 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20667 $EGREP "yes" >/dev/null 2>&1
20668 then :
20669 ac_cv_cpp_def___x86_64__=yes
20670 else $as_nop
20671 ac_cv_cpp_def___x86_64__=no
20673 rm -rf conftest*
20676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20677 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20678 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20679 then :
20680 CFLAGS="$CFLAGS -D__x86_64__"
20681 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20682 fi ;;
20683 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20684 printf %s "checking whether we need to define __sparc64__... " >&6; }
20685 if test ${ac_cv_cpp_def___sparc64__+y}
20686 then :
20687 printf %s "(cached) " >&6
20688 else $as_nop
20689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20691 #ifndef __sparc64__
20693 #endif
20694 _ACEOF
20695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20696 $EGREP "yes" >/dev/null 2>&1
20697 then :
20698 ac_cv_cpp_def___sparc64__=yes
20699 else $as_nop
20700 ac_cv_cpp_def___sparc64__=no
20702 rm -rf conftest*
20705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20706 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20707 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20708 then :
20709 CFLAGS="$CFLAGS -D__sparc64__"
20710 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20711 fi ;;
20712 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20713 printf %s "checking whether we need to define __sparc__... " >&6; }
20714 if test ${ac_cv_cpp_def___sparc__+y}
20715 then :
20716 printf %s "(cached) " >&6
20717 else $as_nop
20718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20719 /* end confdefs.h. */
20720 #ifndef __sparc__
20722 #endif
20723 _ACEOF
20724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20725 $EGREP "yes" >/dev/null 2>&1
20726 then :
20727 ac_cv_cpp_def___sparc__=yes
20728 else $as_nop
20729 ac_cv_cpp_def___sparc__=no
20731 rm -rf conftest*
20734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20735 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20736 if test "x$ac_cv_cpp_def___sparc__" = xyes
20737 then :
20738 CFLAGS="$CFLAGS -D__sparc__"
20739 LINTFLAGS="$LINTFLAGS -D__sparc__"
20740 fi ;;
20741 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20742 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20743 if test ${ac_cv_cpp_def___powerpc64__+y}
20744 then :
20745 printf %s "(cached) " >&6
20746 else $as_nop
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749 #ifndef __powerpc64__
20751 #endif
20752 _ACEOF
20753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20754 $EGREP "yes" >/dev/null 2>&1
20755 then :
20756 ac_cv_cpp_def___powerpc64__=yes
20757 else $as_nop
20758 ac_cv_cpp_def___powerpc64__=no
20760 rm -rf conftest*
20763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20764 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20765 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20766 then :
20767 CFLAGS="$CFLAGS -D__powerpc64__"
20768 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20769 fi ;;
20770 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20771 printf %s "checking whether we need to define __powerpc__... " >&6; }
20772 if test ${ac_cv_cpp_def___powerpc__+y}
20773 then :
20774 printf %s "(cached) " >&6
20775 else $as_nop
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20778 #ifndef __powerpc__
20780 #endif
20781 _ACEOF
20782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20783 $EGREP "yes" >/dev/null 2>&1
20784 then :
20785 ac_cv_cpp_def___powerpc__=yes
20786 else $as_nop
20787 ac_cv_cpp_def___powerpc__=no
20789 rm -rf conftest*
20792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20793 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20794 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20795 then :
20796 CFLAGS="$CFLAGS -D__powerpc__"
20797 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20798 fi ;;
20799 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20800 printf %s "checking whether we need to define __aarch64__... " >&6; }
20801 if test ${ac_cv_cpp_def___aarch64__+y}
20802 then :
20803 printf %s "(cached) " >&6
20804 else $as_nop
20805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h. */
20807 #ifndef __aarch64__
20809 #endif
20810 _ACEOF
20811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20812 $EGREP "yes" >/dev/null 2>&1
20813 then :
20814 ac_cv_cpp_def___aarch64__=yes
20815 else $as_nop
20816 ac_cv_cpp_def___aarch64__=no
20818 rm -rf conftest*
20821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20822 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20823 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20824 then :
20825 CFLAGS="$CFLAGS -D__aarch64__"
20826 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20827 fi ;;
20828 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20829 printf %s "checking whether we need to define __arm__... " >&6; }
20830 if test ${ac_cv_cpp_def___arm__+y}
20831 then :
20832 printf %s "(cached) " >&6
20833 else $as_nop
20834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20835 /* end confdefs.h. */
20836 #ifndef __arm__
20838 #endif
20839 _ACEOF
20840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20841 $EGREP "yes" >/dev/null 2>&1
20842 then :
20843 ac_cv_cpp_def___arm__=yes
20844 else $as_nop
20845 ac_cv_cpp_def___arm__=no
20847 rm -rf conftest*
20850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20851 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20852 if test "x$ac_cv_cpp_def___arm__" = xyes
20853 then :
20854 CFLAGS="$CFLAGS -D__arm__"
20855 LINTFLAGS="$LINTFLAGS -D__arm__"
20856 fi ;;
20857 esac
20859 case $host_vendor in
20860 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20861 printf %s "checking whether we need to define __sun__... " >&6; }
20862 if test ${ac_cv_cpp_def___sun__+y}
20863 then :
20864 printf %s "(cached) " >&6
20865 else $as_nop
20866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h. */
20868 #ifndef __sun__
20870 #endif
20871 _ACEOF
20872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20873 $EGREP "yes" >/dev/null 2>&1
20874 then :
20875 ac_cv_cpp_def___sun__=yes
20876 else $as_nop
20877 ac_cv_cpp_def___sun__=no
20879 rm -rf conftest*
20882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20883 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20884 if test "x$ac_cv_cpp_def___sun__" = xyes
20885 then :
20886 CFLAGS="$CFLAGS -D__sun__"
20887 LINTFLAGS="$LINTFLAGS -D__sun__"
20888 fi ;;
20889 esac
20895 ac_config_commands="$ac_config_commands include/stamp-h"
20897 printf %s "creating Makefile rules..." >&6
20899 makedep_flags=""
20900 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20902 wine_srcdir=
20903 test "$srcdir" = . || wine_srcdir="$srcdir/"
20905 ac_config_links="$ac_config_links wine:tools/winewrapper"
20906 wine_fn_config_symlink wine
20907 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20908 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20909 wine_fn_config_symlink wine64
20912 wine_fn_config_makefile dlls/acledit enable_acledit
20913 wine_fn_config_makefile dlls/aclui enable_aclui
20914 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20915 wine_fn_config_makefile dlls/activeds enable_activeds
20916 wine_fn_config_makefile dlls/activeds/tests enable_tests
20917 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20918 wine_fn_config_makefile dlls/adsldp enable_adsldp
20919 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20920 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20921 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20922 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20923 wine_fn_config_makefile dlls/advpack enable_advpack
20924 wine_fn_config_makefile dlls/advpack/tests enable_tests
20925 wine_fn_config_makefile dlls/amsi enable_amsi
20926 wine_fn_config_makefile dlls/amstream enable_amstream
20927 wine_fn_config_makefile dlls/amstream/tests enable_tests
20928 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20929 wine_fn_config_makefile dlls/apphelp enable_apphelp
20930 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20931 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20932 wine_fn_config_makefile dlls/atl enable_atl
20933 wine_fn_config_makefile dlls/atl/tests enable_tests
20934 wine_fn_config_makefile dlls/atl100 enable_atl100
20935 wine_fn_config_makefile dlls/atl100/tests enable_tests
20936 wine_fn_config_makefile dlls/atl110 enable_atl110
20937 wine_fn_config_makefile dlls/atl110/tests enable_tests
20938 wine_fn_config_makefile dlls/atl80 enable_atl80
20939 wine_fn_config_makefile dlls/atl80/tests enable_tests
20940 wine_fn_config_makefile dlls/atl90 enable_atl90
20941 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20942 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20943 wine_fn_config_makefile dlls/atmlib enable_atmlib
20944 wine_fn_config_makefile dlls/authz enable_authz
20945 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20946 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20947 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20948 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20949 wine_fn_config_makefile dlls/avrt enable_avrt
20950 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20951 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20952 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20953 wine_fn_config_makefile dlls/browseui enable_browseui
20954 wine_fn_config_makefile dlls/browseui/tests enable_tests
20955 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20956 wine_fn_config_makefile dlls/cabinet enable_cabinet
20957 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20958 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20959 wine_fn_config_makefile dlls/cards enable_cards
20960 wine_fn_config_makefile dlls/cdosys enable_cdosys
20961 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20962 wine_fn_config_makefile dlls/clusapi enable_clusapi
20963 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
20964 wine_fn_config_makefile dlls/combase enable_combase
20965 wine_fn_config_makefile dlls/combase/tests enable_tests
20966 wine_fn_config_makefile dlls/comcat enable_comcat
20967 wine_fn_config_makefile dlls/comcat/tests enable_tests
20968 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20969 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20970 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20971 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20972 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20973 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20974 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20975 wine_fn_config_makefile dlls/compstui enable_compstui
20976 wine_fn_config_makefile dlls/compstui/tests enable_tests
20977 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20978 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20979 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20980 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20981 wine_fn_config_makefile dlls/connect enable_connect
20982 wine_fn_config_makefile dlls/credui enable_credui
20983 wine_fn_config_makefile dlls/credui/tests enable_tests
20984 wine_fn_config_makefile dlls/crtdll enable_crtdll
20985 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20986 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20987 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20988 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20989 wine_fn_config_makefile dlls/cryptext enable_cryptext
20990 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20991 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20992 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
20993 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
20994 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20995 wine_fn_config_makefile dlls/cryptui enable_cryptui
20996 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20997 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20998 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20999 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21000 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21001 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21002 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21003 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21004 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21005 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21006 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21007 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21008 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21009 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21010 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21011 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21012 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21013 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21014 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21015 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21016 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21017 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21018 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21019 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21020 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21021 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21022 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21023 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21024 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21025 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21026 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21027 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21028 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21029 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21030 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21031 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21032 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21033 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21034 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21035 wine_fn_config_makefile dlls/d3dim enable_d3dim
21036 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21037 wine_fn_config_makefile dlls/d3drm enable_d3drm
21038 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21039 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21040 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21041 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21042 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21043 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21044 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21045 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21046 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21047 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21048 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21049 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21050 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21051 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21052 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21053 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21054 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21055 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21056 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21057 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21058 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21059 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21060 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21061 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21062 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21063 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21064 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21065 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21066 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21067 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21068 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21069 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21070 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21071 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21072 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21073 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21074 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21075 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21076 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21077 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21078 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21079 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21080 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21081 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21082 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21083 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21084 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21085 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21086 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21087 wine_fn_config_makefile dlls/davclnt enable_davclnt
21088 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21089 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21090 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21091 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21092 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21093 wine_fn_config_makefile dlls/dcomp enable_dcomp
21094 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21095 wine_fn_config_makefile dlls/ddraw enable_ddraw
21096 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21097 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21098 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21099 wine_fn_config_makefile dlls/devenum enable_devenum
21100 wine_fn_config_makefile dlls/devenum/tests enable_tests
21101 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21102 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21103 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21104 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21105 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21106 wine_fn_config_makefile dlls/difxapi enable_difxapi
21107 wine_fn_config_makefile dlls/dinput enable_dinput
21108 wine_fn_config_makefile dlls/dinput/tests enable_tests
21109 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21110 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21111 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21112 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21113 wine_fn_config_makefile dlls/dispex enable_dispex
21114 wine_fn_config_makefile dlls/dispex/tests enable_tests
21115 wine_fn_config_makefile dlls/display.drv16 enable_win16
21116 wine_fn_config_makefile dlls/dmband enable_dmband
21117 wine_fn_config_makefile dlls/dmband/tests enable_tests
21118 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21119 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21120 wine_fn_config_makefile dlls/dmime enable_dmime
21121 wine_fn_config_makefile dlls/dmime/tests enable_tests
21122 wine_fn_config_makefile dlls/dmloader enable_dmloader
21123 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21124 wine_fn_config_makefile dlls/dmscript enable_dmscript
21125 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21126 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21127 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21128 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21129 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21130 wine_fn_config_makefile dlls/dmusic enable_dmusic
21131 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21132 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21133 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21134 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21135 wine_fn_config_makefile dlls/dplay enable_dplay
21136 wine_fn_config_makefile dlls/dplayx enable_dplayx
21137 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21138 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21139 wine_fn_config_makefile dlls/dpnet enable_dpnet
21140 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21141 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21142 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21143 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21144 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21145 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21146 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21147 wine_fn_config_makefile dlls/drmclien enable_drmclien
21148 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21149 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21150 wine_fn_config_makefile dlls/dsound enable_dsound
21151 wine_fn_config_makefile dlls/dsound/tests enable_tests
21152 wine_fn_config_makefile dlls/dsquery enable_dsquery
21153 wine_fn_config_makefile dlls/dssenh enable_dssenh
21154 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21155 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21156 wine_fn_config_makefile dlls/dswave enable_dswave
21157 wine_fn_config_makefile dlls/dswave/tests enable_tests
21158 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21159 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21160 wine_fn_config_makefile dlls/dwrite enable_dwrite
21161 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21162 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21163 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21164 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21165 wine_fn_config_makefile dlls/dxgi enable_dxgi
21166 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21167 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21168 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21169 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21170 wine_fn_config_makefile dlls/esent enable_esent
21171 wine_fn_config_makefile dlls/evr enable_evr
21172 wine_fn_config_makefile dlls/evr/tests enable_tests
21173 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21174 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21175 wine_fn_config_makefile dlls/faultrep enable_faultrep
21176 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21177 wine_fn_config_makefile dlls/feclient enable_feclient
21178 wine_fn_config_makefile dlls/fltlib enable_fltlib
21179 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21180 wine_fn_config_makefile dlls/fntcache enable_fntcache
21181 wine_fn_config_makefile dlls/fontsub enable_fontsub
21182 wine_fn_config_makefile dlls/fusion enable_fusion
21183 wine_fn_config_makefile dlls/fusion/tests enable_tests
21184 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21185 wine_fn_config_makefile dlls/gameux enable_gameux
21186 wine_fn_config_makefile dlls/gameux/tests enable_tests
21187 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21188 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21189 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21190 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21191 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21192 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21193 wine_fn_config_makefile dlls/glu32 enable_glu32
21194 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21195 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21196 wine_fn_config_makefile dlls/hal enable_hal
21197 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21198 wine_fn_config_makefile dlls/hid enable_hid
21199 wine_fn_config_makefile dlls/hid/tests enable_tests
21200 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21201 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21202 wine_fn_config_makefile dlls/hlink enable_hlink
21203 wine_fn_config_makefile dlls/hlink/tests enable_tests
21204 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21205 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21206 wine_fn_config_makefile dlls/http.sys enable_http_sys
21207 wine_fn_config_makefile dlls/httpapi enable_httpapi
21208 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21209 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21210 wine_fn_config_makefile dlls/iccvid enable_iccvid
21211 wine_fn_config_makefile dlls/icmp enable_icmp
21212 wine_fn_config_makefile dlls/ieframe enable_ieframe
21213 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21214 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21215 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21216 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21217 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21218 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21219 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21220 wine_fn_config_makefile dlls/imm32 enable_imm32
21221 wine_fn_config_makefile dlls/imm32/tests enable_tests
21222 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21223 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21224 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21225 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21226 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21227 wine_fn_config_makefile dlls/infosoft enable_infosoft
21228 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21229 wine_fn_config_makefile dlls/initpki enable_initpki
21230 wine_fn_config_makefile dlls/inkobj enable_inkobj
21231 wine_fn_config_makefile dlls/inseng enable_inseng
21232 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21233 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21234 wine_fn_config_makefile dlls/iprop enable_iprop
21235 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21236 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21237 wine_fn_config_makefile dlls/itircl enable_itircl
21238 wine_fn_config_makefile dlls/itss enable_itss
21239 wine_fn_config_makefile dlls/itss/tests enable_tests
21240 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21241 wine_fn_config_makefile dlls/jscript enable_jscript
21242 wine_fn_config_makefile dlls/jscript/tests enable_tests
21243 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21244 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21245 wine_fn_config_makefile dlls/kerberos enable_kerberos
21246 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21247 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21248 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21249 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21250 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21251 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21252 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21253 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21254 wine_fn_config_makefile dlls/ksuser enable_ksuser
21255 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21256 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21257 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21258 wine_fn_config_makefile dlls/loadperf enable_loadperf
21259 wine_fn_config_makefile dlls/localspl enable_localspl
21260 wine_fn_config_makefile dlls/localspl/tests enable_tests
21261 wine_fn_config_makefile dlls/localui enable_localui
21262 wine_fn_config_makefile dlls/localui/tests enable_tests
21263 wine_fn_config_makefile dlls/lz32 enable_lz32
21264 wine_fn_config_makefile dlls/lz32/tests enable_tests
21265 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21266 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21267 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21268 wine_fn_config_makefile dlls/mapistub enable_mapistub
21269 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21270 wine_fn_config_makefile dlls/mcicda enable_mcicda
21271 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21272 wine_fn_config_makefile dlls/mciseq enable_mciseq
21273 wine_fn_config_makefile dlls/mciwave enable_mciwave
21274 wine_fn_config_makefile dlls/mf enable_mf
21275 wine_fn_config_makefile dlls/mf/tests enable_tests
21276 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21277 wine_fn_config_makefile dlls/mferror enable_mferror
21278 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21279 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21280 wine_fn_config_makefile dlls/mfplat enable_mfplat
21281 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21282 wine_fn_config_makefile dlls/mfplay enable_mfplay
21283 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21284 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21285 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21286 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21287 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21288 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21289 wine_fn_config_makefile dlls/midimap enable_midimap
21290 wine_fn_config_makefile dlls/mlang enable_mlang
21291 wine_fn_config_makefile dlls/mlang/tests enable_tests
21292 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21293 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21294 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21295 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21296 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21297 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21298 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21299 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21300 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21301 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21302 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21303 wine_fn_config_makefile dlls/mpr enable_mpr
21304 wine_fn_config_makefile dlls/mpr/tests enable_tests
21305 wine_fn_config_makefile dlls/mprapi enable_mprapi
21306 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21307 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21308 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21309 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21310 wine_fn_config_makefile dlls/msado15 enable_msado15
21311 wine_fn_config_makefile dlls/msado15/tests enable_tests
21312 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21313 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21314 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21315 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21316 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21317 wine_fn_config_makefile dlls/mscms enable_mscms
21318 wine_fn_config_makefile dlls/mscms/tests enable_tests
21319 wine_fn_config_makefile dlls/mscoree enable_mscoree
21320 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21321 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21322 wine_fn_config_makefile dlls/msctf enable_msctf
21323 wine_fn_config_makefile dlls/msctf/tests enable_tests
21324 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21325 wine_fn_config_makefile dlls/msctfp enable_msctfp
21326 wine_fn_config_makefile dlls/msdaps enable_msdaps
21327 wine_fn_config_makefile dlls/msdasql enable_msdasql
21328 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21329 wine_fn_config_makefile dlls/msdelta enable_msdelta
21330 wine_fn_config_makefile dlls/msdmo enable_msdmo
21331 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21332 wine_fn_config_makefile dlls/msdrm enable_msdrm
21333 wine_fn_config_makefile dlls/msftedit enable_msftedit
21334 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21335 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21336 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21337 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21338 wine_fn_config_makefile dlls/mshtml enable_mshtml
21339 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21340 wine_fn_config_makefile dlls/msi enable_msi
21341 wine_fn_config_makefile dlls/msi/tests enable_tests
21342 wine_fn_config_makefile dlls/msident enable_msident
21343 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21344 wine_fn_config_makefile dlls/msimsg enable_msimsg
21345 wine_fn_config_makefile dlls/msimtf enable_msimtf
21346 wine_fn_config_makefile dlls/msisip enable_msisip
21347 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21348 wine_fn_config_makefile dlls/msls31 enable_msls31
21349 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21350 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21351 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21352 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21353 wine_fn_config_makefile dlls/msports enable_msports
21354 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21355 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21356 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21357 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21358 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21359 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21360 wine_fn_config_makefile dlls/mstask enable_mstask
21361 wine_fn_config_makefile dlls/mstask/tests enable_tests
21362 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21363 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21364 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21365 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21366 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21367 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21368 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21369 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21370 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21371 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21372 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21373 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21374 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21375 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21376 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21377 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21378 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21379 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21380 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21381 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21382 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21383 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21384 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21385 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21386 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21387 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21388 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21389 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21390 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21391 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21392 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21393 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21394 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21395 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21396 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21397 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21398 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21399 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21400 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21401 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21402 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21403 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21404 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21405 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21406 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21407 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21408 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21409 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21410 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21411 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21412 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21413 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21414 wine_fn_config_makefile dlls/mswsock enable_mswsock
21415 wine_fn_config_makefile dlls/msxml enable_msxml
21416 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21417 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21418 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21419 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21420 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21421 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21422 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21423 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21424 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21425 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21426 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21427 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21428 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21429 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21430 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21431 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21432 wine_fn_config_makefile dlls/netprofm enable_netprofm
21433 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21434 wine_fn_config_makefile dlls/netutils enable_netutils
21435 wine_fn_config_makefile dlls/newdev enable_newdev
21436 wine_fn_config_makefile dlls/ninput enable_ninput
21437 wine_fn_config_makefile dlls/ninput/tests enable_tests
21438 wine_fn_config_makefile dlls/normaliz enable_normaliz
21439 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21440 wine_fn_config_makefile dlls/npptools enable_npptools
21441 wine_fn_config_makefile dlls/nsi enable_nsi
21442 wine_fn_config_makefile dlls/nsi/tests enable_tests
21443 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21444 wine_fn_config_makefile dlls/ntdll enable_ntdll
21445 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21446 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21447 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21448 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21449 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21450 wine_fn_config_makefile dlls/ntprint enable_ntprint
21451 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21452 wine_fn_config_makefile dlls/objsel enable_objsel
21453 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21454 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21455 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21456 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21457 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21458 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21459 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21460 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21461 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21462 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21463 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21464 wine_fn_config_makefile dlls/ole32 enable_ole32
21465 wine_fn_config_makefile dlls/ole32/tests enable_tests
21466 wine_fn_config_makefile dlls/oleacc enable_oleacc
21467 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21468 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21469 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21470 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21471 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21472 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21473 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21474 wine_fn_config_makefile dlls/oledlg enable_oledlg
21475 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21476 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21477 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21478 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21479 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21480 wine_fn_config_makefile dlls/opcservices enable_opcservices
21481 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21482 wine_fn_config_makefile dlls/opencl enable_opencl
21483 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21484 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21485 wine_fn_config_makefile dlls/packager enable_packager
21486 wine_fn_config_makefile dlls/packager/tests enable_tests
21487 wine_fn_config_makefile dlls/pdh enable_pdh
21488 wine_fn_config_makefile dlls/pdh/tests enable_tests
21489 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21490 wine_fn_config_makefile dlls/pidgen enable_pidgen
21491 wine_fn_config_makefile dlls/powrprof enable_powrprof
21492 wine_fn_config_makefile dlls/printui enable_printui
21493 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21494 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21495 wine_fn_config_makefile dlls/propsys enable_propsys
21496 wine_fn_config_makefile dlls/propsys/tests enable_tests
21497 wine_fn_config_makefile dlls/psapi enable_psapi
21498 wine_fn_config_makefile dlls/psapi/tests enable_tests
21499 wine_fn_config_makefile dlls/pstorec enable_pstorec
21500 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21501 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21502 wine_fn_config_makefile dlls/qasf enable_qasf
21503 wine_fn_config_makefile dlls/qasf/tests enable_tests
21504 wine_fn_config_makefile dlls/qcap enable_qcap
21505 wine_fn_config_makefile dlls/qcap/tests enable_tests
21506 wine_fn_config_makefile dlls/qdvd enable_qdvd
21507 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21508 wine_fn_config_makefile dlls/qedit enable_qedit
21509 wine_fn_config_makefile dlls/qedit/tests enable_tests
21510 wine_fn_config_makefile dlls/qmgr enable_qmgr
21511 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21512 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21513 wine_fn_config_makefile dlls/quartz enable_quartz
21514 wine_fn_config_makefile dlls/quartz/tests enable_tests
21515 wine_fn_config_makefile dlls/query enable_query
21516 wine_fn_config_makefile dlls/qwave enable_qwave
21517 wine_fn_config_makefile dlls/qwave/tests enable_tests
21518 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21519 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21520 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21521 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21522 wine_fn_config_makefile dlls/regapi enable_regapi
21523 wine_fn_config_makefile dlls/resutils enable_resutils
21524 wine_fn_config_makefile dlls/riched20 enable_riched20
21525 wine_fn_config_makefile dlls/riched20/tests enable_tests
21526 wine_fn_config_makefile dlls/riched32 enable_riched32
21527 wine_fn_config_makefile dlls/riched32/tests enable_tests
21528 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21529 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21530 wine_fn_config_makefile dlls/rsabase enable_rsabase
21531 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21532 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21533 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21534 wine_fn_config_makefile dlls/rtutils enable_rtutils
21535 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21536 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21537 wine_fn_config_makefile dlls/samlib enable_samlib
21538 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21539 wine_fn_config_makefile dlls/sapi enable_sapi
21540 wine_fn_config_makefile dlls/sapi/tests enable_tests
21541 wine_fn_config_makefile dlls/sas enable_sas
21542 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21543 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21544 wine_fn_config_makefile dlls/sccbase enable_sccbase
21545 wine_fn_config_makefile dlls/schannel enable_schannel
21546 wine_fn_config_makefile dlls/schannel/tests enable_tests
21547 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21548 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21549 wine_fn_config_makefile dlls/scrobj enable_scrobj
21550 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21551 wine_fn_config_makefile dlls/scrrun enable_scrrun
21552 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21553 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21554 wine_fn_config_makefile dlls/sechost enable_sechost
21555 wine_fn_config_makefile dlls/secur32 enable_secur32
21556 wine_fn_config_makefile dlls/secur32/tests enable_tests
21557 wine_fn_config_makefile dlls/security enable_security
21558 wine_fn_config_makefile dlls/sensapi enable_sensapi
21559 wine_fn_config_makefile dlls/serialui enable_serialui
21560 wine_fn_config_makefile dlls/serialui/tests enable_tests
21561 wine_fn_config_makefile dlls/setupapi enable_setupapi
21562 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21563 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21564 wine_fn_config_makefile dlls/sfc enable_sfc
21565 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21566 wine_fn_config_makefile dlls/shcore enable_shcore
21567 wine_fn_config_makefile dlls/shcore/tests enable_tests
21568 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21569 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21570 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21571 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21572 wine_fn_config_makefile dlls/shell32 enable_shell32
21573 wine_fn_config_makefile dlls/shell32/tests enable_tests
21574 wine_fn_config_makefile dlls/shfolder enable_shfolder
21575 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21576 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21577 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21578 wine_fn_config_makefile dlls/slc enable_slc
21579 wine_fn_config_makefile dlls/slc/tests enable_tests
21580 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21581 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21582 wine_fn_config_makefile dlls/softpub enable_softpub
21583 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21584 wine_fn_config_makefile dlls/spoolss enable_spoolss
21585 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21586 wine_fn_config_makefile dlls/sppc enable_sppc
21587 wine_fn_config_makefile dlls/srclient enable_srclient
21588 wine_fn_config_makefile dlls/srvcli enable_srvcli
21589 wine_fn_config_makefile dlls/sspicli enable_sspicli
21590 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21591 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21592 wine_fn_config_makefile dlls/sti enable_sti
21593 wine_fn_config_makefile dlls/sti/tests enable_tests
21594 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21595 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21596 wine_fn_config_makefile dlls/strmdll enable_strmdll
21597 wine_fn_config_makefile dlls/svrapi enable_svrapi
21598 wine_fn_config_makefile dlls/sxs enable_sxs
21599 wine_fn_config_makefile dlls/sxs/tests enable_tests
21600 wine_fn_config_makefile dlls/system.drv16 enable_win16
21601 wine_fn_config_makefile dlls/t2embed enable_t2embed
21602 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21603 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21604 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21605 wine_fn_config_makefile dlls/taskschd enable_taskschd
21606 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21607 wine_fn_config_makefile dlls/tbs enable_tbs
21608 wine_fn_config_makefile dlls/tdh enable_tdh
21609 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21610 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21611 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21612 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21613 wine_fn_config_makefile dlls/traffic enable_traffic
21614 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21615 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21616 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21617 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21618 wine_fn_config_makefile dlls/tzres enable_tzres
21619 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21620 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21621 wine_fn_config_makefile dlls/uianimation enable_uianimation
21622 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21623 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21624 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21625 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21626 wine_fn_config_makefile dlls/unicows enable_unicows
21627 wine_fn_config_makefile dlls/updspapi enable_updspapi
21628 wine_fn_config_makefile dlls/url enable_url
21629 wine_fn_config_makefile dlls/urlmon enable_urlmon
21630 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21631 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21632 wine_fn_config_makefile dlls/user.exe16 enable_win16
21633 wine_fn_config_makefile dlls/user32 enable_user32
21634 wine_fn_config_makefile dlls/user32/tests enable_tests
21635 wine_fn_config_makefile dlls/userenv enable_userenv
21636 wine_fn_config_makefile dlls/userenv/tests enable_tests
21637 wine_fn_config_makefile dlls/usp10 enable_usp10
21638 wine_fn_config_makefile dlls/usp10/tests enable_tests
21639 wine_fn_config_makefile dlls/utildll enable_utildll
21640 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21641 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21642 wine_fn_config_makefile dlls/vbscript enable_vbscript
21643 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21644 wine_fn_config_makefile dlls/vcomp enable_vcomp
21645 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21646 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21647 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21648 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21649 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21650 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21651 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21652 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21653 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21654 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21655 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21656 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21657 wine_fn_config_makefile dlls/version enable_version
21658 wine_fn_config_makefile dlls/version/tests enable_tests
21659 wine_fn_config_makefile dlls/vga enable_vga
21660 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21661 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21662 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21663 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21664 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21665 wine_fn_config_makefile dlls/vssapi enable_vssapi
21666 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21667 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21668 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21669 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21670 wine_fn_config_makefile dlls/w32skrnl enable_win16
21671 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21672 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21673 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21674 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21675 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21676 wine_fn_config_makefile dlls/wdscore enable_wdscore
21677 wine_fn_config_makefile dlls/webservices enable_webservices
21678 wine_fn_config_makefile dlls/webservices/tests enable_tests
21679 wine_fn_config_makefile dlls/websocket enable_websocket
21680 wine_fn_config_makefile dlls/wer enable_wer
21681 wine_fn_config_makefile dlls/wer/tests enable_tests
21682 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21683 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21684 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21685 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21686 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21687 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21688 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21689 wine_fn_config_makefile dlls/win32u enable_win32u
21690 wine_fn_config_makefile dlls/win32u/tests enable_tests
21691 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21692 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21693 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21694 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21695 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21696 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21697 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21698 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21699 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21700 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21701 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21702 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21703 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21704 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21705 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21706 wine_fn_config_makefile dlls/windows.media enable_windows_media
21707 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21708 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21709 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21710 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21711 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21712 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21713 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21714 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21715 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21716 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21717 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21718 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21719 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21720 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21721 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21722 wine_fn_config_makefile dlls/wined3d enable_wined3d
21723 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21724 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21725 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21726 wine_fn_config_makefile dlls/winemapi enable_winemapi
21727 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21728 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21729 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21730 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21731 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21732 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21733 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21734 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21735 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21736 wine_fn_config_makefile dlls/wing32 enable_wing32
21737 wine_fn_config_makefile dlls/winhttp enable_winhttp
21738 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21739 wine_fn_config_makefile dlls/wininet enable_wininet
21740 wine_fn_config_makefile dlls/wininet/tests enable_tests
21741 wine_fn_config_makefile dlls/winmm enable_winmm
21742 wine_fn_config_makefile dlls/winmm/tests enable_tests
21743 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21744 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21745 wine_fn_config_makefile dlls/winprint enable_winprint
21746 wine_fn_config_makefile dlls/winscard enable_winscard
21747 wine_fn_config_makefile dlls/winscard/tests enable_tests
21748 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21749 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21750 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21751 wine_fn_config_makefile dlls/winsta enable_winsta
21752 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21753 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21754 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21755 wine_fn_config_makefile dlls/wintrust enable_wintrust
21756 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21757 wine_fn_config_makefile dlls/wintypes enable_wintypes
21758 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21759 wine_fn_config_makefile dlls/winusb enable_winusb
21760 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21761 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21762 wine_fn_config_makefile dlls/wlanui enable_wlanui
21763 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21764 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21765 wine_fn_config_makefile dlls/wmasf enable_wmasf
21766 wine_fn_config_makefile dlls/wmi enable_wmi
21767 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21768 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21769 wine_fn_config_makefile dlls/wmp enable_wmp
21770 wine_fn_config_makefile dlls/wmp/tests enable_tests
21771 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21772 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21773 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21774 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21775 wine_fn_config_makefile dlls/wofutil enable_wofutil
21776 wine_fn_config_makefile dlls/wow32 enable_win16
21777 wine_fn_config_makefile dlls/wow64 enable_wow64
21778 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21779 wine_fn_config_makefile dlls/wow64win enable_wow64win
21780 wine_fn_config_makefile dlls/wpc enable_wpc
21781 wine_fn_config_makefile dlls/wpc/tests enable_tests
21782 wine_fn_config_makefile dlls/wpcap enable_wpcap
21783 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21784 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21785 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21786 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21787 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21788 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21789 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21790 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21791 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21792 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21793 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21794 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21795 wine_fn_config_makefile dlls/wuapi enable_wuapi
21796 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21797 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21798 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21799 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21800 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21801 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21802 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21803 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21804 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21805 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21806 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21807 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21808 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21809 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21810 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21811 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21812 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21813 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21814 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21815 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21816 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21817 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21818 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21819 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21820 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21821 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21822 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21823 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21824 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21825 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21826 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21827 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21828 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21829 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21830 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21831 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21832 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21833 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21834 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21835 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21836 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21837 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21838 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21839 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21840 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21841 wine_fn_config_makefile dlls/xmllite enable_xmllite
21842 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21843 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21844 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21845 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21846 wine_fn_config_makefile fonts enable_fonts
21847 wine_fn_config_makefile include enable_include
21848 wine_fn_config_makefile libs/adsiid enable_adsiid
21849 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21850 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21851 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21852 wine_fn_config_makefile libs/dxguid enable_dxguid
21853 wine_fn_config_makefile libs/faudio enable_faudio
21854 wine_fn_config_makefile libs/gsm enable_gsm
21855 wine_fn_config_makefile libs/jpeg enable_jpeg
21856 wine_fn_config_makefile libs/jxr enable_jxr
21857 wine_fn_config_makefile libs/lcms2 enable_lcms2
21858 wine_fn_config_makefile libs/ldap enable_ldap
21859 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21860 wine_fn_config_makefile libs/mpg123 enable_mpg123
21861 wine_fn_config_makefile libs/png enable_png
21862 wine_fn_config_makefile libs/strmbase enable_strmbase
21863 wine_fn_config_makefile libs/strmiids enable_strmiids
21864 wine_fn_config_makefile libs/tiff enable_tiff
21865 wine_fn_config_makefile libs/uuid enable_uuid
21866 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21867 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21868 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21869 wine_fn_config_makefile libs/xml2 enable_xml2
21870 wine_fn_config_makefile libs/xslt enable_xslt
21871 wine_fn_config_makefile libs/zlib enable_zlib
21872 wine_fn_config_makefile libs/zydis enable_zydis
21873 wine_fn_config_makefile loader enable_loader
21874 wine_fn_config_makefile nls enable_nls
21875 wine_fn_config_makefile po enable_po
21876 wine_fn_config_makefile programs/arp enable_arp
21877 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21878 wine_fn_config_makefile programs/attrib enable_attrib
21879 wine_fn_config_makefile programs/cabarc enable_cabarc
21880 wine_fn_config_makefile programs/cacls enable_cacls
21881 wine_fn_config_makefile programs/certutil enable_certutil
21882 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21883 wine_fn_config_makefile programs/clock enable_clock
21884 wine_fn_config_makefile programs/cmd enable_cmd
21885 wine_fn_config_makefile programs/cmd/tests enable_tests
21886 wine_fn_config_makefile programs/conhost enable_conhost
21887 wine_fn_config_makefile programs/conhost/tests enable_tests
21888 wine_fn_config_makefile programs/control enable_control
21889 wine_fn_config_makefile programs/cscript enable_cscript
21890 wine_fn_config_makefile programs/dism enable_dism
21891 wine_fn_config_makefile programs/dllhost enable_dllhost
21892 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21893 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21894 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21895 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21896 wine_fn_config_makefile programs/eject enable_eject
21897 wine_fn_config_makefile programs/expand enable_expand
21898 wine_fn_config_makefile programs/explorer enable_explorer
21899 wine_fn_config_makefile programs/explorer/tests enable_tests
21900 wine_fn_config_makefile programs/extrac32 enable_extrac32
21901 wine_fn_config_makefile programs/fc enable_fc
21902 wine_fn_config_makefile programs/find enable_find
21903 wine_fn_config_makefile programs/find/tests enable_tests
21904 wine_fn_config_makefile programs/findstr enable_findstr
21905 wine_fn_config_makefile programs/fsutil enable_fsutil
21906 wine_fn_config_makefile programs/fsutil/tests enable_tests
21907 wine_fn_config_makefile programs/hh enable_hh
21908 wine_fn_config_makefile programs/hostname enable_hostname
21909 wine_fn_config_makefile programs/icacls enable_icacls
21910 wine_fn_config_makefile programs/icinfo enable_icinfo
21911 wine_fn_config_makefile programs/iexplore enable_iexplore
21912 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21913 wine_fn_config_makefile programs/lodctr enable_lodctr
21914 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21915 wine_fn_config_makefile programs/mshta enable_mshta
21916 wine_fn_config_makefile programs/msidb enable_msidb
21917 wine_fn_config_makefile programs/msiexec enable_msiexec
21918 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21919 wine_fn_config_makefile programs/net enable_net
21920 wine_fn_config_makefile programs/netsh enable_netsh
21921 wine_fn_config_makefile programs/netstat enable_netstat
21922 wine_fn_config_makefile programs/ngen enable_ngen
21923 wine_fn_config_makefile programs/notepad enable_notepad
21924 wine_fn_config_makefile programs/oleview enable_oleview
21925 wine_fn_config_makefile programs/ping enable_ping
21926 wine_fn_config_makefile programs/plugplay enable_plugplay
21927 wine_fn_config_makefile programs/powershell enable_powershell
21928 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21929 wine_fn_config_makefile programs/progman enable_progman
21930 wine_fn_config_makefile programs/reg enable_reg
21931 wine_fn_config_makefile programs/reg/tests enable_tests
21932 wine_fn_config_makefile programs/regasm enable_regasm
21933 wine_fn_config_makefile programs/regedit enable_regedit
21934 wine_fn_config_makefile programs/regedit/tests enable_tests
21935 wine_fn_config_makefile programs/regini enable_regini
21936 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21937 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21938 wine_fn_config_makefile programs/robocopy enable_robocopy
21939 wine_fn_config_makefile programs/rpcss enable_rpcss
21940 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21941 wine_fn_config_makefile programs/rundll32 enable_rundll32
21942 wine_fn_config_makefile programs/sc enable_sc
21943 wine_fn_config_makefile programs/sc/tests enable_tests
21944 wine_fn_config_makefile programs/schtasks enable_schtasks
21945 wine_fn_config_makefile programs/schtasks/tests enable_tests
21946 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21947 wine_fn_config_makefile programs/secedit enable_secedit
21948 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21949 wine_fn_config_makefile programs/services enable_services
21950 wine_fn_config_makefile programs/services/tests enable_tests
21951 wine_fn_config_makefile programs/setx enable_setx
21952 wine_fn_config_makefile programs/shutdown enable_shutdown
21953 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21954 wine_fn_config_makefile programs/start enable_start
21955 wine_fn_config_makefile programs/subst enable_subst
21956 wine_fn_config_makefile programs/svchost enable_svchost
21957 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21958 wine_fn_config_makefile programs/taskkill enable_taskkill
21959 wine_fn_config_makefile programs/tasklist enable_tasklist
21960 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21961 wine_fn_config_makefile programs/termsv enable_termsv
21962 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21963 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21964 wine_fn_config_makefile programs/view enable_view
21965 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21966 wine_fn_config_makefile programs/where enable_where
21967 wine_fn_config_makefile programs/whoami enable_whoami
21968 wine_fn_config_makefile programs/wineboot enable_wineboot
21969 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21970 wine_fn_config_makefile programs/winecfg enable_winecfg
21971 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21972 wine_fn_config_makefile programs/winedbg enable_winedbg
21973 wine_fn_config_makefile programs/winedevice enable_winedevice
21974 wine_fn_config_makefile programs/winefile enable_winefile
21975 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21976 wine_fn_config_makefile programs/winemine enable_winemine
21977 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21978 wine_fn_config_makefile programs/winepath enable_winepath
21979 wine_fn_config_makefile programs/winetest enable_winetest
21980 wine_fn_config_makefile programs/winevdm enable_win16
21981 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21982 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21983 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21984 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21985 wine_fn_config_makefile programs/winver enable_winver
21986 wine_fn_config_makefile programs/wmic enable_wmic
21987 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21988 wine_fn_config_makefile programs/wordpad enable_wordpad
21989 wine_fn_config_makefile programs/write enable_write
21990 wine_fn_config_makefile programs/wscript enable_wscript
21991 wine_fn_config_makefile programs/wscript/tests enable_tests
21992 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21993 wine_fn_config_makefile programs/wusa enable_wusa
21994 wine_fn_config_makefile programs/xcopy enable_xcopy
21995 wine_fn_config_makefile programs/xcopy/tests enable_tests
21996 wine_fn_config_makefile server enable_server
21997 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21998 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21999 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22000 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22001 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22002 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22003 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22004 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22005 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22008 as_fn_append CONFIGURE_TARGETS " TAGS"
22009 as_fn_append CONFIGURE_TARGETS " tags"
22010 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22011 as_fn_append CONFIGURE_TARGETS " config.log"
22012 as_fn_append CONFIGURE_TARGETS " config.status"
22013 as_fn_append CONFIGURE_TARGETS " include/config.h"
22014 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22015 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22017 if test "x$enable_tools" != xno
22018 then
22019 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22020 ac_config_commands="$ac_config_commands tools/makedep"
22024 ac_config_commands="$ac_config_commands Makefile"
22028 SHELL=/bin/sh
22031 as_fn_append wine_rules "
22032 all: wine
22033 @echo \"Wine build complete.\"
22034 .INIT: Makefile
22035 .MAKEFILEDEPS:
22036 all: Makefile
22037 Makefile: config.status \$(MAKEDEP)
22038 @./config.status Makefile
22039 depend: \$(MAKEDEP)
22040 \$(MAKEDEP)$makedep_flags"
22043 as_fn_append wine_rules "
22044 config.status: ${wine_srcdir}configure
22045 @./config.status --recheck
22046 include/config.h: include/stamp-h
22047 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22048 @./config.status include/config.h include/stamp-h"
22050 if test "x$enable_maintainer_mode" = xyes
22051 then
22052 as_fn_append wine_rules "
22053 configure: configure.ac aclocal.m4
22054 autoconf --warnings=all
22055 include/config.h.in: include/stamp-h.in
22056 include/stamp-h.in: configure.ac aclocal.m4
22057 autoheader --warnings=all
22058 @echo timestamp > \$@"
22061 if test "x$enable_tools" != xno
22062 then
22063 as_fn_append wine_rules "
22064 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22065 @./config.status tools/makedep
22066 Makefile: tools/makedep$ac_exeext"
22067 else
22068 as_fn_append wine_rules "
22069 \$(MAKEDEP):
22070 @echo \"You need to run make in $toolsdir first\" && false"
22074 if test -n "$with_wine64"
22075 then
22076 case "$with_wine64" in
22077 /*) reldir="" ;;
22078 *) reldir="../" ;;
22079 esac
22080 rm -f fonts server 2>/dev/null
22081 as_fn_append wine_rules "
22082 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22083 loader/wine64 loader/wine64-preloader:
22084 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22085 $with_wine64/loader/wine:
22086 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22087 $with_wine64/loader/wine-preloader:
22088 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22089 clean::
22090 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22091 else
22092 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22093 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22094 fonts \
22095 loader/wine.inf \
22096 nls \
22097 programs/msidb/msidb \
22098 programs/msiexec/msiexec \
22099 programs/notepad/notepad \
22100 programs/regedit/regedit \
22101 programs/regsvr32/regsvr32 \
22102 programs/wineboot/wineboot \
22103 programs/winecfg/winecfg \
22104 programs/wineconsole/wineconsole \
22105 programs/winedbg/winedbg \
22106 programs/winefile/winefile \
22107 programs/winemine/winemine \
22108 programs/winepath/winepath \
22109 server/wineserver"
22111 case $host_os in
22112 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22113 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22114 esac
22118 as_fn_append wine_rules "
22119 distclean:: clean
22120 rm -rf autom4te.cache
22121 maintainer-clean::
22122 rm -f configure include/config.h.in"
22125 as_fn_append wine_rules "
22126 dlls/ntdll/unix/version.c: dummy
22127 @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)
22128 programs/winetest/build.rc: dummy
22129 @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)
22130 programs/winetest/build.nfo:
22131 @-\$(CC) -v 2>\$@
22132 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
22133 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22134 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22137 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22139 as_fn_append wine_rules "
22140 TAGS etags:
22141 rm -f TAGS
22142 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22143 tags ctags:
22144 rm -f tags
22145 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22146 dummy:
22147 .PHONY: depend dummy install-manpages"
22149 printf "%s\n" " done" >&6
22150 cat >confcache <<\_ACEOF
22151 # This file is a shell script that caches the results of configure
22152 # tests run on this system so they can be shared between configure
22153 # scripts and configure runs, see configure's option --config-cache.
22154 # It is not useful on other systems. If it contains results you don't
22155 # want to keep, you may remove or edit it.
22157 # config.status only pays attention to the cache file if you give it
22158 # the --recheck option to rerun configure.
22160 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22161 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22162 # following values.
22164 _ACEOF
22166 # The following way of writing the cache mishandles newlines in values,
22167 # but we know of no workaround that is simple, portable, and efficient.
22168 # So, we kill variables containing newlines.
22169 # Ultrix sh set writes to stderr and can't be redirected directly,
22170 # and sets the high bit in the cache file unless we assign to the vars.
22172 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22173 eval ac_val=\$$ac_var
22174 case $ac_val in #(
22175 *${as_nl}*)
22176 case $ac_var in #(
22177 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22178 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22179 esac
22180 case $ac_var in #(
22181 _ | IFS | as_nl) ;; #(
22182 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22183 *) { eval $ac_var=; unset $ac_var;} ;;
22184 esac ;;
22185 esac
22186 done
22188 (set) 2>&1 |
22189 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22190 *${as_nl}ac_space=\ *)
22191 # `set' does not quote correctly, so add quotes: double-quote
22192 # substitution turns \\\\ into \\, and sed turns \\ into \.
22193 sed -n \
22194 "s/'/'\\\\''/g;
22195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22196 ;; #(
22198 # `set' quotes correctly as required by POSIX, so do not add quotes.
22199 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22201 esac |
22202 sort
22204 sed '
22205 /^ac_cv_env_/b end
22206 t clear
22207 :clear
22208 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22209 t end
22210 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22211 :end' >>confcache
22212 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22213 if test -w "$cache_file"; then
22214 if test "x$cache_file" != "x/dev/null"; then
22215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22216 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22217 if test ! -f "$cache_file" || test -h "$cache_file"; then
22218 cat confcache >"$cache_file"
22219 else
22220 case $cache_file in #(
22221 */* | ?:*)
22222 mv -f confcache "$cache_file"$$ &&
22223 mv -f "$cache_file"$$ "$cache_file" ;; #(
22225 mv -f confcache "$cache_file" ;;
22226 esac
22229 else
22230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22231 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22234 rm -f confcache
22236 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22237 # Let make expand exec_prefix.
22238 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22240 DEFS=-DHAVE_CONFIG_H
22242 ac_libobjs=
22243 ac_ltlibobjs=
22245 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22246 # 1. Remove the extension, and $U if already installed.
22247 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22248 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22249 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22250 # will be set to the directory where LIBOBJS objects are built.
22251 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22252 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22253 done
22254 LIBOBJS=$ac_libobjs
22256 LTLIBOBJS=$ac_ltlibobjs
22260 : "${CONFIG_STATUS=./config.status}"
22261 ac_write_fail=0
22262 ac_clean_files_save=$ac_clean_files
22263 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22265 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22266 as_write_fail=0
22267 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22268 #! $SHELL
22269 # Generated by $as_me.
22270 # Run this file to recreate the current configuration.
22271 # Compiler output produced by configure, useful for debugging
22272 # configure, is in config.log if it exists.
22274 debug=false
22275 ac_cs_recheck=false
22276 ac_cs_silent=false
22278 SHELL=\${CONFIG_SHELL-$SHELL}
22279 export SHELL
22280 _ASEOF
22281 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22282 ## -------------------- ##
22283 ## M4sh Initialization. ##
22284 ## -------------------- ##
22286 # Be more Bourne compatible
22287 DUALCASE=1; export DUALCASE # for MKS sh
22288 as_nop=:
22289 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22290 then :
22291 emulate sh
22292 NULLCMD=:
22293 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22294 # is contrary to our usage. Disable this feature.
22295 alias -g '${1+"$@"}'='"$@"'
22296 setopt NO_GLOB_SUBST
22297 else $as_nop
22298 case `(set -o) 2>/dev/null` in #(
22299 *posix*) :
22300 set -o posix ;; #(
22301 *) :
22303 esac
22308 # Reset variables that may have inherited troublesome values from
22309 # the environment.
22311 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22312 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22313 # side effect of setting IFS to empty, thus disabling word splitting.)
22314 # Quoting is to prevent editors from complaining about space-tab.
22315 as_nl='
22317 export as_nl
22318 IFS=" "" $as_nl"
22320 PS1='$ '
22321 PS2='> '
22322 PS4='+ '
22324 # Ensure predictable behavior from utilities with locale-dependent output.
22325 LC_ALL=C
22326 export LC_ALL
22327 LANGUAGE=C
22328 export LANGUAGE
22330 # We cannot yet rely on "unset" to work, but we need these variables
22331 # to be unset--not just set to an empty or harmless value--now, to
22332 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22333 # also avoids known problems related to "unset" and subshell syntax
22334 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22335 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22336 do eval test \${$as_var+y} \
22337 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22338 done
22340 # Ensure that fds 0, 1, and 2 are open.
22341 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22342 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22343 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22345 # The user is always right.
22346 if ${PATH_SEPARATOR+false} :; then
22347 PATH_SEPARATOR=:
22348 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22349 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22350 PATH_SEPARATOR=';'
22355 # Find who we are. Look in the path if we contain no directory separator.
22356 as_myself=
22357 case $0 in #((
22358 *[\\/]* ) as_myself=$0 ;;
22359 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22360 for as_dir in $PATH
22362 IFS=$as_save_IFS
22363 case $as_dir in #(((
22364 '') as_dir=./ ;;
22365 */) ;;
22366 *) as_dir=$as_dir/ ;;
22367 esac
22368 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22369 done
22370 IFS=$as_save_IFS
22373 esac
22374 # We did not find ourselves, most probably we were run as `sh COMMAND'
22375 # in which case we are not to be found in the path.
22376 if test "x$as_myself" = x; then
22377 as_myself=$0
22379 if test ! -f "$as_myself"; then
22380 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22381 exit 1
22386 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22387 # ----------------------------------------
22388 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22389 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22390 # script with STATUS, using 1 if that was 0.
22391 as_fn_error ()
22393 as_status=$1; test $as_status -eq 0 && as_status=1
22394 if test "$4"; then
22395 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22398 printf "%s\n" "$as_me: error: $2" >&2
22399 as_fn_exit $as_status
22400 } # as_fn_error
22404 # as_fn_set_status STATUS
22405 # -----------------------
22406 # Set $? to STATUS, without forking.
22407 as_fn_set_status ()
22409 return $1
22410 } # as_fn_set_status
22412 # as_fn_exit STATUS
22413 # -----------------
22414 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22415 as_fn_exit ()
22417 set +e
22418 as_fn_set_status $1
22419 exit $1
22420 } # as_fn_exit
22422 # as_fn_unset VAR
22423 # ---------------
22424 # Portably unset VAR.
22425 as_fn_unset ()
22427 { eval $1=; unset $1;}
22429 as_unset=as_fn_unset
22431 # as_fn_append VAR VALUE
22432 # ----------------------
22433 # Append the text in VALUE to the end of the definition contained in VAR. Take
22434 # advantage of any shell optimizations that allow amortized linear growth over
22435 # repeated appends, instead of the typical quadratic growth present in naive
22436 # implementations.
22437 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22438 then :
22439 eval 'as_fn_append ()
22441 eval $1+=\$2
22443 else $as_nop
22444 as_fn_append ()
22446 eval $1=\$$1\$2
22448 fi # as_fn_append
22450 # as_fn_arith ARG...
22451 # ------------------
22452 # Perform arithmetic evaluation on the ARGs, and store the result in the
22453 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22454 # must be portable across $(()) and expr.
22455 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22456 then :
22457 eval 'as_fn_arith ()
22459 as_val=$(( $* ))
22461 else $as_nop
22462 as_fn_arith ()
22464 as_val=`expr "$@" || test $? -eq 1`
22466 fi # as_fn_arith
22469 if expr a : '\(a\)' >/dev/null 2>&1 &&
22470 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22471 as_expr=expr
22472 else
22473 as_expr=false
22476 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22477 as_basename=basename
22478 else
22479 as_basename=false
22482 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22483 as_dirname=dirname
22484 else
22485 as_dirname=false
22488 as_me=`$as_basename -- "$0" ||
22489 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22490 X"$0" : 'X\(//\)$' \| \
22491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22492 printf "%s\n" X/"$0" |
22493 sed '/^.*\/\([^/][^/]*\)\/*$/{
22494 s//\1/
22497 /^X\/\(\/\/\)$/{
22498 s//\1/
22501 /^X\/\(\/\).*/{
22502 s//\1/
22505 s/.*/./; q'`
22507 # Avoid depending upon Character Ranges.
22508 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22509 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22510 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22511 as_cr_digits='0123456789'
22512 as_cr_alnum=$as_cr_Letters$as_cr_digits
22515 # Determine whether it's possible to make 'echo' print without a newline.
22516 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22517 # for compatibility with existing Makefiles.
22518 ECHO_C= ECHO_N= ECHO_T=
22519 case `echo -n x` in #(((((
22520 -n*)
22521 case `echo 'xy\c'` in
22522 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22523 xy) ECHO_C='\c';;
22524 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22525 ECHO_T=' ';;
22526 esac;;
22528 ECHO_N='-n';;
22529 esac
22531 # For backward compatibility with old third-party macros, we provide
22532 # the shell variables $as_echo and $as_echo_n. New code should use
22533 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22534 as_echo='printf %s\n'
22535 as_echo_n='printf %s'
22537 rm -f conf$$ conf$$.exe conf$$.file
22538 if test -d conf$$.dir; then
22539 rm -f conf$$.dir/conf$$.file
22540 else
22541 rm -f conf$$.dir
22542 mkdir conf$$.dir 2>/dev/null
22544 if (echo >conf$$.file) 2>/dev/null; then
22545 if ln -s conf$$.file conf$$ 2>/dev/null; then
22546 as_ln_s='ln -s'
22547 # ... but there are two gotchas:
22548 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22549 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22550 # In both cases, we have to default to `cp -pR'.
22551 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22552 as_ln_s='cp -pR'
22553 elif ln conf$$.file conf$$ 2>/dev/null; then
22554 as_ln_s=ln
22555 else
22556 as_ln_s='cp -pR'
22558 else
22559 as_ln_s='cp -pR'
22561 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22562 rmdir conf$$.dir 2>/dev/null
22565 # as_fn_mkdir_p
22566 # -------------
22567 # Create "$as_dir" as a directory, including parents if necessary.
22568 as_fn_mkdir_p ()
22571 case $as_dir in #(
22572 -*) as_dir=./$as_dir;;
22573 esac
22574 test -d "$as_dir" || eval $as_mkdir_p || {
22575 as_dirs=
22576 while :; do
22577 case $as_dir in #(
22578 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22579 *) as_qdir=$as_dir;;
22580 esac
22581 as_dirs="'$as_qdir' $as_dirs"
22582 as_dir=`$as_dirname -- "$as_dir" ||
22583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22584 X"$as_dir" : 'X\(//\)[^/]' \| \
22585 X"$as_dir" : 'X\(//\)$' \| \
22586 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22587 printf "%s\n" X"$as_dir" |
22588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22589 s//\1/
22592 /^X\(\/\/\)[^/].*/{
22593 s//\1/
22596 /^X\(\/\/\)$/{
22597 s//\1/
22600 /^X\(\/\).*/{
22601 s//\1/
22604 s/.*/./; q'`
22605 test -d "$as_dir" && break
22606 done
22607 test -z "$as_dirs" || eval "mkdir $as_dirs"
22608 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22611 } # as_fn_mkdir_p
22612 if mkdir -p . 2>/dev/null; then
22613 as_mkdir_p='mkdir -p "$as_dir"'
22614 else
22615 test -d ./-p && rmdir ./-p
22616 as_mkdir_p=false
22620 # as_fn_executable_p FILE
22621 # -----------------------
22622 # Test if FILE is an executable regular file.
22623 as_fn_executable_p ()
22625 test -f "$1" && test -x "$1"
22626 } # as_fn_executable_p
22627 as_test_x='test -x'
22628 as_executable_p=as_fn_executable_p
22630 # Sed expression to map a string onto a valid CPP name.
22631 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22633 # Sed expression to map a string onto a valid variable name.
22634 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22637 exec 6>&1
22638 ## ----------------------------------- ##
22639 ## Main body of $CONFIG_STATUS script. ##
22640 ## ----------------------------------- ##
22641 _ASEOF
22642 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22645 # Save the log message, to keep $0 and so on meaningful, and to
22646 # report actual input values of CONFIG_FILES etc. instead of their
22647 # values after options handling.
22648 ac_log="
22649 This file was extended by Wine $as_me 8.3, which was
22650 generated by GNU Autoconf 2.71. Invocation command line was
22652 CONFIG_FILES = $CONFIG_FILES
22653 CONFIG_HEADERS = $CONFIG_HEADERS
22654 CONFIG_LINKS = $CONFIG_LINKS
22655 CONFIG_COMMANDS = $CONFIG_COMMANDS
22656 $ $0 $@
22658 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22661 _ACEOF
22664 case $ac_config_headers in *"
22665 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22666 esac
22669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22670 # Files that config.status was made for.
22671 config_headers="$ac_config_headers"
22672 config_links="$ac_config_links"
22673 config_commands="$ac_config_commands"
22675 _ACEOF
22677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22678 ac_cs_usage="\
22679 \`$as_me' instantiates files and other configuration actions
22680 from templates according to the current configuration. Unless the files
22681 and actions are specified as TAGs, all are instantiated by default.
22683 Usage: $0 [OPTION]... [TAG]...
22685 -h, --help print this help, then exit
22686 -V, --version print version number and configuration settings, then exit
22687 --config print configuration, then exit
22688 -q, --quiet, --silent
22689 do not print progress messages
22690 -d, --debug don't remove temporary files
22691 --recheck update $as_me by reconfiguring in the same conditions
22692 --header=FILE[:TEMPLATE]
22693 instantiate the configuration header FILE
22695 Configuration headers:
22696 $config_headers
22698 Configuration links:
22699 $config_links
22701 Configuration commands:
22702 $config_commands
22704 Report bugs to <wine-devel@winehq.org>.
22705 Wine home page: <https://www.winehq.org>."
22707 _ACEOF
22708 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22709 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22711 ac_cs_config='$ac_cs_config_escaped'
22712 ac_cs_version="\\
22713 Wine config.status 8.3
22714 configured by $0, generated by GNU Autoconf 2.71,
22715 with options \\"\$ac_cs_config\\"
22717 Copyright (C) 2021 Free Software Foundation, Inc.
22718 This config.status script is free software; the Free Software Foundation
22719 gives unlimited permission to copy, distribute and modify it."
22721 ac_pwd='$ac_pwd'
22722 srcdir='$srcdir'
22723 test -n "\$AWK" || AWK=awk
22724 _ACEOF
22726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22727 # The default lists apply if the user does not specify any file.
22728 ac_need_defaults=:
22729 while test $# != 0
22731 case $1 in
22732 --*=?*)
22733 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22734 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22735 ac_shift=:
22737 --*=)
22738 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22739 ac_optarg=
22740 ac_shift=:
22743 ac_option=$1
22744 ac_optarg=$2
22745 ac_shift=shift
22747 esac
22749 case $ac_option in
22750 # Handling of the options.
22751 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22752 ac_cs_recheck=: ;;
22753 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22754 printf "%s\n" "$ac_cs_version"; exit ;;
22755 --config | --confi | --conf | --con | --co | --c )
22756 printf "%s\n" "$ac_cs_config"; exit ;;
22757 --debug | --debu | --deb | --de | --d | -d )
22758 debug=: ;;
22759 --header | --heade | --head | --hea )
22760 $ac_shift
22761 case $ac_optarg in
22762 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22763 esac
22764 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22765 ac_need_defaults=false;;
22766 --he | --h)
22767 # Conflict between --help and --header
22768 as_fn_error $? "ambiguous option: \`$1'
22769 Try \`$0 --help' for more information.";;
22770 --help | --hel | -h )
22771 printf "%s\n" "$ac_cs_usage"; exit ;;
22772 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22773 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22774 ac_cs_silent=: ;;
22776 # This is an error.
22777 -*) as_fn_error $? "unrecognized option: \`$1'
22778 Try \`$0 --help' for more information." ;;
22780 *) as_fn_append ac_config_targets " $1"
22781 ac_need_defaults=false ;;
22783 esac
22784 shift
22785 done
22787 ac_configure_extra_args=
22789 if $ac_cs_silent; then
22790 exec 6>/dev/null
22791 ac_configure_extra_args="$ac_configure_extra_args --silent"
22794 _ACEOF
22795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22796 if \$ac_cs_recheck; then
22797 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22798 shift
22799 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22800 CONFIG_SHELL='$SHELL'
22801 export CONFIG_SHELL
22802 exec "\$@"
22805 _ACEOF
22806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22807 exec 5>>config.log
22809 echo
22810 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22811 ## Running $as_me. ##
22812 _ASBOX
22813 printf "%s\n" "$ac_log"
22814 } >&5
22816 _ACEOF
22817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22819 # INIT-COMMANDS
22821 wine_fn_output_makedep ()
22823 as_dir=tools; as_fn_mkdir_p
22824 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22826 wine_fn_output_makefile ()
22828 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22829 # This Makefile understands the following targets:
22831 # all (default): build wine
22832 # clean: remove all intermediate files
22833 # distclean: also remove all files created by configure
22834 # test: run tests
22835 # testclean: clean test results to force running all tests again
22836 # install-lib: install libraries needed to run applications
22837 # install-dev: install development environment
22838 # install: install everything
22839 # uninstall: uninstall everything
22840 # ctags: create a tags file for vim and others.
22841 # etags: create a TAGS file for Emacs.
22843 SHELL = $SHELL
22844 PATH_SEPARATOR = $PATH_SEPARATOR
22845 PACKAGE_NAME = $PACKAGE_NAME
22846 PACKAGE_TARNAME = $PACKAGE_TARNAME
22847 PACKAGE_VERSION = $PACKAGE_VERSION
22848 PACKAGE_STRING = $PACKAGE_STRING
22849 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22850 PACKAGE_URL = $PACKAGE_URL
22851 exec_prefix = $exec_prefix
22852 prefix = $prefix
22853 program_transform_name = $program_transform_name
22854 bindir = $bindir
22855 sbindir = $sbindir
22856 libexecdir = $libexecdir
22857 datarootdir = $datarootdir
22858 datadir = $datadir
22859 sysconfdir = $sysconfdir
22860 sharedstatedir = $sharedstatedir
22861 localstatedir = $localstatedir
22862 runstatedir = $runstatedir
22863 includedir = $includedir
22864 oldincludedir = $oldincludedir
22865 docdir = $docdir
22866 infodir = $infodir
22867 htmldir = $htmldir
22868 dvidir = $dvidir
22869 pdfdir = $pdfdir
22870 psdir = $psdir
22871 libdir = $libdir
22872 localedir = $localedir
22873 mandir = $mandir
22874 DEFS = $DEFS
22875 ECHO_C = $ECHO_C
22876 ECHO_N = $ECHO_N
22877 ECHO_T = $ECHO_T
22878 LIBS = $LIBS
22879 build_alias = $build_alias
22880 host_alias = $host_alias
22881 target_alias = $target_alias
22882 system_dllpath = $system_dllpath
22883 build = $build
22884 build_cpu = $build_cpu
22885 build_vendor = $build_vendor
22886 build_os = $build_os
22887 host = $host
22888 host_cpu = $host_cpu
22889 host_vendor = $host_vendor
22890 host_os = $host_os
22891 dlldir = $dlldir
22892 fontdir = $fontdir
22893 nlsdir = $nlsdir
22894 srcdir = $srcdir
22895 SET_MAKE = $SET_MAKE
22896 CC = $CC
22897 CFLAGS = $CFLAGS
22898 LDFLAGS = $LDFLAGS
22899 CPPFLAGS = $CPPFLAGS
22900 ac_ct_CC = $ac_ct_CC
22901 EXEEXT = $EXEEXT
22902 OBJEXT = $OBJEXT
22903 CXX = $CXX
22904 CXXFLAGS = $CXXFLAGS
22905 ac_ct_CXX = $ac_ct_CXX
22906 CPPBIN = $CPPBIN
22907 LD = $LD
22908 TARGETFLAGS = $TARGETFLAGS
22909 toolsext = $toolsext
22910 HOST_ARCH = $HOST_ARCH
22911 aarch64_CC = $aarch64_CC
22912 aarch64_CFLAGS = $aarch64_CFLAGS
22913 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22914 aarch64_LDFLAGS = $aarch64_LDFLAGS
22915 aarch64_DEBUG = $aarch64_DEBUG
22916 aarch64_TARGET = $aarch64_TARGET
22917 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22918 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22919 arm_CC = $arm_CC
22920 arm_CFLAGS = $arm_CFLAGS
22921 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22922 arm_LDFLAGS = $arm_LDFLAGS
22923 arm_DEBUG = $arm_DEBUG
22924 arm_TARGET = $arm_TARGET
22925 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22926 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22927 i386_CC = $i386_CC
22928 i386_CFLAGS = $i386_CFLAGS
22929 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22930 i386_LDFLAGS = $i386_LDFLAGS
22931 i386_DEBUG = $i386_DEBUG
22932 i386_TARGET = $i386_TARGET
22933 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22934 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22935 x86_64_CC = $x86_64_CC
22936 x86_64_CFLAGS = $x86_64_CFLAGS
22937 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22938 x86_64_LDFLAGS = $x86_64_LDFLAGS
22939 x86_64_DEBUG = $x86_64_DEBUG
22940 x86_64_TARGET = $x86_64_TARGET
22941 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22942 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22943 toolsdir = $toolsdir
22944 MAKEDEP = $MAKEDEP
22945 RUNTESTFLAGS = $RUNTESTFLAGS
22946 SED_CMD = $SED_CMD
22947 FLEX = $FLEX
22948 BISON = $BISON
22949 AR = $AR
22950 ac_ct_AR = $ac_ct_AR
22951 STRIP = $STRIP
22952 RANLIB = $RANLIB
22953 LN_S = $LN_S
22954 GREP = $GREP
22955 EGREP = $EGREP
22956 LDCONFIG = $LDCONFIG
22957 MSGFMT = $MSGFMT
22958 PKG_CONFIG = $PKG_CONFIG
22959 FONTFORGE = $FONTFORGE
22960 RSVG = $RSVG
22961 CONVERT = $CONVERT
22962 ICOTOOL = $ICOTOOL
22963 I386_LIBS = $I386_LIBS
22964 OPENGL_LIBS = $OPENGL_LIBS
22965 DLLFLAGS = $DLLFLAGS
22966 LDDLLFLAGS = $LDDLLFLAGS
22967 LDEXECFLAGS = $LDEXECFLAGS
22968 EXTRACFLAGS = $EXTRACFLAGS
22969 UNIXDLLFLAGS = $UNIXDLLFLAGS
22970 UNIXLDFLAGS = $UNIXLDFLAGS
22971 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
22972 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
22973 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
22974 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
22975 LDD = $LDD
22976 OTOOL = $OTOOL
22977 READELF = $READELF
22978 SUBDIRS = $SUBDIRS
22979 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
22980 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
22981 CARBON_LIBS = $CARBON_LIBS
22982 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
22983 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
22984 IOKIT_LIBS = $IOKIT_LIBS
22985 METAL_LIBS = $METAL_LIBS
22986 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
22987 CORESERVICES_LIBS = $CORESERVICES_LIBS
22988 APPKIT_LIBS = $APPKIT_LIBS
22989 SECURITY_LIBS = $SECURITY_LIBS
22990 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
22991 COREAUDIO_LIBS = $COREAUDIO_LIBS
22992 OPENCL_LIBS = $OPENCL_LIBS
22993 OBJC = $OBJC
22994 OBJCFLAGS = $OBJCFLAGS
22995 ac_ct_OBJC = $ac_ct_OBJC
22996 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
22997 PE_ARCHS = $PE_ARCHS
22998 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
22999 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23000 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23001 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23002 GSM_PE_LIBS = $GSM_PE_LIBS
23003 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23004 JPEG_PE_LIBS = $JPEG_PE_LIBS
23005 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23006 JXR_PE_LIBS = $JXR_PE_LIBS
23007 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23008 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23009 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23010 LDAP_PE_LIBS = $LDAP_PE_LIBS
23011 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23012 MPG123_PE_LIBS = $MPG123_PE_LIBS
23013 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23014 PNG_PE_LIBS = $PNG_PE_LIBS
23015 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23016 TIFF_PE_LIBS = $TIFF_PE_LIBS
23017 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23018 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23019 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23020 XML2_PE_LIBS = $XML2_PE_LIBS
23021 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23022 XSLT_PE_LIBS = $XSLT_PE_LIBS
23023 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23024 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23025 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23026 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23027 PTHREAD_LIBS = $PTHREAD_LIBS
23028 XMKMF = $XMKMF
23029 CPP = $CPP
23030 X_CFLAGS = $X_CFLAGS
23031 X_PRE_LIBS = $X_PRE_LIBS
23032 X_LIBS = $X_LIBS
23033 X_EXTRA_LIBS = $X_EXTRA_LIBS
23034 PCAP_LIBS = $PCAP_LIBS
23035 PCSCLITE_LIBS = $PCSCLITE_LIBS
23036 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23037 INOTIFY_LIBS = $INOTIFY_LIBS
23038 DBUS_CFLAGS = $DBUS_CFLAGS
23039 DBUS_LIBS = $DBUS_LIBS
23040 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23041 GNUTLS_LIBS = $GNUTLS_LIBS
23042 SANE_CFLAGS = $SANE_CFLAGS
23043 SANE_LIBS = $SANE_LIBS
23044 USB_CFLAGS = $USB_CFLAGS
23045 USB_LIBS = $USB_LIBS
23046 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23047 GPHOTO2_LIBS = $GPHOTO2_LIBS
23048 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23049 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23050 RESOLV_LIBS = $RESOLV_LIBS
23051 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23052 FREETYPE_LIBS = $FREETYPE_LIBS
23053 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23054 PULSE_CFLAGS = $PULSE_CFLAGS
23055 PULSE_LIBS = $PULSE_LIBS
23056 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23057 GSTREAMER_LIBS = $GSTREAMER_LIBS
23058 ALSA_LIBS = $ALSA_LIBS
23059 OSS4_CFLAGS = $OSS4_CFLAGS
23060 OSS4_LIBS = $OSS4_LIBS
23061 UDEV_CFLAGS = $UDEV_CFLAGS
23062 UDEV_LIBS = $UDEV_LIBS
23063 UNWIND_CFLAGS = $UNWIND_CFLAGS
23064 UNWIND_LIBS = $UNWIND_LIBS
23065 SDL2_CFLAGS = $SDL2_CFLAGS
23066 SDL2_LIBS = $SDL2_LIBS
23067 CAPI20_CFLAGS = $CAPI20_CFLAGS
23068 CAPI20_LIBS = $CAPI20_LIBS
23069 CUPS_CFLAGS = $CUPS_CFLAGS
23070 CUPS_LIBS = $CUPS_LIBS
23071 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23072 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23073 KRB5_CFLAGS = $KRB5_CFLAGS
23074 KRB5_LIBS = $KRB5_LIBS
23075 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23076 GSSAPI_LIBS = $GSSAPI_LIBS
23077 PROCSTAT_LIBS = $PROCSTAT_LIBS
23078 NETAPI_CFLAGS = $NETAPI_CFLAGS
23079 NETAPI_LIBS = $NETAPI_LIBS
23080 MSVCRTFLAGS = $MSVCRTFLAGS
23081 DELAYLOADFLAG = $DELAYLOADFLAG
23082 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23083 RT_LIBS = $RT_LIBS
23084 TAGSFLAGS = $TAGSFLAGS
23085 LIBOBJS = $LIBOBJS
23086 LTLIBOBJS = $LTLIBOBJS
23087 $SET_MAKE
23088 $wine_rules
23089 _WINE_EOF
23090 as_fn_error $? "could not create Makefile" "$LINENO" 5
23093 _ACEOF
23095 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23097 # Handling of arguments.
23098 for ac_config_target in $ac_config_targets
23100 case $ac_config_target in
23101 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23102 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23103 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23104 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23105 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23106 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23108 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23109 esac
23110 done
23113 # If the user did not use the arguments to specify the items to instantiate,
23114 # then the envvar interface is used. Set only those that are not.
23115 # We use the long form for the default assignment because of an extremely
23116 # bizarre bug on SunOS 4.1.3.
23117 if $ac_need_defaults; then
23118 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23119 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23120 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23123 # Have a temporary directory for convenience. Make it in the build tree
23124 # simply because there is no reason against having it here, and in addition,
23125 # creating and moving files from /tmp can sometimes cause problems.
23126 # Hook for its removal unless debugging.
23127 # Note that there is a small window in which the directory will not be cleaned:
23128 # after its creation but before its name has been assigned to `$tmp'.
23129 $debug ||
23131 tmp= ac_tmp=
23132 trap 'exit_status=$?
23133 : "${ac_tmp:=$tmp}"
23134 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23136 trap 'as_fn_exit 1' 1 2 13 15
23138 # Create a (secure) tmp directory for tmp files.
23141 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23142 test -d "$tmp"
23143 } ||
23145 tmp=./conf$$-$RANDOM
23146 (umask 077 && mkdir "$tmp")
23147 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23148 ac_tmp=$tmp
23150 # Set up the scripts for CONFIG_HEADERS section.
23151 # No need to generate them if there are no CONFIG_HEADERS.
23152 # This happens for instance with `./config.status Makefile'.
23153 if test -n "$CONFIG_HEADERS"; then
23154 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23155 BEGIN {
23156 _ACEOF
23158 # Transform confdefs.h into an awk script `defines.awk', embedded as
23159 # here-document in config.status, that substitutes the proper values into
23160 # config.h.in to produce config.h.
23162 # Create a delimiter string that does not exist in confdefs.h, to ease
23163 # handling of long lines.
23164 ac_delim='%!_!# '
23165 for ac_last_try in false false :; do
23166 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23167 if test -z "$ac_tt"; then
23168 break
23169 elif $ac_last_try; then
23170 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23171 else
23172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23174 done
23176 # For the awk script, D is an array of macro values keyed by name,
23177 # likewise P contains macro parameters if any. Preserve backslash
23178 # newline sequences.
23180 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23181 sed -n '
23182 s/.\{148\}/&'"$ac_delim"'/g
23183 t rset
23184 :rset
23185 s/^[ ]*#[ ]*define[ ][ ]*/ /
23186 t def
23188 :def
23189 s/\\$//
23190 t bsnl
23191 s/["\\]/\\&/g
23192 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23193 D["\1"]=" \3"/p
23194 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23196 :bsnl
23197 s/["\\]/\\&/g
23198 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23199 D["\1"]=" \3\\\\\\n"\\/p
23200 t cont
23201 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23202 t cont
23204 :cont
23206 s/.\{148\}/&'"$ac_delim"'/g
23207 t clear
23208 :clear
23209 s/\\$//
23210 t bsnlc
23211 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23213 :bsnlc
23214 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23215 b cont
23216 ' <confdefs.h | sed '
23217 s/'"$ac_delim"'/"\\\
23218 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23221 for (key in D) D_is_set[key] = 1
23222 FS = "\a"
23224 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23225 line = \$ 0
23226 split(line, arg, " ")
23227 if (arg[1] == "#") {
23228 defundef = arg[2]
23229 mac1 = arg[3]
23230 } else {
23231 defundef = substr(arg[1], 2)
23232 mac1 = arg[2]
23234 split(mac1, mac2, "(") #)
23235 macro = mac2[1]
23236 prefix = substr(line, 1, index(line, defundef) - 1)
23237 if (D_is_set[macro]) {
23238 # Preserve the white space surrounding the "#".
23239 print prefix "define", macro P[macro] D[macro]
23240 next
23241 } else {
23242 # Replace #undef with comments. This is necessary, for example,
23243 # in the case of _POSIX_SOURCE, which is predefined and required
23244 # on some systems where configure will not decide to define it.
23245 if (defundef == "undef") {
23246 print "/*", prefix defundef, macro, "*/"
23247 next
23251 { print }
23252 _ACAWK
23253 _ACEOF
23254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23255 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23256 fi # test -n "$CONFIG_HEADERS"
23259 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23260 shift
23261 for ac_tag
23263 case $ac_tag in
23264 :[FHLC]) ac_mode=$ac_tag; continue;;
23265 esac
23266 case $ac_mode$ac_tag in
23267 :[FHL]*:*);;
23268 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23269 :[FH]-) ac_tag=-:-;;
23270 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23271 esac
23272 ac_save_IFS=$IFS
23273 IFS=:
23274 set x $ac_tag
23275 IFS=$ac_save_IFS
23276 shift
23277 ac_file=$1
23278 shift
23280 case $ac_mode in
23281 :L) ac_source=$1;;
23282 :[FH])
23283 ac_file_inputs=
23284 for ac_f
23286 case $ac_f in
23287 -) ac_f="$ac_tmp/stdin";;
23288 *) # Look for the file first in the build tree, then in the source tree
23289 # (if the path is not absolute). The absolute path cannot be DOS-style,
23290 # because $ac_f cannot contain `:'.
23291 test -f "$ac_f" ||
23292 case $ac_f in
23293 [\\/$]*) false;;
23294 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23295 esac ||
23296 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23297 esac
23298 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23299 as_fn_append ac_file_inputs " '$ac_f'"
23300 done
23302 # Let's still pretend it is `configure' which instantiates (i.e., don't
23303 # use $as_me), people would be surprised to read:
23304 # /* config.h. Generated by config.status. */
23305 configure_input='Generated from '`
23306 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23307 `' by configure.'
23308 if test x"$ac_file" != x-; then
23309 configure_input="$ac_file. $configure_input"
23310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23311 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23313 # Neutralize special characters interpreted by sed in replacement strings.
23314 case $configure_input in #(
23315 *\&* | *\|* | *\\* )
23316 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23317 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23318 *) ac_sed_conf_input=$configure_input;;
23319 esac
23321 case $ac_tag in
23322 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23323 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23324 esac
23326 esac
23328 ac_dir=`$as_dirname -- "$ac_file" ||
23329 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23330 X"$ac_file" : 'X\(//\)[^/]' \| \
23331 X"$ac_file" : 'X\(//\)$' \| \
23332 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23333 printf "%s\n" X"$ac_file" |
23334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23335 s//\1/
23338 /^X\(\/\/\)[^/].*/{
23339 s//\1/
23342 /^X\(\/\/\)$/{
23343 s//\1/
23346 /^X\(\/\).*/{
23347 s//\1/
23350 s/.*/./; q'`
23351 as_dir="$ac_dir"; as_fn_mkdir_p
23352 ac_builddir=.
23354 case "$ac_dir" in
23355 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23357 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23358 # A ".." for each directory in $ac_dir_suffix.
23359 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23360 case $ac_top_builddir_sub in
23361 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23362 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23363 esac ;;
23364 esac
23365 ac_abs_top_builddir=$ac_pwd
23366 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23367 # for backward compatibility:
23368 ac_top_builddir=$ac_top_build_prefix
23370 case $srcdir in
23371 .) # We are building in place.
23372 ac_srcdir=.
23373 ac_top_srcdir=$ac_top_builddir_sub
23374 ac_abs_top_srcdir=$ac_pwd ;;
23375 [\\/]* | ?:[\\/]* ) # Absolute name.
23376 ac_srcdir=$srcdir$ac_dir_suffix;
23377 ac_top_srcdir=$srcdir
23378 ac_abs_top_srcdir=$srcdir ;;
23379 *) # Relative name.
23380 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23381 ac_top_srcdir=$ac_top_build_prefix$srcdir
23382 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23383 esac
23384 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23387 case $ac_mode in
23391 # CONFIG_HEADER
23393 if test x"$ac_file" != x-; then
23395 printf "%s\n" "/* $configure_input */" >&1 \
23396 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23397 } >"$ac_tmp/config.h" \
23398 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23399 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23401 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23402 else
23403 rm -f "$ac_file"
23404 mv "$ac_tmp/config.h" "$ac_file" \
23405 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23407 else
23408 printf "%s\n" "/* $configure_input */" >&1 \
23409 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23410 || as_fn_error $? "could not create -" "$LINENO" 5
23415 # CONFIG_LINK
23418 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23420 else
23421 # Prefer the file from the source tree if names are identical.
23422 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23423 ac_source=$srcdir/$ac_source
23426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23427 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23429 if test ! -r "$ac_source"; then
23430 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23432 rm -f "$ac_file"
23434 # Try a relative symlink, then a hard link, then a copy.
23435 case $ac_source in
23436 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23437 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23438 esac
23439 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23440 ln "$ac_source" "$ac_file" 2>/dev/null ||
23441 cp -p "$ac_source" "$ac_file" ||
23442 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23445 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23446 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23448 esac
23451 case $ac_file$ac_mode in
23452 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23453 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23454 "Makefile":C) wine_fn_output_makefile Makefile ;;
23456 esac
23457 done # for ac_tag
23460 as_fn_exit 0
23461 _ACEOF
23462 ac_clean_files=$ac_clean_files_save
23464 test $ac_write_fail = 0 ||
23465 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23468 # configure is writing to config.log, and then calls config.status.
23469 # config.status does its own redirection, appending to config.log.
23470 # Unfortunately, on DOS this fails, as config.log is still kept open
23471 # by configure, so config.status won't be able to write to it; its
23472 # output is simply discarded. So we exec the FD to /dev/null,
23473 # effectively closing config.log, so it can be properly (re)opened and
23474 # appended to by config.status. When coming back to configure, we
23475 # need to make the FD available again.
23476 if test "$no_create" != yes; then
23477 ac_cs_success=:
23478 ac_config_status_args=
23479 test "$silent" = yes &&
23480 ac_config_status_args="$ac_config_status_args --quiet"
23481 exec 5>/dev/null
23482 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23483 exec 5>>config.log
23484 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23485 # would make configure fail if this is the last instruction.
23486 $ac_cs_success || as_fn_exit 1
23488 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23490 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23494 if test "$no_create" = "yes"
23495 then
23496 exit 0
23499 ac_save_IFS="$IFS"
23500 if test "x$wine_notices" != x; then
23501 echo >&6
23502 IFS="|"
23503 for msg in $wine_notices; do
23504 IFS="$ac_save_IFS"
23505 if ${msg:+false} :
23506 then :
23508 else $as_nop
23509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23510 printf "%s\n" "$as_me: $msg" >&6;}
23512 done
23514 IFS="|"
23515 for msg in $wine_warnings; do
23516 IFS="$ac_save_IFS"
23517 if ${msg:+false} :
23518 then :
23520 else $as_nop
23521 echo >&2
23522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23523 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23525 done
23526 IFS="$ac_save_IFS"
23528 printf "%s\n" "
23529 $as_me: Finished. Do '${ac_make}' to compile Wine.
23530 " >&6