wined3d: Move struct wined3d_unordered_access_view_gl to wined3d_gl.h.
[wine.git] / configure
blobdb95cc3588dfaf0e7a56c0e5b206027930630e0f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.14.
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.14'
615 PACKAGE_STRING='Wine 8.14'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 WAYLAND_SCANNER
706 WAYLAND_CLIENT_LIBS
707 WAYLAND_CLIENT_CFLAGS
708 X_EXTRA_LIBS
709 X_LIBS
710 X_PRE_LIBS
711 X_CFLAGS
713 XMKMF
714 PTHREAD_LIBS
715 ZYDIS_PE_LIBS
716 ZYDIS_PE_CFLAGS
717 ZLIB_PE_LIBS
718 ZLIB_PE_CFLAGS
719 XSLT_PE_LIBS
720 XSLT_PE_CFLAGS
721 XML2_PE_LIBS
722 XML2_PE_CFLAGS
723 VKD3D_PE_LIBS
724 VKD3D_PE_CFLAGS
725 TIFF_PE_LIBS
726 TIFF_PE_CFLAGS
727 PNG_PE_LIBS
728 PNG_PE_CFLAGS
729 MUSL_PE_LIBS
730 MUSL_PE_CFLAGS
731 MPG123_PE_LIBS
732 MPG123_PE_CFLAGS
733 LDAP_PE_LIBS
734 LDAP_PE_CFLAGS
735 LCMS2_PE_LIBS
736 LCMS2_PE_CFLAGS
737 JXR_PE_LIBS
738 JXR_PE_CFLAGS
739 JPEG_PE_LIBS
740 JPEG_PE_CFLAGS
741 GSM_PE_LIBS
742 GSM_PE_CFLAGS
743 FAUDIO_PE_LIBS
744 FAUDIO_PE_CFLAGS
745 MINGW_PKG_CONFIG
746 PE_ARCHS
747 WINELOADER_DEPENDS
748 ac_ct_OBJC
749 OBJCFLAGS
750 OBJC
751 OPENCL_LIBS
752 COREAUDIO_LIBS
753 SYSTEMCONFIGURATION_LIBS
754 SECURITY_LIBS
755 APPKIT_LIBS
756 CORESERVICES_LIBS
757 APPLICATIONSERVICES_LIBS
758 METAL_LIBS
759 IOKIT_LIBS
760 DISKARBITRATION_LIBS
761 COREFOUNDATION_LIBS
762 CARBON_LIBS
763 CONFIGURE_TARGETS
764 DISABLED_SUBDIRS
765 SUBDIRS
766 READELF
767 OTOOL
769 DLLEXT
770 WINEPRELOADER_LDFLAGS
771 WINELOADER_LDFLAGS
772 TOP_INSTALL_DEV
773 TOP_INSTALL_LIB
774 UNIXLDFLAGS
775 UNIXDLLFLAGS
776 EXTRACFLAGS
777 LDEXECFLAGS
778 LDDLLFLAGS
779 DLLFLAGS
780 OPENGL_LIBS
781 I386_LIBS
782 ICOTOOL
783 CONVERT
784 RSVG
785 FONTFORGE
786 PKG_CONFIG
787 MSGFMT
788 LDCONFIG
789 EGREP
790 GREP
791 LN_S
792 RANLIB
793 STRIP
794 ac_ct_AR
796 BISON
797 FLEX
798 SED_CMD
799 RUNTESTFLAGS
800 MAKEDEP
801 toolsdir
802 x86_64_DISABLED_SUBDIRS
803 x86_64_DELAYLOADFLAG
804 x86_64_TARGET
805 x86_64_DEBUG
806 x86_64_LDFLAGS
807 x86_64_EXTRACFLAGS
808 x86_64_CFLAGS
809 x86_64_CC
810 i386_DISABLED_SUBDIRS
811 i386_DELAYLOADFLAG
812 i386_TARGET
813 i386_DEBUG
814 i386_LDFLAGS
815 i386_EXTRACFLAGS
816 i386_CFLAGS
817 i386_CC
818 arm_DISABLED_SUBDIRS
819 arm_DELAYLOADFLAG
820 arm_TARGET
821 arm_DEBUG
822 arm_LDFLAGS
823 arm_EXTRACFLAGS
824 arm_CFLAGS
825 arm_CC
826 aarch64_DISABLED_SUBDIRS
827 aarch64_DELAYLOADFLAG
828 aarch64_TARGET
829 aarch64_DEBUG
830 aarch64_LDFLAGS
831 aarch64_EXTRACFLAGS
832 aarch64_CFLAGS
833 aarch64_CC
834 HOST_ARCH
835 toolsext
836 TARGETFLAGS
838 CPPBIN
839 ac_ct_CXX
840 CXXFLAGS
842 OBJEXT
843 EXEEXT
844 ac_ct_CC
845 CPPFLAGS
846 LDFLAGS
847 CFLAGS
849 SET_MAKE
850 srcdir
851 nlsdir
852 fontdir
853 dlldir
854 host_os
855 host_vendor
856 host_cpu
857 host
858 build_os
859 build_vendor
860 build_cpu
861 build
862 system_dllpath
863 target_alias
864 host_alias
865 build_alias
866 LIBS
867 ECHO_T
868 ECHO_N
869 ECHO_C
870 DEFS
871 mandir
872 localedir
873 libdir
874 psdir
875 pdfdir
876 dvidir
877 htmldir
878 infodir
879 docdir
880 oldincludedir
881 includedir
882 runstatedir
883 localstatedir
884 sharedstatedir
885 sysconfdir
886 datadir
887 datarootdir
888 libexecdir
889 sbindir
890 bindir
891 program_transform_name
892 prefix
893 exec_prefix
894 PACKAGE_URL
895 PACKAGE_BUGREPORT
896 PACKAGE_STRING
897 PACKAGE_VERSION
898 PACKAGE_TARNAME
899 PACKAGE_NAME
900 PATH_SEPARATOR
901 SHELL'
902 ac_subst_files=''
903 ac_user_opts='
904 enable_option_checking
905 enable_archs
906 enable_win16
907 enable_win64
908 enable_tests
909 enable_build_id
910 enable_maintainer_mode
911 enable_silent_rules
912 enable_werror
913 with_alsa
914 with_capi
915 with_coreaudio
916 with_cups
917 with_dbus
918 with_float_abi
919 with_fontconfig
920 with_freetype
921 with_gettext
922 with_gettextpo
923 with_gphoto
924 with_gnutls
925 with_gssapi
926 with_gstreamer
927 with_inotify
928 with_krb5
929 with_mingw
930 with_netapi
931 with_opencl
932 with_opengl
933 with_osmesa
934 with_oss
935 with_pcap
936 with_pcsclite
937 with_pthread
938 with_pulse
939 with_sane
940 with_sdl
941 with_udev
942 with_unwind
943 with_usb
944 with_v4l2
945 with_vulkan
946 with_wayland
947 with_xcomposite
948 with_xcursor
949 with_xfixes
950 with_xinerama
951 with_xinput
952 with_xinput2
953 with_xrandr
954 with_xrender
955 with_xshape
956 with_xshm
957 with_xxf86vm
958 with_system_dllpath
959 with_wine_tools
960 with_wine64
961 enable_largefile
962 with_x
963 enable_acledit
964 enable_aclui
965 enable_activeds_tlb
966 enable_activeds
967 enable_actxprxy
968 enable_adsldp
969 enable_adsldpc
970 enable_advapi32
971 enable_advpack
972 enable_amsi
973 enable_amstream
974 enable_apisetschema
975 enable_apphelp
976 enable_appwiz_cpl
977 enable_atl
978 enable_atl100
979 enable_atl110
980 enable_atl80
981 enable_atl90
982 enable_atlthunk
983 enable_atmlib
984 enable_authz
985 enable_avicap32
986 enable_avifil32
987 enable_avrt
988 enable_bcrypt
989 enable_bcryptprimitives
990 enable_bluetoothapis
991 enable_browseui
992 enable_bthprops_cpl
993 enable_cabinet
994 enable_capi2032
995 enable_cards
996 enable_cdosys
997 enable_cfgmgr32
998 enable_clusapi
999 enable_cng_sys
1000 enable_combase
1001 enable_comcat
1002 enable_comctl32
1003 enable_comdlg32
1004 enable_compstui
1005 enable_comsvcs
1006 enable_concrt140
1007 enable_connect
1008 enable_credui
1009 enable_crtdll
1010 enable_crypt32
1011 enable_cryptdlg
1012 enable_cryptdll
1013 enable_cryptext
1014 enable_cryptnet
1015 enable_cryptowinrt
1016 enable_cryptsp
1017 enable_cryptui
1018 enable_ctapi32
1019 enable_ctl3d32
1020 enable_d2d1
1021 enable_d3d10
1022 enable_d3d10_1
1023 enable_d3d10core
1024 enable_d3d11
1025 enable_d3d12
1026 enable_d3d12core
1027 enable_d3d8
1028 enable_d3d8thk
1029 enable_d3d9
1030 enable_d3dcompiler_33
1031 enable_d3dcompiler_34
1032 enable_d3dcompiler_35
1033 enable_d3dcompiler_36
1034 enable_d3dcompiler_37
1035 enable_d3dcompiler_38
1036 enable_d3dcompiler_39
1037 enable_d3dcompiler_40
1038 enable_d3dcompiler_41
1039 enable_d3dcompiler_42
1040 enable_d3dcompiler_43
1041 enable_d3dcompiler_46
1042 enable_d3dcompiler_47
1043 enable_d3dim
1044 enable_d3dim700
1045 enable_d3drm
1046 enable_d3dx10_33
1047 enable_d3dx10_34
1048 enable_d3dx10_35
1049 enable_d3dx10_36
1050 enable_d3dx10_37
1051 enable_d3dx10_38
1052 enable_d3dx10_39
1053 enable_d3dx10_40
1054 enable_d3dx10_41
1055 enable_d3dx10_42
1056 enable_d3dx10_43
1057 enable_d3dx11_42
1058 enable_d3dx11_43
1059 enable_d3dx9_24
1060 enable_d3dx9_25
1061 enable_d3dx9_26
1062 enable_d3dx9_27
1063 enable_d3dx9_28
1064 enable_d3dx9_29
1065 enable_d3dx9_30
1066 enable_d3dx9_31
1067 enable_d3dx9_32
1068 enable_d3dx9_33
1069 enable_d3dx9_34
1070 enable_d3dx9_35
1071 enable_d3dx9_36
1072 enable_d3dx9_37
1073 enable_d3dx9_38
1074 enable_d3dx9_39
1075 enable_d3dx9_40
1076 enable_d3dx9_41
1077 enable_d3dx9_42
1078 enable_d3dx9_43
1079 enable_d3dxof
1080 enable_davclnt
1081 enable_dbgeng
1082 enable_dbghelp
1083 enable_dciman32
1084 enable_dcomp
1085 enable_ddraw
1086 enable_ddrawex
1087 enable_devenum
1088 enable_dhcpcsvc
1089 enable_dhcpcsvc6
1090 enable_dhtmled_ocx
1091 enable_diasymreader
1092 enable_difxapi
1093 enable_dinput
1094 enable_dinput8
1095 enable_directmanipulation
1096 enable_dispex
1097 enable_dmband
1098 enable_dmcompos
1099 enable_dmime
1100 enable_dmloader
1101 enable_dmscript
1102 enable_dmstyle
1103 enable_dmsynth
1104 enable_dmusic
1105 enable_dmusic32
1106 enable_dnsapi
1107 enable_dplay
1108 enable_dplayx
1109 enable_dpnaddr
1110 enable_dpnet
1111 enable_dpnhpast
1112 enable_dpnhupnp
1113 enable_dpnlobby
1114 enable_dpvoice
1115 enable_dpwsockx
1116 enable_drmclien
1117 enable_dsdmo
1118 enable_dsound
1119 enable_dsquery
1120 enable_dssenh
1121 enable_dsuiext
1122 enable_dswave
1123 enable_dwmapi
1124 enable_dwrite
1125 enable_dx8vb
1126 enable_dxdiagn
1127 enable_dxgi
1128 enable_dxtrans
1129 enable_dxva2
1130 enable_esent
1131 enable_evr
1132 enable_explorerframe
1133 enable_faultrep
1134 enable_feclient
1135 enable_fltlib
1136 enable_fltmgr_sys
1137 enable_fntcache
1138 enable_fontsub
1139 enable_fusion
1140 enable_fwpuclnt
1141 enable_gameux
1142 enable_gamingtcui
1143 enable_gdi32
1144 enable_gdiplus
1145 enable_geolocation
1146 enable_glu32
1147 enable_gphoto2_ds
1148 enable_gpkcsp
1149 enable_graphicscapture
1150 enable_hal
1151 enable_hhctrl_ocx
1152 enable_hid
1153 enable_hidclass_sys
1154 enable_hidparse_sys
1155 enable_hlink
1156 enable_hnetcfg
1157 enable_hrtfapo
1158 enable_http_sys
1159 enable_httpapi
1160 enable_hvsimanagementapi
1161 enable_ia2comproxy
1162 enable_iccvid
1163 enable_icmp
1164 enable_ieframe
1165 enable_ieproxy
1166 enable_imaadp32_acm
1167 enable_imagehlp
1168 enable_imm32
1169 enable_inetcomm
1170 enable_inetcpl_cpl
1171 enable_inetmib1
1172 enable_infosoft
1173 enable_initpki
1174 enable_inkobj
1175 enable_inseng
1176 enable_iphlpapi
1177 enable_iprop
1178 enable_ir50_32
1179 enable_irprops_cpl
1180 enable_itircl
1181 enable_itss
1182 enable_joy_cpl
1183 enable_jscript
1184 enable_jsproxy
1185 enable_kerberos
1186 enable_kernel32
1187 enable_kernelbase
1188 enable_ksecdd_sys
1189 enable_ksproxy_ax
1190 enable_ksuser
1191 enable_ktmw32
1192 enable_l3codeca_acm
1193 enable_light_msstyles
1194 enable_loadperf
1195 enable_localspl
1196 enable_localui
1197 enable_lz32
1198 enable_magnification
1199 enable_mapi32
1200 enable_mapistub
1201 enable_mciavi32
1202 enable_mcicda
1203 enable_mciqtz32
1204 enable_mciseq
1205 enable_mciwave
1206 enable_mf
1207 enable_mf3216
1208 enable_mferror
1209 enable_mfmediaengine
1210 enable_mfplat
1211 enable_mfplay
1212 enable_mfreadwrite
1213 enable_mfsrcsnk
1214 enable_mgmtapi
1215 enable_midimap
1216 enable_mlang
1217 enable_mmcndmgr
1218 enable_mmdevapi
1219 enable_mountmgr_sys
1220 enable_mp3dmod
1221 enable_mpr
1222 enable_mprapi
1223 enable_msacm32_drv
1224 enable_msacm32
1225 enable_msado15
1226 enable_msadp32_acm
1227 enable_msasn1
1228 enable_msauddecmft
1229 enable_mscat32
1230 enable_mscms
1231 enable_mscoree
1232 enable_mscorwks
1233 enable_msctf
1234 enable_msctfmonitor
1235 enable_msctfp
1236 enable_msdaps
1237 enable_msdasql
1238 enable_msdelta
1239 enable_msdmo
1240 enable_msdrm
1241 enable_msftedit
1242 enable_msg711_acm
1243 enable_msgsm32_acm
1244 enable_mshtml_tlb
1245 enable_mshtml
1246 enable_msi
1247 enable_msident
1248 enable_msimg32
1249 enable_msimsg
1250 enable_msimtf
1251 enable_msisip
1252 enable_msisys_ocx
1253 enable_msls31
1254 enable_msmpeg2vdec
1255 enable_msnet32
1256 enable_mspatcha
1257 enable_msports
1258 enable_msrle32
1259 enable_msscript_ocx
1260 enable_mssign32
1261 enable_mssip32
1262 enable_mstask
1263 enable_msv1_0
1264 enable_msvcirt
1265 enable_msvcm80
1266 enable_msvcm90
1267 enable_msvcp100
1268 enable_msvcp110
1269 enable_msvcp120
1270 enable_msvcp120_app
1271 enable_msvcp140
1272 enable_msvcp140_1
1273 enable_msvcp140_2
1274 enable_msvcp140_atomic_wait
1275 enable_msvcp140_codecvt_ids
1276 enable_msvcp60
1277 enable_msvcp70
1278 enable_msvcp71
1279 enable_msvcp80
1280 enable_msvcp90
1281 enable_msvcp_win
1282 enable_msvcr100
1283 enable_msvcr110
1284 enable_msvcr120
1285 enable_msvcr120_app
1286 enable_msvcr70
1287 enable_msvcr71
1288 enable_msvcr80
1289 enable_msvcr90
1290 enable_msvcrt
1291 enable_msvcrt20
1292 enable_msvcrt40
1293 enable_msvcrtd
1294 enable_msvfw32
1295 enable_msvidc32
1296 enable_mswsock
1297 enable_msxml
1298 enable_msxml2
1299 enable_msxml3
1300 enable_msxml4
1301 enable_msxml6
1302 enable_mtxdm
1303 enable_ncrypt
1304 enable_nddeapi
1305 enable_ndis_sys
1306 enable_netapi32
1307 enable_netcfgx
1308 enable_netio_sys
1309 enable_netprofm
1310 enable_netutils
1311 enable_newdev
1312 enable_ninput
1313 enable_normaliz
1314 enable_npmshtml
1315 enable_npptools
1316 enable_nsi
1317 enable_nsiproxy_sys
1318 enable_ntdll
1319 enable_ntdsapi
1320 enable_ntoskrnl_exe
1321 enable_ntprint
1322 enable_objsel
1323 enable_odbc32
1324 enable_odbcbcp
1325 enable_odbccp32
1326 enable_odbccu32
1327 enable_ole32
1328 enable_oleacc
1329 enable_oleaut32
1330 enable_olecli32
1331 enable_oledb32
1332 enable_oledlg
1333 enable_olepro32
1334 enable_olesvr32
1335 enable_olethk32
1336 enable_opcservices
1337 enable_opencl
1338 enable_opengl32
1339 enable_packager
1340 enable_pdh
1341 enable_photometadatahandler
1342 enable_pidgen
1343 enable_powrprof
1344 enable_printui
1345 enable_prntvpt
1346 enable_propsys
1347 enable_psapi
1348 enable_pstorec
1349 enable_pwrshplugin
1350 enable_qasf
1351 enable_qcap
1352 enable_qdvd
1353 enable_qedit
1354 enable_qmgr
1355 enable_qmgrprxy
1356 enable_quartz
1357 enable_query
1358 enable_qwave
1359 enable_rasapi32
1360 enable_rasdlg
1361 enable_regapi
1362 enable_resutils
1363 enable_riched20
1364 enable_riched32
1365 enable_rpcrt4
1366 enable_rsabase
1367 enable_rsaenh
1368 enable_rstrtmgr
1369 enable_rtutils
1370 enable_rtworkq
1371 enable_samlib
1372 enable_sane_ds
1373 enable_sapi
1374 enable_sas
1375 enable_scarddlg
1376 enable_scardsvr
1377 enable_sccbase
1378 enable_schannel
1379 enable_schedsvc
1380 enable_scrobj
1381 enable_scrrun
1382 enable_scsiport_sys
1383 enable_sechost
1384 enable_secur32
1385 enable_security
1386 enable_sensapi
1387 enable_serialui
1388 enable_setupapi
1389 enable_sfc
1390 enable_sfc_os
1391 enable_shcore
1392 enable_shdoclc
1393 enable_shdocvw
1394 enable_shell32
1395 enable_shfolder
1396 enable_shlwapi
1397 enable_slbcsp
1398 enable_slc
1399 enable_snmpapi
1400 enable_softpub
1401 enable_spoolss
1402 enable_sppc
1403 enable_srclient
1404 enable_srvcli
1405 enable_sspicli
1406 enable_stdole2_tlb
1407 enable_stdole32_tlb
1408 enable_sti
1409 enable_strmdll
1410 enable_svrapi
1411 enable_sxs
1412 enable_t2embed
1413 enable_tapi32
1414 enable_taskschd
1415 enable_tbs
1416 enable_tdh
1417 enable_tdi_sys
1418 enable_threadpoolwinrt
1419 enable_traffic
1420 enable_twain_32
1421 enable_twinapi_appcore
1422 enable_tzres
1423 enable_ucrtbase
1424 enable_uianimation
1425 enable_uiautomationcore
1426 enable_uiribbon
1427 enable_unicows
1428 enable_updspapi
1429 enable_url
1430 enable_urlmon
1431 enable_usbd_sys
1432 enable_user32
1433 enable_userenv
1434 enable_usp10
1435 enable_utildll
1436 enable_uxtheme
1437 enable_vbscript
1438 enable_vcomp
1439 enable_vcomp100
1440 enable_vcomp110
1441 enable_vcomp120
1442 enable_vcomp140
1443 enable_vcomp90
1444 enable_vcruntime140
1445 enable_vcruntime140_1
1446 enable_vdmdbg
1447 enable_version
1448 enable_vga
1449 enable_virtdisk
1450 enable_vssapi
1451 enable_vulkan_1
1452 enable_wbemdisp
1453 enable_wbemprox
1454 enable_wdscore
1455 enable_webservices
1456 enable_websocket
1457 enable_wer
1458 enable_wevtapi
1459 enable_wevtsvc
1460 enable_wiaservc
1461 enable_wimgapi
1462 enable_win32u
1463 enable_windows_devices_bluetooth
1464 enable_windows_devices_enumeration
1465 enable_windows_devices_usb
1466 enable_windows_gaming_input
1467 enable_windows_gaming_ui_gamebar
1468 enable_windows_globalization
1469 enable_windows_media_devices
1470 enable_windows_media_speech
1471 enable_windows_media
1472 enable_windows_networking_hostname
1473 enable_windows_networking
1474 enable_windows_perception_stub
1475 enable_windows_system_profile_systemmanufacturers
1476 enable_windows_ui
1477 enable_windowscodecs
1478 enable_windowscodecsext
1479 enable_winealsa_drv
1480 enable_wineandroid_drv
1481 enable_winebus_sys
1482 enable_winecoreaudio_drv
1483 enable_winecrt0
1484 enable_wined3d
1485 enable_winegstreamer
1486 enable_winehid_sys
1487 enable_winemac_drv
1488 enable_winemapi
1489 enable_wineoss_drv
1490 enable_wineps_drv
1491 enable_winepulse_drv
1492 enable_wineusb_sys
1493 enable_winevulkan
1494 enable_winewayland_drv
1495 enable_winex11_drv
1496 enable_winexinput_sys
1497 enable_wing32
1498 enable_winhttp
1499 enable_wininet
1500 enable_winmm
1501 enable_winnls32
1502 enable_winprint
1503 enable_winscard
1504 enable_winspool_drv
1505 enable_winsta
1506 enable_wintab32
1507 enable_wintrust
1508 enable_wintypes
1509 enable_winusb
1510 enable_wlanapi
1511 enable_wlanui
1512 enable_wldap32
1513 enable_wmasf
1514 enable_wmi
1515 enable_wmiutils
1516 enable_wmp
1517 enable_wmphoto
1518 enable_wmvcore
1519 enable_wnaspi32
1520 enable_wofutil
1521 enable_wow64
1522 enable_wow64cpu
1523 enable_wow64win
1524 enable_wpc
1525 enable_wpcap
1526 enable_ws2_32
1527 enable_wsdapi
1528 enable_wshom_ocx
1529 enable_wsnmp32
1530 enable_wsock32
1531 enable_wtsapi32
1532 enable_wuapi
1533 enable_wuaueng
1534 enable_x3daudio1_0
1535 enable_x3daudio1_1
1536 enable_x3daudio1_2
1537 enable_x3daudio1_3
1538 enable_x3daudio1_4
1539 enable_x3daudio1_5
1540 enable_x3daudio1_6
1541 enable_x3daudio1_7
1542 enable_xactengine2_0
1543 enable_xactengine2_4
1544 enable_xactengine2_7
1545 enable_xactengine2_9
1546 enable_xactengine3_0
1547 enable_xactengine3_1
1548 enable_xactengine3_2
1549 enable_xactengine3_3
1550 enable_xactengine3_4
1551 enable_xactengine3_5
1552 enable_xactengine3_6
1553 enable_xactengine3_7
1554 enable_xapofx1_1
1555 enable_xapofx1_2
1556 enable_xapofx1_3
1557 enable_xapofx1_4
1558 enable_xapofx1_5
1559 enable_xaudio2_0
1560 enable_xaudio2_1
1561 enable_xaudio2_2
1562 enable_xaudio2_3
1563 enable_xaudio2_4
1564 enable_xaudio2_5
1565 enable_xaudio2_6
1566 enable_xaudio2_7
1567 enable_xaudio2_8
1568 enable_xaudio2_9
1569 enable_xinput1_1
1570 enable_xinput1_2
1571 enable_xinput1_3
1572 enable_xinput1_4
1573 enable_xinput9_1_0
1574 enable_xinputuap
1575 enable_xmllite
1576 enable_xolehlp
1577 enable_xpsprint
1578 enable_xpssvcs
1579 enable_fonts
1580 enable_include
1581 enable_adsiid
1582 enable_dmoguids
1583 enable_dxerr8
1584 enable_dxerr9
1585 enable_dxguid
1586 enable_faudio
1587 enable_gsm
1588 enable_jpeg
1589 enable_jxr
1590 enable_lcms2
1591 enable_ldap
1592 enable_mfuuid
1593 enable_mpg123
1594 enable_musl
1595 enable_png
1596 enable_strmbase
1597 enable_strmiids
1598 enable_tiff
1599 enable_uuid
1600 enable_vkd3d
1601 enable_wbemuuid
1602 enable_wmcodecdspuuid
1603 enable_xml2
1604 enable_xslt
1605 enable_zlib
1606 enable_zydis
1607 enable_loader
1608 enable_nls
1609 enable_po
1610 enable_arp
1611 enable_aspnet_regiis
1612 enable_attrib
1613 enable_cabarc
1614 enable_cacls
1615 enable_certutil
1616 enable_chcp_com
1617 enable_clock
1618 enable_cmd
1619 enable_conhost
1620 enable_control
1621 enable_cscript
1622 enable_dism
1623 enable_dllhost
1624 enable_dplaysvr
1625 enable_dpnsvr
1626 enable_dpvsetup
1627 enable_dxdiag
1628 enable_eject
1629 enable_expand
1630 enable_explorer
1631 enable_extrac32
1632 enable_fc
1633 enable_find
1634 enable_findstr
1635 enable_fsutil
1636 enable_hh
1637 enable_hostname
1638 enable_icacls
1639 enable_icinfo
1640 enable_iexplore
1641 enable_ipconfig
1642 enable_klist
1643 enable_lodctr
1644 enable_mofcomp
1645 enable_mshta
1646 enable_msidb
1647 enable_msiexec
1648 enable_msinfo32
1649 enable_net
1650 enable_netsh
1651 enable_netstat
1652 enable_ngen
1653 enable_notepad
1654 enable_oleview
1655 enable_ping
1656 enable_plugplay
1657 enable_pnputil
1658 enable_powershell
1659 enable_presentationfontcache
1660 enable_progman
1661 enable_reg
1662 enable_regasm
1663 enable_regedit
1664 enable_regini
1665 enable_regsvcs
1666 enable_regsvr32
1667 enable_robocopy
1668 enable_rpcss
1669 enable_rundll32
1670 enable_sc
1671 enable_schtasks
1672 enable_sdbinst
1673 enable_secedit
1674 enable_servicemodelreg
1675 enable_services
1676 enable_setx
1677 enable_shutdown
1678 enable_spoolsv
1679 enable_start
1680 enable_subst
1681 enable_svchost
1682 enable_systeminfo
1683 enable_taskkill
1684 enable_tasklist
1685 enable_taskmgr
1686 enable_termsv
1687 enable_uninstaller
1688 enable_unlodctr
1689 enable_view
1690 enable_wevtutil
1691 enable_where
1692 enable_whoami
1693 enable_wineboot
1694 enable_winebrowser
1695 enable_winecfg
1696 enable_wineconsole
1697 enable_winedbg
1698 enable_winedevice
1699 enable_winefile
1700 enable_winemenubuilder
1701 enable_winemine
1702 enable_winemsibuilder
1703 enable_winepath
1704 enable_winetest
1705 enable_winhlp32
1706 enable_winmgmt
1707 enable_winver
1708 enable_wmic
1709 enable_wmplayer
1710 enable_wordpad
1711 enable_write
1712 enable_wscript
1713 enable_wuauserv
1714 enable_wusa
1715 enable_xcopy
1716 enable_server
1717 enable_tools
1718 enable_sfnt2fon
1719 enable_widl
1720 enable_winebuild
1721 enable_winedump
1722 enable_winegcc
1723 enable_winemaker
1724 enable_wmc
1725 enable_wrc
1727 ac_precious_vars='build_alias
1728 host_alias
1729 target_alias
1731 CFLAGS
1732 LDFLAGS
1733 LIBS
1734 CPPFLAGS
1736 CXXFLAGS
1738 OBJC
1739 OBJCFLAGS
1740 FAUDIO_PE_CFLAGS
1741 FAUDIO_PE_LIBS
1742 GSM_PE_CFLAGS
1743 GSM_PE_LIBS
1744 JPEG_PE_CFLAGS
1745 JPEG_PE_LIBS
1746 JXR_PE_CFLAGS
1747 JXR_PE_LIBS
1748 LCMS2_PE_CFLAGS
1749 LCMS2_PE_LIBS
1750 LDAP_PE_CFLAGS
1751 LDAP_PE_LIBS
1752 MPG123_PE_CFLAGS
1753 MPG123_PE_LIBS
1754 MUSL_PE_CFLAGS
1755 MUSL_PE_LIBS
1756 PNG_PE_CFLAGS
1757 PNG_PE_LIBS
1758 TIFF_PE_CFLAGS
1759 TIFF_PE_LIBS
1760 VKD3D_PE_CFLAGS
1761 VKD3D_PE_LIBS
1762 XML2_PE_CFLAGS
1763 XML2_PE_LIBS
1764 XSLT_PE_CFLAGS
1765 XSLT_PE_LIBS
1766 ZLIB_PE_CFLAGS
1767 ZLIB_PE_LIBS
1768 ZYDIS_PE_CFLAGS
1769 ZYDIS_PE_LIBS
1770 XMKMF
1772 WAYLAND_CLIENT_CFLAGS
1773 WAYLAND_CLIENT_LIBS
1774 INOTIFY_CFLAGS
1775 INOTIFY_LIBS
1776 DBUS_CFLAGS
1777 DBUS_LIBS
1778 GNUTLS_CFLAGS
1779 GNUTLS_LIBS
1780 SANE_CFLAGS
1781 SANE_LIBS
1782 USB_CFLAGS
1783 USB_LIBS
1784 GPHOTO2_CFLAGS
1785 GPHOTO2_LIBS
1786 GPHOTO2_PORT_CFLAGS
1787 GPHOTO2_PORT_LIBS
1788 FREETYPE_CFLAGS
1789 FREETYPE_LIBS
1790 PULSE_CFLAGS
1791 PULSE_LIBS
1792 GSTREAMER_CFLAGS
1793 GSTREAMER_LIBS
1794 UDEV_CFLAGS
1795 UDEV_LIBS
1796 UNWIND_CFLAGS
1797 UNWIND_LIBS
1798 SDL2_CFLAGS
1799 SDL2_LIBS
1800 CAPI20_CFLAGS
1801 CAPI20_LIBS
1802 CUPS_CFLAGS
1803 CUPS_LIBS
1804 FONTCONFIG_CFLAGS
1805 FONTCONFIG_LIBS
1806 KRB5_CFLAGS
1807 KRB5_LIBS
1808 GSSAPI_CFLAGS
1809 GSSAPI_LIBS
1810 NETAPI_CFLAGS
1811 NETAPI_LIBS'
1814 # Initialize some variables set by options.
1815 ac_init_help=
1816 ac_init_version=false
1817 ac_unrecognized_opts=
1818 ac_unrecognized_sep=
1819 # The variables have the same names as the options, with
1820 # dashes changed to underlines.
1821 cache_file=/dev/null
1822 exec_prefix=NONE
1823 no_create=
1824 no_recursion=
1825 prefix=NONE
1826 program_prefix=NONE
1827 program_suffix=NONE
1828 program_transform_name=s,x,x,
1829 silent=
1830 site=
1831 srcdir=
1832 verbose=
1833 x_includes=NONE
1834 x_libraries=NONE
1836 # Installation directory options.
1837 # These are left unexpanded so users can "make install exec_prefix=/foo"
1838 # and all the variables that are supposed to be based on exec_prefix
1839 # by default will actually change.
1840 # Use braces instead of parens because sh, perl, etc. also accept them.
1841 # (The list follows the same order as the GNU Coding Standards.)
1842 bindir='${exec_prefix}/bin'
1843 sbindir='${exec_prefix}/sbin'
1844 libexecdir='${exec_prefix}/libexec'
1845 datarootdir='${prefix}/share'
1846 datadir='${datarootdir}'
1847 sysconfdir='${prefix}/etc'
1848 sharedstatedir='${prefix}/com'
1849 localstatedir='${prefix}/var'
1850 runstatedir='${localstatedir}/run'
1851 includedir='${prefix}/include'
1852 oldincludedir='/usr/include'
1853 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1854 infodir='${datarootdir}/info'
1855 htmldir='${docdir}'
1856 dvidir='${docdir}'
1857 pdfdir='${docdir}'
1858 psdir='${docdir}'
1859 libdir='${exec_prefix}/lib'
1860 localedir='${datarootdir}/locale'
1861 mandir='${datarootdir}/man'
1863 ac_prev=
1864 ac_dashdash=
1865 for ac_option
1867 # If the previous option needs an argument, assign it.
1868 if test -n "$ac_prev"; then
1869 eval $ac_prev=\$ac_option
1870 ac_prev=
1871 continue
1874 case $ac_option in
1875 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1876 *=) ac_optarg= ;;
1877 *) ac_optarg=yes ;;
1878 esac
1880 case $ac_dashdash$ac_option in
1882 ac_dashdash=yes ;;
1884 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1885 ac_prev=bindir ;;
1886 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1887 bindir=$ac_optarg ;;
1889 -build | --build | --buil | --bui | --bu)
1890 ac_prev=build_alias ;;
1891 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1892 build_alias=$ac_optarg ;;
1894 -cache-file | --cache-file | --cache-fil | --cache-fi \
1895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1896 ac_prev=cache_file ;;
1897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1899 cache_file=$ac_optarg ;;
1901 --config-cache | -C)
1902 cache_file=config.cache ;;
1904 -datadir | --datadir | --datadi | --datad)
1905 ac_prev=datadir ;;
1906 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1907 datadir=$ac_optarg ;;
1909 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1910 | --dataroo | --dataro | --datar)
1911 ac_prev=datarootdir ;;
1912 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1913 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1914 datarootdir=$ac_optarg ;;
1916 -disable-* | --disable-*)
1917 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1918 # Reject names that are not valid shell variable names.
1919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1920 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1921 ac_useropt_orig=$ac_useropt
1922 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1923 case $ac_user_opts in
1925 "enable_$ac_useropt"
1926 "*) ;;
1927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1928 ac_unrecognized_sep=', ';;
1929 esac
1930 eval enable_$ac_useropt=no ;;
1932 -docdir | --docdir | --docdi | --doc | --do)
1933 ac_prev=docdir ;;
1934 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1935 docdir=$ac_optarg ;;
1937 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1938 ac_prev=dvidir ;;
1939 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1940 dvidir=$ac_optarg ;;
1942 -enable-* | --enable-*)
1943 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1944 # Reject names that are not valid shell variable names.
1945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1946 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1947 ac_useropt_orig=$ac_useropt
1948 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1949 case $ac_user_opts in
1951 "enable_$ac_useropt"
1952 "*) ;;
1953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1954 ac_unrecognized_sep=', ';;
1955 esac
1956 eval enable_$ac_useropt=\$ac_optarg ;;
1958 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1959 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1960 | --exec | --exe | --ex)
1961 ac_prev=exec_prefix ;;
1962 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1963 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1964 | --exec=* | --exe=* | --ex=*)
1965 exec_prefix=$ac_optarg ;;
1967 -gas | --gas | --ga | --g)
1968 # Obsolete; use --with-gas.
1969 with_gas=yes ;;
1971 -help | --help | --hel | --he | -h)
1972 ac_init_help=long ;;
1973 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1974 ac_init_help=recursive ;;
1975 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1976 ac_init_help=short ;;
1978 -host | --host | --hos | --ho)
1979 ac_prev=host_alias ;;
1980 -host=* | --host=* | --hos=* | --ho=*)
1981 host_alias=$ac_optarg ;;
1983 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1984 ac_prev=htmldir ;;
1985 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1986 | --ht=*)
1987 htmldir=$ac_optarg ;;
1989 -includedir | --includedir | --includedi | --included | --include \
1990 | --includ | --inclu | --incl | --inc)
1991 ac_prev=includedir ;;
1992 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1993 | --includ=* | --inclu=* | --incl=* | --inc=*)
1994 includedir=$ac_optarg ;;
1996 -infodir | --infodir | --infodi | --infod | --info | --inf)
1997 ac_prev=infodir ;;
1998 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1999 infodir=$ac_optarg ;;
2001 -libdir | --libdir | --libdi | --libd)
2002 ac_prev=libdir ;;
2003 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2004 libdir=$ac_optarg ;;
2006 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2007 | --libexe | --libex | --libe)
2008 ac_prev=libexecdir ;;
2009 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2010 | --libexe=* | --libex=* | --libe=*)
2011 libexecdir=$ac_optarg ;;
2013 -localedir | --localedir | --localedi | --localed | --locale)
2014 ac_prev=localedir ;;
2015 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2016 localedir=$ac_optarg ;;
2018 -localstatedir | --localstatedir | --localstatedi | --localstated \
2019 | --localstate | --localstat | --localsta | --localst | --locals)
2020 ac_prev=localstatedir ;;
2021 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2022 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2023 localstatedir=$ac_optarg ;;
2025 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2026 ac_prev=mandir ;;
2027 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2028 mandir=$ac_optarg ;;
2030 -nfp | --nfp | --nf)
2031 # Obsolete; use --without-fp.
2032 with_fp=no ;;
2034 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2035 | --no-cr | --no-c | -n)
2036 no_create=yes ;;
2038 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2039 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2040 no_recursion=yes ;;
2042 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2043 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2044 | --oldin | --oldi | --old | --ol | --o)
2045 ac_prev=oldincludedir ;;
2046 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2047 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2048 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2049 oldincludedir=$ac_optarg ;;
2051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2052 ac_prev=prefix ;;
2053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2054 prefix=$ac_optarg ;;
2056 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2057 | --program-pre | --program-pr | --program-p)
2058 ac_prev=program_prefix ;;
2059 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2060 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2061 program_prefix=$ac_optarg ;;
2063 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2064 | --program-suf | --program-su | --program-s)
2065 ac_prev=program_suffix ;;
2066 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2067 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2068 program_suffix=$ac_optarg ;;
2070 -program-transform-name | --program-transform-name \
2071 | --program-transform-nam | --program-transform-na \
2072 | --program-transform-n | --program-transform- \
2073 | --program-transform | --program-transfor \
2074 | --program-transfo | --program-transf \
2075 | --program-trans | --program-tran \
2076 | --progr-tra | --program-tr | --program-t)
2077 ac_prev=program_transform_name ;;
2078 -program-transform-name=* | --program-transform-name=* \
2079 | --program-transform-nam=* | --program-transform-na=* \
2080 | --program-transform-n=* | --program-transform-=* \
2081 | --program-transform=* | --program-transfor=* \
2082 | --program-transfo=* | --program-transf=* \
2083 | --program-trans=* | --program-tran=* \
2084 | --progr-tra=* | --program-tr=* | --program-t=*)
2085 program_transform_name=$ac_optarg ;;
2087 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2088 ac_prev=pdfdir ;;
2089 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2090 pdfdir=$ac_optarg ;;
2092 -psdir | --psdir | --psdi | --psd | --ps)
2093 ac_prev=psdir ;;
2094 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2095 psdir=$ac_optarg ;;
2097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2098 | -silent | --silent | --silen | --sile | --sil)
2099 silent=yes ;;
2101 -runstatedir | --runstatedir | --runstatedi | --runstated \
2102 | --runstate | --runstat | --runsta | --runst | --runs \
2103 | --run | --ru | --r)
2104 ac_prev=runstatedir ;;
2105 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2106 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2107 | --run=* | --ru=* | --r=*)
2108 runstatedir=$ac_optarg ;;
2110 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2111 ac_prev=sbindir ;;
2112 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2113 | --sbi=* | --sb=*)
2114 sbindir=$ac_optarg ;;
2116 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2117 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2118 | --sharedst | --shareds | --shared | --share | --shar \
2119 | --sha | --sh)
2120 ac_prev=sharedstatedir ;;
2121 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2122 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2123 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2124 | --sha=* | --sh=*)
2125 sharedstatedir=$ac_optarg ;;
2127 -site | --site | --sit)
2128 ac_prev=site ;;
2129 -site=* | --site=* | --sit=*)
2130 site=$ac_optarg ;;
2132 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2133 ac_prev=srcdir ;;
2134 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2135 srcdir=$ac_optarg ;;
2137 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2138 | --syscon | --sysco | --sysc | --sys | --sy)
2139 ac_prev=sysconfdir ;;
2140 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2141 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2142 sysconfdir=$ac_optarg ;;
2144 -target | --target | --targe | --targ | --tar | --ta | --t)
2145 ac_prev=target_alias ;;
2146 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2147 target_alias=$ac_optarg ;;
2149 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2150 verbose=yes ;;
2152 -version | --version | --versio | --versi | --vers | -V)
2153 ac_init_version=: ;;
2155 -with-* | --with-*)
2156 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2157 # Reject names that are not valid shell variable names.
2158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2159 as_fn_error $? "invalid package name: \`$ac_useropt'"
2160 ac_useropt_orig=$ac_useropt
2161 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2162 case $ac_user_opts in
2164 "with_$ac_useropt"
2165 "*) ;;
2166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2167 ac_unrecognized_sep=', ';;
2168 esac
2169 eval with_$ac_useropt=\$ac_optarg ;;
2171 -without-* | --without-*)
2172 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2173 # Reject names that are not valid shell variable names.
2174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2175 as_fn_error $? "invalid package name: \`$ac_useropt'"
2176 ac_useropt_orig=$ac_useropt
2177 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2178 case $ac_user_opts in
2180 "with_$ac_useropt"
2181 "*) ;;
2182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2183 ac_unrecognized_sep=', ';;
2184 esac
2185 eval with_$ac_useropt=no ;;
2187 --x)
2188 # Obsolete; use --with-x.
2189 with_x=yes ;;
2191 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2192 | --x-incl | --x-inc | --x-in | --x-i)
2193 ac_prev=x_includes ;;
2194 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2195 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2196 x_includes=$ac_optarg ;;
2198 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2199 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2200 ac_prev=x_libraries ;;
2201 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2202 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2203 x_libraries=$ac_optarg ;;
2205 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2206 Try \`$0 --help' for more information"
2209 *=*)
2210 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2211 # Reject names that are not valid shell variable names.
2212 case $ac_envvar in #(
2213 '' | [0-9]* | *[!_$as_cr_alnum]* )
2214 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2215 esac
2216 eval $ac_envvar=\$ac_optarg
2217 export $ac_envvar ;;
2220 # FIXME: should be removed in autoconf 3.0.
2221 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2223 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2227 esac
2228 done
2230 if test -n "$ac_prev"; then
2231 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2232 as_fn_error $? "missing argument to $ac_option"
2235 if test -n "$ac_unrecognized_opts"; then
2236 case $enable_option_checking in
2237 no) ;;
2238 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2239 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2240 esac
2243 # Check all directory arguments for consistency.
2244 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2245 datadir sysconfdir sharedstatedir localstatedir includedir \
2246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2247 libdir localedir mandir runstatedir
2249 eval ac_val=\$$ac_var
2250 # Remove trailing slashes.
2251 case $ac_val in
2252 */ )
2253 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2254 eval $ac_var=\$ac_val;;
2255 esac
2256 # Be sure to have absolute directory names.
2257 case $ac_val in
2258 [\\/$]* | ?:[\\/]* ) continue;;
2259 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2260 esac
2261 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2262 done
2264 # There might be people who depend on the old broken behavior: `$host'
2265 # used to hold the argument of --host etc.
2266 # FIXME: To remove some day.
2267 build=$build_alias
2268 host=$host_alias
2269 target=$target_alias
2271 # FIXME: To remove some day.
2272 if test "x$host_alias" != x; then
2273 if test "x$build_alias" = x; then
2274 cross_compiling=maybe
2275 elif test "x$build_alias" != "x$host_alias"; then
2276 cross_compiling=yes
2280 ac_tool_prefix=
2281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2283 test "$silent" = yes && exec 6>/dev/null
2286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2287 ac_ls_di=`ls -di .` &&
2288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2289 as_fn_error $? "working directory cannot be determined"
2290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2291 as_fn_error $? "pwd does not report name of working directory"
2294 # Find the source files, if location was not specified.
2295 if test -z "$srcdir"; then
2296 ac_srcdir_defaulted=yes
2297 # Try the directory containing this script, then the parent directory.
2298 ac_confdir=`$as_dirname -- "$as_myself" ||
2299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2300 X"$as_myself" : 'X\(//\)[^/]' \| \
2301 X"$as_myself" : 'X\(//\)$' \| \
2302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2303 printf "%s\n" X"$as_myself" |
2304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2305 s//\1/
2308 /^X\(\/\/\)[^/].*/{
2309 s//\1/
2312 /^X\(\/\/\)$/{
2313 s//\1/
2316 /^X\(\/\).*/{
2317 s//\1/
2320 s/.*/./; q'`
2321 srcdir=$ac_confdir
2322 if test ! -r "$srcdir/$ac_unique_file"; then
2323 srcdir=..
2325 else
2326 ac_srcdir_defaulted=no
2328 if test ! -r "$srcdir/$ac_unique_file"; then
2329 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2330 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2333 ac_abs_confdir=`(
2334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2335 pwd)`
2336 # When building in place, set srcdir=.
2337 if test "$ac_abs_confdir" = "$ac_pwd"; then
2338 srcdir=.
2340 # Remove unnecessary trailing slashes from srcdir.
2341 # Double slashes in file names in object file debugging info
2342 # mess up M-x gdb in Emacs.
2343 case $srcdir in
2344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2345 esac
2346 for ac_var in $ac_precious_vars; do
2347 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2348 eval ac_env_${ac_var}_value=\$${ac_var}
2349 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2350 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2351 done
2354 # Report the --help message.
2356 if test "$ac_init_help" = "long"; then
2357 # Omit some internal or obsolete options to make the list less imposing.
2358 # This message is too long to be a string in the A/UX 3.1 sh.
2359 cat <<_ACEOF
2360 \`configure' configures Wine 8.14 to adapt to many kinds of systems.
2362 Usage: $0 [OPTION]... [VAR=VALUE]...
2364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2365 VAR=VALUE. See below for descriptions of some of the useful variables.
2367 Defaults for the options are specified in brackets.
2369 Configuration:
2370 -h, --help display this help and exit
2371 --help=short display options specific to this package
2372 --help=recursive display the short help of all the included packages
2373 -V, --version display version information and exit
2374 -q, --quiet, --silent do not print \`checking ...' messages
2375 --cache-file=FILE cache test results in FILE [disabled]
2376 -C, --config-cache alias for \`--cache-file=config.cache'
2377 -n, --no-create do not create output files
2378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2380 Installation directories:
2381 --prefix=PREFIX install architecture-independent files in PREFIX
2382 [$ac_default_prefix]
2383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2384 [PREFIX]
2386 By default, \`make install' will install all the files in
2387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2389 for instance \`--prefix=\$HOME'.
2391 For better control, use the options below.
2393 Fine tuning of the installation directories:
2394 --bindir=DIR user executables [EPREFIX/bin]
2395 --sbindir=DIR system admin executables [EPREFIX/sbin]
2396 --libexecdir=DIR program executables [EPREFIX/libexec]
2397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2400 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2401 --libdir=DIR object code libraries [EPREFIX/lib]
2402 --includedir=DIR C header files [PREFIX/include]
2403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2406 --infodir=DIR info documentation [DATAROOTDIR/info]
2407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2408 --mandir=DIR man documentation [DATAROOTDIR/man]
2409 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2410 --htmldir=DIR html documentation [DOCDIR]
2411 --dvidir=DIR dvi documentation [DOCDIR]
2412 --pdfdir=DIR pdf documentation [DOCDIR]
2413 --psdir=DIR ps documentation [DOCDIR]
2414 _ACEOF
2416 cat <<\_ACEOF
2418 X features:
2419 --x-includes=DIR X include files are in DIR
2420 --x-libraries=DIR X library files are in DIR
2422 System types:
2423 --build=BUILD configure for building on BUILD [guessed]
2424 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2425 _ACEOF
2428 if test -n "$ac_init_help"; then
2429 case $ac_init_help in
2430 short | recursive ) echo "Configuration of Wine 8.14:";;
2431 esac
2432 cat <<\_ACEOF
2434 Optional Features:
2435 --disable-option-checking ignore unrecognized --enable/--with options
2436 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2437 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2438 --enable-archs={i386,x86_64,arm,aarch64}
2439 enable multiple architectures for PE compilation
2440 --disable-win16 do not include Win16 support
2441 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2442 binaries)
2443 --disable-tests do not build the regression tests
2444 --enable-build-id include .buildid section in output objects
2445 --enable-maintainer-mode
2446 enable maintainer-specific build rules
2447 --enable-silent-rules use silent build rules (override: "make V=1")
2448 --enable-werror treat compilation warnings as errors
2449 --disable-largefile omit support for large files
2451 Optional Packages:
2452 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2453 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2454 --without-alsa do not use the Alsa sound support
2455 --without-capi do not use CAPI (ISDN support)
2456 --without-coreaudio do not use the CoreAudio sound support
2457 --without-cups do not use CUPS
2458 --without-dbus do not use DBus (dynamic device support)
2459 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2460 --without-fontconfig do not use fontconfig
2461 --without-freetype do not use the FreeType library
2462 --without-gettext do not use gettext
2463 --with-gettextpo use the GetTextPO library to rebuild po files
2464 --without-gphoto do not use gphoto (Digital Camera support)
2465 --without-gnutls do not use GnuTLS (schannel support)
2466 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2467 --without-gstreamer do not use GStreamer (codecs support)
2468 --without-inotify do not use inotify (filesystem change notifications)
2469 --without-krb5 do not use krb5 (Kerberos)
2470 --without-mingw do not use the MinGW cross-compiler
2471 --without-netapi do not use the Samba NetAPI library
2472 --without-opencl do not use OpenCL
2473 --without-opengl do not use OpenGL
2474 --without-osmesa do not use the OSMesa library
2475 --without-oss do not use the OSS sound support
2476 --without-pcap do not use the Packet Capture library
2477 --without-pcsclite do not use PCSC lite
2478 --without-pthread do not use the pthread library
2479 --without-pulse do not use PulseAudio sound support
2480 --without-sane do not use SANE (scanner support)
2481 --without-sdl do not use SDL
2482 --without-udev do not use udev (plug and play support)
2483 --without-unwind do not use the libunwind library (exception
2484 handling)
2485 --without-usb do not use the libusb library
2486 --without-v4l2 do not use v4l2 (video capture)
2487 --without-vulkan do not use Vulkan
2488 --without-wayland do not build the Wayland driver
2489 --without-xcomposite do not use the Xcomposite extension
2490 --without-xcursor do not use the Xcursor extension
2491 --without-xfixes do not use Xfixes for clipboard change notifications
2492 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2493 --without-xinput do not use the Xinput extension
2494 --without-xinput2 do not use the Xinput 2 extension
2495 --without-xrandr do not use Xrandr (multi-monitor support)
2496 --without-xrender do not use the Xrender extension
2497 --without-xshape do not use the Xshape extension
2498 --without-xshm do not use XShm (shared memory extension)
2499 --without-xxf86vm do not use XFree video mode extension
2500 --with-system-dllpath=PATH
2501 load external PE dependencies from colon-separated
2502 path PATH
2503 --with-wine-tools=DIR use Wine tools from directory DIR
2504 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2505 --with-x use the X Window System
2507 Some influential environment variables:
2508 CC C compiler command
2509 CFLAGS C compiler flags
2510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2511 nonstandard directory <lib dir>
2512 LIBS libraries to pass to the linker, e.g. -l<library>
2513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2514 you have headers in a nonstandard directory <include dir>
2515 CXX C++ compiler command
2516 CXXFLAGS C++ compiler flags
2517 OBJC Objective C compiler command
2518 OBJCFLAGS Objective C compiler flags
2519 FAUDIO_PE_CFLAGS
2520 C compiler flags for the PE faudio, overriding the bundled
2521 version
2522 FAUDIO_PE_LIBS
2523 Linker flags for the PE faudio, overriding the bundled version
2524 GSM_PE_CFLAGS
2525 C compiler flags for the PE gsm, overriding the bundled version
2526 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2527 JPEG_PE_CFLAGS
2528 C compiler flags for the PE jpeg, overriding the bundled version
2529 JPEG_PE_LIBS
2530 Linker flags for the PE jpeg, overriding the bundled version
2531 JXR_PE_CFLAGS
2532 C compiler flags for the PE jxr, overriding the bundled version
2533 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2534 LCMS2_PE_CFLAGS
2535 C compiler flags for the PE lcms2, overriding the bundled
2536 version
2537 LCMS2_PE_LIBS
2538 Linker flags for the PE lcms2, overriding the bundled version
2539 LDAP_PE_CFLAGS
2540 C compiler flags for the PE ldap, overriding the bundled version
2541 LDAP_PE_LIBS
2542 Linker flags for the PE ldap, overriding the bundled version
2543 MPG123_PE_CFLAGS
2544 C compiler flags for the PE mpg123, overriding the bundled
2545 version
2546 MPG123_PE_LIBS
2547 Linker flags for the PE mpg123, overriding the bundled version
2548 MUSL_PE_CFLAGS
2549 C compiler flags for the PE musl, overriding the bundled version
2550 MUSL_PE_LIBS
2551 Linker flags for the PE musl, overriding the bundled version
2552 PNG_PE_CFLAGS
2553 C compiler flags for the PE png, overriding the bundled version
2554 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2555 TIFF_PE_CFLAGS
2556 C compiler flags for the PE tiff, overriding the bundled version
2557 TIFF_PE_LIBS
2558 Linker flags for the PE tiff, overriding the bundled version
2559 VKD3D_PE_CFLAGS
2560 C compiler flags for the PE vkd3d, overriding the bundled
2561 version
2562 VKD3D_PE_LIBS
2563 Linker flags for the PE vkd3d, overriding the bundled version
2564 XML2_PE_CFLAGS
2565 C compiler flags for the PE xml2, overriding the bundled version
2566 XML2_PE_LIBS
2567 Linker flags for the PE xml2, overriding the bundled version
2568 XSLT_PE_CFLAGS
2569 C compiler flags for the PE xslt, overriding the bundled version
2570 XSLT_PE_LIBS
2571 Linker flags for the PE xslt, overriding the bundled version
2572 ZLIB_PE_CFLAGS
2573 C compiler flags for the PE zlib, overriding the bundled version
2574 ZLIB_PE_LIBS
2575 Linker flags for the PE zlib, overriding the bundled version
2576 ZYDIS_PE_CFLAGS
2577 C compiler flags for the PE zydis, overriding the bundled
2578 version
2579 ZYDIS_PE_LIBS
2580 Linker flags for the PE zydis, overriding the bundled version
2581 XMKMF Path to xmkmf, Makefile generator for X Window System
2582 CPP C preprocessor
2583 WAYLAND_CLIENT_CFLAGS
2584 C compiler flags for wayland-client, overriding pkg-config
2585 WAYLAND_CLIENT_LIBS
2586 Linker flags for wayland-client, overriding pkg-config
2587 INOTIFY_CFLAGS
2588 C compiler flags for libinotify, overriding pkg-config
2589 INOTIFY_LIBS
2590 Linker flags for libinotify, overriding pkg-config
2591 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2592 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2593 GNUTLS_CFLAGS
2594 C compiler flags for gnutls, overriding pkg-config
2595 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2596 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2597 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2598 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2599 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2600 GPHOTO2_CFLAGS
2601 C compiler flags for libgphoto2, overriding pkg-config
2602 GPHOTO2_LIBS
2603 Linker flags for libgphoto2, overriding pkg-config
2604 GPHOTO2_PORT_CFLAGS
2605 C compiler flags for libgphoto2_port, overriding pkg-config
2606 GPHOTO2_PORT_LIBS
2607 Linker flags for libgphoto2_port, overriding pkg-config
2608 FREETYPE_CFLAGS
2609 C compiler flags for freetype2, overriding pkg-config
2610 FREETYPE_LIBS
2611 Linker flags for freetype2, overriding pkg-config
2612 PULSE_CFLAGS
2613 C compiler flags for libpulse, overriding pkg-config
2614 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2615 GSTREAMER_CFLAGS
2616 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2617 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2618 GSTREAMER_LIBS
2619 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2620 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2621 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2622 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2623 UNWIND_CFLAGS
2624 C compiler flags for libunwind, overriding pkg-config
2625 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2626 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2627 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2628 CAPI20_CFLAGS
2629 C compiler flags for capi20, overriding pkg-config
2630 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2631 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2632 CUPS_LIBS Linker flags for cups, overriding pkg-config
2633 FONTCONFIG_CFLAGS
2634 C compiler flags for fontconfig, overriding pkg-config
2635 FONTCONFIG_LIBS
2636 Linker flags for fontconfig, overriding pkg-config
2637 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2638 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2639 GSSAPI_CFLAGS
2640 C compiler flags for krb5-gssapi, overriding pkg-config
2641 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2642 NETAPI_CFLAGS
2643 C compiler flags for netapi, overriding pkg-config
2644 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2646 Use these variables to override the choices made by `configure' or to help
2647 it to find libraries and programs with nonstandard names/locations.
2649 Report bugs to <wine-devel@winehq.org>.
2650 Wine home page: <https://www.winehq.org>.
2651 _ACEOF
2652 ac_status=$?
2655 if test "$ac_init_help" = "recursive"; then
2656 # If there are subdirs, report their specific --help.
2657 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2658 test -d "$ac_dir" ||
2659 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2660 continue
2661 ac_builddir=.
2663 case "$ac_dir" in
2664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2666 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2667 # A ".." for each directory in $ac_dir_suffix.
2668 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2669 case $ac_top_builddir_sub in
2670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2672 esac ;;
2673 esac
2674 ac_abs_top_builddir=$ac_pwd
2675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2676 # for backward compatibility:
2677 ac_top_builddir=$ac_top_build_prefix
2679 case $srcdir in
2680 .) # We are building in place.
2681 ac_srcdir=.
2682 ac_top_srcdir=$ac_top_builddir_sub
2683 ac_abs_top_srcdir=$ac_pwd ;;
2684 [\\/]* | ?:[\\/]* ) # Absolute name.
2685 ac_srcdir=$srcdir$ac_dir_suffix;
2686 ac_top_srcdir=$srcdir
2687 ac_abs_top_srcdir=$srcdir ;;
2688 *) # Relative name.
2689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2690 ac_top_srcdir=$ac_top_build_prefix$srcdir
2691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2692 esac
2693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2695 cd "$ac_dir" || { ac_status=$?; continue; }
2696 # Check for configure.gnu first; this name is used for a wrapper for
2697 # Metaconfig's "Configure" on case-insensitive file systems.
2698 if test -f "$ac_srcdir/configure.gnu"; then
2699 echo &&
2700 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2701 elif test -f "$ac_srcdir/configure"; then
2702 echo &&
2703 $SHELL "$ac_srcdir/configure" --help=recursive
2704 else
2705 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2706 fi || ac_status=$?
2707 cd "$ac_pwd" || { ac_status=$?; break; }
2708 done
2711 test -n "$ac_init_help" && exit $ac_status
2712 if $ac_init_version; then
2713 cat <<\_ACEOF
2714 Wine configure 8.14
2715 generated by GNU Autoconf 2.71
2717 Copyright (C) 2021 Free Software Foundation, Inc.
2718 This configure script is free software; the Free Software Foundation
2719 gives unlimited permission to copy, distribute and modify it.
2720 _ACEOF
2721 exit
2724 ## ------------------------ ##
2725 ## Autoconf initialization. ##
2726 ## ------------------------ ##
2728 # ac_fn_c_try_compile LINENO
2729 # --------------------------
2730 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2731 ac_fn_c_try_compile ()
2733 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2734 rm -f conftest.$ac_objext conftest.beam
2735 if { { ac_try="$ac_compile"
2736 case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 printf "%s\n" "$ac_try_echo"; } >&5
2742 (eval "$ac_compile") 2>conftest.err
2743 ac_status=$?
2744 if test -s conftest.err; then
2745 grep -v '^ *+' conftest.err >conftest.er1
2746 cat conftest.er1 >&5
2747 mv -f conftest.er1 conftest.err
2749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && {
2751 test -z "$ac_c_werror_flag" ||
2752 test ! -s conftest.err
2753 } && test -s conftest.$ac_objext
2754 then :
2755 ac_retval=0
2756 else $as_nop
2757 printf "%s\n" "$as_me: failed program was:" >&5
2758 sed 's/^/| /' conftest.$ac_ext >&5
2760 ac_retval=1
2762 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2763 as_fn_set_status $ac_retval
2765 } # ac_fn_c_try_compile
2767 # ac_fn_cxx_try_compile LINENO
2768 # ----------------------------
2769 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2770 ac_fn_cxx_try_compile ()
2772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2773 rm -f conftest.$ac_objext conftest.beam
2774 if { { ac_try="$ac_compile"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2780 printf "%s\n" "$ac_try_echo"; } >&5
2781 (eval "$ac_compile") 2>conftest.err
2782 ac_status=$?
2783 if test -s conftest.err; then
2784 grep -v '^ *+' conftest.err >conftest.er1
2785 cat conftest.er1 >&5
2786 mv -f conftest.er1 conftest.err
2788 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789 test $ac_status = 0; } && {
2790 test -z "$ac_cxx_werror_flag" ||
2791 test ! -s conftest.err
2792 } && test -s conftest.$ac_objext
2793 then :
2794 ac_retval=0
2795 else $as_nop
2796 printf "%s\n" "$as_me: failed program was:" >&5
2797 sed 's/^/| /' conftest.$ac_ext >&5
2799 ac_retval=1
2801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2802 as_fn_set_status $ac_retval
2804 } # ac_fn_cxx_try_compile
2806 # ac_fn_c_try_link LINENO
2807 # -----------------------
2808 # Try to link conftest.$ac_ext, and return whether this succeeded.
2809 ac_fn_c_try_link ()
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2813 if { { ac_try="$ac_link"
2814 case "(($ac_try" in
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2817 esac
2818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819 printf "%s\n" "$ac_try_echo"; } >&5
2820 (eval "$ac_link") 2>conftest.err
2821 ac_status=$?
2822 if test -s conftest.err; then
2823 grep -v '^ *+' conftest.err >conftest.er1
2824 cat conftest.er1 >&5
2825 mv -f conftest.er1 conftest.err
2827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && {
2829 test -z "$ac_c_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest$ac_exeext && {
2832 test "$cross_compiling" = yes ||
2833 test -x conftest$ac_exeext
2835 then :
2836 ac_retval=0
2837 else $as_nop
2838 printf "%s\n" "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 ac_retval=1
2843 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2844 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2845 # interfere with the next link command; also delete a directory that is
2846 # left behind by Apple's compiler. We do this before executing the actions.
2847 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 as_fn_set_status $ac_retval
2851 } # ac_fn_c_try_link
2853 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2854 # -------------------------------------------------------
2855 # Tests whether HEADER exists and can be compiled using the include files in
2856 # INCLUDES, setting the cache variable VAR accordingly.
2857 ac_fn_c_check_header_compile ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2861 printf %s "checking for $2... " >&6; }
2862 if eval test \${$3+y}
2863 then :
2864 printf %s "(cached) " >&6
2865 else $as_nop
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2869 #include <$2>
2870 _ACEOF
2871 if ac_fn_c_try_compile "$LINENO"
2872 then :
2873 eval "$3=yes"
2874 else $as_nop
2875 eval "$3=no"
2877 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2879 eval ac_res=\$$3
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2881 printf "%s\n" "$ac_res" >&6; }
2882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2884 } # ac_fn_c_check_header_compile
2886 # ac_fn_objc_try_compile LINENO
2887 # -----------------------------
2888 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2889 ac_fn_objc_try_compile ()
2891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2892 rm -f conftest.$ac_objext conftest.beam
2893 if { { ac_try="$ac_compile"
2894 case "(($ac_try" in
2895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896 *) ac_try_echo=$ac_try;;
2897 esac
2898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2899 printf "%s\n" "$ac_try_echo"; } >&5
2900 (eval "$ac_compile") 2>conftest.err
2901 ac_status=$?
2902 if test -s conftest.err; then
2903 grep -v '^ *+' conftest.err >conftest.er1
2904 cat conftest.er1 >&5
2905 mv -f conftest.er1 conftest.err
2907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2908 test $ac_status = 0; } && {
2909 test -z "$ac_objc_werror_flag" ||
2910 test ! -s conftest.err
2911 } && test -s conftest.$ac_objext
2912 then :
2913 ac_retval=0
2914 else $as_nop
2915 printf "%s\n" "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2918 ac_retval=1
2920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2921 as_fn_set_status $ac_retval
2923 } # ac_fn_objc_try_compile
2925 # ac_fn_c_check_func LINENO FUNC VAR
2926 # ----------------------------------
2927 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2928 ac_fn_c_check_func ()
2930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2932 printf %s "checking for $2... " >&6; }
2933 if eval test \${$3+y}
2934 then :
2935 printf %s "(cached) " >&6
2936 else $as_nop
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2941 #define $2 innocuous_$2
2943 /* System header to define __stub macros and hopefully few prototypes,
2944 which can conflict with char $2 (); below. */
2946 #include <limits.h>
2947 #undef $2
2949 /* Override any GCC internal prototype to avoid an error.
2950 Use char because int might match the return type of a GCC
2951 builtin and then its argument prototype would still apply. */
2952 #ifdef __cplusplus
2953 extern "C"
2954 #endif
2955 char $2 ();
2956 /* The GNU C library defines this for functions which it implements
2957 to always fail with ENOSYS. Some functions are actually named
2958 something starting with __ and the normal name is an alias. */
2959 #if defined __stub_$2 || defined __stub___$2
2960 choke me
2961 #endif
2964 main (void)
2966 return $2 ();
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_link "$LINENO"
2972 then :
2973 eval "$3=yes"
2974 else $as_nop
2975 eval "$3=no"
2977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2978 conftest$ac_exeext conftest.$ac_ext
2980 eval ac_res=\$$3
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 printf "%s\n" "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_func
2987 # ac_fn_c_try_cpp LINENO
2988 # ----------------------
2989 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2990 ac_fn_c_try_cpp ()
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 if { { ac_try="$ac_cpp conftest.$ac_ext"
2994 case "(($ac_try" in
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2997 esac
2998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2999 printf "%s\n" "$ac_try_echo"; } >&5
3000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3001 ac_status=$?
3002 if test -s conftest.err; then
3003 grep -v '^ *+' conftest.err >conftest.er1
3004 cat conftest.er1 >&5
3005 mv -f conftest.er1 conftest.err
3007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008 test $ac_status = 0; } > conftest.i && {
3009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3010 test ! -s conftest.err
3012 then :
3013 ac_retval=0
3014 else $as_nop
3015 printf "%s\n" "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.$ac_ext >&5
3018 ac_retval=1
3020 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3021 as_fn_set_status $ac_retval
3023 } # ac_fn_c_try_cpp
3025 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3026 # ----------------------------------------------------
3027 # Tries to find if the field MEMBER exists in type AGGR, after including
3028 # INCLUDES, setting cache variable VAR accordingly.
3029 ac_fn_c_check_member ()
3031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3033 printf %s "checking for $2.$3... " >&6; }
3034 if eval test \${$4+y}
3035 then :
3036 printf %s "(cached) " >&6
3037 else $as_nop
3038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3039 /* end confdefs.h. */
3042 main (void)
3044 static $2 ac_aggr;
3045 if (ac_aggr.$3)
3046 return 0;
3048 return 0;
3050 _ACEOF
3051 if ac_fn_c_try_compile "$LINENO"
3052 then :
3053 eval "$4=yes"
3054 else $as_nop
3055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3056 /* end confdefs.h. */
3059 main (void)
3061 static $2 ac_aggr;
3062 if (sizeof ac_aggr.$3)
3063 return 0;
3065 return 0;
3067 _ACEOF
3068 if ac_fn_c_try_compile "$LINENO"
3069 then :
3070 eval "$4=yes"
3071 else $as_nop
3072 eval "$4=no"
3074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3078 eval ac_res=\$$4
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3080 printf "%s\n" "$ac_res" >&6; }
3081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3083 } # ac_fn_c_check_member
3085 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3086 # -------------------------------------------
3087 # Tests whether TYPE exists after having included INCLUDES, setting cache
3088 # variable VAR accordingly.
3089 ac_fn_c_check_type ()
3091 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3093 printf %s "checking for $2... " >&6; }
3094 if eval test \${$3+y}
3095 then :
3096 printf %s "(cached) " >&6
3097 else $as_nop
3098 eval "$3=no"
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3103 main (void)
3105 if (sizeof ($2))
3106 return 0;
3108 return 0;
3110 _ACEOF
3111 if ac_fn_c_try_compile "$LINENO"
3112 then :
3113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3114 /* end confdefs.h. */
3117 main (void)
3119 if (sizeof (($2)))
3120 return 0;
3122 return 0;
3124 _ACEOF
3125 if ac_fn_c_try_compile "$LINENO"
3126 then :
3128 else $as_nop
3129 eval "$3=yes"
3131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3135 eval ac_res=\$$3
3136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3137 printf "%s\n" "$ac_res" >&6; }
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 } # ac_fn_c_check_type
3141 ac_configure_args_raw=
3142 for ac_arg
3144 case $ac_arg in
3145 *\'*)
3146 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3147 esac
3148 as_fn_append ac_configure_args_raw " '$ac_arg'"
3149 done
3151 case $ac_configure_args_raw in
3152 *$as_nl*)
3153 ac_safe_unquote= ;;
3155 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3156 ac_unsafe_a="$ac_unsafe_z#~"
3157 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3158 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3159 esac
3161 cat >config.log <<_ACEOF
3162 This file contains any messages produced by compilers while
3163 running configure, to aid debugging if configure makes a mistake.
3165 It was created by Wine $as_me 8.14, which was
3166 generated by GNU Autoconf 2.71. Invocation command line was
3168 $ $0$ac_configure_args_raw
3170 _ACEOF
3171 exec 5>>config.log
3173 cat <<_ASUNAME
3174 ## --------- ##
3175 ## Platform. ##
3176 ## --------- ##
3178 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3179 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3180 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3181 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3182 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3184 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3185 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3187 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3188 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3189 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3190 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3191 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3192 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3193 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3195 _ASUNAME
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3200 IFS=$as_save_IFS
3201 case $as_dir in #(((
3202 '') as_dir=./ ;;
3203 */) ;;
3204 *) as_dir=$as_dir/ ;;
3205 esac
3206 printf "%s\n" "PATH: $as_dir"
3207 done
3208 IFS=$as_save_IFS
3210 } >&5
3212 cat >&5 <<_ACEOF
3215 ## ----------- ##
3216 ## Core tests. ##
3217 ## ----------- ##
3219 _ACEOF
3222 # Keep a trace of the command line.
3223 # Strip out --no-create and --no-recursion so they do not pile up.
3224 # Strip out --silent because we don't want to record it for future runs.
3225 # Also quote any args containing shell meta-characters.
3226 # Make two passes to allow for proper duplicate-argument suppression.
3227 ac_configure_args=
3228 ac_configure_args0=
3229 ac_configure_args1=
3230 ac_must_keep_next=false
3231 for ac_pass in 1 2
3233 for ac_arg
3235 case $ac_arg in
3236 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3237 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3238 | -silent | --silent | --silen | --sile | --sil)
3239 continue ;;
3240 *\'*)
3241 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3242 esac
3243 case $ac_pass in
3244 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3246 as_fn_append ac_configure_args1 " '$ac_arg'"
3247 if test $ac_must_keep_next = true; then
3248 ac_must_keep_next=false # Got value, back to normal.
3249 else
3250 case $ac_arg in
3251 *=* | --config-cache | -C | -disable-* | --disable-* \
3252 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3253 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3254 | -with-* | --with-* | -without-* | --without-* | --x)
3255 case "$ac_configure_args0 " in
3256 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3257 esac
3259 -* ) ac_must_keep_next=true ;;
3260 esac
3262 as_fn_append ac_configure_args " '$ac_arg'"
3264 esac
3265 done
3266 done
3267 { ac_configure_args0=; unset ac_configure_args0;}
3268 { ac_configure_args1=; unset ac_configure_args1;}
3270 # When interrupted or exit'd, cleanup temporary files, and complete
3271 # config.log. We remove comments because anyway the quotes in there
3272 # would cause problems or look ugly.
3273 # WARNING: Use '\'' to represent an apostrophe within the trap.
3274 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3275 trap 'exit_status=$?
3276 # Sanitize IFS.
3277 IFS=" "" $as_nl"
3278 # Save into config.log some information that might help in debugging.
3280 echo
3282 printf "%s\n" "## ---------------- ##
3283 ## Cache variables. ##
3284 ## ---------------- ##"
3285 echo
3286 # The following way of writing the cache mishandles newlines in values,
3288 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3289 eval ac_val=\$$ac_var
3290 case $ac_val in #(
3291 *${as_nl}*)
3292 case $ac_var in #(
3293 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3294 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3295 esac
3296 case $ac_var in #(
3297 _ | IFS | as_nl) ;; #(
3298 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3299 *) { eval $ac_var=; unset $ac_var;} ;;
3300 esac ;;
3301 esac
3302 done
3303 (set) 2>&1 |
3304 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3305 *${as_nl}ac_space=\ *)
3306 sed -n \
3307 "s/'\''/'\''\\\\'\'''\''/g;
3308 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3309 ;; #(
3311 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3313 esac |
3314 sort
3316 echo
3318 printf "%s\n" "## ----------------- ##
3319 ## Output variables. ##
3320 ## ----------------- ##"
3321 echo
3322 for ac_var in $ac_subst_vars
3324 eval ac_val=\$$ac_var
3325 case $ac_val in
3326 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3327 esac
3328 printf "%s\n" "$ac_var='\''$ac_val'\''"
3329 done | sort
3330 echo
3332 if test -n "$ac_subst_files"; then
3333 printf "%s\n" "## ------------------- ##
3334 ## File substitutions. ##
3335 ## ------------------- ##"
3336 echo
3337 for ac_var in $ac_subst_files
3339 eval ac_val=\$$ac_var
3340 case $ac_val in
3341 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3342 esac
3343 printf "%s\n" "$ac_var='\''$ac_val'\''"
3344 done | sort
3345 echo
3348 if test -s confdefs.h; then
3349 printf "%s\n" "## ----------- ##
3350 ## confdefs.h. ##
3351 ## ----------- ##"
3352 echo
3353 cat confdefs.h
3354 echo
3356 test "$ac_signal" != 0 &&
3357 printf "%s\n" "$as_me: caught signal $ac_signal"
3358 printf "%s\n" "$as_me: exit $exit_status"
3359 } >&5
3360 rm -f core *.core core.conftest.* &&
3361 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3362 exit $exit_status
3364 for ac_signal in 1 2 13 15; do
3365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3366 done
3367 ac_signal=0
3369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3370 rm -f -r conftest* confdefs.h
3372 printf "%s\n" "/* confdefs.h */" > confdefs.h
3374 # Predefined preprocessor variables.
3376 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3378 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3380 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3382 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3384 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3386 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3389 # Let the site file select an alternate cache file if it wants to.
3390 # Prefer an explicitly selected file to automatically selected ones.
3391 if test -n "$CONFIG_SITE"; then
3392 ac_site_files="$CONFIG_SITE"
3393 elif test "x$prefix" != xNONE; then
3394 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3395 else
3396 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3399 for ac_site_file in $ac_site_files
3401 case $ac_site_file in #(
3402 */*) :
3403 ;; #(
3404 *) :
3405 ac_site_file=./$ac_site_file ;;
3406 esac
3407 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3409 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3410 sed 's/^/| /' "$ac_site_file" >&5
3411 . "$ac_site_file" \
3412 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error $? "failed to load site script $ac_site_file
3415 See \`config.log' for more details" "$LINENO" 5; }
3417 done
3419 if test -r "$cache_file"; then
3420 # Some versions of bash will fail to source /dev/null (special files
3421 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3422 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3424 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3425 case $cache_file in
3426 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3427 *) . "./$cache_file";;
3428 esac
3430 else
3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3432 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3433 >$cache_file
3436 # Test code for whether the C compiler supports C89 (global declarations)
3437 ac_c_conftest_c89_globals='
3438 /* Does the compiler advertise C89 conformance?
3439 Do not test the value of __STDC__, because some compilers set it to 0
3440 while being otherwise adequately conformant. */
3441 #if !defined __STDC__
3442 # error "Compiler does not advertise C89 conformance"
3443 #endif
3445 #include <stddef.h>
3446 #include <stdarg.h>
3447 struct stat;
3448 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3449 struct buf { int x; };
3450 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3451 static char *e (p, i)
3452 char **p;
3453 int i;
3455 return p[i];
3457 static char *f (char * (*g) (char **, int), char **p, ...)
3459 char *s;
3460 va_list v;
3461 va_start (v,p);
3462 s = g (p, va_arg (v,int));
3463 va_end (v);
3464 return s;
3467 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3468 function prototypes and stuff, but not \xHH hex character constants.
3469 These do not provoke an error unfortunately, instead are silently treated
3470 as an "x". The following induces an error, until -std is added to get
3471 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3472 array size at least. It is necessary to write \x00 == 0 to get something
3473 that is true only with -std. */
3474 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3476 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3477 inside strings and character constants. */
3478 #define FOO(x) '\''x'\''
3479 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3481 int test (int i, double x);
3482 struct s1 {int (*f) (int a);};
3483 struct s2 {int (*f) (double a);};
3484 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3485 int, int);'
3487 # Test code for whether the C compiler supports C89 (body of main).
3488 ac_c_conftest_c89_main='
3489 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3492 # Test code for whether the C compiler supports C99 (global declarations)
3493 ac_c_conftest_c99_globals='
3494 // Does the compiler advertise C99 conformance?
3495 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3496 # error "Compiler does not advertise C99 conformance"
3497 #endif
3499 #include <stdbool.h>
3500 extern int puts (const char *);
3501 extern int printf (const char *, ...);
3502 extern int dprintf (int, const char *, ...);
3503 extern void *malloc (size_t);
3505 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3506 // dprintf is used instead of fprintf to avoid needing to declare
3507 // FILE and stderr.
3508 #define debug(...) dprintf (2, __VA_ARGS__)
3509 #define showlist(...) puts (#__VA_ARGS__)
3510 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3511 static void
3512 test_varargs_macros (void)
3514 int x = 1234;
3515 int y = 5678;
3516 debug ("Flag");
3517 debug ("X = %d\n", x);
3518 showlist (The first, second, and third items.);
3519 report (x>y, "x is %d but y is %d", x, y);
3522 // Check long long types.
3523 #define BIG64 18446744073709551615ull
3524 #define BIG32 4294967295ul
3525 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3526 #if !BIG_OK
3527 #error "your preprocessor is broken"
3528 #endif
3529 #if BIG_OK
3530 #else
3531 #error "your preprocessor is broken"
3532 #endif
3533 static long long int bignum = -9223372036854775807LL;
3534 static unsigned long long int ubignum = BIG64;
3536 struct incomplete_array
3538 int datasize;
3539 double data[];
3542 struct named_init {
3543 int number;
3544 const wchar_t *name;
3545 double average;
3548 typedef const char *ccp;
3550 static inline int
3551 test_restrict (ccp restrict text)
3553 // See if C++-style comments work.
3554 // Iterate through items via the restricted pointer.
3555 // Also check for declarations in for loops.
3556 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3557 continue;
3558 return 0;
3561 // Check varargs and va_copy.
3562 static bool
3563 test_varargs (const char *format, ...)
3565 va_list args;
3566 va_start (args, format);
3567 va_list args_copy;
3568 va_copy (args_copy, args);
3570 const char *str = "";
3571 int number = 0;
3572 float fnumber = 0;
3574 while (*format)
3576 switch (*format++)
3578 case '\''s'\'': // string
3579 str = va_arg (args_copy, const char *);
3580 break;
3581 case '\''d'\'': // int
3582 number = va_arg (args_copy, int);
3583 break;
3584 case '\''f'\'': // float
3585 fnumber = va_arg (args_copy, double);
3586 break;
3587 default:
3588 break;
3591 va_end (args_copy);
3592 va_end (args);
3594 return *str && number && fnumber;
3598 # Test code for whether the C compiler supports C99 (body of main).
3599 ac_c_conftest_c99_main='
3600 // Check bool.
3601 _Bool success = false;
3602 success |= (argc != 0);
3604 // Check restrict.
3605 if (test_restrict ("String literal") == 0)
3606 success = true;
3607 char *restrict newvar = "Another string";
3609 // Check varargs.
3610 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3611 test_varargs_macros ();
3613 // Check flexible array members.
3614 struct incomplete_array *ia =
3615 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3616 ia->datasize = 10;
3617 for (int i = 0; i < ia->datasize; ++i)
3618 ia->data[i] = i * 1.234;
3620 // Check named initializers.
3621 struct named_init ni = {
3622 .number = 34,
3623 .name = L"Test wide string",
3624 .average = 543.34343,
3627 ni.number = 58;
3629 int dynamic_array[ni.number];
3630 dynamic_array[0] = argv[0][0];
3631 dynamic_array[ni.number - 1] = 543;
3633 // work around unused variable warnings
3634 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3635 || dynamic_array[ni.number - 1] != 543);
3638 # Test code for whether the C compiler supports C11 (global declarations)
3639 ac_c_conftest_c11_globals='
3640 // Does the compiler advertise C11 conformance?
3641 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3642 # error "Compiler does not advertise C11 conformance"
3643 #endif
3645 // Check _Alignas.
3646 char _Alignas (double) aligned_as_double;
3647 char _Alignas (0) no_special_alignment;
3648 extern char aligned_as_int;
3649 char _Alignas (0) _Alignas (int) aligned_as_int;
3651 // Check _Alignof.
3652 enum
3654 int_alignment = _Alignof (int),
3655 int_array_alignment = _Alignof (int[100]),
3656 char_alignment = _Alignof (char)
3658 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3660 // Check _Noreturn.
3661 int _Noreturn does_not_return (void) { for (;;) continue; }
3663 // Check _Static_assert.
3664 struct test_static_assert
3666 int x;
3667 _Static_assert (sizeof (int) <= sizeof (long int),
3668 "_Static_assert does not work in struct");
3669 long int y;
3672 // Check UTF-8 literals.
3673 #define u8 syntax error!
3674 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3676 // Check duplicate typedefs.
3677 typedef long *long_ptr;
3678 typedef long int *long_ptr;
3679 typedef long_ptr long_ptr;
3681 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3682 struct anonymous
3684 union {
3685 struct { int i; int j; };
3686 struct { int k; long int l; } w;
3688 int m;
3689 } v1;
3692 # Test code for whether the C compiler supports C11 (body of main).
3693 ac_c_conftest_c11_main='
3694 _Static_assert ((offsetof (struct anonymous, i)
3695 == offsetof (struct anonymous, w.k)),
3696 "Anonymous union alignment botch");
3697 v1.i = 2;
3698 v1.w.k = 5;
3699 ok |= v1.i != 5;
3702 # Test code for whether the C compiler supports C11 (complete).
3703 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3704 ${ac_c_conftest_c99_globals}
3705 ${ac_c_conftest_c11_globals}
3708 main (int argc, char **argv)
3710 int ok = 0;
3711 ${ac_c_conftest_c89_main}
3712 ${ac_c_conftest_c99_main}
3713 ${ac_c_conftest_c11_main}
3714 return ok;
3718 # Test code for whether the C compiler supports C99 (complete).
3719 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3720 ${ac_c_conftest_c99_globals}
3723 main (int argc, char **argv)
3725 int ok = 0;
3726 ${ac_c_conftest_c89_main}
3727 ${ac_c_conftest_c99_main}
3728 return ok;
3732 # Test code for whether the C compiler supports C89 (complete).
3733 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3736 main (int argc, char **argv)
3738 int ok = 0;
3739 ${ac_c_conftest_c89_main}
3740 return ok;
3744 # Test code for whether the C++ compiler supports C++98 (global declarations)
3745 ac_cxx_conftest_cxx98_globals='
3746 // Does the compiler advertise C++98 conformance?
3747 #if !defined __cplusplus || __cplusplus < 199711L
3748 # error "Compiler does not advertise C++98 conformance"
3749 #endif
3751 // These inclusions are to reject old compilers that
3752 // lack the unsuffixed header files.
3753 #include <cstdlib>
3754 #include <exception>
3756 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3757 extern void assert (int);
3758 namespace std {
3759 extern int strcmp (const char *, const char *);
3762 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3763 using std::exception;
3764 using std::strcmp;
3766 namespace {
3768 void test_exception_syntax()
3770 try {
3771 throw "test";
3772 } catch (const char *s) {
3773 // Extra parentheses suppress a warning when building autoconf itself,
3774 // due to lint rules shared with more typical C programs.
3775 assert (!(strcmp) (s, "test"));
3779 template <typename T> struct test_template
3781 T const val;
3782 explicit test_template(T t) : val(t) {}
3783 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3786 } // anonymous namespace
3789 # Test code for whether the C++ compiler supports C++98 (body of main)
3790 ac_cxx_conftest_cxx98_main='
3791 assert (argc);
3792 assert (! argv[0]);
3794 test_exception_syntax ();
3795 test_template<double> tt (2.0);
3796 assert (tt.add (4) == 6.0);
3797 assert (true && !false);
3801 # Test code for whether the C++ compiler supports C++11 (global declarations)
3802 ac_cxx_conftest_cxx11_globals='
3803 // Does the compiler advertise C++ 2011 conformance?
3804 #if !defined __cplusplus || __cplusplus < 201103L
3805 # error "Compiler does not advertise C++11 conformance"
3806 #endif
3808 namespace cxx11test
3810 constexpr int get_val() { return 20; }
3812 struct testinit
3814 int i;
3815 double d;
3818 class delegate
3820 public:
3821 delegate(int n) : n(n) {}
3822 delegate(): delegate(2354) {}
3824 virtual int getval() { return this->n; };
3825 protected:
3826 int n;
3829 class overridden : public delegate
3831 public:
3832 overridden(int n): delegate(n) {}
3833 virtual int getval() override final { return this->n * 2; }
3836 class nocopy
3838 public:
3839 nocopy(int i): i(i) {}
3840 nocopy() = default;
3841 nocopy(const nocopy&) = delete;
3842 nocopy & operator=(const nocopy&) = delete;
3843 private:
3844 int i;
3847 // for testing lambda expressions
3848 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3850 return f(v);
3853 // for testing variadic templates and trailing return types
3854 template <typename V> auto sum(V first) -> V
3856 return first;
3858 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3860 return first + sum(rest...);
3865 # Test code for whether the C++ compiler supports C++11 (body of main)
3866 ac_cxx_conftest_cxx11_main='
3868 // Test auto and decltype
3869 auto a1 = 6538;
3870 auto a2 = 48573953.4;
3871 auto a3 = "String literal";
3873 int total = 0;
3874 for (auto i = a3; *i; ++i) { total += *i; }
3876 decltype(a2) a4 = 34895.034;
3879 // Test constexpr
3880 short sa[cxx11test::get_val()] = { 0 };
3883 // Test initializer lists
3884 cxx11test::testinit il = { 4323, 435234.23544 };
3887 // Test range-based for
3888 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3889 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3890 for (auto &x : array) { x += 23; }
3893 // Test lambda expressions
3894 using cxx11test::eval;
3895 assert (eval ([](int x) { return x*2; }, 21) == 42);
3896 double d = 2.0;
3897 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3898 assert (d == 5.0);
3899 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3900 assert (d == 5.0);
3903 // Test use of variadic templates
3904 using cxx11test::sum;
3905 auto a = sum(1);
3906 auto b = sum(1, 2);
3907 auto c = sum(1.0, 2.0, 3.0);
3910 // Test constructor delegation
3911 cxx11test::delegate d1;
3912 cxx11test::delegate d2();
3913 cxx11test::delegate d3(45);
3916 // Test override and final
3917 cxx11test::overridden o1(55464);
3920 // Test nullptr
3921 char *c = nullptr;
3924 // Test template brackets
3925 test_template<::test_template<int>> v(test_template<int>(12));
3928 // Unicode literals
3929 char const *utf8 = u8"UTF-8 string \u2500";
3930 char16_t const *utf16 = u"UTF-8 string \u2500";
3931 char32_t const *utf32 = U"UTF-32 string \u2500";
3935 # Test code for whether the C compiler supports C++11 (complete).
3936 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3937 ${ac_cxx_conftest_cxx11_globals}
3940 main (int argc, char **argv)
3942 int ok = 0;
3943 ${ac_cxx_conftest_cxx98_main}
3944 ${ac_cxx_conftest_cxx11_main}
3945 return ok;
3949 # Test code for whether the C compiler supports C++98 (complete).
3950 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3952 main (int argc, char **argv)
3954 int ok = 0;
3955 ${ac_cxx_conftest_cxx98_main}
3956 return ok;
3960 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3961 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3962 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3963 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3964 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3965 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3966 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3967 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3968 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3970 # Auxiliary files required by this configure script.
3971 ac_aux_files="config.guess config.sub"
3973 # Locations in which to look for auxiliary files.
3974 ac_aux_dir_candidates="${srcdir}/tools"
3976 # Search for a directory containing all of the required auxiliary files,
3977 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3978 # If we don't find one directory that contains all the files we need,
3979 # we report the set of missing files from the *first* directory in
3980 # $ac_aux_dir_candidates and give up.
3981 ac_missing_aux_files=""
3982 ac_first_candidate=:
3983 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3985 as_found=false
3986 for as_dir in $ac_aux_dir_candidates
3988 IFS=$as_save_IFS
3989 case $as_dir in #(((
3990 '') as_dir=./ ;;
3991 */) ;;
3992 *) as_dir=$as_dir/ ;;
3993 esac
3994 as_found=:
3996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3997 ac_aux_dir_found=yes
3998 ac_install_sh=
3999 for ac_aux in $ac_aux_files
4001 # As a special case, if "install-sh" is required, that requirement
4002 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
4003 # and $ac_install_sh is set appropriately for whichever one is found.
4004 if test x"$ac_aux" = x"install-sh"
4005 then
4006 if test -f "${as_dir}install-sh"; then
4007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
4008 ac_install_sh="${as_dir}install-sh -c"
4009 elif test -f "${as_dir}install.sh"; then
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
4011 ac_install_sh="${as_dir}install.sh -c"
4012 elif test -f "${as_dir}shtool"; then
4013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
4014 ac_install_sh="${as_dir}shtool install -c"
4015 else
4016 ac_aux_dir_found=no
4017 if $ac_first_candidate; then
4018 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
4019 else
4020 break
4023 else
4024 if test -f "${as_dir}${ac_aux}"; then
4025 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4026 else
4027 ac_aux_dir_found=no
4028 if $ac_first_candidate; then
4029 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4030 else
4031 break
4035 done
4036 if test "$ac_aux_dir_found" = yes; then
4037 ac_aux_dir="$as_dir"
4038 break
4040 ac_first_candidate=false
4042 as_found=false
4043 done
4044 IFS=$as_save_IFS
4045 if $as_found
4046 then :
4048 else $as_nop
4049 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4053 # These three variables are undocumented and unsupported,
4054 # and are intended to be withdrawn in a future Autoconf release.
4055 # They can cause serious problems if a builder's source tree is in a directory
4056 # whose full name contains unusual characters.
4057 if test -f "${ac_aux_dir}config.guess"; then
4058 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4060 if test -f "${ac_aux_dir}config.sub"; then
4061 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4063 if test -f "$ac_aux_dir/configure"; then
4064 ac_configure="$SHELL ${ac_aux_dir}configure"
4067 # Check that the precious variables saved in the cache have kept the same
4068 # value.
4069 ac_cache_corrupted=false
4070 for ac_var in $ac_precious_vars; do
4071 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4072 eval ac_new_set=\$ac_env_${ac_var}_set
4073 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4074 eval ac_new_val=\$ac_env_${ac_var}_value
4075 case $ac_old_set,$ac_new_set in
4076 set,)
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4078 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4079 ac_cache_corrupted=: ;;
4080 ,set)
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4082 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4083 ac_cache_corrupted=: ;;
4084 ,);;
4086 if test "x$ac_old_val" != "x$ac_new_val"; then
4087 # differences in whitespace do not lead to failure.
4088 ac_old_val_w=`echo x $ac_old_val`
4089 ac_new_val_w=`echo x $ac_new_val`
4090 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4092 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4093 ac_cache_corrupted=:
4094 else
4095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4096 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4097 eval $ac_var=\$ac_old_val
4099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4100 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4102 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4103 fi;;
4104 esac
4105 # Pass precious variables to config.status.
4106 if test "$ac_new_set" = set; then
4107 case $ac_new_val in
4108 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4109 *) ac_arg=$ac_var=$ac_new_val ;;
4110 esac
4111 case " $ac_configure_args " in
4112 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4113 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4114 esac
4116 done
4117 if $ac_cache_corrupted; then
4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4121 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4122 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4123 and start over" "$LINENO" 5
4125 ## -------------------- ##
4126 ## Main body of script. ##
4127 ## -------------------- ##
4129 ac_ext=c
4130 ac_cpp='$CPP $CPPFLAGS'
4131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4137 ac_config_headers="$ac_config_headers include/config.h"
4141 libwine_version="1.0"
4144 # Check whether --enable-archs was given.
4145 if test ${enable_archs+y}
4146 then :
4147 enableval=$enable_archs;
4150 # Check whether --enable-win16 was given.
4151 if test ${enable_win16+y}
4152 then :
4153 enableval=$enable_win16;
4156 # Check whether --enable-win64 was given.
4157 if test ${enable_win64+y}
4158 then :
4159 enableval=$enable_win64;
4162 # Check whether --enable-tests was given.
4163 if test ${enable_tests+y}
4164 then :
4165 enableval=$enable_tests;
4168 # Check whether --enable-build-id was given.
4169 if test ${enable_build_id+y}
4170 then :
4171 enableval=$enable_build_id;
4174 # Check whether --enable-maintainer-mode was given.
4175 if test ${enable_maintainer_mode+y}
4176 then :
4177 enableval=$enable_maintainer_mode;
4180 # Check whether --enable-silent-rules was given.
4181 if test ${enable_silent_rules+y}
4182 then :
4183 enableval=$enable_silent_rules;
4186 # Check whether --enable-werror was given.
4187 if test ${enable_werror+y}
4188 then :
4189 enableval=$enable_werror;
4194 # Check whether --with-alsa was given.
4195 if test ${with_alsa+y}
4196 then :
4197 withval=$with_alsa;
4201 # Check whether --with-capi was given.
4202 if test ${with_capi+y}
4203 then :
4204 withval=$with_capi;
4208 # Check whether --with-coreaudio was given.
4209 if test ${with_coreaudio+y}
4210 then :
4211 withval=$with_coreaudio;
4215 # Check whether --with-cups was given.
4216 if test ${with_cups+y}
4217 then :
4218 withval=$with_cups;
4222 # Check whether --with-dbus was given.
4223 if test ${with_dbus+y}
4224 then :
4225 withval=$with_dbus;
4229 # Check whether --with-float-abi was given.
4230 if test ${with_float_abi+y}
4231 then :
4232 withval=$with_float_abi;
4236 # Check whether --with-fontconfig was given.
4237 if test ${with_fontconfig+y}
4238 then :
4239 withval=$with_fontconfig;
4243 # Check whether --with-freetype was given.
4244 if test ${with_freetype+y}
4245 then :
4246 withval=$with_freetype;
4250 # Check whether --with-gettext was given.
4251 if test ${with_gettext+y}
4252 then :
4253 withval=$with_gettext;
4257 # Check whether --with-gettextpo was given.
4258 if test ${with_gettextpo+y}
4259 then :
4260 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4264 # Check whether --with-gphoto was given.
4265 if test ${with_gphoto+y}
4266 then :
4267 withval=$with_gphoto;
4271 # Check whether --with-gnutls was given.
4272 if test ${with_gnutls+y}
4273 then :
4274 withval=$with_gnutls;
4278 # Check whether --with-gssapi was given.
4279 if test ${with_gssapi+y}
4280 then :
4281 withval=$with_gssapi;
4285 # Check whether --with-gstreamer was given.
4286 if test ${with_gstreamer+y}
4287 then :
4288 withval=$with_gstreamer;
4292 # Check whether --with-inotify was given.
4293 if test ${with_inotify+y}
4294 then :
4295 withval=$with_inotify;
4299 # Check whether --with-krb5 was given.
4300 if test ${with_krb5+y}
4301 then :
4302 withval=$with_krb5;
4306 # Check whether --with-mingw was given.
4307 if test ${with_mingw+y}
4308 then :
4309 withval=$with_mingw;
4313 # Check whether --with-netapi was given.
4314 if test ${with_netapi+y}
4315 then :
4316 withval=$with_netapi;
4320 # Check whether --with-opencl was given.
4321 if test ${with_opencl+y}
4322 then :
4323 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4327 # Check whether --with-opengl was given.
4328 if test ${with_opengl+y}
4329 then :
4330 withval=$with_opengl;
4334 # Check whether --with-osmesa was given.
4335 if test ${with_osmesa+y}
4336 then :
4337 withval=$with_osmesa;
4341 # Check whether --with-oss was given.
4342 if test ${with_oss+y}
4343 then :
4344 withval=$with_oss;
4348 # Check whether --with-pcap was given.
4349 if test ${with_pcap+y}
4350 then :
4351 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4355 # Check whether --with-pcsclite was given.
4356 if test ${with_pcsclite+y}
4357 then :
4358 withval=$with_pcsclite;
4362 # Check whether --with-pthread was given.
4363 if test ${with_pthread+y}
4364 then :
4365 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4369 # Check whether --with-pulse was given.
4370 if test ${with_pulse+y}
4371 then :
4372 withval=$with_pulse;
4376 # Check whether --with-sane was given.
4377 if test ${with_sane+y}
4378 then :
4379 withval=$with_sane;
4383 # Check whether --with-sdl was given.
4384 if test ${with_sdl+y}
4385 then :
4386 withval=$with_sdl;
4390 # Check whether --with-udev was given.
4391 if test ${with_udev+y}
4392 then :
4393 withval=$with_udev;
4397 # Check whether --with-unwind was given.
4398 if test ${with_unwind+y}
4399 then :
4400 withval=$with_unwind;
4404 # Check whether --with-usb was given.
4405 if test ${with_usb+y}
4406 then :
4407 withval=$with_usb;
4411 # Check whether --with-v4l2 was given.
4412 if test ${with_v4l2+y}
4413 then :
4414 withval=$with_v4l2;
4418 # Check whether --with-vulkan was given.
4419 if test ${with_vulkan+y}
4420 then :
4421 withval=$with_vulkan;
4425 # Check whether --with-wayland was given.
4426 if test ${with_wayland+y}
4427 then :
4428 withval=$with_wayland;
4432 # Check whether --with-xcomposite was given.
4433 if test ${with_xcomposite+y}
4434 then :
4435 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4439 # Check whether --with-xcursor was given.
4440 if test ${with_xcursor+y}
4441 then :
4442 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4446 # Check whether --with-xfixes was given.
4447 if test ${with_xfixes+y}
4448 then :
4449 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4453 # Check whether --with-xinerama was given.
4454 if test ${with_xinerama+y}
4455 then :
4456 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4460 # Check whether --with-xinput was given.
4461 if test ${with_xinput+y}
4462 then :
4463 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4467 # Check whether --with-xinput2 was given.
4468 if test ${with_xinput2+y}
4469 then :
4470 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4474 # Check whether --with-xrandr was given.
4475 if test ${with_xrandr+y}
4476 then :
4477 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4481 # Check whether --with-xrender was given.
4482 if test ${with_xrender+y}
4483 then :
4484 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4488 # Check whether --with-xshape was given.
4489 if test ${with_xshape+y}
4490 then :
4491 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4495 # Check whether --with-xshm was given.
4496 if test ${with_xshm+y}
4497 then :
4498 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4502 # Check whether --with-xxf86vm was given.
4503 if test ${with_xxf86vm+y}
4504 then :
4505 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
4510 # Check whether --with-system-dllpath was given.
4511 if test ${with_system_dllpath+y}
4512 then :
4513 withval=$with_system_dllpath; system_dllpath=$withval
4518 # Check whether --with-wine-tools was given.
4519 if test ${with_wine_tools+y}
4520 then :
4521 withval=$with_wine_tools;
4525 # Check whether --with-wine64 was given.
4526 if test ${with_wine64+y}
4527 then :
4528 withval=$with_wine64;
4535 # Make sure we can run config.sub.
4536 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4537 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4540 printf %s "checking build system type... " >&6; }
4541 if test ${ac_cv_build+y}
4542 then :
4543 printf %s "(cached) " >&6
4544 else $as_nop
4545 ac_build_alias=$build_alias
4546 test "x$ac_build_alias" = x &&
4547 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4548 test "x$ac_build_alias" = x &&
4549 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4550 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4551 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4555 printf "%s\n" "$ac_cv_build" >&6; }
4556 case $ac_cv_build in
4557 *-*-*) ;;
4558 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4559 esac
4560 build=$ac_cv_build
4561 ac_save_IFS=$IFS; IFS='-'
4562 set x $ac_cv_build
4563 shift
4564 build_cpu=$1
4565 build_vendor=$2
4566 shift; shift
4567 # Remember, the first character of IFS is used to create $*,
4568 # except with old shells:
4569 build_os=$*
4570 IFS=$ac_save_IFS
4571 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4575 printf %s "checking host system type... " >&6; }
4576 if test ${ac_cv_host+y}
4577 then :
4578 printf %s "(cached) " >&6
4579 else $as_nop
4580 if test "x$host_alias" = x; then
4581 ac_cv_host=$ac_cv_build
4582 else
4583 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4584 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4589 printf "%s\n" "$ac_cv_host" >&6; }
4590 case $ac_cv_host in
4591 *-*-*) ;;
4592 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4593 esac
4594 host=$ac_cv_host
4595 ac_save_IFS=$IFS; IFS='-'
4596 set x $ac_cv_host
4597 shift
4598 host_cpu=$1
4599 host_vendor=$2
4600 shift; shift
4601 # Remember, the first character of IFS is used to create $*,
4602 # except with old shells:
4603 host_os=$*
4604 IFS=$ac_save_IFS
4605 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4609 dlldir=\${libdir}/wine
4611 fontdir=\${datadir}/wine/fonts
4613 nlsdir=\${datadir}/wine/nls
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4619 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4620 set x ${MAKE-make}
4621 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4622 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4623 then :
4624 printf %s "(cached) " >&6
4625 else $as_nop
4626 cat >conftest.make <<\_ACEOF
4627 SHELL = /bin/sh
4628 all:
4629 @echo '@@@%%%=$(MAKE)=@@@%%%'
4630 _ACEOF
4631 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4632 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4633 *@@@%%%=?*=@@@%%%*)
4634 eval ac_cv_prog_make_${ac_make}_set=yes;;
4636 eval ac_cv_prog_make_${ac_make}_set=no;;
4637 esac
4638 rm -f conftest.make
4640 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4642 printf "%s\n" "yes" >&6; }
4643 SET_MAKE=
4644 else
4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 printf "%s\n" "no" >&6; }
4647 SET_MAKE="MAKE=${MAKE-make}"
4659 ac_ext=c
4660 ac_cpp='$CPP $CPPFLAGS'
4661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4664 if test -n "$ac_tool_prefix"; then
4665 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4666 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 printf %s "checking for $ac_word... " >&6; }
4669 if test ${ac_cv_prog_CC+y}
4670 then :
4671 printf %s "(cached) " >&6
4672 else $as_nop
4673 if test -n "$CC"; then
4674 ac_cv_prog_CC="$CC" # Let the user override the test.
4675 else
4676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677 for as_dir in $PATH
4679 IFS=$as_save_IFS
4680 case $as_dir in #(((
4681 '') as_dir=./ ;;
4682 */) ;;
4683 *) as_dir=$as_dir/ ;;
4684 esac
4685 for ac_exec_ext in '' $ac_executable_extensions; do
4686 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4688 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4689 break 2
4691 done
4692 done
4693 IFS=$as_save_IFS
4697 CC=$ac_cv_prog_CC
4698 if test -n "$CC"; then
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4700 printf "%s\n" "$CC" >&6; }
4701 else
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 printf "%s\n" "no" >&6; }
4708 if test -z "$ac_cv_prog_CC"; then
4709 ac_ct_CC=$CC
4710 # Extract the first word of "gcc", so it can be a program name with args.
4711 set dummy gcc; ac_word=$2
4712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 printf %s "checking for $ac_word... " >&6; }
4714 if test ${ac_cv_prog_ac_ct_CC+y}
4715 then :
4716 printf %s "(cached) " >&6
4717 else $as_nop
4718 if test -n "$ac_ct_CC"; then
4719 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 case $as_dir in #(((
4726 '') as_dir=./ ;;
4727 */) ;;
4728 *) as_dir=$as_dir/ ;;
4729 esac
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4732 ac_cv_prog_ac_ct_CC="gcc"
4733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4734 break 2
4736 done
4737 done
4738 IFS=$as_save_IFS
4742 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4743 if test -n "$ac_ct_CC"; then
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4745 printf "%s\n" "$ac_ct_CC" >&6; }
4746 else
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 printf "%s\n" "no" >&6; }
4751 if test "x$ac_ct_CC" = x; then
4752 CC=""
4753 else
4754 case $cross_compiling:$ac_tool_warned in
4755 yes:)
4756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4758 ac_tool_warned=yes ;;
4759 esac
4760 CC=$ac_ct_CC
4762 else
4763 CC="$ac_cv_prog_CC"
4766 if test -z "$CC"; then
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4769 set dummy ${ac_tool_prefix}cc; ac_word=$2
4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 printf %s "checking for $ac_word... " >&6; }
4772 if test ${ac_cv_prog_CC+y}
4773 then :
4774 printf %s "(cached) " >&6
4775 else $as_nop
4776 if test -n "$CC"; then
4777 ac_cv_prog_CC="$CC" # Let the user override the test.
4778 else
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH
4782 IFS=$as_save_IFS
4783 case $as_dir in #(((
4784 '') as_dir=./ ;;
4785 */) ;;
4786 *) as_dir=$as_dir/ ;;
4787 esac
4788 for ac_exec_ext in '' $ac_executable_extensions; do
4789 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4790 ac_cv_prog_CC="${ac_tool_prefix}cc"
4791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4792 break 2
4794 done
4795 done
4796 IFS=$as_save_IFS
4800 CC=$ac_cv_prog_CC
4801 if test -n "$CC"; then
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4803 printf "%s\n" "$CC" >&6; }
4804 else
4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 printf "%s\n" "no" >&6; }
4812 if test -z "$CC"; then
4813 # Extract the first word of "cc", so it can be a program name with args.
4814 set dummy cc; ac_word=$2
4815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 printf %s "checking for $ac_word... " >&6; }
4817 if test ${ac_cv_prog_CC+y}
4818 then :
4819 printf %s "(cached) " >&6
4820 else $as_nop
4821 if test -n "$CC"; then
4822 ac_cv_prog_CC="$CC" # Let the user override the test.
4823 else
4824 ac_prog_rejected=no
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4828 IFS=$as_save_IFS
4829 case $as_dir in #(((
4830 '') as_dir=./ ;;
4831 */) ;;
4832 *) as_dir=$as_dir/ ;;
4833 esac
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4836 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4837 ac_prog_rejected=yes
4838 continue
4840 ac_cv_prog_CC="cc"
4841 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4842 break 2
4844 done
4845 done
4846 IFS=$as_save_IFS
4848 if test $ac_prog_rejected = yes; then
4849 # We found a bogon in the path, so make sure we never use it.
4850 set dummy $ac_cv_prog_CC
4851 shift
4852 if test $# != 0; then
4853 # We chose a different compiler from the bogus one.
4854 # However, it has the same basename, so the bogon will be chosen
4855 # first if we set CC to just the basename; use the full file name.
4856 shift
4857 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4862 CC=$ac_cv_prog_CC
4863 if test -n "$CC"; then
4864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4865 printf "%s\n" "$CC" >&6; }
4866 else
4867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 printf "%s\n" "no" >&6; }
4873 if test -z "$CC"; then
4874 if test -n "$ac_tool_prefix"; then
4875 for ac_prog in cl.exe
4877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 printf %s "checking for $ac_word... " >&6; }
4881 if test ${ac_cv_prog_CC+y}
4882 then :
4883 printf %s "(cached) " >&6
4884 else $as_nop
4885 if test -n "$CC"; then
4886 ac_cv_prog_CC="$CC" # Let the user override the test.
4887 else
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889 for as_dir in $PATH
4891 IFS=$as_save_IFS
4892 case $as_dir in #(((
4893 '') as_dir=./ ;;
4894 */) ;;
4895 *) as_dir=$as_dir/ ;;
4896 esac
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4905 IFS=$as_save_IFS
4909 CC=$ac_cv_prog_CC
4910 if test -n "$CC"; then
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4912 printf "%s\n" "$CC" >&6; }
4913 else
4914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 printf "%s\n" "no" >&6; }
4919 test -n "$CC" && break
4920 done
4922 if test -z "$CC"; then
4923 ac_ct_CC=$CC
4924 for ac_prog in cl.exe
4926 # Extract the first word of "$ac_prog", so it can be a program name with args.
4927 set dummy $ac_prog; ac_word=$2
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 printf %s "checking for $ac_word... " >&6; }
4930 if test ${ac_cv_prog_ac_ct_CC+y}
4931 then :
4932 printf %s "(cached) " >&6
4933 else $as_nop
4934 if test -n "$ac_ct_CC"; then
4935 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4936 else
4937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938 for as_dir in $PATH
4940 IFS=$as_save_IFS
4941 case $as_dir in #(((
4942 '') as_dir=./ ;;
4943 */) ;;
4944 *) as_dir=$as_dir/ ;;
4945 esac
4946 for ac_exec_ext in '' $ac_executable_extensions; do
4947 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4948 ac_cv_prog_ac_ct_CC="$ac_prog"
4949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4950 break 2
4952 done
4953 done
4954 IFS=$as_save_IFS
4958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4959 if test -n "$ac_ct_CC"; then
4960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4961 printf "%s\n" "$ac_ct_CC" >&6; }
4962 else
4963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 printf "%s\n" "no" >&6; }
4968 test -n "$ac_ct_CC" && break
4969 done
4971 if test "x$ac_ct_CC" = x; then
4972 CC=""
4973 else
4974 case $cross_compiling:$ac_tool_warned in
4975 yes:)
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4977 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4978 ac_tool_warned=yes ;;
4979 esac
4980 CC=$ac_ct_CC
4985 if test -z "$CC"; then
4986 if test -n "$ac_tool_prefix"; then
4987 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4988 set dummy ${ac_tool_prefix}clang; ac_word=$2
4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 printf %s "checking for $ac_word... " >&6; }
4991 if test ${ac_cv_prog_CC+y}
4992 then :
4993 printf %s "(cached) " >&6
4994 else $as_nop
4995 if test -n "$CC"; then
4996 ac_cv_prog_CC="$CC" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5001 IFS=$as_save_IFS
5002 case $as_dir in #(((
5003 '') as_dir=./ ;;
5004 */) ;;
5005 *) as_dir=$as_dir/ ;;
5006 esac
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_CC="${ac_tool_prefix}clang"
5010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5011 break 2
5013 done
5014 done
5015 IFS=$as_save_IFS
5019 CC=$ac_cv_prog_CC
5020 if test -n "$CC"; then
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5022 printf "%s\n" "$CC" >&6; }
5023 else
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 printf "%s\n" "no" >&6; }
5030 if test -z "$ac_cv_prog_CC"; then
5031 ac_ct_CC=$CC
5032 # Extract the first word of "clang", so it can be a program name with args.
5033 set dummy clang; ac_word=$2
5034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035 printf %s "checking for $ac_word... " >&6; }
5036 if test ${ac_cv_prog_ac_ct_CC+y}
5037 then :
5038 printf %s "(cached) " >&6
5039 else $as_nop
5040 if test -n "$ac_ct_CC"; then
5041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5042 else
5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 for as_dir in $PATH
5046 IFS=$as_save_IFS
5047 case $as_dir in #(((
5048 '') as_dir=./ ;;
5049 */) ;;
5050 *) as_dir=$as_dir/ ;;
5051 esac
5052 for ac_exec_ext in '' $ac_executable_extensions; do
5053 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_ac_ct_CC="clang"
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5056 break 2
5058 done
5059 done
5060 IFS=$as_save_IFS
5064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5065 if test -n "$ac_ct_CC"; then
5066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5067 printf "%s\n" "$ac_ct_CC" >&6; }
5068 else
5069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 printf "%s\n" "no" >&6; }
5073 if test "x$ac_ct_CC" = x; then
5074 CC=""
5075 else
5076 case $cross_compiling:$ac_tool_warned in
5077 yes:)
5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5079 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5080 ac_tool_warned=yes ;;
5081 esac
5082 CC=$ac_ct_CC
5084 else
5085 CC="$ac_cv_prog_CC"
5091 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5092 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5093 as_fn_error $? "no acceptable C compiler found in \$PATH
5094 See \`config.log' for more details" "$LINENO" 5; }
5096 # Provide some information about the compiler.
5097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5098 set X $ac_compile
5099 ac_compiler=$2
5100 for ac_option in --version -v -V -qversion -version; do
5101 { { ac_try="$ac_compiler $ac_option >&5"
5102 case "(($ac_try" in
5103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5104 *) ac_try_echo=$ac_try;;
5105 esac
5106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5107 printf "%s\n" "$ac_try_echo"; } >&5
5108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5109 ac_status=$?
5110 if test -s conftest.err; then
5111 sed '10a\
5112 ... rest of stderr output deleted ...
5113 10q' conftest.err >conftest.er1
5114 cat conftest.er1 >&5
5116 rm -f conftest.er1 conftest.err
5117 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5118 test $ac_status = 0; }
5119 done
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5125 main (void)
5129 return 0;
5131 _ACEOF
5132 ac_clean_files_save=$ac_clean_files
5133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5134 # Try to create an executable without -o first, disregard a.out.
5135 # It will help us diagnose broken compilers, and finding out an intuition
5136 # of exeext.
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5138 printf %s "checking whether the C compiler works... " >&6; }
5139 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5141 # The possible output files:
5142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5144 ac_rmfiles=
5145 for ac_file in $ac_files
5147 case $ac_file in
5148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5150 esac
5151 done
5152 rm -f $ac_rmfiles
5154 if { { ac_try="$ac_link_default"
5155 case "(($ac_try" in
5156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5157 *) ac_try_echo=$ac_try;;
5158 esac
5159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5160 printf "%s\n" "$ac_try_echo"; } >&5
5161 (eval "$ac_link_default") 2>&5
5162 ac_status=$?
5163 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5164 test $ac_status = 0; }
5165 then :
5166 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5167 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5168 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5169 # so that the user can short-circuit this test for compilers unknown to
5170 # Autoconf.
5171 for ac_file in $ac_files ''
5173 test -f "$ac_file" || continue
5174 case $ac_file in
5175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5177 [ab].out )
5178 # We found the default executable, but exeext='' is most
5179 # certainly right.
5180 break;;
5181 *.* )
5182 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5183 then :; else
5184 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5186 # We set ac_cv_exeext here because the later test for it is not
5187 # safe: cross compilers may not add the suffix if given an `-o'
5188 # argument, so we may need to know it at that point already.
5189 # Even if this section looks crufty: it has the advantage of
5190 # actually working.
5191 break;;
5193 break;;
5194 esac
5195 done
5196 test "$ac_cv_exeext" = no && ac_cv_exeext=
5198 else $as_nop
5199 ac_file=''
5201 if test -z "$ac_file"
5202 then :
5203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 printf "%s\n" "no" >&6; }
5205 printf "%s\n" "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.$ac_ext >&5
5208 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5209 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5210 as_fn_error 77 "C compiler cannot create executables
5211 See \`config.log' for more details" "$LINENO" 5; }
5212 else $as_nop
5213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5214 printf "%s\n" "yes" >&6; }
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5217 printf %s "checking for C compiler default output file name... " >&6; }
5218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5219 printf "%s\n" "$ac_file" >&6; }
5220 ac_exeext=$ac_cv_exeext
5222 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5223 ac_clean_files=$ac_clean_files_save
5224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5225 printf %s "checking for suffix of executables... " >&6; }
5226 if { { ac_try="$ac_link"
5227 case "(($ac_try" in
5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5229 *) ac_try_echo=$ac_try;;
5230 esac
5231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5232 printf "%s\n" "$ac_try_echo"; } >&5
5233 (eval "$ac_link") 2>&5
5234 ac_status=$?
5235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5236 test $ac_status = 0; }
5237 then :
5238 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5239 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5240 # work properly (i.e., refer to `conftest.exe'), while it won't with
5241 # `rm'.
5242 for ac_file in conftest.exe conftest conftest.*; do
5243 test -f "$ac_file" || continue
5244 case $ac_file in
5245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5246 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5247 break;;
5248 * ) break;;
5249 esac
5250 done
5251 else $as_nop
5252 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5253 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5254 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5255 See \`config.log' for more details" "$LINENO" 5; }
5257 rm -f conftest conftest$ac_cv_exeext
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5259 printf "%s\n" "$ac_cv_exeext" >&6; }
5261 rm -f conftest.$ac_ext
5262 EXEEXT=$ac_cv_exeext
5263 ac_exeext=$EXEEXT
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5266 #include <stdio.h>
5268 main (void)
5270 FILE *f = fopen ("conftest.out", "w");
5271 return ferror (f) || fclose (f) != 0;
5274 return 0;
5276 _ACEOF
5277 ac_clean_files="$ac_clean_files conftest.out"
5278 # Check that the compiler produces executables we can run. If not, either
5279 # the compiler is broken, or we cross compile.
5280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5281 printf %s "checking whether we are cross compiling... " >&6; }
5282 if test "$cross_compiling" != yes; then
5283 { { ac_try="$ac_link"
5284 case "(($ac_try" in
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5287 esac
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 printf "%s\n" "$ac_try_echo"; } >&5
5290 (eval "$ac_link") 2>&5
5291 ac_status=$?
5292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }
5294 if { ac_try='./conftest$ac_cv_exeext'
5295 { { case "(($ac_try" in
5296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5298 esac
5299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5300 printf "%s\n" "$ac_try_echo"; } >&5
5301 (eval "$ac_try") 2>&5
5302 ac_status=$?
5303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5304 test $ac_status = 0; }; }; then
5305 cross_compiling=no
5306 else
5307 if test "$cross_compiling" = maybe; then
5308 cross_compiling=yes
5309 else
5310 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5311 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5312 as_fn_error 77 "cannot run C compiled programs.
5313 If you meant to cross compile, use \`--host'.
5314 See \`config.log' for more details" "$LINENO" 5; }
5318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5319 printf "%s\n" "$cross_compiling" >&6; }
5321 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5322 ac_clean_files=$ac_clean_files_save
5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5324 printf %s "checking for suffix of object files... " >&6; }
5325 if test ${ac_cv_objext+y}
5326 then :
5327 printf %s "(cached) " >&6
5328 else $as_nop
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 main (void)
5337 return 0;
5339 _ACEOF
5340 rm -f conftest.o conftest.obj
5341 if { { ac_try="$ac_compile"
5342 case "(($ac_try" in
5343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5344 *) ac_try_echo=$ac_try;;
5345 esac
5346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5347 printf "%s\n" "$ac_try_echo"; } >&5
5348 (eval "$ac_compile") 2>&5
5349 ac_status=$?
5350 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5351 test $ac_status = 0; }
5352 then :
5353 for ac_file in conftest.o conftest.obj conftest.*; do
5354 test -f "$ac_file" || continue;
5355 case $ac_file in
5356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5357 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5358 break;;
5359 esac
5360 done
5361 else $as_nop
5362 printf "%s\n" "$as_me: failed program was:" >&5
5363 sed 's/^/| /' conftest.$ac_ext >&5
5365 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5366 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5367 as_fn_error $? "cannot compute suffix of object files: cannot compile
5368 See \`config.log' for more details" "$LINENO" 5; }
5370 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5373 printf "%s\n" "$ac_cv_objext" >&6; }
5374 OBJEXT=$ac_cv_objext
5375 ac_objext=$OBJEXT
5376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5377 printf %s "checking whether the compiler supports GNU C... " >&6; }
5378 if test ${ac_cv_c_compiler_gnu+y}
5379 then :
5380 printf %s "(cached) " >&6
5381 else $as_nop
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5386 main (void)
5388 #ifndef __GNUC__
5389 choke me
5390 #endif
5393 return 0;
5395 _ACEOF
5396 if ac_fn_c_try_compile "$LINENO"
5397 then :
5398 ac_compiler_gnu=yes
5399 else $as_nop
5400 ac_compiler_gnu=no
5402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5403 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5407 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5410 if test $ac_compiler_gnu = yes; then
5411 GCC=yes
5412 else
5413 GCC=
5415 ac_test_CFLAGS=${CFLAGS+y}
5416 ac_save_CFLAGS=$CFLAGS
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5418 printf %s "checking whether $CC accepts -g... " >&6; }
5419 if test ${ac_cv_prog_cc_g+y}
5420 then :
5421 printf %s "(cached) " >&6
5422 else $as_nop
5423 ac_save_c_werror_flag=$ac_c_werror_flag
5424 ac_c_werror_flag=yes
5425 ac_cv_prog_cc_g=no
5426 CFLAGS="-g"
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 main (void)
5435 return 0;
5437 _ACEOF
5438 if ac_fn_c_try_compile "$LINENO"
5439 then :
5440 ac_cv_prog_cc_g=yes
5441 else $as_nop
5442 CFLAGS=""
5443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5444 /* end confdefs.h. */
5447 main (void)
5451 return 0;
5453 _ACEOF
5454 if ac_fn_c_try_compile "$LINENO"
5455 then :
5457 else $as_nop
5458 ac_c_werror_flag=$ac_save_c_werror_flag
5459 CFLAGS="-g"
5460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5461 /* end confdefs.h. */
5464 main (void)
5468 return 0;
5470 _ACEOF
5471 if ac_fn_c_try_compile "$LINENO"
5472 then :
5473 ac_cv_prog_cc_g=yes
5475 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5480 ac_c_werror_flag=$ac_save_c_werror_flag
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5483 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5484 if test $ac_test_CFLAGS; then
5485 CFLAGS=$ac_save_CFLAGS
5486 elif test $ac_cv_prog_cc_g = yes; then
5487 if test "$GCC" = yes; then
5488 CFLAGS="-g -O2"
5489 else
5490 CFLAGS="-g"
5492 else
5493 if test "$GCC" = yes; then
5494 CFLAGS="-O2"
5495 else
5496 CFLAGS=
5499 ac_prog_cc_stdc=no
5500 if test x$ac_prog_cc_stdc = xno
5501 then :
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5503 printf %s "checking for $CC option to enable C11 features... " >&6; }
5504 if test ${ac_cv_prog_cc_c11+y}
5505 then :
5506 printf %s "(cached) " >&6
5507 else $as_nop
5508 ac_cv_prog_cc_c11=no
5509 ac_save_CC=$CC
5510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5512 $ac_c_conftest_c11_program
5513 _ACEOF
5514 for ac_arg in '' -std=gnu11
5516 CC="$ac_save_CC $ac_arg"
5517 if ac_fn_c_try_compile "$LINENO"
5518 then :
5519 ac_cv_prog_cc_c11=$ac_arg
5521 rm -f core conftest.err conftest.$ac_objext conftest.beam
5522 test "x$ac_cv_prog_cc_c11" != "xno" && break
5523 done
5524 rm -f conftest.$ac_ext
5525 CC=$ac_save_CC
5528 if test "x$ac_cv_prog_cc_c11" = xno
5529 then :
5530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5531 printf "%s\n" "unsupported" >&6; }
5532 else $as_nop
5533 if test "x$ac_cv_prog_cc_c11" = x
5534 then :
5535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5536 printf "%s\n" "none needed" >&6; }
5537 else $as_nop
5538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5539 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5540 CC="$CC $ac_cv_prog_cc_c11"
5542 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5543 ac_prog_cc_stdc=c11
5546 if test x$ac_prog_cc_stdc = xno
5547 then :
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5549 printf %s "checking for $CC option to enable C99 features... " >&6; }
5550 if test ${ac_cv_prog_cc_c99+y}
5551 then :
5552 printf %s "(cached) " >&6
5553 else $as_nop
5554 ac_cv_prog_cc_c99=no
5555 ac_save_CC=$CC
5556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5558 $ac_c_conftest_c99_program
5559 _ACEOF
5560 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5562 CC="$ac_save_CC $ac_arg"
5563 if ac_fn_c_try_compile "$LINENO"
5564 then :
5565 ac_cv_prog_cc_c99=$ac_arg
5567 rm -f core conftest.err conftest.$ac_objext conftest.beam
5568 test "x$ac_cv_prog_cc_c99" != "xno" && break
5569 done
5570 rm -f conftest.$ac_ext
5571 CC=$ac_save_CC
5574 if test "x$ac_cv_prog_cc_c99" = xno
5575 then :
5576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5577 printf "%s\n" "unsupported" >&6; }
5578 else $as_nop
5579 if test "x$ac_cv_prog_cc_c99" = x
5580 then :
5581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5582 printf "%s\n" "none needed" >&6; }
5583 else $as_nop
5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5585 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5586 CC="$CC $ac_cv_prog_cc_c99"
5588 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5589 ac_prog_cc_stdc=c99
5592 if test x$ac_prog_cc_stdc = xno
5593 then :
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5595 printf %s "checking for $CC option to enable C89 features... " >&6; }
5596 if test ${ac_cv_prog_cc_c89+y}
5597 then :
5598 printf %s "(cached) " >&6
5599 else $as_nop
5600 ac_cv_prog_cc_c89=no
5601 ac_save_CC=$CC
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5604 $ac_c_conftest_c89_program
5605 _ACEOF
5606 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5608 CC="$ac_save_CC $ac_arg"
5609 if ac_fn_c_try_compile "$LINENO"
5610 then :
5611 ac_cv_prog_cc_c89=$ac_arg
5613 rm -f core conftest.err conftest.$ac_objext conftest.beam
5614 test "x$ac_cv_prog_cc_c89" != "xno" && break
5615 done
5616 rm -f conftest.$ac_ext
5617 CC=$ac_save_CC
5620 if test "x$ac_cv_prog_cc_c89" = xno
5621 then :
5622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5623 printf "%s\n" "unsupported" >&6; }
5624 else $as_nop
5625 if test "x$ac_cv_prog_cc_c89" = x
5626 then :
5627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5628 printf "%s\n" "none needed" >&6; }
5629 else $as_nop
5630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5631 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5632 CC="$CC $ac_cv_prog_cc_c89"
5634 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5635 ac_prog_cc_stdc=c89
5639 ac_ext=c
5640 ac_cpp='$CPP $CPPFLAGS'
5641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5651 ac_ext=cpp
5652 ac_cpp='$CXXCPP $CPPFLAGS'
5653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5656 if test -z "$CXX"; then
5657 if test -n "$CCC"; then
5658 CXX=$CCC
5659 else
5660 if test -n "$ac_tool_prefix"; then
5661 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5663 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5664 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5666 printf %s "checking for $ac_word... " >&6; }
5667 if test ${ac_cv_prog_CXX+y}
5668 then :
5669 printf %s "(cached) " >&6
5670 else $as_nop
5671 if test -n "$CXX"; then
5672 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5673 else
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH
5677 IFS=$as_save_IFS
5678 case $as_dir in #(((
5679 '') as_dir=./ ;;
5680 */) ;;
5681 *) as_dir=$as_dir/ ;;
5682 esac
5683 for ac_exec_ext in '' $ac_executable_extensions; do
5684 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5685 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5687 break 2
5689 done
5690 done
5691 IFS=$as_save_IFS
5695 CXX=$ac_cv_prog_CXX
5696 if test -n "$CXX"; then
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5698 printf "%s\n" "$CXX" >&6; }
5699 else
5700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 printf "%s\n" "no" >&6; }
5705 test -n "$CXX" && break
5706 done
5708 if test -z "$CXX"; then
5709 ac_ct_CXX=$CXX
5710 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5712 # Extract the first word of "$ac_prog", so it can be a program name with args.
5713 set dummy $ac_prog; ac_word=$2
5714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 printf %s "checking for $ac_word... " >&6; }
5716 if test ${ac_cv_prog_ac_ct_CXX+y}
5717 then :
5718 printf %s "(cached) " >&6
5719 else $as_nop
5720 if test -n "$ac_ct_CXX"; then
5721 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5722 else
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 for as_dir in $PATH
5726 IFS=$as_save_IFS
5727 case $as_dir in #(((
5728 '') as_dir=./ ;;
5729 */) ;;
5730 *) as_dir=$as_dir/ ;;
5731 esac
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5734 ac_cv_prog_ac_ct_CXX="$ac_prog"
5735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5736 break 2
5738 done
5739 done
5740 IFS=$as_save_IFS
5744 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5745 if test -n "$ac_ct_CXX"; then
5746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5747 printf "%s\n" "$ac_ct_CXX" >&6; }
5748 else
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 printf "%s\n" "no" >&6; }
5754 test -n "$ac_ct_CXX" && break
5755 done
5757 if test "x$ac_ct_CXX" = x; then
5758 CXX="g++"
5759 else
5760 case $cross_compiling:$ac_tool_warned in
5761 yes:)
5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5763 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5764 ac_tool_warned=yes ;;
5765 esac
5766 CXX=$ac_ct_CXX
5772 # Provide some information about the compiler.
5773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5774 set X $ac_compile
5775 ac_compiler=$2
5776 for ac_option in --version -v -V -qversion; do
5777 { { ac_try="$ac_compiler $ac_option >&5"
5778 case "(($ac_try" in
5779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5780 *) ac_try_echo=$ac_try;;
5781 esac
5782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5783 printf "%s\n" "$ac_try_echo"; } >&5
5784 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5785 ac_status=$?
5786 if test -s conftest.err; then
5787 sed '10a\
5788 ... rest of stderr output deleted ...
5789 10q' conftest.err >conftest.er1
5790 cat conftest.er1 >&5
5792 rm -f conftest.er1 conftest.err
5793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5794 test $ac_status = 0; }
5795 done
5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5798 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5799 if test ${ac_cv_cxx_compiler_gnu+y}
5800 then :
5801 printf %s "(cached) " >&6
5802 else $as_nop
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5807 main (void)
5809 #ifndef __GNUC__
5810 choke me
5811 #endif
5814 return 0;
5816 _ACEOF
5817 if ac_fn_cxx_try_compile "$LINENO"
5818 then :
5819 ac_compiler_gnu=yes
5820 else $as_nop
5821 ac_compiler_gnu=no
5823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5824 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5828 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5831 if test $ac_compiler_gnu = yes; then
5832 GXX=yes
5833 else
5834 GXX=
5836 ac_test_CXXFLAGS=${CXXFLAGS+y}
5837 ac_save_CXXFLAGS=$CXXFLAGS
5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5839 printf %s "checking whether $CXX accepts -g... " >&6; }
5840 if test ${ac_cv_prog_cxx_g+y}
5841 then :
5842 printf %s "(cached) " >&6
5843 else $as_nop
5844 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5845 ac_cxx_werror_flag=yes
5846 ac_cv_prog_cxx_g=no
5847 CXXFLAGS="-g"
5848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5849 /* end confdefs.h. */
5852 main (void)
5856 return 0;
5858 _ACEOF
5859 if ac_fn_cxx_try_compile "$LINENO"
5860 then :
5861 ac_cv_prog_cxx_g=yes
5862 else $as_nop
5863 CXXFLAGS=""
5864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5865 /* end confdefs.h. */
5868 main (void)
5872 return 0;
5874 _ACEOF
5875 if ac_fn_cxx_try_compile "$LINENO"
5876 then :
5878 else $as_nop
5879 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5880 CXXFLAGS="-g"
5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5885 main (void)
5889 return 0;
5891 _ACEOF
5892 if ac_fn_cxx_try_compile "$LINENO"
5893 then :
5894 ac_cv_prog_cxx_g=yes
5896 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5898 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5901 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5904 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5905 if test $ac_test_CXXFLAGS; then
5906 CXXFLAGS=$ac_save_CXXFLAGS
5907 elif test $ac_cv_prog_cxx_g = yes; then
5908 if test "$GXX" = yes; then
5909 CXXFLAGS="-g -O2"
5910 else
5911 CXXFLAGS="-g"
5913 else
5914 if test "$GXX" = yes; then
5915 CXXFLAGS="-O2"
5916 else
5917 CXXFLAGS=
5920 ac_prog_cxx_stdcxx=no
5921 if test x$ac_prog_cxx_stdcxx = xno
5922 then :
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5924 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5925 if test ${ac_cv_prog_cxx_cxx11+y}
5926 then :
5927 printf %s "(cached) " >&6
5928 else $as_nop
5929 ac_cv_prog_cxx_cxx11=no
5930 ac_save_CXX=$CXX
5931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5932 /* end confdefs.h. */
5933 $ac_cxx_conftest_cxx11_program
5934 _ACEOF
5935 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5937 CXX="$ac_save_CXX $ac_arg"
5938 if ac_fn_cxx_try_compile "$LINENO"
5939 then :
5940 ac_cv_prog_cxx_cxx11=$ac_arg
5942 rm -f core conftest.err conftest.$ac_objext conftest.beam
5943 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5944 done
5945 rm -f conftest.$ac_ext
5946 CXX=$ac_save_CXX
5949 if test "x$ac_cv_prog_cxx_cxx11" = xno
5950 then :
5951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5952 printf "%s\n" "unsupported" >&6; }
5953 else $as_nop
5954 if test "x$ac_cv_prog_cxx_cxx11" = x
5955 then :
5956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5957 printf "%s\n" "none needed" >&6; }
5958 else $as_nop
5959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5960 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5961 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5963 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5964 ac_prog_cxx_stdcxx=cxx11
5967 if test x$ac_prog_cxx_stdcxx = xno
5968 then :
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5970 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5971 if test ${ac_cv_prog_cxx_cxx98+y}
5972 then :
5973 printf %s "(cached) " >&6
5974 else $as_nop
5975 ac_cv_prog_cxx_cxx98=no
5976 ac_save_CXX=$CXX
5977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5978 /* end confdefs.h. */
5979 $ac_cxx_conftest_cxx98_program
5980 _ACEOF
5981 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5983 CXX="$ac_save_CXX $ac_arg"
5984 if ac_fn_cxx_try_compile "$LINENO"
5985 then :
5986 ac_cv_prog_cxx_cxx98=$ac_arg
5988 rm -f core conftest.err conftest.$ac_objext conftest.beam
5989 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5990 done
5991 rm -f conftest.$ac_ext
5992 CXX=$ac_save_CXX
5995 if test "x$ac_cv_prog_cxx_cxx98" = xno
5996 then :
5997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5998 printf "%s\n" "unsupported" >&6; }
5999 else $as_nop
6000 if test "x$ac_cv_prog_cxx_cxx98" = x
6001 then :
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6003 printf "%s\n" "none needed" >&6; }
6004 else $as_nop
6005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
6006 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
6007 CXX="$CXX $ac_cv_prog_cxx_cxx98"
6009 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
6010 ac_prog_cxx_stdcxx=cxx98
6014 ac_ext=c
6015 ac_cpp='$CPP $CPPFLAGS'
6016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6020 if test -n "$ac_tool_prefix"; then
6021 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
6022 set dummy ${ac_tool_prefix}cpp; ac_word=$2
6023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6024 printf %s "checking for $ac_word... " >&6; }
6025 if test ${ac_cv_prog_CPPBIN+y}
6026 then :
6027 printf %s "(cached) " >&6
6028 else $as_nop
6029 if test -n "$CPPBIN"; then
6030 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
6031 else
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in $PATH
6035 IFS=$as_save_IFS
6036 case $as_dir in #(((
6037 '') as_dir=./ ;;
6038 */) ;;
6039 *) as_dir=$as_dir/ ;;
6040 esac
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6043 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6045 break 2
6047 done
6048 done
6049 IFS=$as_save_IFS
6053 CPPBIN=$ac_cv_prog_CPPBIN
6054 if test -n "$CPPBIN"; then
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6056 printf "%s\n" "$CPPBIN" >&6; }
6057 else
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 printf "%s\n" "no" >&6; }
6064 if test -z "$ac_cv_prog_CPPBIN"; then
6065 ac_ct_CPPBIN=$CPPBIN
6066 # Extract the first word of "cpp", so it can be a program name with args.
6067 set dummy cpp; ac_word=$2
6068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 printf %s "checking for $ac_word... " >&6; }
6070 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6071 then :
6072 printf %s "(cached) " >&6
6073 else $as_nop
6074 if test -n "$ac_ct_CPPBIN"; then
6075 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 case $as_dir in #(((
6082 '') as_dir=./ ;;
6083 */) ;;
6084 *) as_dir=$as_dir/ ;;
6085 esac
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6088 ac_cv_prog_ac_ct_CPPBIN="cpp"
6089 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6090 break 2
6092 done
6093 done
6094 IFS=$as_save_IFS
6098 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6099 if test -n "$ac_ct_CPPBIN"; then
6100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6101 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6102 else
6103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 printf "%s\n" "no" >&6; }
6107 if test "x$ac_ct_CPPBIN" = x; then
6108 CPPBIN="cpp"
6109 else
6110 case $cross_compiling:$ac_tool_warned in
6111 yes:)
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6113 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6114 ac_tool_warned=yes ;;
6115 esac
6116 CPPBIN=$ac_ct_CPPBIN
6118 else
6119 CPPBIN="$ac_cv_prog_CPPBIN"
6123 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6125 if test -n "$ac_tool_prefix"; then
6126 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6127 set dummy ${ac_tool_prefix}ld; ac_word=$2
6128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6129 printf %s "checking for $ac_word... " >&6; }
6130 if test ${ac_cv_prog_LD+y}
6131 then :
6132 printf %s "(cached) " >&6
6133 else $as_nop
6134 if test -n "$LD"; then
6135 ac_cv_prog_LD="$LD" # Let the user override the test.
6136 else
6137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 for as_dir in $PATH
6140 IFS=$as_save_IFS
6141 case $as_dir in #(((
6142 '') as_dir=./ ;;
6143 */) ;;
6144 *) as_dir=$as_dir/ ;;
6145 esac
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_LD="${ac_tool_prefix}ld"
6149 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6150 break 2
6152 done
6153 done
6154 IFS=$as_save_IFS
6158 LD=$ac_cv_prog_LD
6159 if test -n "$LD"; then
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6161 printf "%s\n" "$LD" >&6; }
6162 else
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 printf "%s\n" "no" >&6; }
6169 if test -z "$ac_cv_prog_LD"; then
6170 ac_ct_LD=$LD
6171 # Extract the first word of "ld", so it can be a program name with args.
6172 set dummy ld; ac_word=$2
6173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6174 printf %s "checking for $ac_word... " >&6; }
6175 if test ${ac_cv_prog_ac_ct_LD+y}
6176 then :
6177 printf %s "(cached) " >&6
6178 else $as_nop
6179 if test -n "$ac_ct_LD"; then
6180 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 case $as_dir in #(((
6187 '') as_dir=./ ;;
6188 */) ;;
6189 *) as_dir=$as_dir/ ;;
6190 esac
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6193 ac_cv_prog_ac_ct_LD="ld"
6194 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6195 break 2
6197 done
6198 done
6199 IFS=$as_save_IFS
6203 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6204 if test -n "$ac_ct_LD"; then
6205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6206 printf "%s\n" "$ac_ct_LD" >&6; }
6207 else
6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6209 printf "%s\n" "no" >&6; }
6212 if test "x$ac_ct_LD" = x; then
6213 LD=""
6214 else
6215 case $cross_compiling:$ac_tool_warned in
6216 yes:)
6217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6219 ac_tool_warned=yes ;;
6220 esac
6221 LD=$ac_ct_LD
6223 else
6224 LD="$ac_cv_prog_LD"
6228 case $host in
6229 *-darwin*)
6230 with_fontconfig=${with_fontconfig:-no}
6232 *-mingw32*|*-cygwin*)
6233 enable_win16=${enable_win16:-no}
6234 with_mingw=${with_mingw:-no}
6236 esac
6239 case $host in
6240 x86_64*|amd64*)
6241 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6242 then
6243 CC="$CC -m32"
6244 CXX="$CXX -m32"
6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6247 printf %s "checking whether $CC works... " >&6; }
6248 if test ${wine_cv_cc_m32+y}
6249 then :
6250 printf %s "(cached) " >&6
6251 else $as_nop
6252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253 /* end confdefs.h. */
6256 main (void)
6260 return 0;
6262 _ACEOF
6263 if ac_fn_c_try_link "$LINENO"
6264 then :
6265 wine_cv_cc_m32=yes
6266 else $as_nop
6267 wine_cv_cc_m32=no
6269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6270 conftest$ac_exeext conftest.$ac_ext
6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6273 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6274 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
6275 host_cpu="i386"
6276 notice_platform="32-bit "
6277 TARGETFLAGS="$TARGETFLAGS -m32"
6278 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6279 export PKG_CONFIG_LIBDIR
6280 with_unwind=${with_unwind:-no}
6281 else
6282 CC="$CC -m64"
6283 CXX="$CXX -m64"
6284 host_cpu="x86_64"
6285 notice_platform="64-bit "
6286 TARGETFLAGS="$TARGETFLAGS -m64"
6289 arm*)
6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6291 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6292 if test ${wine_cv_thumb2+y}
6293 then :
6294 printf %s "(cached) " >&6
6295 else $as_nop
6296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6297 /* end confdefs.h. */
6300 main (void)
6302 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_link "$LINENO"
6308 then :
6309 wine_cv_thumb2=yes
6310 else $as_nop
6311 wine_cv_thumb2=no
6313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6314 conftest$ac_exeext conftest.$ac_ext
6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6317 printf "%s\n" "$wine_cv_thumb2" >&6; }
6318 if test x"$wine_cv_thumb2" = xyes
6319 then
6320 CFLAGS="$CFLAGS -mthumb"
6321 TARGETFLAGS="$TARGETFLAGS -mthumb"
6322 else
6323 CFLAGS="$CFLAGS -marm"
6324 TARGETFLAGS="$TARGETFLAGS -marm"
6326 case $with_float_abi in
6327 soft|softfp|hard)
6328 float_abi=$with_float_abi ;;
6330 case $host_os in
6331 *eabihf)
6332 float_abi=hard ;;
6334 float_abi=softfp
6335 saved_CFLAGS=$CFLAGS
6336 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6338 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6339 if test ${wine_cv_float_abi+y}
6340 then :
6341 printf %s "(cached) " >&6
6342 else $as_nop
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6347 main (void)
6349 asm("vmrs r2,fpscr");
6351 return 0;
6353 _ACEOF
6354 if ac_fn_c_try_link "$LINENO"
6355 then :
6356 wine_cv_float_abi=yes
6357 else $as_nop
6358 wine_cv_float_abi=no
6360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6361 conftest$ac_exeext conftest.$ac_ext
6363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6364 printf "%s\n" "$wine_cv_float_abi" >&6; }
6365 if test $wine_cv_float_abi = no
6366 then
6367 float_abi=soft
6368 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6370 CFLAGS=$saved_CFLAGS
6371 esac
6373 esac
6374 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6375 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6377 i[3456789]86*)
6378 with_unwind=${with_unwind:-no}
6380 esac
6382 enable_win16=${enable_win16:-i386}
6383 enable_win64=${enable_win64:-no}
6384 enable_wow64=${enable_wow64:-aarch64,x86_64}
6385 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6386 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6388 enable_winetest=${enable_winetest:-$enable_tests}
6390 if test "x$enable_win64" = "xyes"
6391 then
6392 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6393 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6396 case $build_os in
6397 cygwin*|mingw32*) toolsext=".exe"
6399 *) toolsext=""
6401 esac
6403 HOST_ARCH=unknown
6404 case "$host_cpu" in
6405 aarch64*) HOST_ARCH=aarch64 ;;
6406 arm*) HOST_ARCH=arm ;;
6407 i[3456789]86*) HOST_ARCH=i386 ;;
6408 x86_64) HOST_ARCH=x86_64 ;;
6409 esac
6412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6413 printf %s "checking for the directory containing the Wine tools... " >&6; }
6414 if test ${wine_cv_toolsdir+y}
6415 then :
6416 printf %s "(cached) " >&6
6417 else $as_nop
6418 wine_cv_toolsdir="$with_wine_tools"
6419 if test -z "$with_wine_tools"; then
6420 if test "$cross_compiling" = "yes"; then
6421 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6422 elif test -n "$with_wine64"; then
6423 wine_cv_toolsdir="$with_wine64"
6427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6428 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6429 if test -z "$wine_cv_toolsdir"; then
6430 wine_makedep=tools/makedep$toolsext
6431 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6432 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6433 enable_tools=${enable_tools:-no}
6434 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6435 else
6436 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6438 toolsdir=$wine_cv_toolsdir
6440 MAKEDEP=$wine_makedep
6442 RUNTESTFLAGS="-q -P wine"
6444 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'"
6447 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6448 then
6449 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6452 for ac_prog in flex
6454 # Extract the first word of "$ac_prog", so it can be a program name with args.
6455 set dummy $ac_prog; ac_word=$2
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457 printf %s "checking for $ac_word... " >&6; }
6458 if test ${ac_cv_prog_FLEX+y}
6459 then :
6460 printf %s "(cached) " >&6
6461 else $as_nop
6462 if test -n "$FLEX"; then
6463 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6468 IFS=$as_save_IFS
6469 case $as_dir in #(((
6470 '') as_dir=./ ;;
6471 */) ;;
6472 *) as_dir=$as_dir/ ;;
6473 esac
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6476 ac_cv_prog_FLEX="$ac_prog"
6477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6478 break 2
6480 done
6481 done
6482 IFS=$as_save_IFS
6486 FLEX=$ac_cv_prog_FLEX
6487 if test -n "$FLEX"; then
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6489 printf "%s\n" "$FLEX" >&6; }
6490 else
6491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 printf "%s\n" "no" >&6; }
6496 test -n "$FLEX" && break
6497 done
6498 test -n "$FLEX" || FLEX="none"
6500 if test "$FLEX" = "none"
6501 then
6502 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6505 printf %s "checking whether flex is recent enough... " >&6; }
6506 if test ${wine_cv_recent_flex+y}
6507 then :
6508 printf %s "(cached) " >&6
6509 else $as_nop
6510 cat >conftest.l <<EOF
6511 %top{
6512 #include "prediluvian.h"
6516 if $FLEX -t conftest.l >/dev/null 2>&5
6517 then
6518 wine_cv_recent_flex=yes
6519 else
6520 wine_cv_recent_flex=no
6523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6524 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6525 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
6527 for ac_prog in bison
6529 # Extract the first word of "$ac_prog", so it can be a program name with args.
6530 set dummy $ac_prog; ac_word=$2
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 printf %s "checking for $ac_word... " >&6; }
6533 if test ${ac_cv_prog_BISON+y}
6534 then :
6535 printf %s "(cached) " >&6
6536 else $as_nop
6537 if test -n "$BISON"; then
6538 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 case $as_dir in #(((
6545 '') as_dir=./ ;;
6546 */) ;;
6547 *) as_dir=$as_dir/ ;;
6548 esac
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_BISON="$ac_prog"
6552 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6553 break 2
6555 done
6556 done
6557 IFS=$as_save_IFS
6561 BISON=$ac_cv_prog_BISON
6562 if test -n "$BISON"; then
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6564 printf "%s\n" "$BISON" >&6; }
6565 else
6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 printf "%s\n" "no" >&6; }
6571 test -n "$BISON" && break
6572 done
6573 test -n "$BISON" || BISON="none"
6575 if test "$BISON" = "none"
6576 then
6577 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6580 printf %s "checking whether bison is recent enough... " >&6; }
6581 if test ${wine_cv_recent_bison+y}
6582 then :
6583 printf %s "(cached) " >&6
6584 else $as_nop
6585 cat >conftest.y <<EOF
6586 %define parse.error verbose
6588 empty: ;
6590 if $BISON conftest.y >/dev/null 2>&5
6591 then
6592 wine_cv_recent_bison=yes
6593 else
6594 wine_cv_recent_bison=no
6597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6598 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6599 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
6601 if test -n "$ac_tool_prefix"; then
6602 for ac_prog in ar gar
6604 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6605 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 printf %s "checking for $ac_word... " >&6; }
6608 if test ${ac_cv_prog_AR+y}
6609 then :
6610 printf %s "(cached) " >&6
6611 else $as_nop
6612 if test -n "$AR"; then
6613 ac_cv_prog_AR="$AR" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 case $as_dir in #(((
6620 '') as_dir=./ ;;
6621 */) ;;
6622 *) as_dir=$as_dir/ ;;
6623 esac
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6626 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6627 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6628 break 2
6630 done
6631 done
6632 IFS=$as_save_IFS
6636 AR=$ac_cv_prog_AR
6637 if test -n "$AR"; then
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6639 printf "%s\n" "$AR" >&6; }
6640 else
6641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 printf "%s\n" "no" >&6; }
6646 test -n "$AR" && break
6647 done
6649 if test -z "$AR"; then
6650 ac_ct_AR=$AR
6651 for ac_prog in ar gar
6653 # Extract the first word of "$ac_prog", so it can be a program name with args.
6654 set dummy $ac_prog; ac_word=$2
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 printf %s "checking for $ac_word... " >&6; }
6657 if test ${ac_cv_prog_ac_ct_AR+y}
6658 then :
6659 printf %s "(cached) " >&6
6660 else $as_nop
6661 if test -n "$ac_ct_AR"; then
6662 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6663 else
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 for as_dir in $PATH
6667 IFS=$as_save_IFS
6668 case $as_dir in #(((
6669 '') as_dir=./ ;;
6670 */) ;;
6671 *) as_dir=$as_dir/ ;;
6672 esac
6673 for ac_exec_ext in '' $ac_executable_extensions; do
6674 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6675 ac_cv_prog_ac_ct_AR="$ac_prog"
6676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6677 break 2
6679 done
6680 done
6681 IFS=$as_save_IFS
6685 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6686 if test -n "$ac_ct_AR"; then
6687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6688 printf "%s\n" "$ac_ct_AR" >&6; }
6689 else
6690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 printf "%s\n" "no" >&6; }
6695 test -n "$ac_ct_AR" && break
6696 done
6698 if test "x$ac_ct_AR" = x; then
6699 AR="ar"
6700 else
6701 case $cross_compiling:$ac_tool_warned in
6702 yes:)
6703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6704 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6705 ac_tool_warned=yes ;;
6706 esac
6707 AR=$ac_ct_AR
6711 if test -n "$ac_tool_prefix"; then
6712 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6713 set dummy ${ac_tool_prefix}strip; ac_word=$2
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6715 printf %s "checking for $ac_word... " >&6; }
6716 if test ${ac_cv_prog_STRIP+y}
6717 then :
6718 printf %s "(cached) " >&6
6719 else $as_nop
6720 if test -n "$STRIP"; then
6721 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6722 else
6723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724 for as_dir in $PATH
6726 IFS=$as_save_IFS
6727 case $as_dir in #(((
6728 '') as_dir=./ ;;
6729 */) ;;
6730 *) as_dir=$as_dir/ ;;
6731 esac
6732 for ac_exec_ext in '' $ac_executable_extensions; do
6733 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6734 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6736 break 2
6738 done
6739 done
6740 IFS=$as_save_IFS
6744 STRIP=$ac_cv_prog_STRIP
6745 if test -n "$STRIP"; then
6746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6747 printf "%s\n" "$STRIP" >&6; }
6748 else
6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 printf "%s\n" "no" >&6; }
6755 if test -z "$ac_cv_prog_STRIP"; then
6756 ac_ct_STRIP=$STRIP
6757 # Extract the first word of "strip", so it can be a program name with args.
6758 set dummy strip; ac_word=$2
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760 printf %s "checking for $ac_word... " >&6; }
6761 if test ${ac_cv_prog_ac_ct_STRIP+y}
6762 then :
6763 printf %s "(cached) " >&6
6764 else $as_nop
6765 if test -n "$ac_ct_STRIP"; then
6766 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6767 else
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6769 for as_dir in $PATH
6771 IFS=$as_save_IFS
6772 case $as_dir in #(((
6773 '') as_dir=./ ;;
6774 */) ;;
6775 *) as_dir=$as_dir/ ;;
6776 esac
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6779 ac_cv_prog_ac_ct_STRIP="strip"
6780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6781 break 2
6783 done
6784 done
6785 IFS=$as_save_IFS
6789 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6790 if test -n "$ac_ct_STRIP"; then
6791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6792 printf "%s\n" "$ac_ct_STRIP" >&6; }
6793 else
6794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6795 printf "%s\n" "no" >&6; }
6798 if test "x$ac_ct_STRIP" = x; then
6799 STRIP="strip"
6800 else
6801 case $cross_compiling:$ac_tool_warned in
6802 yes:)
6803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6804 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6805 ac_tool_warned=yes ;;
6806 esac
6807 STRIP=$ac_ct_STRIP
6809 else
6810 STRIP="$ac_cv_prog_STRIP"
6813 if test -n "$ac_tool_prefix"; then
6814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817 printf %s "checking for $ac_word... " >&6; }
6818 if test ${ac_cv_prog_RANLIB+y}
6819 then :
6820 printf %s "(cached) " >&6
6821 else $as_nop
6822 if test -n "$RANLIB"; then
6823 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6824 else
6825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6826 for as_dir in $PATH
6828 IFS=$as_save_IFS
6829 case $as_dir in #(((
6830 '') as_dir=./ ;;
6831 */) ;;
6832 *) as_dir=$as_dir/ ;;
6833 esac
6834 for ac_exec_ext in '' $ac_executable_extensions; do
6835 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6836 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6837 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6838 break 2
6840 done
6841 done
6842 IFS=$as_save_IFS
6846 RANLIB=$ac_cv_prog_RANLIB
6847 if test -n "$RANLIB"; then
6848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6849 printf "%s\n" "$RANLIB" >&6; }
6850 else
6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 printf "%s\n" "no" >&6; }
6857 if test -z "$ac_cv_prog_RANLIB"; then
6858 ac_ct_RANLIB=$RANLIB
6859 # Extract the first word of "ranlib", so it can be a program name with args.
6860 set dummy ranlib; ac_word=$2
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6862 printf %s "checking for $ac_word... " >&6; }
6863 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6864 then :
6865 printf %s "(cached) " >&6
6866 else $as_nop
6867 if test -n "$ac_ct_RANLIB"; then
6868 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6869 else
6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 for as_dir in $PATH
6873 IFS=$as_save_IFS
6874 case $as_dir in #(((
6875 '') as_dir=./ ;;
6876 */) ;;
6877 *) as_dir=$as_dir/ ;;
6878 esac
6879 for ac_exec_ext in '' $ac_executable_extensions; do
6880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6881 ac_cv_prog_ac_ct_RANLIB="ranlib"
6882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6883 break 2
6885 done
6886 done
6887 IFS=$as_save_IFS
6891 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6892 if test -n "$ac_ct_RANLIB"; then
6893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6894 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6895 else
6896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 printf "%s\n" "no" >&6; }
6900 if test "x$ac_ct_RANLIB" = x; then
6901 RANLIB=":"
6902 else
6903 case $cross_compiling:$ac_tool_warned in
6904 yes:)
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6906 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6907 ac_tool_warned=yes ;;
6908 esac
6909 RANLIB=$ac_ct_RANLIB
6911 else
6912 RANLIB="$ac_cv_prog_RANLIB"
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6916 printf %s "checking whether ln -s works... " >&6; }
6917 LN_S=$as_ln_s
6918 if test "$LN_S" = "ln -s"; then
6919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6920 printf "%s\n" "yes" >&6; }
6921 else
6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6923 printf "%s\n" "no, using $LN_S" >&6; }
6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6927 printf %s "checking for grep that handles long lines and -e... " >&6; }
6928 if test ${ac_cv_path_GREP+y}
6929 then :
6930 printf %s "(cached) " >&6
6931 else $as_nop
6932 if test -z "$GREP"; then
6933 ac_path_GREP_found=false
6934 # Loop through the user's path and test for each of PROGNAME-LIST
6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6936 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6938 IFS=$as_save_IFS
6939 case $as_dir in #(((
6940 '') as_dir=./ ;;
6941 */) ;;
6942 *) as_dir=$as_dir/ ;;
6943 esac
6944 for ac_prog in grep ggrep
6946 for ac_exec_ext in '' $ac_executable_extensions; do
6947 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6948 as_fn_executable_p "$ac_path_GREP" || continue
6949 # Check for GNU ac_path_GREP and select it if it is found.
6950 # Check for GNU $ac_path_GREP
6951 case `"$ac_path_GREP" --version 2>&1` in
6952 *GNU*)
6953 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6955 ac_count=0
6956 printf %s 0123456789 >"conftest.in"
6957 while :
6959 cat "conftest.in" "conftest.in" >"conftest.tmp"
6960 mv "conftest.tmp" "conftest.in"
6961 cp "conftest.in" "conftest.nl"
6962 printf "%s\n" 'GREP' >> "conftest.nl"
6963 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6964 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6965 as_fn_arith $ac_count + 1 && ac_count=$as_val
6966 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6967 # Best one so far, save it but keep looking for a better one
6968 ac_cv_path_GREP="$ac_path_GREP"
6969 ac_path_GREP_max=$ac_count
6971 # 10*(2^10) chars as input seems more than enough
6972 test $ac_count -gt 10 && break
6973 done
6974 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6975 esac
6977 $ac_path_GREP_found && break 3
6978 done
6979 done
6980 done
6981 IFS=$as_save_IFS
6982 if test -z "$ac_cv_path_GREP"; then
6983 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6985 else
6986 ac_cv_path_GREP=$GREP
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6991 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6992 GREP="$ac_cv_path_GREP"
6995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6996 printf %s "checking for egrep... " >&6; }
6997 if test ${ac_cv_path_EGREP+y}
6998 then :
6999 printf %s "(cached) " >&6
7000 else $as_nop
7001 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7002 then ac_cv_path_EGREP="$GREP -E"
7003 else
7004 if test -z "$EGREP"; then
7005 ac_path_EGREP_found=false
7006 # Loop through the user's path and test for each of PROGNAME-LIST
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7010 IFS=$as_save_IFS
7011 case $as_dir in #(((
7012 '') as_dir=./ ;;
7013 */) ;;
7014 *) as_dir=$as_dir/ ;;
7015 esac
7016 for ac_prog in egrep
7018 for ac_exec_ext in '' $ac_executable_extensions; do
7019 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7020 as_fn_executable_p "$ac_path_EGREP" || continue
7021 # Check for GNU ac_path_EGREP and select it if it is found.
7022 # Check for GNU $ac_path_EGREP
7023 case `"$ac_path_EGREP" --version 2>&1` in
7024 *GNU*)
7025 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7027 ac_count=0
7028 printf %s 0123456789 >"conftest.in"
7029 while :
7031 cat "conftest.in" "conftest.in" >"conftest.tmp"
7032 mv "conftest.tmp" "conftest.in"
7033 cp "conftest.in" "conftest.nl"
7034 printf "%s\n" 'EGREP' >> "conftest.nl"
7035 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7036 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7037 as_fn_arith $ac_count + 1 && ac_count=$as_val
7038 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7039 # Best one so far, save it but keep looking for a better one
7040 ac_cv_path_EGREP="$ac_path_EGREP"
7041 ac_path_EGREP_max=$ac_count
7043 # 10*(2^10) chars as input seems more than enough
7044 test $ac_count -gt 10 && break
7045 done
7046 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7047 esac
7049 $ac_path_EGREP_found && break 3
7050 done
7051 done
7052 done
7053 IFS=$as_save_IFS
7054 if test -z "$ac_cv_path_EGREP"; then
7055 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7057 else
7058 ac_cv_path_EGREP=$EGREP
7063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7064 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7065 EGREP="$ac_cv_path_EGREP"
7068 # Extract the first word of "ldconfig", so it can be a program name with args.
7069 set dummy ldconfig; ac_word=$2
7070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 printf %s "checking for $ac_word... " >&6; }
7072 if test ${ac_cv_path_LDCONFIG+y}
7073 then :
7074 printf %s "(cached) " >&6
7075 else $as_nop
7076 case $LDCONFIG in
7077 [\\/]* | ?:[\\/]*)
7078 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7082 for as_dir in /sbin /usr/sbin $PATH
7084 IFS=$as_save_IFS
7085 case $as_dir in #(((
7086 '') as_dir=./ ;;
7087 */) ;;
7088 *) as_dir=$as_dir/ ;;
7089 esac
7090 for ac_exec_ext in '' $ac_executable_extensions; do
7091 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7092 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7094 break 2
7096 done
7097 done
7098 IFS=$as_save_IFS
7100 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7102 esac
7104 LDCONFIG=$ac_cv_path_LDCONFIG
7105 if test -n "$LDCONFIG"; then
7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7107 printf "%s\n" "$LDCONFIG" >&6; }
7108 else
7109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7110 printf "%s\n" "no" >&6; }
7114 for ac_prog in msgfmt
7116 # Extract the first word of "$ac_prog", so it can be a program name with args.
7117 set dummy $ac_prog; ac_word=$2
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 printf %s "checking for $ac_word... " >&6; }
7120 if test ${ac_cv_prog_MSGFMT+y}
7121 then :
7122 printf %s "(cached) " >&6
7123 else $as_nop
7124 if test -n "$MSGFMT"; then
7125 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7126 else
7127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 for as_dir in $PATH
7130 IFS=$as_save_IFS
7131 case $as_dir in #(((
7132 '') as_dir=./ ;;
7133 */) ;;
7134 *) as_dir=$as_dir/ ;;
7135 esac
7136 for ac_exec_ext in '' $ac_executable_extensions; do
7137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7138 ac_cv_prog_MSGFMT="$ac_prog"
7139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7140 break 2
7142 done
7143 done
7144 IFS=$as_save_IFS
7148 MSGFMT=$ac_cv_prog_MSGFMT
7149 if test -n "$MSGFMT"; then
7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7151 printf "%s\n" "$MSGFMT" >&6; }
7152 else
7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7154 printf "%s\n" "no" >&6; }
7158 test -n "$MSGFMT" && break
7159 done
7160 test -n "$MSGFMT" || MSGFMT="false"
7162 if test ${ac_tool_prefix+y}
7163 then :
7164 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7165 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167 printf %s "checking for $ac_word... " >&6; }
7168 if test ${ac_cv_prog_PKG_CONFIG+y}
7169 then :
7170 printf %s "(cached) " >&6
7171 else $as_nop
7172 if test -n "$PKG_CONFIG"; then
7173 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7174 else
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 for as_dir in $PATH
7178 IFS=$as_save_IFS
7179 case $as_dir in #(((
7180 '') as_dir=./ ;;
7181 */) ;;
7182 *) as_dir=$as_dir/ ;;
7183 esac
7184 for ac_exec_ext in '' $ac_executable_extensions; do
7185 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7186 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7188 break 2
7190 done
7191 done
7192 IFS=$as_save_IFS
7196 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7197 if test -n "$PKG_CONFIG"; then
7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7199 printf "%s\n" "$PKG_CONFIG" >&6; }
7200 else
7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7202 printf "%s\n" "no" >&6; }
7207 if ${ac_cv_prog_PKG_CONFIG:+false} :
7208 then :
7209 if test "x$cross_compiling" = xyes
7210 then :
7212 else $as_nop
7213 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7214 # Extract the first word of "pkg-config", so it can be a program name with args.
7215 set dummy pkg-config; ac_word=$2
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7217 printf %s "checking for $ac_word... " >&6; }
7218 if test ${ac_cv_prog_PKG_CONFIG+y}
7219 then :
7220 printf %s "(cached) " >&6
7221 else $as_nop
7222 if test -n "$PKG_CONFIG"; then
7223 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7224 else
7225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7226 for as_dir in $PATH
7228 IFS=$as_save_IFS
7229 case $as_dir in #(((
7230 '') as_dir=./ ;;
7231 */) ;;
7232 *) as_dir=$as_dir/ ;;
7233 esac
7234 for ac_exec_ext in '' $ac_executable_extensions; do
7235 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7236 ac_cv_prog_PKG_CONFIG="pkg-config"
7237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7238 break 2
7240 done
7241 done
7242 IFS=$as_save_IFS
7246 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7247 if test -n "$PKG_CONFIG"; then
7248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7249 printf "%s\n" "$PKG_CONFIG" >&6; }
7250 else
7251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7252 printf "%s\n" "no" >&6; }
7257 else $as_nop
7258 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7261 if test "x$enable_maintainer_mode" != "xyes"
7262 then
7263 FONTFORGE=""
7264 RSVG=""
7265 CONVERT=""
7266 ICOTOOL=""
7267 else
7268 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7269 for ac_prog in fontforge
7271 # Extract the first word of "$ac_prog", so it can be a program name with args.
7272 set dummy $ac_prog; ac_word=$2
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 printf %s "checking for $ac_word... " >&6; }
7275 if test ${ac_cv_prog_FONTFORGE+y}
7276 then :
7277 printf %s "(cached) " >&6
7278 else $as_nop
7279 if test -n "$FONTFORGE"; then
7280 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7285 IFS=$as_save_IFS
7286 case $as_dir in #(((
7287 '') as_dir=./ ;;
7288 */) ;;
7289 *) as_dir=$as_dir/ ;;
7290 esac
7291 for ac_exec_ext in '' $ac_executable_extensions; do
7292 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7293 ac_cv_prog_FONTFORGE="$ac_prog"
7294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7295 break 2
7297 done
7298 done
7299 IFS=$as_save_IFS
7303 FONTFORGE=$ac_cv_prog_FONTFORGE
7304 if test -n "$FONTFORGE"; then
7305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7306 printf "%s\n" "$FONTFORGE" >&6; }
7307 else
7308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7309 printf "%s\n" "no" >&6; }
7313 test -n "$FONTFORGE" && break
7314 done
7315 test -n "$FONTFORGE" || FONTFORGE="false"
7317 for ac_prog in rsvg-convert rsvg
7319 # Extract the first word of "$ac_prog", so it can be a program name with args.
7320 set dummy $ac_prog; ac_word=$2
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 printf %s "checking for $ac_word... " >&6; }
7323 if test ${ac_cv_prog_RSVG+y}
7324 then :
7325 printf %s "(cached) " >&6
7326 else $as_nop
7327 if test -n "$RSVG"; then
7328 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7333 IFS=$as_save_IFS
7334 case $as_dir in #(((
7335 '') as_dir=./ ;;
7336 */) ;;
7337 *) as_dir=$as_dir/ ;;
7338 esac
7339 for ac_exec_ext in '' $ac_executable_extensions; do
7340 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7341 ac_cv_prog_RSVG="$ac_prog"
7342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7343 break 2
7345 done
7346 done
7347 IFS=$as_save_IFS
7351 RSVG=$ac_cv_prog_RSVG
7352 if test -n "$RSVG"; then
7353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7354 printf "%s\n" "$RSVG" >&6; }
7355 else
7356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357 printf "%s\n" "no" >&6; }
7361 test -n "$RSVG" && break
7362 done
7363 test -n "$RSVG" || RSVG="false"
7365 for ac_prog in convert
7367 # Extract the first word of "$ac_prog", so it can be a program name with args.
7368 set dummy $ac_prog; ac_word=$2
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7370 printf %s "checking for $ac_word... " >&6; }
7371 if test ${ac_cv_prog_CONVERT+y}
7372 then :
7373 printf %s "(cached) " >&6
7374 else $as_nop
7375 if test -n "$CONVERT"; then
7376 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7377 else
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in $PATH
7381 IFS=$as_save_IFS
7382 case $as_dir in #(((
7383 '') as_dir=./ ;;
7384 */) ;;
7385 *) as_dir=$as_dir/ ;;
7386 esac
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7389 ac_cv_prog_CONVERT="$ac_prog"
7390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7391 break 2
7393 done
7394 done
7395 IFS=$as_save_IFS
7399 CONVERT=$ac_cv_prog_CONVERT
7400 if test -n "$CONVERT"; then
7401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7402 printf "%s\n" "$CONVERT" >&6; }
7403 else
7404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 printf "%s\n" "no" >&6; }
7409 test -n "$CONVERT" && break
7410 done
7411 test -n "$CONVERT" || CONVERT="false"
7413 for ac_prog in icotool
7415 # Extract the first word of "$ac_prog", so it can be a program name with args.
7416 set dummy $ac_prog; ac_word=$2
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 printf %s "checking for $ac_word... " >&6; }
7419 if test ${ac_cv_prog_ICOTOOL+y}
7420 then :
7421 printf %s "(cached) " >&6
7422 else $as_nop
7423 if test -n "$ICOTOOL"; then
7424 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7425 else
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 for as_dir in $PATH
7429 IFS=$as_save_IFS
7430 case $as_dir in #(((
7431 '') as_dir=./ ;;
7432 */) ;;
7433 *) as_dir=$as_dir/ ;;
7434 esac
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_ICOTOOL="$ac_prog"
7438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7439 break 2
7441 done
7442 done
7443 IFS=$as_save_IFS
7447 ICOTOOL=$ac_cv_prog_ICOTOOL
7448 if test -n "$ICOTOOL"; then
7449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7450 printf "%s\n" "$ICOTOOL" >&6; }
7451 else
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 printf "%s\n" "no" >&6; }
7457 test -n "$ICOTOOL" && break
7458 done
7459 test -n "$ICOTOOL" || ICOTOOL="false"
7461 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7462 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7464 if test "$CONVERT" = false
7465 then
7466 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7467 else
7468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7469 printf %s "checking for recent enough imagemagick... " >&6; }
7470 convert_version=`convert --version | head -n1`
7471 if test "x$convert_version" != "x"
7472 then
7473 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7474 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7475 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7476 then
7477 CONVERT=false
7480 if test "$CONVERT" = false
7481 then
7482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7483 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7484 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7485 else
7486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7487 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7491 if test "$ICOTOOL" = false
7492 then
7493 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7494 else
7495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7496 printf %s "checking for recent enough icotool... " >&6; }
7497 icotool_version=`icotool --version | head -n1`
7498 if test "x$icotool_version" != "x"
7499 then
7500 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7501 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7502 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7503 then
7504 ICOTOOL=false
7505 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7508 if test "$ICOTOOL" = false
7509 then
7510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7511 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7512 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7513 else
7514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7515 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7519 with_gettext=yes
7520 with_gettextpo=yes
7522 enable_werror=yes
7525 test "x$with_gettext" != xno || MSGFMT=false
7526 if test "$MSGFMT" != "false"
7527 then
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7529 printf %s "checking whether msgfmt supports contexts... " >&6; }
7530 if test ${wine_cv_msgfmt_contexts+y}
7531 then :
7532 printf %s "(cached) " >&6
7533 else $as_nop
7534 cat >conftest.po <<EOF
7535 # comment
7536 msgctxt "ctxt"
7537 msgid "id"
7538 msgstr "str"
7540 if $MSGFMT -o /dev/null conftest.po 2>&5
7541 then
7542 wine_cv_msgfmt_contexts=yes
7543 else
7544 wine_cv_msgfmt_contexts=no
7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7548 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7549 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7551 if test "$MSGFMT" = false
7552 then :
7553 case "x$with_gettext" in
7554 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7555 xno) ;;
7556 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7557 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7558 esac
7559 enable_po=${enable_po:-no}
7563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7564 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7565 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7566 then :
7567 printf %s "(cached) " >&6
7568 else $as_nop
7569 ac_check_lib_save_LIBS=$LIBS
7570 LIBS="-li386 $LIBS"
7571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572 /* end confdefs.h. */
7574 /* Override any GCC internal prototype to avoid an error.
7575 Use char because int might match the return type of a GCC
7576 builtin and then its argument prototype would still apply. */
7577 char i386_set_ldt ();
7579 main (void)
7581 return i386_set_ldt ();
7583 return 0;
7585 _ACEOF
7586 if ac_fn_c_try_link "$LINENO"
7587 then :
7588 ac_cv_lib_i386_i386_set_ldt=yes
7589 else $as_nop
7590 ac_cv_lib_i386_i386_set_ldt=no
7592 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7593 conftest$ac_exeext conftest.$ac_ext
7594 LIBS=$ac_check_lib_save_LIBS
7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7597 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7598 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7599 then :
7600 I386_LIBS="-li386"
7605 OPENGL_LIBS=""
7609 # Check whether --enable-largefile was given.
7610 if test ${enable_largefile+y}
7611 then :
7612 enableval=$enable_largefile;
7615 if test "$enable_largefile" != no; then
7617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7618 printf %s "checking for special C compiler options needed for large files... " >&6; }
7619 if test ${ac_cv_sys_largefile_CC+y}
7620 then :
7621 printf %s "(cached) " >&6
7622 else $as_nop
7623 ac_cv_sys_largefile_CC=no
7624 if test "$GCC" != yes; then
7625 ac_save_CC=$CC
7626 while :; do
7627 # IRIX 6.2 and later do not support large files by default,
7628 # so use the C compiler's -n32 option if that helps.
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7631 #include <sys/types.h>
7632 /* Check that off_t can represent 2**63 - 1 correctly.
7633 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7634 since some C++ compilers masquerading as C compilers
7635 incorrectly reject 9223372036854775807. */
7636 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7637 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7638 && LARGE_OFF_T % 2147483647 == 1)
7639 ? 1 : -1];
7641 main (void)
7645 return 0;
7647 _ACEOF
7648 if ac_fn_c_try_compile "$LINENO"
7649 then :
7650 break
7652 rm -f core conftest.err conftest.$ac_objext conftest.beam
7653 CC="$CC -n32"
7654 if ac_fn_c_try_compile "$LINENO"
7655 then :
7656 ac_cv_sys_largefile_CC=' -n32'; break
7658 rm -f core conftest.err conftest.$ac_objext conftest.beam
7659 break
7660 done
7661 CC=$ac_save_CC
7662 rm -f conftest.$ac_ext
7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7666 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7667 if test "$ac_cv_sys_largefile_CC" != no; then
7668 CC=$CC$ac_cv_sys_largefile_CC
7671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7672 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7673 if test ${ac_cv_sys_file_offset_bits+y}
7674 then :
7675 printf %s "(cached) " >&6
7676 else $as_nop
7677 while :; do
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7680 #include <sys/types.h>
7681 /* Check that off_t can represent 2**63 - 1 correctly.
7682 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7683 since some C++ compilers masquerading as C compilers
7684 incorrectly reject 9223372036854775807. */
7685 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7686 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7687 && LARGE_OFF_T % 2147483647 == 1)
7688 ? 1 : -1];
7690 main (void)
7694 return 0;
7696 _ACEOF
7697 if ac_fn_c_try_compile "$LINENO"
7698 then :
7699 ac_cv_sys_file_offset_bits=no; break
7701 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h. */
7704 #define _FILE_OFFSET_BITS 64
7705 #include <sys/types.h>
7706 /* Check that off_t can represent 2**63 - 1 correctly.
7707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7708 since some C++ compilers masquerading as C compilers
7709 incorrectly reject 9223372036854775807. */
7710 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7712 && LARGE_OFF_T % 2147483647 == 1)
7713 ? 1 : -1];
7715 main (void)
7719 return 0;
7721 _ACEOF
7722 if ac_fn_c_try_compile "$LINENO"
7723 then :
7724 ac_cv_sys_file_offset_bits=64; break
7726 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7727 ac_cv_sys_file_offset_bits=unknown
7728 break
7729 done
7731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7732 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7733 case $ac_cv_sys_file_offset_bits in #(
7734 no | unknown) ;;
7736 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7738 esac
7739 rm -rf conftest*
7740 if test $ac_cv_sys_file_offset_bits = unknown; then
7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7742 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7743 if test ${ac_cv_sys_large_files+y}
7744 then :
7745 printf %s "(cached) " >&6
7746 else $as_nop
7747 while :; do
7748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7749 /* end confdefs.h. */
7750 #include <sys/types.h>
7751 /* Check that off_t can represent 2**63 - 1 correctly.
7752 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7753 since some C++ compilers masquerading as C compilers
7754 incorrectly reject 9223372036854775807. */
7755 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7756 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7757 && LARGE_OFF_T % 2147483647 == 1)
7758 ? 1 : -1];
7760 main (void)
7764 return 0;
7766 _ACEOF
7767 if ac_fn_c_try_compile "$LINENO"
7768 then :
7769 ac_cv_sys_large_files=no; break
7771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7773 /* end confdefs.h. */
7774 #define _LARGE_FILES 1
7775 #include <sys/types.h>
7776 /* Check that off_t can represent 2**63 - 1 correctly.
7777 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7778 since some C++ compilers masquerading as C compilers
7779 incorrectly reject 9223372036854775807. */
7780 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7781 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7782 && LARGE_OFF_T % 2147483647 == 1)
7783 ? 1 : -1];
7785 main (void)
7789 return 0;
7791 _ACEOF
7792 if ac_fn_c_try_compile "$LINENO"
7793 then :
7794 ac_cv_sys_large_files=1; break
7796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7797 ac_cv_sys_large_files=unknown
7798 break
7799 done
7801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7802 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7803 case $ac_cv_sys_large_files in #(
7804 no | unknown) ;;
7806 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7808 esac
7809 rm -rf conftest*
7814 ac_header= ac_cache=
7815 for ac_item in $ac_header_c_list
7817 if test $ac_cache; then
7818 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7819 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7820 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7822 ac_header= ac_cache=
7823 elif test $ac_header; then
7824 ac_cache=$ac_item
7825 else
7826 ac_header=$ac_item
7828 done
7837 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7838 then :
7840 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7843 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7844 if test "x$ac_cv_header_CL_cl_h" = xyes
7845 then :
7846 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7849 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7850 if test "x$ac_cv_header_EGL_egl_h" = xyes
7851 then :
7852 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7855 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7856 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7857 then :
7858 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7861 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7862 if test "x$ac_cv_header_arpa_inet_h" = xyes
7863 then :
7864 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7867 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7868 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7869 then :
7870 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7873 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7874 if test "x$ac_cv_header_asm_types_h" = xyes
7875 then :
7876 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7879 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7880 if test "x$ac_cv_header_asm_user_h" = xyes
7881 then :
7882 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7885 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7886 if test "x$ac_cv_header_elf_h" = xyes
7887 then :
7888 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7891 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7892 if test "x$ac_cv_header_float_h" = xyes
7893 then :
7894 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7897 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7898 if test "x$ac_cv_header_gettext_po_h" = xyes
7899 then :
7900 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7903 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7904 if test "x$ac_cv_header_libproc_h" = xyes
7905 then :
7906 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7909 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7910 if test "x$ac_cv_header_link_h" = xyes
7911 then :
7912 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7915 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7916 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7917 then :
7918 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7921 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7922 if test "x$ac_cv_header_linux_filter_h" = xyes
7923 then :
7924 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7927 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7928 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7929 then :
7930 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7933 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7934 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7935 then :
7936 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7939 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7940 if test "x$ac_cv_header_linux_input_h" = xyes
7941 then :
7942 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7945 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7946 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7947 then :
7948 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7951 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7952 if test "x$ac_cv_header_linux_major_h" = xyes
7953 then :
7954 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7957 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7958 if test "x$ac_cv_header_linux_param_h" = xyes
7959 then :
7960 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7963 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7964 if test "x$ac_cv_header_linux_serial_h" = xyes
7965 then :
7966 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7969 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7970 if test "x$ac_cv_header_linux_types_h" = xyes
7971 then :
7972 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7975 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7976 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7977 then :
7978 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7981 ac_fn_c_check_header_compile "$LINENO" "linux/wireless.h" "ac_cv_header_linux_wireless_h" "$ac_includes_default"
7982 if test "x$ac_cv_header_linux_wireless_h" = xyes
7983 then :
7984 printf "%s\n" "#define HAVE_LINUX_WIRELESS_H 1" >>confdefs.h
7987 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7988 if test "x$ac_cv_header_lwp_h" = xyes
7989 then :
7990 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7993 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7994 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7995 then :
7996 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7999 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8000 if test "x$ac_cv_header_mach_mach_h" = xyes
8001 then :
8002 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8005 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_machine_cpu_h" = xyes
8007 then :
8008 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8011 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8012 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8013 then :
8014 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8017 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8018 if test "x$ac_cv_header_mntent_h" = xyes
8019 then :
8020 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8023 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8024 if test "x$ac_cv_header_netdb_h" = xyes
8025 then :
8026 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8029 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8030 if test "x$ac_cv_header_netinet_in_h" = xyes
8031 then :
8032 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8035 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8036 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8037 then :
8038 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8041 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8042 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8043 then :
8044 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8047 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8048 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8049 then :
8050 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8053 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8054 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8055 then :
8056 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8059 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8060 if test "x$ac_cv_header_port_h" = xyes
8061 then :
8062 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8065 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8066 if test "x$ac_cv_header_pthread_h" = xyes
8067 then :
8068 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8071 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8072 if test "x$ac_cv_header_pwd_h" = xyes
8073 then :
8074 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8077 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8078 if test "x$ac_cv_header_sched_h" = xyes
8079 then :
8080 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8083 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8084 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8085 then :
8086 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8089 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8090 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8091 then :
8092 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8095 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8096 if test "x$ac_cv_header_scsi_sg_h" = xyes
8097 then :
8098 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8101 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8102 if test "x$ac_cv_header_stdint_h" = xyes
8103 then :
8104 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8107 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8108 if test "x$ac_cv_header_sys_attr_h" = xyes
8109 then :
8110 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8113 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8114 if test "x$ac_cv_header_sys_auxv_h" = xyes
8115 then :
8116 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8119 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8120 if test "x$ac_cv_header_sys_cdio_h" = xyes
8121 then :
8122 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8125 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8126 if test "x$ac_cv_header_sys_epoll_h" = xyes
8127 then :
8128 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8131 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8132 if test "x$ac_cv_header_sys_event_h" = xyes
8133 then :
8134 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8137 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8138 if test "x$ac_cv_header_sys_extattr_h" = xyes
8139 then :
8140 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8143 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8144 if test "x$ac_cv_header_sys_filio_h" = xyes
8145 then :
8146 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8149 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8150 if test "x$ac_cv_header_sys_ipc_h" = xyes
8151 then :
8152 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8155 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8156 if test "x$ac_cv_header_sys_link_h" = xyes
8157 then :
8158 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8161 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8162 if test "x$ac_cv_header_sys_modem_h" = xyes
8163 then :
8164 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8167 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8168 if test "x$ac_cv_header_sys_mtio_h" = xyes
8169 then :
8170 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8173 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8174 if test "x$ac_cv_header_sys_param_h" = xyes
8175 then :
8176 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8179 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8180 if test "x$ac_cv_header_sys_prctl_h" = xyes
8181 then :
8182 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8185 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8186 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8187 then :
8188 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8191 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8192 if test "x$ac_cv_header_sys_queue_h" = xyes
8193 then :
8194 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8197 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8198 if test "x$ac_cv_header_sys_random_h" = xyes
8199 then :
8200 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8203 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8204 if test "x$ac_cv_header_sys_resource_h" = xyes
8205 then :
8206 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8209 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8210 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8211 then :
8212 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8215 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8216 if test "x$ac_cv_header_sys_shm_h" = xyes
8217 then :
8218 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8221 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8222 if test "x$ac_cv_header_sys_signal_h" = xyes
8223 then :
8224 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8227 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8228 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8229 then :
8230 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8233 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8234 if test "x$ac_cv_header_sys_sockio_h" = xyes
8235 then :
8236 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8239 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8240 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8241 then :
8242 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8245 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8246 if test "x$ac_cv_header_sys_strtio_h" = xyes
8247 then :
8248 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8251 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8252 if test "x$ac_cv_header_sys_syscall_h" = xyes
8253 then :
8254 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8257 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8258 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8259 then :
8260 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8263 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8264 if test "x$ac_cv_header_sys_times_h" = xyes
8265 then :
8266 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8269 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8270 if test "x$ac_cv_header_sys_uio_h" = xyes
8271 then :
8272 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8275 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8276 if test "x$ac_cv_header_sys_user_h" = xyes
8277 then :
8278 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8281 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8282 if test "x$ac_cv_header_sys_utsname_h" = xyes
8283 then :
8284 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8287 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8288 if test "x$ac_cv_header_sys_vnode_h" = xyes
8289 then :
8290 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8293 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_xattr_h" = xyes
8295 then :
8296 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8299 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8300 if test "x$ac_cv_header_syscall_h" = xyes
8301 then :
8302 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8305 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8306 if test "x$ac_cv_header_utime_h" = xyes
8307 then :
8308 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8311 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8312 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8313 then :
8314 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8317 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8318 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8319 then :
8320 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8326 then :
8328 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8332 if test $ac_cv_header_sys_mkdev_h = no; then
8333 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8334 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8335 then :
8337 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8343 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8344 if test ${ac_cv_header_stat_broken+y}
8345 then :
8346 printf %s "(cached) " >&6
8347 else $as_nop
8348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8349 /* end confdefs.h. */
8350 #include <sys/types.h>
8351 #include <sys/stat.h>
8353 #if defined S_ISBLK && defined S_IFDIR
8354 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8355 #endif
8357 #if defined S_ISBLK && defined S_IFCHR
8358 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8359 #endif
8361 #if defined S_ISLNK && defined S_IFREG
8362 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8363 #endif
8365 #if defined S_ISSOCK && defined S_IFREG
8366 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8367 #endif
8369 _ACEOF
8370 if ac_fn_c_try_compile "$LINENO"
8371 then :
8372 ac_cv_header_stat_broken=no
8373 else $as_nop
8374 ac_cv_header_stat_broken=yes
8376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8379 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8380 if test $ac_cv_header_stat_broken = yes; then
8382 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8388 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8389 #ifdef HAVE_SYS_PARAM_H
8390 # include <sys/param.h>
8391 #endif
8393 if test "x$ac_cv_header_sys_conf_h" = xyes
8394 then :
8395 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8398 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8399 #ifdef HAVE_SYS_PARAM_H
8400 # include <sys/param.h>
8401 #endif
8403 if test "x$ac_cv_header_sys_mount_h" = xyes
8404 then :
8405 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8408 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8409 #ifdef HAVE_SYS_PARAM_H
8410 # include <sys/param.h>
8411 #endif
8413 if test "x$ac_cv_header_sys_statfs_h" = xyes
8414 then :
8415 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8418 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8419 #ifdef HAVE_SYS_PARAM_H
8420 # include <sys/param.h>
8421 #endif
8423 if test "x$ac_cv_header_sys_user_h" = xyes
8424 then :
8425 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8428 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8429 #ifdef HAVE_SYS_PARAM_H
8430 # include <sys/param.h>
8431 #endif
8433 if test "x$ac_cv_header_sys_vfs_h" = xyes
8434 then :
8435 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8440 saved_sysctl_h_CFLAGS=$CFLAGS
8441 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8442 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8443 #ifdef HAVE_SYS_PARAM_H
8444 # include <sys/param.h>
8445 #endif
8447 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8448 then :
8449 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8453 CFLAGS=$saved_sysctl_h_CFLAGS
8455 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8456 #include <sys/socket.h>
8457 #ifdef HAVE_SYS_SOCKETVAR_H
8458 # include <sys/socketvar.h>
8459 #endif
8460 #ifdef HAVE_NET_ROUTE_H
8461 # include <net/route.h>
8462 #endif
8463 #ifdef HAVE_NETINET_IN_H
8464 # include <netinet/in.h>
8465 #endif
8466 #ifdef HAVE_NETINET_IN_SYSTM_H
8467 # include <netinet/in_systm.h>
8468 #endif
8469 #ifdef HAVE_NET_IF_H
8470 # include <net/if.h>
8471 #endif
8472 #ifdef HAVE_NETINET_IP_H
8473 # include <netinet/ip.h>
8474 #endif
8476 if test "x$ac_cv_header_netinet_ip_h" = xyes
8477 then :
8478 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8481 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8482 #include <sys/socket.h>
8483 #ifdef HAVE_SYS_SOCKETVAR_H
8484 # include <sys/socketvar.h>
8485 #endif
8486 #ifdef HAVE_NET_ROUTE_H
8487 # include <net/route.h>
8488 #endif
8489 #ifdef HAVE_NETINET_IN_H
8490 # include <netinet/in.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_SYSTM_H
8493 # include <netinet/in_systm.h>
8494 #endif
8495 #ifdef HAVE_NET_IF_H
8496 # include <net/if.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IP_H
8499 # include <netinet/ip.h>
8500 #endif
8502 if test "x$ac_cv_header_net_if_h" = xyes
8503 then :
8504 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8507 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8508 #include <sys/socket.h>
8509 #ifdef HAVE_SYS_SOCKETVAR_H
8510 # include <sys/socketvar.h>
8511 #endif
8512 #ifdef HAVE_NET_ROUTE_H
8513 # include <net/route.h>
8514 #endif
8515 #ifdef HAVE_NETINET_IN_H
8516 # include <netinet/in.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_SYSTM_H
8519 # include <netinet/in_systm.h>
8520 #endif
8521 #ifdef HAVE_NET_IF_H
8522 # include <net/if.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IP_H
8525 # include <netinet/ip.h>
8526 #endif
8528 if test "x$ac_cv_header_net_if_arp_h" = xyes
8529 then :
8530 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8533 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8534 #include <sys/socket.h>
8535 #ifdef HAVE_SYS_SOCKETVAR_H
8536 # include <sys/socketvar.h>
8537 #endif
8538 #ifdef HAVE_NET_ROUTE_H
8539 # include <net/route.h>
8540 #endif
8541 #ifdef HAVE_NETINET_IN_H
8542 # include <netinet/in.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_SYSTM_H
8545 # include <netinet/in_systm.h>
8546 #endif
8547 #ifdef HAVE_NET_IF_H
8548 # include <net/if.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IP_H
8551 # include <netinet/ip.h>
8552 #endif
8554 if test "x$ac_cv_header_net_if_dl_h" = xyes
8555 then :
8556 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8559 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8560 #include <sys/socket.h>
8561 #ifdef HAVE_SYS_SOCKETVAR_H
8562 # include <sys/socketvar.h>
8563 #endif
8564 #ifdef HAVE_NET_ROUTE_H
8565 # include <net/route.h>
8566 #endif
8567 #ifdef HAVE_NETINET_IN_H
8568 # include <netinet/in.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_SYSTM_H
8571 # include <netinet/in_systm.h>
8572 #endif
8573 #ifdef HAVE_NET_IF_H
8574 # include <net/if.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IP_H
8577 # include <netinet/ip.h>
8578 #endif
8580 if test "x$ac_cv_header_net_if_types_h" = xyes
8581 then :
8582 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8585 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8586 #include <sys/socket.h>
8587 #ifdef HAVE_SYS_SOCKETVAR_H
8588 # include <sys/socketvar.h>
8589 #endif
8590 #ifdef HAVE_NET_ROUTE_H
8591 # include <net/route.h>
8592 #endif
8593 #ifdef HAVE_NETINET_IN_H
8594 # include <netinet/in.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_SYSTM_H
8597 # include <netinet/in_systm.h>
8598 #endif
8599 #ifdef HAVE_NET_IF_H
8600 # include <net/if.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IP_H
8603 # include <netinet/ip.h>
8604 #endif
8606 if test "x$ac_cv_header_net_route_h" = xyes
8607 then :
8608 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8611 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8612 #include <sys/socket.h>
8613 #ifdef HAVE_SYS_SOCKETVAR_H
8614 # include <sys/socketvar.h>
8615 #endif
8616 #ifdef HAVE_NET_ROUTE_H
8617 # include <net/route.h>
8618 #endif
8619 #ifdef HAVE_NETINET_IN_H
8620 # include <netinet/in.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_SYSTM_H
8623 # include <netinet/in_systm.h>
8624 #endif
8625 #ifdef HAVE_NET_IF_H
8626 # include <net/if.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IP_H
8629 # include <netinet/ip.h>
8630 #endif
8632 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8633 then :
8634 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8637 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8638 #include <sys/socket.h>
8639 #ifdef HAVE_SYS_SOCKETVAR_H
8640 # include <sys/socketvar.h>
8641 #endif
8642 #ifdef HAVE_NET_ROUTE_H
8643 # include <net/route.h>
8644 #endif
8645 #ifdef HAVE_NETINET_IN_H
8646 # include <netinet/in.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_SYSTM_H
8649 # include <netinet/in_systm.h>
8650 #endif
8651 #ifdef HAVE_NET_IF_H
8652 # include <net/if.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IP_H
8655 # include <netinet/ip.h>
8656 #endif
8658 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8659 then :
8660 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8663 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8664 #include <sys/socket.h>
8665 #ifdef HAVE_SYS_SOCKETVAR_H
8666 # include <sys/socketvar.h>
8667 #endif
8668 #ifdef HAVE_NET_ROUTE_H
8669 # include <net/route.h>
8670 #endif
8671 #ifdef HAVE_NETINET_IN_H
8672 # include <netinet/in.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_SYSTM_H
8675 # include <netinet/in_systm.h>
8676 #endif
8677 #ifdef HAVE_NET_IF_H
8678 # include <net/if.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IP_H
8681 # include <netinet/ip.h>
8682 #endif
8684 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8685 then :
8686 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8689 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8690 #include <sys/socket.h>
8691 #ifdef HAVE_SYS_SOCKETVAR_H
8692 # include <sys/socketvar.h>
8693 #endif
8694 #ifdef HAVE_NET_ROUTE_H
8695 # include <net/route.h>
8696 #endif
8697 #ifdef HAVE_NETINET_IN_H
8698 # include <netinet/in.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_SYSTM_H
8701 # include <netinet/in_systm.h>
8702 #endif
8703 #ifdef HAVE_NET_IF_H
8704 # include <net/if.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IP_H
8707 # include <netinet/ip.h>
8708 #endif
8710 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8711 then :
8712 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8715 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8716 #include <sys/socket.h>
8717 #ifdef HAVE_SYS_SOCKETVAR_H
8718 # include <sys/socketvar.h>
8719 #endif
8720 #ifdef HAVE_NET_ROUTE_H
8721 # include <net/route.h>
8722 #endif
8723 #ifdef HAVE_NETINET_IN_H
8724 # include <netinet/in.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_SYSTM_H
8727 # include <netinet/in_systm.h>
8728 #endif
8729 #ifdef HAVE_NET_IF_H
8730 # include <net/if.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IP_H
8733 # include <netinet/ip.h>
8734 #endif
8736 if test "x$ac_cv_header_netinet_udp_h" = xyes
8737 then :
8738 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8741 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8742 #include <sys/socket.h>
8743 #ifdef HAVE_SYS_SOCKETVAR_H
8744 # include <sys/socketvar.h>
8745 #endif
8746 #ifdef HAVE_NET_ROUTE_H
8747 # include <net/route.h>
8748 #endif
8749 #ifdef HAVE_NETINET_IN_H
8750 # include <netinet/in.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_SYSTM_H
8753 # include <netinet/in_systm.h>
8754 #endif
8755 #ifdef HAVE_NET_IF_H
8756 # include <net/if.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IP_H
8759 # include <netinet/ip.h>
8760 #endif
8762 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8763 then :
8764 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8767 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8768 #include <sys/socket.h>
8769 #ifdef HAVE_SYS_SOCKETVAR_H
8770 # include <sys/socketvar.h>
8771 #endif
8772 #ifdef HAVE_NET_ROUTE_H
8773 # include <net/route.h>
8774 #endif
8775 #ifdef HAVE_NETINET_IN_H
8776 # include <netinet/in.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_SYSTM_H
8779 # include <netinet/in_systm.h>
8780 #endif
8781 #ifdef HAVE_NET_IF_H
8782 # include <net/if.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IP_H
8785 # include <netinet/ip.h>
8786 #endif
8788 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8789 then :
8790 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8793 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8794 #include <sys/socket.h>
8795 #ifdef HAVE_SYS_SOCKETVAR_H
8796 # include <sys/socketvar.h>
8797 #endif
8798 #ifdef HAVE_NET_ROUTE_H
8799 # include <net/route.h>
8800 #endif
8801 #ifdef HAVE_NETINET_IN_H
8802 # include <netinet/in.h>
8803 #endif
8804 #ifdef HAVE_NETINET_IN_SYSTM_H
8805 # include <netinet/in_systm.h>
8806 #endif
8807 #ifdef HAVE_NET_IF_H
8808 # include <net/if.h>
8809 #endif
8810 #ifdef HAVE_NETINET_IP_H
8811 # include <netinet/ip.h>
8812 #endif
8814 if test "x$ac_cv_header_sys_un_h" = xyes
8815 then :
8816 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8821 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8822 #include <sys/socket.h>
8823 #ifdef HAVE_SYS_SOCKETVAR_H
8824 # include <sys/socketvar.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IN_H
8827 # include <netinet/in.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IN_SYSTM_H
8830 # include <netinet/in_systm.h>
8831 #endif
8832 #ifdef HAVE_NETINET_IP_H
8833 # include <netinet/ip.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IP_VAR_H
8836 # include <netinet/ip_var.h>
8837 #endif
8838 #ifdef HAVE_NETINET_IP_ICMP_H
8839 # include <netinet/ip_icmp.h>
8840 #endif
8841 #ifdef HAVE_NETINET_UDP_H
8842 # include <netinet/udp.h>
8843 #endif
8844 #ifdef HAVE_NETINET_TCP_H
8845 # include <netinet/tcp.h>
8846 #endif
8848 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8849 then :
8850 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8853 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8854 #include <sys/socket.h>
8855 #ifdef HAVE_SYS_SOCKETVAR_H
8856 # include <sys/socketvar.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IN_H
8859 # include <netinet/in.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IN_SYSTM_H
8862 # include <netinet/in_systm.h>
8863 #endif
8864 #ifdef HAVE_NETINET_IP_H
8865 # include <netinet/ip.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IP_VAR_H
8868 # include <netinet/ip_var.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IP_ICMP_H
8871 # include <netinet/ip_icmp.h>
8872 #endif
8873 #ifdef HAVE_NETINET_UDP_H
8874 # include <netinet/udp.h>
8875 #endif
8876 #ifdef HAVE_NETINET_TCP_H
8877 # include <netinet/tcp.h>
8878 #endif
8880 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8881 then :
8882 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8885 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8886 #include <sys/socket.h>
8887 #ifdef HAVE_SYS_SOCKETVAR_H
8888 # include <sys/socketvar.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IN_H
8891 # include <netinet/in.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IN_SYSTM_H
8894 # include <netinet/in_systm.h>
8895 #endif
8896 #ifdef HAVE_NETINET_IP_H
8897 # include <netinet/ip.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IP_VAR_H
8900 # include <netinet/ip_var.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IP_ICMP_H
8903 # include <netinet/ip_icmp.h>
8904 #endif
8905 #ifdef HAVE_NETINET_UDP_H
8906 # include <netinet/udp.h>
8907 #endif
8908 #ifdef HAVE_NETINET_TCP_H
8909 # include <netinet/tcp.h>
8910 #endif
8912 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8913 then :
8914 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8917 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8918 #include <sys/socket.h>
8919 #ifdef HAVE_SYS_SOCKETVAR_H
8920 # include <sys/socketvar.h>
8921 #endif
8922 #ifdef HAVE_NETINET_IN_H
8923 # include <netinet/in.h>
8924 #endif
8925 #ifdef HAVE_NETINET_IN_SYSTM_H
8926 # include <netinet/in_systm.h>
8927 #endif
8928 #ifdef HAVE_NETINET_IP_H
8929 # include <netinet/ip.h>
8930 #endif
8931 #ifdef HAVE_NETINET_IP_VAR_H
8932 # include <netinet/ip_var.h>
8933 #endif
8934 #ifdef HAVE_NETINET_IP_ICMP_H
8935 # include <netinet/ip_icmp.h>
8936 #endif
8937 #ifdef HAVE_NETINET_UDP_H
8938 # include <netinet/udp.h>
8939 #endif
8940 #ifdef HAVE_NETINET_TCP_H
8941 # include <netinet/tcp.h>
8942 #endif
8944 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8945 then :
8946 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8951 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8952 #include <sys/socket.h>
8953 #ifdef HAVE_ASM_TYPES_H
8954 # include <asm/types.h>
8955 #endif
8956 #ifdef HAVE_LINUX_TYPES_H
8957 # include <linux/types.h>
8958 #endif
8960 if test "x$ac_cv_header_linux_ipx_h" = xyes
8961 then :
8962 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8965 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8966 #include <sys/socket.h>
8967 #ifdef HAVE_ASM_TYPES_H
8968 # include <asm/types.h>
8969 #endif
8970 #ifdef HAVE_LINUX_TYPES_H
8971 # include <linux/types.h>
8972 #endif
8974 if test "x$ac_cv_header_linux_irda_h" = xyes
8975 then :
8976 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8980 #include <sys/socket.h>
8981 #ifdef HAVE_ASM_TYPES_H
8982 # include <asm/types.h>
8983 #endif
8984 #ifdef HAVE_LINUX_TYPES_H
8985 # include <linux/types.h>
8986 #endif
8988 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8989 then :
8990 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8995 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8996 #include <sys/socket.h>
8997 #ifdef HAVE_NETINET_IN_H
8998 # include <netinet/in.h>
8999 #endif
9000 #ifdef HAVE_ARPA_NAMESER_H
9001 # include <arpa/nameser.h>
9002 #endif
9004 if test "x$ac_cv_header_resolv_h" = xyes
9005 then :
9006 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9013 if test "x$ac_cv_header_ifaddrs_h" = xyes
9014 then :
9015 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9020 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9022 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9030 #ifdef HAVE_SYS_UCONTEXT_H
9031 #include <sys/ucontext.h>
9032 #endif
9034 if test "x$ac_cv_header_sys_thr_h" = xyes
9035 then :
9036 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9041 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9042 #include <pthread.h>
9043 #endif
9045 if test "x$ac_cv_header_pthread_np_h" = xyes
9046 then :
9047 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9052 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9053 #include <sys/types.h>
9054 #ifdef HAVE_ASM_TYPES_H
9055 #include <asm/types.h>
9056 #endif
9058 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9059 then :
9060 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9065 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9066 #include <sys/param.h>
9067 #endif
9068 #include <sys/socket.h>
9069 #ifdef HAVE_SYS_QUEUE_H
9070 #include <sys/queue.h>
9071 #endif
9073 if test "x$ac_cv_header_libprocstat_h" = xyes
9074 then :
9075 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9080 if test "x$ac_cv_header_sys_xattr_h" = xyes
9081 then
9082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9083 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9084 if test ${wine_cv_xattr_extra_args+y}
9085 then :
9086 printf %s "(cached) " >&6
9087 else $as_nop
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9090 #include <sys/xattr.h>
9092 main (void)
9094 getxattr("", "", "", 0, 0, 0);
9096 return 0;
9098 _ACEOF
9099 if ac_fn_c_try_compile "$LINENO"
9100 then :
9101 wine_cv_xattr_extra_args=yes
9102 else $as_nop
9103 wine_cv_xattr_extra_args=no
9105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9108 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9109 test $wine_cv_xattr_extra_args != yes ||
9110 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9115 DLLFLAGS=""
9117 LDDLLFLAGS=""
9119 LDEXECFLAGS=""
9121 EXTRACFLAGS=""
9123 UNIXDLLFLAGS="-fPIC"
9125 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9127 TOP_INSTALL_LIB=""
9129 TOP_INSTALL_DEV=""
9131 WINELOADER_LDFLAGS=""
9133 WINEPRELOADER_LDFLAGS=""
9135 DLLEXT=".so"
9137 LIBEXT="so"
9138 # Extract the first word of "ldd", so it can be a program name with args.
9139 set dummy ldd; ac_word=$2
9140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9141 printf %s "checking for $ac_word... " >&6; }
9142 if test ${ac_cv_path_LDD+y}
9143 then :
9144 printf %s "(cached) " >&6
9145 else $as_nop
9146 case $LDD in
9147 [\\/]* | ?:[\\/]*)
9148 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9152 as_dummy="/sbin:/usr/sbin:$PATH"
9153 for as_dir in $as_dummy
9155 IFS=$as_save_IFS
9156 case $as_dir in #(((
9157 '') as_dir=./ ;;
9158 */) ;;
9159 *) as_dir=$as_dir/ ;;
9160 esac
9161 for ac_exec_ext in '' $ac_executable_extensions; do
9162 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9163 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9165 break 2
9167 done
9168 done
9169 IFS=$as_save_IFS
9171 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9173 esac
9175 LDD=$ac_cv_path_LDD
9176 if test -n "$LDD"; then
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9178 printf "%s\n" "$LDD" >&6; }
9179 else
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 printf "%s\n" "no" >&6; }
9185 if test -n "$ac_tool_prefix"; then
9186 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9187 set dummy ${ac_tool_prefix}otool; ac_word=$2
9188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9189 printf %s "checking for $ac_word... " >&6; }
9190 if test ${ac_cv_prog_OTOOL+y}
9191 then :
9192 printf %s "(cached) " >&6
9193 else $as_nop
9194 if test -n "$OTOOL"; then
9195 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9196 else
9197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 for as_dir in $PATH
9200 IFS=$as_save_IFS
9201 case $as_dir in #(((
9202 '') as_dir=./ ;;
9203 */) ;;
9204 *) as_dir=$as_dir/ ;;
9205 esac
9206 for ac_exec_ext in '' $ac_executable_extensions; do
9207 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9208 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9209 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9210 break 2
9212 done
9213 done
9214 IFS=$as_save_IFS
9218 OTOOL=$ac_cv_prog_OTOOL
9219 if test -n "$OTOOL"; then
9220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9221 printf "%s\n" "$OTOOL" >&6; }
9222 else
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 printf "%s\n" "no" >&6; }
9229 if test -z "$ac_cv_prog_OTOOL"; then
9230 ac_ct_OTOOL=$OTOOL
9231 # Extract the first word of "otool", so it can be a program name with args.
9232 set dummy otool; ac_word=$2
9233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9234 printf %s "checking for $ac_word... " >&6; }
9235 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9236 then :
9237 printf %s "(cached) " >&6
9238 else $as_nop
9239 if test -n "$ac_ct_OTOOL"; then
9240 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9241 else
9242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9243 for as_dir in $PATH
9245 IFS=$as_save_IFS
9246 case $as_dir in #(((
9247 '') as_dir=./ ;;
9248 */) ;;
9249 *) as_dir=$as_dir/ ;;
9250 esac
9251 for ac_exec_ext in '' $ac_executable_extensions; do
9252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9253 ac_cv_prog_ac_ct_OTOOL="otool"
9254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9255 break 2
9257 done
9258 done
9259 IFS=$as_save_IFS
9263 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9264 if test -n "$ac_ct_OTOOL"; then
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9266 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9267 else
9268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9269 printf "%s\n" "no" >&6; }
9272 if test "x$ac_ct_OTOOL" = x; then
9273 OTOOL="otool"
9274 else
9275 case $cross_compiling:$ac_tool_warned in
9276 yes:)
9277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9278 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9279 ac_tool_warned=yes ;;
9280 esac
9281 OTOOL=$ac_ct_OTOOL
9283 else
9284 OTOOL="$ac_cv_prog_OTOOL"
9287 if test -n "$ac_tool_prefix"; then
9288 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9289 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9291 printf %s "checking for $ac_word... " >&6; }
9292 if test ${ac_cv_prog_READELF+y}
9293 then :
9294 printf %s "(cached) " >&6
9295 else $as_nop
9296 if test -n "$READELF"; then
9297 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9298 else
9299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 for as_dir in $PATH
9302 IFS=$as_save_IFS
9303 case $as_dir in #(((
9304 '') as_dir=./ ;;
9305 */) ;;
9306 *) as_dir=$as_dir/ ;;
9307 esac
9308 for ac_exec_ext in '' $ac_executable_extensions; do
9309 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9310 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9311 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9312 break 2
9314 done
9315 done
9316 IFS=$as_save_IFS
9320 READELF=$ac_cv_prog_READELF
9321 if test -n "$READELF"; then
9322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9323 printf "%s\n" "$READELF" >&6; }
9324 else
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 printf "%s\n" "no" >&6; }
9331 if test -z "$ac_cv_prog_READELF"; then
9332 ac_ct_READELF=$READELF
9333 # Extract the first word of "readelf", so it can be a program name with args.
9334 set dummy readelf; ac_word=$2
9335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 printf %s "checking for $ac_word... " >&6; }
9337 if test ${ac_cv_prog_ac_ct_READELF+y}
9338 then :
9339 printf %s "(cached) " >&6
9340 else $as_nop
9341 if test -n "$ac_ct_READELF"; then
9342 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9343 else
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in $PATH
9347 IFS=$as_save_IFS
9348 case $as_dir in #(((
9349 '') as_dir=./ ;;
9350 */) ;;
9351 *) as_dir=$as_dir/ ;;
9352 esac
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9355 ac_cv_prog_ac_ct_READELF="readelf"
9356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9357 break 2
9359 done
9360 done
9361 IFS=$as_save_IFS
9365 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9366 if test -n "$ac_ct_READELF"; then
9367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9368 printf "%s\n" "$ac_ct_READELF" >&6; }
9369 else
9370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 printf "%s\n" "no" >&6; }
9374 if test "x$ac_ct_READELF" = x; then
9375 READELF="true"
9376 else
9377 case $cross_compiling:$ac_tool_warned in
9378 yes:)
9379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9380 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9381 ac_tool_warned=yes ;;
9382 esac
9383 READELF=$ac_ct_READELF
9385 else
9386 READELF="$ac_cv_prog_READELF"
9389 wine_rules="all:"
9390 SUBDIRS=""
9392 DISABLED_SUBDIRS=""
9394 CONFIGURE_TARGETS=""
9397 wine_fn_config_makefile ()
9399 as_fn_append SUBDIRS " \\$as_nl $1"
9400 eval enable=\$$2
9401 case "$enable" in
9402 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9403 *aarch64*|*arm*|*i386*|*x86_64*)
9404 if test -n "$PE_ARCHS"
9405 then
9406 for i in $PE_ARCHS
9408 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9409 done
9410 else
9411 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9412 fi;;
9413 esac
9416 wine_fn_config_symlink ()
9418 ac_links=$@
9419 as_fn_append wine_rules "
9420 $ac_links:
9421 @./config.status \$@"
9422 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9425 case $host_os in
9426 cygwin*|mingw32*)
9427 LIBEXT="dll"
9428 DLLEXT=""
9429 EXTRACFLAGS="-D__WINE_PE_BUILD"
9430 case $host_cpu in
9431 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9432 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9433 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9434 then :
9435 printf %s "(cached) " >&6
9436 else $as_nop
9437 ac_wine_try_cflags_saved=$CFLAGS
9438 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"
9444 then :
9445 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9446 else $as_nop
9447 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9450 conftest$ac_exeext conftest.$ac_ext
9451 CFLAGS=$ac_wine_try_cflags_saved
9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9454 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9455 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9456 then :
9457 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9458 fi ;;
9459 esac
9460 enable_loader=${enable_loader:-no}
9461 enable_server=${enable_server:-no}
9462 with_x=${with_x:-no}
9463 with_pthread=${with_pthread:-no}
9466 darwin*|macosx*)
9467 LIBEXT="dylib"
9468 DLLFLAGS="$DLLFLAGS -fPIC"
9469 LDDLLFLAGS="-fPIC"
9470 enable_winemac_drv=${enable_winemac_drv:-yes}
9471 CARBON_LIBS="-framework Carbon"
9473 COREFOUNDATION_LIBS="-framework CoreFoundation"
9475 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9477 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9479 METAL_LIBS="-framework Metal"
9481 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9483 CORESERVICES_LIBS="-framework CoreServices"
9485 APPKIT_LIBS="-framework AppKit"
9487 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9489 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9492 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9494 case $host_cpu in
9495 *i[3456]86*|*x86_64*) wine_can_build_preloader=yes ;;
9496 *) wine_can_build_preloader=no ;;
9497 esac
9499 if test "$wine_can_build_preloader" = "yes"
9500 then
9501 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -mmacosx-version-min=10.7 -Wl,-no_new_main,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9503 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9504 if test ${ac_cv_cflags__Wl__no_pie+y}
9505 then :
9506 printf %s "(cached) " >&6
9507 else $as_nop
9508 ac_wine_try_cflags_saved=$CFLAGS
9509 CFLAGS="$CFLAGS -Wl,-no_pie"
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_pie=yes
9517 else $as_nop
9518 ac_cv_cflags__Wl__no_pie=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_pie" >&5
9525 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9526 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9527 then :
9528 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9530 case $host_cpu in
9531 *i[3456]86*)
9532 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x7d400000 $WINEPRELOADER_LDFLAGS"
9534 *x86_64*)
9535 WINEPRELOADER_LDFLAGS="-Wl,-image_base,0x200000000,-segalign,0x1000,-segaddr,WINE_RESERVE,0x1000 $WINEPRELOADER_LDFLAGS"
9537 esac
9538 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9539 else
9540 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9543 if test "x$with_coreaudio" != "xno";
9544 then
9545 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9547 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9549 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9550 then
9551 OPENCL_LIBS="-framework OpenCL"
9553 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9557 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9558 ac_ext=m
9559 ac_cpp='$OBJCPP $CPPFLAGS'
9560 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9561 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9562 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9564 ac_ext=m
9565 ac_cpp='$OBJCPP $CPPFLAGS'
9566 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9567 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9568 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9569 if test -n "$ac_tool_prefix"; then
9570 for ac_prog in gcc objcc objc cc CC clang
9572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9575 printf %s "checking for $ac_word... " >&6; }
9576 if test ${ac_cv_prog_OBJC+y}
9577 then :
9578 printf %s "(cached) " >&6
9579 else $as_nop
9580 if test -n "$OBJC"; then
9581 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9582 else
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 for as_dir in $PATH
9586 IFS=$as_save_IFS
9587 case $as_dir in #(((
9588 '') as_dir=./ ;;
9589 */) ;;
9590 *) as_dir=$as_dir/ ;;
9591 esac
9592 for ac_exec_ext in '' $ac_executable_extensions; do
9593 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9594 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9596 break 2
9598 done
9599 done
9600 IFS=$as_save_IFS
9604 OBJC=$ac_cv_prog_OBJC
9605 if test -n "$OBJC"; then
9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9607 printf "%s\n" "$OBJC" >&6; }
9608 else
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610 printf "%s\n" "no" >&6; }
9614 test -n "$OBJC" && break
9615 done
9617 if test -z "$OBJC"; then
9618 ac_ct_OBJC=$OBJC
9619 for ac_prog in gcc objcc objc cc CC clang
9621 # Extract the first word of "$ac_prog", so it can be a program name with args.
9622 set dummy $ac_prog; ac_word=$2
9623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9624 printf %s "checking for $ac_word... " >&6; }
9625 if test ${ac_cv_prog_ac_ct_OBJC+y}
9626 then :
9627 printf %s "(cached) " >&6
9628 else $as_nop
9629 if test -n "$ac_ct_OBJC"; then
9630 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9631 else
9632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9633 for as_dir in $PATH
9635 IFS=$as_save_IFS
9636 case $as_dir in #(((
9637 '') as_dir=./ ;;
9638 */) ;;
9639 *) as_dir=$as_dir/ ;;
9640 esac
9641 for ac_exec_ext in '' $ac_executable_extensions; do
9642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9643 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9645 break 2
9647 done
9648 done
9649 IFS=$as_save_IFS
9653 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9654 if test -n "$ac_ct_OBJC"; then
9655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9656 printf "%s\n" "$ac_ct_OBJC" >&6; }
9657 else
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9659 printf "%s\n" "no" >&6; }
9663 test -n "$ac_ct_OBJC" && break
9664 done
9666 if test "x$ac_ct_OBJC" = x; then
9667 OBJC="gcc"
9668 else
9669 case $cross_compiling:$ac_tool_warned in
9670 yes:)
9671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9672 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9673 ac_tool_warned=yes ;;
9674 esac
9675 OBJC=$ac_ct_OBJC
9679 # Provide some information about the compiler.
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9681 set X $ac_compile
9682 ac_compiler=$2
9683 for ac_option in --version -v -V -qversion; do
9684 { { ac_try="$ac_compiler $ac_option >&5"
9685 case "(($ac_try" in
9686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9687 *) ac_try_echo=$ac_try;;
9688 esac
9689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9690 printf "%s\n" "$ac_try_echo"; } >&5
9691 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9692 ac_status=$?
9693 if test -s conftest.err; then
9694 sed '10a\
9695 ... rest of stderr output deleted ...
9696 10q' conftest.err >conftest.er1
9697 cat conftest.er1 >&5
9699 rm -f conftest.er1 conftest.err
9700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9701 test $ac_status = 0; }
9702 done
9704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9705 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9706 if test ${ac_cv_objc_compiler_gnu+y}
9707 then :
9708 printf %s "(cached) " >&6
9709 else $as_nop
9710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9711 /* end confdefs.h. */
9714 main (void)
9716 #ifndef __GNUC__
9717 choke me
9718 #endif
9721 return 0;
9723 _ACEOF
9724 if ac_fn_objc_try_compile "$LINENO"
9725 then :
9726 ac_compiler_gnu=yes
9727 else $as_nop
9728 ac_compiler_gnu=no
9730 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9731 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9735 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9736 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9738 if test $ac_compiler_gnu = yes; then
9739 GOBJC=yes
9740 else
9741 GOBJC=
9743 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9744 ac_save_OBJCFLAGS=$OBJCFLAGS
9745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9746 printf %s "checking whether $OBJC accepts -g... " >&6; }
9747 if test ${ac_cv_prog_objc_g+y}
9748 then :
9749 printf %s "(cached) " >&6
9750 else $as_nop
9751 ac_save_objc_werror_flag=$ac_objc_werror_flag
9752 ac_objc_werror_flag=yes
9753 ac_cv_prog_objc_g=no
9754 OBJCFLAGS="-g"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9759 main (void)
9763 return 0;
9765 _ACEOF
9766 if ac_fn_objc_try_compile "$LINENO"
9767 then :
9768 ac_cv_prog_objc_g=yes
9769 else $as_nop
9770 OBJCFLAGS=""
9771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9775 main (void)
9779 return 0;
9781 _ACEOF
9782 if ac_fn_objc_try_compile "$LINENO"
9783 then :
9785 else $as_nop
9786 ac_objc_werror_flag=$ac_save_objc_werror_flag
9787 OBJCFLAGS="-g"
9788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789 /* end confdefs.h. */
9792 main (void)
9796 return 0;
9798 _ACEOF
9799 if ac_fn_objc_try_compile "$LINENO"
9800 then :
9801 ac_cv_prog_objc_g=yes
9803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9808 ac_objc_werror_flag=$ac_save_objc_werror_flag
9810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9811 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9812 if test $ac_test_OBJCFLAGS; then
9813 OBJCFLAGS=$ac_save_OBJCFLAGS
9814 elif test $ac_cv_prog_objc_g = yes; then
9815 if test "$GOBJC" = yes; then
9816 OBJCFLAGS="-g -O2"
9817 else
9818 OBJCFLAGS="-g"
9820 else
9821 if test "$GOBJC" = yes; then
9822 OBJCFLAGS="-O2"
9823 else
9824 OBJCFLAGS=
9827 ac_ext=m
9828 ac_cpp='$OBJCPP $CPPFLAGS'
9829 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9830 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9831 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9836 #include <Metal/Metal.h>
9838 main (void)
9840 id<MTLDevice> device; device.registryID;
9842 return 0;
9844 _ACEOF
9845 if ac_fn_objc_try_compile "$LINENO"
9846 then :
9847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9848 printf "%s\n" "yes" >&6; }
9850 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9852 else $as_nop
9853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9854 printf "%s\n" "no" >&6; }
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9857 ac_ext=c
9858 ac_cpp='$CPP $CPPFLAGS'
9859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9864 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9865 WINELOADER_DEPENDS="wine_info.plist"
9869 linux-android*)
9871 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9873 DLLFLAGS="$DLLFLAGS -fPIC"
9874 LDDLLFLAGS="-fPIC"
9875 LDEXECFLAGS="-Wl,-pie"
9876 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9878 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9879 if test ${ac_cv_cflags__Wl__z_defs+y}
9880 then :
9881 printf %s "(cached) " >&6
9882 else $as_nop
9883 ac_wine_try_cflags_saved=$CFLAGS
9884 CFLAGS="$CFLAGS -Wl,-z,defs"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int main(int argc, char **argv) { return 0; }
9888 _ACEOF
9889 if ac_fn_c_try_link "$LINENO"
9890 then :
9891 ac_cv_cflags__Wl__z_defs=yes
9892 else $as_nop
9893 ac_cv_cflags__Wl__z_defs=no
9895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9896 conftest$ac_exeext conftest.$ac_ext
9897 CFLAGS=$ac_wine_try_cflags_saved
9899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9900 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9901 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9902 then :
9903 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9906 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9907 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9908 then :
9909 printf %s "(cached) " >&6
9910 else $as_nop
9911 ac_wine_try_cflags_saved=$CFLAGS
9912 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9915 int main(int argc, char **argv) { return 0; }
9916 _ACEOF
9917 if ac_fn_c_try_link "$LINENO"
9918 then :
9919 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9920 else $as_nop
9921 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9928 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9929 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9930 then :
9931 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9933 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9936 printf %s "checking for -lEGL... " >&6; }
9937 if test ${ac_cv_lib_soname_EGL+y}
9938 then :
9939 printf %s "(cached) " >&6
9940 else $as_nop
9941 ac_check_soname_save_LIBS=$LIBS
9942 LIBS="-lEGL $LIBS"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9949 char eglGetProcAddress ();
9951 main (void)
9953 return eglGetProcAddress ();
9955 return 0;
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"
9959 then :
9960 case "$LIBEXT" in
9961 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9962 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'` ;;
9963 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9964 if ${ac_cv_lib_soname_EGL:+false} :
9965 then :
9966 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9967 fi ;;
9968 esac
9969 else $as_nop
9970 ac_cv_lib_soname_EGL=
9972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9973 conftest$ac_exeext conftest.$ac_ext
9974 LIBS=$ac_check_soname_save_LIBS
9976 if ${ac_cv_lib_soname_EGL:+false} :
9977 then :
9978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 printf "%s\n" "not found" >&6; }
9981 else $as_nop
9982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9983 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
9985 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
9989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9990 printf %s "checking for -lGLESv2... " >&6; }
9991 if test ${ac_cv_lib_soname_GLESv2+y}
9992 then :
9993 printf %s "(cached) " >&6
9994 else $as_nop
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lGLESv2 $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10003 char glFlush ();
10005 main (void)
10007 return glFlush ();
10009 return 0;
10011 _ACEOF
10012 if ac_fn_c_try_link "$LINENO"
10013 then :
10014 case "$LIBEXT" in
10015 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10016 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'` ;;
10017 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10018 if ${ac_cv_lib_soname_GLESv2:+false} :
10019 then :
10020 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10021 fi ;;
10022 esac
10023 else $as_nop
10024 ac_cv_lib_soname_GLESv2=
10026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_soname_save_LIBS
10030 if ${ac_cv_lib_soname_GLESv2:+false} :
10031 then :
10032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10033 printf "%s\n" "not found" >&6; }
10035 else $as_nop
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10037 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10039 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10044 if test "x$exec_prefix" = xNONE
10045 then
10046 case $host_cpu in
10047 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10048 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10049 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10050 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10051 esac
10057 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10059 test "$ac_cv_sys_file_offset_bits" = 64 &&
10060 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10062 case $host_cpu in
10063 *i[3456789]86*)
10064 DLLFLAGS="$DLLFLAGS -fno-PIC"
10065 LDDLLFLAGS="-fno-PIC"
10066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10067 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10068 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10069 then :
10070 printf %s "(cached) " >&6
10071 else $as_nop
10072 ac_wine_try_cflags_saved=$CFLAGS
10073 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10075 /* end confdefs.h. */
10076 int main(int argc, char **argv) { return 0; }
10077 _ACEOF
10078 if ac_fn_c_try_link "$LINENO"
10079 then :
10080 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10081 else $as_nop
10082 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10085 conftest$ac_exeext conftest.$ac_ext
10086 CFLAGS=$ac_wine_try_cflags_saved
10088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10089 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10090 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10091 then :
10092 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10096 DLLFLAGS="$DLLFLAGS -fPIC"
10097 LDDLLFLAGS="-fPIC" ;;
10098 esac
10100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10101 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10102 if test ${ac_cv_cflags__Wl__z_defs+y}
10103 then :
10104 printf %s "(cached) " >&6
10105 else $as_nop
10106 ac_wine_try_cflags_saved=$CFLAGS
10107 CFLAGS="$CFLAGS -Wl,-z,defs"
10108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10109 /* end confdefs.h. */
10110 int main(int argc, char **argv) { return 0; }
10111 _ACEOF
10112 if ac_fn_c_try_link "$LINENO"
10113 then :
10114 ac_cv_cflags__Wl__z_defs=yes
10115 else $as_nop
10116 ac_cv_cflags__Wl__z_defs=no
10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10119 conftest$ac_exeext conftest.$ac_ext
10120 CFLAGS=$ac_wine_try_cflags_saved
10122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10123 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10124 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10125 then :
10126 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10129 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10130 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10131 then :
10132 printf %s "(cached) " >&6
10133 else $as_nop
10134 ac_wine_try_cflags_saved=$CFLAGS
10135 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 int main(int argc, char **argv) { return 0; }
10139 _ACEOF
10140 if ac_fn_c_try_link "$LINENO"
10141 then :
10142 ac_cv_cflags__Wl___export_dynamic=yes
10143 else $as_nop
10144 ac_cv_cflags__Wl___export_dynamic=no
10146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10147 conftest$ac_exeext conftest.$ac_ext
10148 CFLAGS=$ac_wine_try_cflags_saved
10150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10151 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10152 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10153 then :
10154 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10156 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs"
10158 case $host_os in
10159 linux*)
10160 as_fn_append WINELOADER_LDFLAGS " -pie"
10161 case $HOST_ARCH in
10162 i386|arm)
10163 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d400000" ;;
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -static-pie" >&5
10166 printf %s "checking whether the compiler supports -static-pie... " >&6; }
10167 if test ${ac_cv_cflags__static_pie+y}
10168 then :
10169 printf %s "(cached) " >&6
10170 else $as_nop
10171 ac_wine_try_cflags_saved=$CFLAGS
10172 CFLAGS="$CFLAGS -static-pie"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 int main(int argc, char **argv) { return 0; }
10176 _ACEOF
10177 if ac_fn_c_try_link "$LINENO"
10178 then :
10179 ac_cv_cflags__static_pie=yes
10180 else $as_nop
10181 ac_cv_cflags__static_pie=no
10183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10184 conftest$ac_exeext conftest.$ac_ext
10185 CFLAGS=$ac_wine_try_cflags_saved
10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__static_pie" >&5
10188 printf "%s\n" "$ac_cv_cflags__static_pie" >&6; }
10189 if test "x$ac_cv_cflags__static_pie" = xyes
10190 then :
10191 as_fn_append WINEPRELOADER_LDFLAGS " -static-pie"
10192 else $as_nop
10193 as_fn_append WINEPRELOADER_LDFLAGS " -static -Wl,-Ttext=0x7d7d00000000"
10196 esac
10199 case $HOST_ARCH in
10200 i386|arm)
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x60000000" >&5
10202 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x60000000... " >&6; }
10203 if test ${ac_cv_cflags__Wl__Ttext_segment_0x60000000+y}
10204 then :
10205 printf %s "(cached) " >&6
10206 else $as_nop
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x60000000"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int main(int argc, char **argv) { return 0; }
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"
10214 then :
10215 ac_cv_cflags__Wl__Ttext_segment_0x60000000=yes
10216 else $as_nop
10217 ac_cv_cflags__Wl__Ttext_segment_0x60000000=no
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 CFLAGS=$ac_wine_try_cflags_saved
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&5
10224 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x60000000" >&6; }
10225 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x60000000" = xyes
10226 then :
10227 as_fn_append WINELOADER_LDFLAGS " -Wl,-Ttext-segment=0x60000000"
10228 else $as_nop
10229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x60000400" >&5
10230 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x60000400... " >&6; }
10231 if test ${ac_cv_cflags__Wl___section_start__interp_0x60000400+y}
10232 then :
10233 printf %s "(cached) " >&6
10234 else $as_nop
10235 ac_wine_try_cflags_saved=$CFLAGS
10236 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x60000400"
10237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h. */
10239 int main(int argc, char **argv) { return 0; }
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"
10242 then :
10243 ac_cv_cflags__Wl___section_start__interp_0x60000400=yes
10244 else $as_nop
10245 ac_cv_cflags__Wl___section_start__interp_0x60000400=no
10247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10248 conftest$ac_exeext conftest.$ac_ext
10249 CFLAGS=$ac_wine_try_cflags_saved
10251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x60000400" >&5
10252 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x60000400" >&6; }
10253 if test "x$ac_cv_cflags__Wl___section_start__interp_0x60000400" = xyes
10254 then :
10255 as_fn_append WINELOADER_LDFLAGS " -Wl,--section-start,.interp=0x60000400"
10260 as_fn_append WINELOADER_LDFLAGS " -pie"
10262 esac
10264 esac
10266 esac
10268 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10269 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10270 enable_winemac_drv=${enable_winemac_drv:-no}
10272 PE_ARCHS=""
10274 cross_archs=
10275 if test ${enable_archs+y}
10276 then :
10277 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10278 ac_save_IFS=$IFS
10279 IFS=' ,'
10280 set x $enable_archs
10281 IFS=$ac_save_IFS
10282 shift
10283 for arch
10285 case $arch in
10286 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10287 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10288 esac
10289 done
10290 else $as_nop
10291 if test "x$with_mingw" != xno
10292 then
10293 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10297 for wine_arch in $cross_archs
10299 case "x$with_mingw" in
10300 xclang|x*/clang) eval "${wine_arch}_CC=\$with_mingw" ;;
10301 esac
10302 if eval \${${wine_arch}_CC:+false} :
10303 then :
10304 case $wine_arch in
10305 aarch64)
10306 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10308 # Extract the first word of "$ac_prog", so it can be a program name with args.
10309 set dummy $ac_prog; ac_word=$2
10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311 printf %s "checking for $ac_word... " >&6; }
10312 if test ${ac_cv_prog_aarch64_CC+y}
10313 then :
10314 printf %s "(cached) " >&6
10315 else $as_nop
10316 if test -n "$aarch64_CC"; then
10317 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10318 else
10319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10320 for as_dir in $PATH
10322 IFS=$as_save_IFS
10323 case $as_dir in #(((
10324 '') as_dir=./ ;;
10325 */) ;;
10326 *) as_dir=$as_dir/ ;;
10327 esac
10328 for ac_exec_ext in '' $ac_executable_extensions; do
10329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10330 ac_cv_prog_aarch64_CC="$ac_prog"
10331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10332 break 2
10334 done
10335 done
10336 IFS=$as_save_IFS
10340 aarch64_CC=$ac_cv_prog_aarch64_CC
10341 if test -n "$aarch64_CC"; then
10342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10343 printf "%s\n" "$aarch64_CC" >&6; }
10344 else
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10346 printf "%s\n" "no" >&6; }
10350 test -n "$aarch64_CC" && break
10351 done
10352 test -n "$aarch64_CC" || aarch64_CC="false"
10355 arm)
10356 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10358 # Extract the first word of "$ac_prog", so it can be a program name with args.
10359 set dummy $ac_prog; ac_word=$2
10360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10361 printf %s "checking for $ac_word... " >&6; }
10362 if test ${ac_cv_prog_arm_CC+y}
10363 then :
10364 printf %s "(cached) " >&6
10365 else $as_nop
10366 if test -n "$arm_CC"; then
10367 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10368 else
10369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 for as_dir in $PATH
10372 IFS=$as_save_IFS
10373 case $as_dir in #(((
10374 '') as_dir=./ ;;
10375 */) ;;
10376 *) as_dir=$as_dir/ ;;
10377 esac
10378 for ac_exec_ext in '' $ac_executable_extensions; do
10379 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10380 ac_cv_prog_arm_CC="$ac_prog"
10381 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10382 break 2
10384 done
10385 done
10386 IFS=$as_save_IFS
10390 arm_CC=$ac_cv_prog_arm_CC
10391 if test -n "$arm_CC"; then
10392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10393 printf "%s\n" "$arm_CC" >&6; }
10394 else
10395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10396 printf "%s\n" "no" >&6; }
10400 test -n "$arm_CC" && break
10401 done
10402 test -n "$arm_CC" || arm_CC="false"
10405 i386)
10406 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 "
10407 for ac_prog in $ac_prefix_list clang
10409 # Extract the first word of "$ac_prog", so it can be a program name with args.
10410 set dummy $ac_prog; ac_word=$2
10411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10412 printf %s "checking for $ac_word... " >&6; }
10413 if test ${ac_cv_prog_i386_CC+y}
10414 then :
10415 printf %s "(cached) " >&6
10416 else $as_nop
10417 if test -n "$i386_CC"; then
10418 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10419 else
10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10421 for as_dir in $PATH
10423 IFS=$as_save_IFS
10424 case $as_dir in #(((
10425 '') as_dir=./ ;;
10426 */) ;;
10427 *) as_dir=$as_dir/ ;;
10428 esac
10429 for ac_exec_ext in '' $ac_executable_extensions; do
10430 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10431 ac_cv_prog_i386_CC="$ac_prog"
10432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10433 break 2
10435 done
10436 done
10437 IFS=$as_save_IFS
10441 i386_CC=$ac_cv_prog_i386_CC
10442 if test -n "$i386_CC"; then
10443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10444 printf "%s\n" "$i386_CC" >&6; }
10445 else
10446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10447 printf "%s\n" "no" >&6; }
10451 test -n "$i386_CC" && break
10452 done
10453 test -n "$i386_CC" || i386_CC="false"
10456 x86_64)
10457 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10458 for ac_prog in $ac_prefix_list clang
10460 # Extract the first word of "$ac_prog", so it can be a program name with args.
10461 set dummy $ac_prog; ac_word=$2
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10463 printf %s "checking for $ac_word... " >&6; }
10464 if test ${ac_cv_prog_x86_64_CC+y}
10465 then :
10466 printf %s "(cached) " >&6
10467 else $as_nop
10468 if test -n "$x86_64_CC"; then
10469 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10470 else
10471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10472 for as_dir in $PATH
10474 IFS=$as_save_IFS
10475 case $as_dir in #(((
10476 '') as_dir=./ ;;
10477 */) ;;
10478 *) as_dir=$as_dir/ ;;
10479 esac
10480 for ac_exec_ext in '' $ac_executable_extensions; do
10481 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10482 ac_cv_prog_x86_64_CC="$ac_prog"
10483 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10484 break 2
10486 done
10487 done
10488 IFS=$as_save_IFS
10492 x86_64_CC=$ac_cv_prog_x86_64_CC
10493 if test -n "$x86_64_CC"; then
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10495 printf "%s\n" "$x86_64_CC" >&6; }
10496 else
10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10498 printf "%s\n" "no" >&6; }
10502 test -n "$x86_64_CC" && break
10503 done
10504 test -n "$x86_64_CC" || x86_64_CC="false"
10507 esac
10510 saved_CC=$CC
10511 saved_CFLAGS=$CFLAGS
10512 saved_LDFLAGS=$LDFLAGS
10514 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10515 LDFLAGS=$CROSSLDFLAGS
10516 eval CC=\$${wine_arch}_CC
10517 eval ${wine_arch}_CFLAGS=\$CFLAGS
10518 eval ${wine_arch}_LDFLAGS=\$LDFLAGS
10519 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10521 target=""
10522 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10524 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10525 then :
10527 else $as_nop
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10529 printf %s "checking whether $CC works... " >&6; }
10530 if eval test \${$as_wine_cv_crosscc+y}
10531 then :
10532 printf %s "(cached) " >&6
10533 else $as_nop
10534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10538 main (void)
10542 return 0;
10544 _ACEOF
10545 if ac_fn_c_try_compile "$LINENO"
10546 then :
10547 eval "$as_wine_cv_crosscc=yes"
10548 else $as_nop
10549 eval "$as_wine_cv_crosscc=no"
10551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10553 eval ac_res=\$$as_wine_cv_crosscc
10554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10555 printf "%s\n" "$ac_res" >&6; }
10557 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10558 then :
10559 set x $CC
10560 shift
10561 while test $# -ge 1
10563 case "$1" in
10564 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10565 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10566 esac
10567 shift
10568 done
10570 llvm_target=$target
10571 if test -z "$llvm_target"
10572 then
10573 case $wine_arch in
10574 i386) llvm_target=i686-windows ;;
10575 arm) llvm_target=armv7-windows ;;
10576 *) llvm_target=$wine_arch-windows ;;
10577 esac
10579 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10580 case $llvm_target in
10581 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10582 esac
10583 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10585 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10586 if eval test \${$as_ac_var+y}
10587 then :
10588 printf %s "(cached) " >&6
10589 else $as_nop
10590 ac_wine_try_cflags_saved=$CFLAGS
10591 ac_wine_try_cflags_saved_exeext=$ac_exeext
10592 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10593 ac_exeext=".exe"
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 int __cdecl mainCRTStartup(void) { return 0; }
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"
10599 then :
10600 eval "$as_ac_var=yes"
10601 else $as_nop
10602 eval "$as_ac_var=no"
10604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10605 conftest$ac_exeext conftest.$ac_ext
10606 CFLAGS=$ac_wine_try_cflags_saved
10607 ac_exeext=$ac_wine_try_cflags_saved_exeext
10609 eval ac_res=\$$as_ac_var
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10611 printf "%s\n" "$ac_res" >&6; }
10612 if eval test \"x\$"$as_ac_var"\" = x"yes"
10613 then :
10614 target=$llvm_target
10615 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10616 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10617 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10618 fi }
10619 eval "${wine_arch}_TARGET=\$target"
10623 if test -z "$target"
10624 then
10625 if test ${enable_archs+y}
10626 then :
10627 as_fn_error $? "MinGW $wine_arch compiler not found.
10628 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10630 CC=$saved_CC
10631 CFLAGS=$saved_CFLAGS
10632 LDFLAGS=$saved_LDFLAGS
10633 continue
10636 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10639 printf %s "checking for $CC option to enable C99 features... " >&6; }
10640 if eval test \${$as_wine_cv_crosscc_c99+y}
10641 then :
10642 printf %s "(cached) " >&6
10643 else $as_nop
10644 eval "$as_wine_cv_crosscc_c99=no"
10645 for arg in '' '-std=gnu99' '-D__STDC__'
10647 test -z "$arg" || CC="$CC $arg"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10650 $ac_c_conftest_c99_program
10651 _ACEOF
10652 if ac_fn_c_try_compile "$LINENO"
10653 then :
10654 eval "$as_wine_cv_crosscc_c99=\$arg"
10655 else $as_nop
10656 eval "$as_wine_cv_crosscc_c99=no"
10658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10659 eval CC=\$${wine_arch}_CC
10660 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10661 then :
10663 else $as_nop
10664 break
10666 done
10669 eval res=\$$as_wine_cv_crosscc_c99
10671 case "x$res" in
10672 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10673 printf "%s\n" "none needed" >&6; } ;;
10674 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10675 printf "%s\n" "unsupported" >&6; }
10676 CC=$saved_CC
10677 CFLAGS=$saved_CFLAGS
10678 LDFLAGS=$saved_LDFLAGS
10679 if test ${enable_archs+y}
10680 then :
10681 as_fn_error $? "MinGW $wine_arch compiler supporting C99 not found.
10682 This is an error since --enable-archs=$wine_arch was requested." "$LINENO" 5
10684 continue
10686 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10687 printf "%s\n" "$res" >&6; }
10688 as_fn_append ${wine_arch}_CC " $res" ;;
10689 esac
10691 as_fn_append PE_ARCHS " $wine_arch"
10692 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10694 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10695 if eval test \${$as_ac_var+y}
10696 then :
10697 printf %s "(cached) " >&6
10698 else $as_nop
10699 ac_wine_try_cflags_saved=$CFLAGS
10700 ac_wine_try_cflags_saved_exeext=$ac_exeext
10701 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10702 ac_exeext=".exe"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int __cdecl mainCRTStartup(void) { return 0; }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"
10708 then :
10709 eval "$as_ac_var=yes"
10710 else $as_nop
10711 eval "$as_ac_var=no"
10713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10714 conftest$ac_exeext conftest.$ac_ext
10715 CFLAGS=$ac_wine_try_cflags_saved
10716 ac_exeext=$ac_wine_try_cflags_saved_exeext
10718 eval ac_res=\$$as_ac_var
10719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10720 printf "%s\n" "$ac_res" >&6; }
10721 if eval test \"x\$"$as_ac_var"\" = x"yes"
10722 then :
10723 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10724 fi }
10725 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10727 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10728 if eval test \${$as_ac_var+y}
10729 then :
10730 printf %s "(cached) " >&6
10731 else $as_nop
10732 ac_wine_try_cflags_saved=$CFLAGS
10733 ac_wine_try_cflags_saved_exeext=$ac_exeext
10734 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10735 ac_exeext=".exe"
10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10738 int __cdecl mainCRTStartup(void) { return 0; }
10739 _ACEOF
10740 if ac_fn_c_try_link "$LINENO"
10741 then :
10742 eval "$as_ac_var=yes"
10743 else $as_nop
10744 eval "$as_ac_var=no"
10746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10747 conftest$ac_exeext conftest.$ac_ext
10748 CFLAGS=$ac_wine_try_cflags_saved
10749 ac_exeext=$ac_wine_try_cflags_saved_exeext
10751 eval ac_res=\$$as_ac_var
10752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10753 printf "%s\n" "$ac_res" >&6; }
10754 if eval test \"x\$"$as_ac_var"\" = x"yes"
10755 then :
10756 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10757 fi }
10758 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10760 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10761 if eval test \${$as_ac_var+y}
10762 then :
10763 printf %s "(cached) " >&6
10764 else $as_nop
10765 ac_wine_try_cflags_saved=$CFLAGS
10766 ac_wine_try_cflags_saved_exeext=$ac_exeext
10767 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10768 ac_exeext=".exe"
10769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10771 int __cdecl mainCRTStartup(void) { return 0; }
10772 _ACEOF
10773 if ac_fn_c_try_link "$LINENO"
10774 then :
10775 eval "$as_ac_var=yes"
10776 else $as_nop
10777 eval "$as_ac_var=no"
10779 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10780 conftest$ac_exeext conftest.$ac_ext
10781 CFLAGS=$ac_wine_try_cflags_saved
10782 ac_exeext=$ac_wine_try_cflags_saved_exeext
10784 eval ac_res=\$$as_ac_var
10785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10786 printf "%s\n" "$ac_res" >&6; }
10787 if eval test \"x\$"$as_ac_var"\" = x"yes"
10788 then :
10789 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10790 fi }
10791 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10793 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10794 if eval test \${$as_ac_var+y}
10795 then :
10796 printf %s "(cached) " >&6
10797 else $as_nop
10798 ac_wine_try_cflags_saved=$CFLAGS
10799 ac_wine_try_cflags_saved_exeext=$ac_exeext
10800 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10801 ac_exeext=".exe"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10804 int __cdecl mainCRTStartup(void) { return 0; }
10805 _ACEOF
10806 if ac_fn_c_try_link "$LINENO"
10807 then :
10808 eval "$as_ac_var=yes"
10809 else $as_nop
10810 eval "$as_ac_var=no"
10812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10813 conftest$ac_exeext conftest.$ac_ext
10814 CFLAGS=$ac_wine_try_cflags_saved
10815 ac_exeext=$ac_wine_try_cflags_saved_exeext
10817 eval ac_res=\$$as_ac_var
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10819 printf "%s\n" "$ac_res" >&6; }
10820 if eval test \"x\$"$as_ac_var"\" = x"yes"
10821 then :
10822 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10823 fi }
10824 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10826 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10827 if eval test \${$as_ac_var+y}
10828 then :
10829 printf %s "(cached) " >&6
10830 else $as_nop
10831 ac_wine_try_cflags_saved=$CFLAGS
10832 ac_wine_try_cflags_saved_exeext=$ac_exeext
10833 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10834 ac_exeext=".exe"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10837 int __cdecl mainCRTStartup(void) { return 0; }
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"
10840 then :
10841 eval "$as_ac_var=yes"
10842 else $as_nop
10843 eval "$as_ac_var=no"
10845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10846 conftest$ac_exeext conftest.$ac_ext
10847 CFLAGS=$ac_wine_try_cflags_saved
10848 ac_exeext=$ac_wine_try_cflags_saved_exeext
10850 eval ac_res=\$$as_ac_var
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10852 printf "%s\n" "$ac_res" >&6; }
10853 if eval test \"x\$"$as_ac_var"\" = x"yes"
10854 then :
10855 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10856 fi }
10857 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10859 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10860 if eval test \${$as_ac_var+y}
10861 then :
10862 printf %s "(cached) " >&6
10863 else $as_nop
10864 ac_wine_try_cflags_saved=$CFLAGS
10865 ac_wine_try_cflags_saved_exeext=$ac_exeext
10866 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10867 ac_exeext=".exe"
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10870 int __cdecl mainCRTStartup(void) { return 0; }
10871 _ACEOF
10872 if ac_fn_c_try_link "$LINENO"
10873 then :
10874 eval "$as_ac_var=yes"
10875 else $as_nop
10876 eval "$as_ac_var=no"
10878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10879 conftest$ac_exeext conftest.$ac_ext
10880 CFLAGS=$ac_wine_try_cflags_saved
10881 ac_exeext=$ac_wine_try_cflags_saved_exeext
10883 eval ac_res=\$$as_ac_var
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10885 printf "%s\n" "$ac_res" >&6; }
10886 if eval test \"x\$"$as_ac_var"\" = x"yes"
10887 then :
10888 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10889 fi }
10890 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10892 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10893 if eval test \${$as_ac_var+y}
10894 then :
10895 printf %s "(cached) " >&6
10896 else $as_nop
10897 ac_wine_try_cflags_saved=$CFLAGS
10898 ac_wine_try_cflags_saved_exeext=$ac_exeext
10899 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10900 ac_exeext=".exe"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10903 int __cdecl mainCRTStartup(void) { return 0; }
10904 _ACEOF
10905 if ac_fn_c_try_link "$LINENO"
10906 then :
10907 eval "$as_ac_var=yes"
10908 else $as_nop
10909 eval "$as_ac_var=no"
10911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10912 conftest$ac_exeext conftest.$ac_ext
10913 CFLAGS=$ac_wine_try_cflags_saved
10914 ac_exeext=$ac_wine_try_cflags_saved_exeext
10916 eval ac_res=\$$as_ac_var
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10918 printf "%s\n" "$ac_res" >&6; }
10919 if eval test \"x\$"$as_ac_var"\" = x"yes"
10920 then :
10921 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10922 fi }
10923 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10925 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10926 if eval test \${$as_ac_var+y}
10927 then :
10928 printf %s "(cached) " >&6
10929 else $as_nop
10930 ac_wine_try_cflags_saved=$CFLAGS
10931 ac_wine_try_cflags_saved_exeext=$ac_exeext
10932 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10933 ac_exeext=".exe"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 int __cdecl mainCRTStartup(void) { return 0; }
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"
10939 then :
10940 eval "$as_ac_var=yes"
10941 else $as_nop
10942 eval "$as_ac_var=no"
10944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10945 conftest$ac_exeext conftest.$ac_ext
10946 CFLAGS=$ac_wine_try_cflags_saved
10947 ac_exeext=$ac_wine_try_cflags_saved_exeext
10949 eval ac_res=\$$as_ac_var
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10951 printf "%s\n" "$ac_res" >&6; }
10952 if eval test \"x\$"$as_ac_var"\" = x"yes"
10953 then :
10954 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10955 fi }
10956 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10958 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10959 if eval test \${$as_ac_var+y}
10960 then :
10961 printf %s "(cached) " >&6
10962 else $as_nop
10963 ac_wine_try_cflags_saved=$CFLAGS
10964 ac_wine_try_cflags_saved_exeext=$ac_exeext
10965 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10966 ac_exeext=".exe"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 int __cdecl mainCRTStartup(void) { return 0; }
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"
10972 then :
10973 eval "$as_ac_var=yes"
10974 else $as_nop
10975 eval "$as_ac_var=no"
10977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10978 conftest$ac_exeext conftest.$ac_ext
10979 CFLAGS=$ac_wine_try_cflags_saved
10980 ac_exeext=$ac_wine_try_cflags_saved_exeext
10982 eval ac_res=\$$as_ac_var
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10984 printf "%s\n" "$ac_res" >&6; }
10985 if eval test \"x\$"$as_ac_var"\" = x"yes"
10986 then :
10987 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
10988 fi }
10989 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
10990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
10991 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
10992 if eval test \${$as_ac_var+y}
10993 then :
10994 printf %s "(cached) " >&6
10995 else $as_nop
10996 ac_wine_try_cflags_saved=$CFLAGS
10997 ac_wine_try_cflags_saved_exeext=$ac_exeext
10998 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
10999 ac_exeext=".exe"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11002 int __cdecl mainCRTStartup(void) { return 0; }
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"
11005 then :
11006 eval "$as_ac_var=yes"
11007 else $as_nop
11008 eval "$as_ac_var=no"
11010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11011 conftest$ac_exeext conftest.$ac_ext
11012 CFLAGS=$ac_wine_try_cflags_saved
11013 ac_exeext=$ac_wine_try_cflags_saved_exeext
11015 eval ac_res=\$$as_ac_var
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11017 printf "%s\n" "$ac_res" >&6; }
11018 if eval test \"x\$"$as_ac_var"\" = x"yes"
11019 then :
11020 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11021 fi }
11022 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11024 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11025 if eval test \${$as_ac_var+y}
11026 then :
11027 printf %s "(cached) " >&6
11028 else $as_nop
11029 ac_wine_try_cflags_saved=$CFLAGS
11030 ac_wine_try_cflags_saved_exeext=$ac_exeext
11031 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11032 ac_exeext=".exe"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11035 int __cdecl mainCRTStartup(void) { return 0; }
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"
11038 then :
11039 eval "$as_ac_var=yes"
11040 else $as_nop
11041 eval "$as_ac_var=no"
11043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11044 conftest$ac_exeext conftest.$ac_ext
11045 CFLAGS=$ac_wine_try_cflags_saved
11046 ac_exeext=$ac_wine_try_cflags_saved_exeext
11048 eval ac_res=\$$as_ac_var
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11050 printf "%s\n" "$ac_res" >&6; }
11051 if eval test \"x\$"$as_ac_var"\" = x"yes"
11052 then :
11053 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11054 fi }
11055 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11057 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11058 if eval test \${$as_ac_var+y}
11059 then :
11060 printf %s "(cached) " >&6
11061 else $as_nop
11062 ac_wine_try_cflags_saved=$CFLAGS
11063 ac_wine_try_cflags_saved_exeext=$ac_exeext
11064 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11065 ac_exeext=".exe"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11068 int __cdecl mainCRTStartup(void) { return 0; }
11069 _ACEOF
11070 if ac_fn_c_try_link "$LINENO"
11071 then :
11072 eval "$as_ac_var=yes"
11073 else $as_nop
11074 eval "$as_ac_var=no"
11076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11077 conftest$ac_exeext conftest.$ac_ext
11078 CFLAGS=$ac_wine_try_cflags_saved
11079 ac_exeext=$ac_wine_try_cflags_saved_exeext
11081 eval ac_res=\$$as_ac_var
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11083 printf "%s\n" "$ac_res" >&6; }
11084 if eval test \"x\$"$as_ac_var"\" = x"yes"
11085 then :
11086 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11087 fi }
11088 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11090 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11091 if eval test \${$as_ac_var+y}
11092 then :
11093 printf %s "(cached) " >&6
11094 else $as_nop
11095 ac_wine_try_cflags_saved=$CFLAGS
11096 ac_wine_try_cflags_saved_exeext=$ac_exeext
11097 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11098 ac_exeext=".exe"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101 int __cdecl mainCRTStartup(void) { return 0; }
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"
11104 then :
11105 eval "$as_ac_var=yes"
11106 else $as_nop
11107 eval "$as_ac_var=no"
11109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11110 conftest$ac_exeext conftest.$ac_ext
11111 CFLAGS=$ac_wine_try_cflags_saved
11112 ac_exeext=$ac_wine_try_cflags_saved_exeext
11114 eval ac_res=\$$as_ac_var
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11116 printf "%s\n" "$ac_res" >&6; }
11117 if eval test \"x\$"$as_ac_var"\" = x"yes"
11118 then :
11119 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11120 fi }
11121 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11123 printf %s "checking whether $CC supports -Wvla... " >&6; }
11124 if eval test \${$as_ac_var+y}
11125 then :
11126 printf %s "(cached) " >&6
11127 else $as_nop
11128 ac_wine_try_cflags_saved=$CFLAGS
11129 ac_wine_try_cflags_saved_exeext=$ac_exeext
11130 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11131 ac_exeext=".exe"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134 int __cdecl mainCRTStartup(void) { return 0; }
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"
11137 then :
11138 eval "$as_ac_var=yes"
11139 else $as_nop
11140 eval "$as_ac_var=no"
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 ac_exeext=$ac_wine_try_cflags_saved_exeext
11147 eval ac_res=\$$as_ac_var
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11149 printf "%s\n" "$ac_res" >&6; }
11150 if eval test \"x\$"$as_ac_var"\" = x"yes"
11151 then :
11152 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11153 fi }
11154 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11156 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11157 if eval test \${$as_ac_var+y}
11158 then :
11159 printf %s "(cached) " >&6
11160 else $as_nop
11161 ac_wine_try_cflags_saved=$CFLAGS
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11164 ac_exeext=".exe"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 int __cdecl mainCRTStartup(void) { return 0; }
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"
11170 then :
11171 eval "$as_ac_var=yes"
11172 else $as_nop
11173 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 ac_exeext=$ac_wine_try_cflags_saved_exeext
11180 eval ac_res=\$$as_ac_var
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11182 printf "%s\n" "$ac_res" >&6; }
11183 if eval test \"x\$"$as_ac_var"\" = x"yes"
11184 then :
11185 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11186 fi }
11187 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11189 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11190 if eval test \${$as_ac_var+y}
11191 then :
11192 printf %s "(cached) " >&6
11193 else $as_nop
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11197 ac_exeext=".exe"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 int __cdecl mainCRTStartup(void) { return 0; }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"
11203 then :
11204 eval "$as_ac_var=yes"
11205 else $as_nop
11206 eval "$as_ac_var=no"
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 eval ac_res=\$$as_ac_var
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11215 printf "%s\n" "$ac_res" >&6; }
11216 if eval test \"x\$"$as_ac_var"\" = x"yes"
11217 then :
11218 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11219 fi }
11220 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11222 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11223 if eval test \${$as_ac_var+y}
11224 then :
11225 printf %s "(cached) " >&6
11226 else $as_nop
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11230 ac_exeext=".exe"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 int __cdecl mainCRTStartup(void) { return 0; }
11234 _ACEOF
11235 if ac_fn_c_try_link "$LINENO"
11236 then :
11237 eval "$as_ac_var=yes"
11238 else $as_nop
11239 eval "$as_ac_var=no"
11241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11242 conftest$ac_exeext conftest.$ac_ext
11243 CFLAGS=$ac_wine_try_cflags_saved
11244 ac_exeext=$ac_wine_try_cflags_saved_exeext
11246 eval ac_res=\$$as_ac_var
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11248 printf "%s\n" "$ac_res" >&6; }
11249 if eval test \"x\$"$as_ac_var"\" = x"yes"
11250 then :
11251 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11252 fi }
11253 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11255 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11256 if eval test \${$as_ac_var+y}
11257 then :
11258 printf %s "(cached) " >&6
11259 else $as_nop
11260 ac_wine_try_cflags_saved=$CFLAGS
11261 ac_wine_try_cflags_saved_exeext=$ac_exeext
11262 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11263 ac_exeext=".exe"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266 int __cdecl mainCRTStartup(void) { return 0; }
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"
11269 then :
11270 eval "$as_ac_var=yes"
11271 else $as_nop
11272 eval "$as_ac_var=no"
11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11275 conftest$ac_exeext conftest.$ac_ext
11276 CFLAGS=$ac_wine_try_cflags_saved
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 eval ac_res=\$$as_ac_var
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11281 printf "%s\n" "$ac_res" >&6; }
11282 if eval test \"x\$"$as_ac_var"\" = x"yes"
11283 then :
11284 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11285 fi }
11287 case $wine_arch in
11288 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11290 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11291 if eval test \${$as_ac_var+y}
11292 then :
11293 printf %s "(cached) " >&6
11294 else $as_nop
11295 ac_wine_try_cflags_saved=$CFLAGS
11296 ac_wine_try_cflags_saved_exeext=$ac_exeext
11297 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11298 ac_exeext=".exe"
11299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11300 /* end confdefs.h. */
11301 int __cdecl mainCRTStartup(void) { return 0; }
11302 _ACEOF
11303 if ac_fn_c_try_link "$LINENO"
11304 then :
11305 eval "$as_ac_var=yes"
11306 else $as_nop
11307 eval "$as_ac_var=no"
11309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11310 conftest$ac_exeext conftest.$ac_ext
11311 CFLAGS=$ac_wine_try_cflags_saved
11312 ac_exeext=$ac_wine_try_cflags_saved_exeext
11314 eval ac_res=\$$as_ac_var
11315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11316 printf "%s\n" "$ac_res" >&6; }
11317 if eval test \"x\$"$as_ac_var"\" = x"yes"
11318 then :
11319 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11320 fi }
11321 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11323 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11324 if eval test \${$as_ac_var+y}
11325 then :
11326 printf %s "(cached) " >&6
11327 else $as_nop
11328 ac_wine_try_cflags_saved=$CFLAGS
11329 ac_wine_try_cflags_saved_exeext=$ac_exeext
11330 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11331 ac_exeext=".exe"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334 int __cdecl mainCRTStartup(void) { return 0; }
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"
11337 then :
11338 eval "$as_ac_var=yes"
11339 else $as_nop
11340 eval "$as_ac_var=no"
11342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11343 conftest$ac_exeext conftest.$ac_ext
11344 CFLAGS=$ac_wine_try_cflags_saved
11345 ac_exeext=$ac_wine_try_cflags_saved_exeext
11347 eval ac_res=\$$as_ac_var
11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11349 printf "%s\n" "$ac_res" >&6; }
11350 if eval test \"x\$"$as_ac_var"\" = x"yes"
11351 then :
11352 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11353 fi } ;;
11354 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11356 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11357 if eval test \${$as_ac_var+y}
11358 then :
11359 printf %s "(cached) " >&6
11360 else $as_nop
11361 ac_wine_try_cflags_saved=$CFLAGS
11362 ac_wine_try_cflags_saved_exeext=$ac_exeext
11363 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11364 ac_exeext=".exe"
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h. */
11367 int __cdecl mainCRTStartup(void) { return 0; }
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"
11370 then :
11371 eval "$as_ac_var=yes"
11372 else $as_nop
11373 eval "$as_ac_var=no"
11375 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11376 conftest$ac_exeext conftest.$ac_ext
11377 CFLAGS=$ac_wine_try_cflags_saved
11378 ac_exeext=$ac_wine_try_cflags_saved_exeext
11380 eval ac_res=\$$as_ac_var
11381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11382 printf "%s\n" "$ac_res" >&6; }
11383 if eval test \"x\$"$as_ac_var"\" = x"yes"
11384 then :
11385 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11386 fi }
11387 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11389 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11390 if eval test \${$as_ac_var+y}
11391 then :
11392 printf %s "(cached) " >&6
11393 else $as_nop
11394 ac_wine_try_cflags_saved=$CFLAGS
11395 ac_wine_try_cflags_saved_exeext=$ac_exeext
11396 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11397 ac_exeext=".exe"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11400 int __cdecl mainCRTStartup(void) { return 0; }
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"
11403 then :
11404 eval "$as_ac_var=yes"
11405 else $as_nop
11406 eval "$as_ac_var=no"
11408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11409 conftest$ac_exeext conftest.$ac_ext
11410 CFLAGS=$ac_wine_try_cflags_saved
11411 ac_exeext=$ac_wine_try_cflags_saved_exeext
11413 eval ac_res=\$$as_ac_var
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11415 printf "%s\n" "$ac_res" >&6; }
11416 if eval test \"x\$"$as_ac_var"\" = x"yes"
11417 then :
11418 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11419 fi }
11420 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11422 printf %s "checking whether $CC supports -mcx16... " >&6; }
11423 if eval test \${$as_ac_var+y}
11424 then :
11425 printf %s "(cached) " >&6
11426 else $as_nop
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_exeext=$ac_exeext
11429 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11430 ac_exeext=".exe"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11433 int __cdecl mainCRTStartup(void) { return 0; }
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"
11436 then :
11437 eval "$as_ac_var=yes"
11438 else $as_nop
11439 eval "$as_ac_var=no"
11441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11442 conftest$ac_exeext conftest.$ac_ext
11443 CFLAGS=$ac_wine_try_cflags_saved
11444 ac_exeext=$ac_wine_try_cflags_saved_exeext
11446 eval ac_res=\$$as_ac_var
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11448 printf "%s\n" "$ac_res" >&6; }
11449 if eval test \"x\$"$as_ac_var"\" = x"yes"
11450 then :
11451 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11452 fi }
11453 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcmodel=small" | $as_tr_sh`
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcmodel=small" >&5
11455 printf %s "checking whether $CC supports -mcmodel=small... " >&6; }
11456 if eval test \${$as_ac_var+y}
11457 then :
11458 printf %s "(cached) " >&6
11459 else $as_nop
11460 ac_wine_try_cflags_saved=$CFLAGS
11461 ac_wine_try_cflags_saved_exeext=$ac_exeext
11462 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcmodel=small"
11463 ac_exeext=".exe"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 int __cdecl mainCRTStartup(void) { return 0; }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"
11469 then :
11470 eval "$as_ac_var=yes"
11471 else $as_nop
11472 eval "$as_ac_var=no"
11474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11475 conftest$ac_exeext conftest.$ac_ext
11476 CFLAGS=$ac_wine_try_cflags_saved
11477 ac_exeext=$ac_wine_try_cflags_saved_exeext
11479 eval ac_res=\$$as_ac_var
11480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11481 printf "%s\n" "$ac_res" >&6; }
11482 if eval test \"x\$"$as_ac_var"\" = x"yes"
11483 then :
11484 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcmodel=small"
11485 fi } ;;
11486 esac
11488 wine_crossdebug=$CROSSDEBUG
11489 if test -z "$wine_crossdebug"
11490 then
11491 for ac_flag in $CFLAGS; do
11492 case $ac_flag in
11493 -gdwarf*) wine_crossdebug=dwarf ;;
11494 -gcodeview) wine_crossdebug=pdb ;;
11495 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11496 esac
11497 done
11500 ac_debug_format_seen=""
11501 for ac_flag in $CFLAGS; do
11502 case $ac_flag in
11503 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11504 esac
11505 done
11506 if test "x$ac_debug_format_seen" = x
11507 then
11508 case $wine_crossdebug in
11509 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11511 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11512 if eval test \${$as_ac_var+y}
11513 then :
11514 printf %s "(cached) " >&6
11515 else $as_nop
11516 ac_wine_try_cflags_saved=$CFLAGS
11517 ac_wine_try_cflags_saved_exeext=$ac_exeext
11518 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11519 ac_exeext=".exe"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522 int __cdecl mainCRTStartup(void) { return 0; }
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"
11525 then :
11526 eval "$as_ac_var=yes"
11527 else $as_nop
11528 eval "$as_ac_var=no"
11530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11531 conftest$ac_exeext conftest.$ac_ext
11532 CFLAGS=$ac_wine_try_cflags_saved
11533 ac_exeext=$ac_wine_try_cflags_saved_exeext
11535 eval ac_res=\$$as_ac_var
11536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11537 printf "%s\n" "$ac_res" >&6; }
11538 if eval test \"x\$"$as_ac_var"\" = x"yes"
11539 then :
11540 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11541 fi } ;;
11542 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11544 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11545 if eval test \${$as_ac_var+y}
11546 then :
11547 printf %s "(cached) " >&6
11548 else $as_nop
11549 ac_wine_try_cflags_saved=$CFLAGS
11550 ac_wine_try_cflags_saved_exeext=$ac_exeext
11551 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11552 ac_exeext=".exe"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 int __cdecl mainCRTStartup(void) { return 0; }
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"
11558 then :
11559 eval "$as_ac_var=yes"
11560 else $as_nop
11561 eval "$as_ac_var=no"
11563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11564 conftest$ac_exeext conftest.$ac_ext
11565 CFLAGS=$ac_wine_try_cflags_saved
11566 ac_exeext=$ac_wine_try_cflags_saved_exeext
11568 eval ac_res=\$$as_ac_var
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11570 printf "%s\n" "$ac_res" >&6; }
11571 if eval test \"x\$"$as_ac_var"\" = x"yes"
11572 then :
11573 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11574 fi } ;;
11575 esac
11577 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11579 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11581 printf %s "checking whether $CC supports -Werror... " >&6; }
11582 if eval test \${$as_ac_var+y}
11583 then :
11584 printf %s "(cached) " >&6
11585 else $as_nop
11586 ac_wine_try_cflags_saved=$CFLAGS
11587 ac_wine_try_cflags_saved_exeext=$ac_exeext
11588 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11589 ac_exeext=".exe"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11592 int __cdecl mainCRTStartup(void) { return 0; }
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"
11595 then :
11596 eval "$as_ac_var=yes"
11597 else $as_nop
11598 eval "$as_ac_var=no"
11600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11601 conftest$ac_exeext conftest.$ac_ext
11602 CFLAGS=$ac_wine_try_cflags_saved
11603 ac_exeext=$ac_wine_try_cflags_saved_exeext
11605 eval ac_res=\$$as_ac_var
11606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11607 printf "%s\n" "$ac_res" >&6; }
11608 if eval test \"x\$"$as_ac_var"\" = x"yes"
11609 then :
11610 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11611 fi }
11612 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11614 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11615 if eval test \${$as_ac_var+y}
11616 then :
11617 printf %s "(cached) " >&6
11618 else $as_nop
11619 ac_wine_try_cflags_saved=$CFLAGS
11620 ac_wine_try_cflags_saved_exeext=$ac_exeext
11621 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11622 ac_exeext=".exe"
11623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11625 int __cdecl mainCRTStartup(void) { return 0; }
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"
11628 then :
11629 eval "$as_ac_var=yes"
11630 else $as_nop
11631 eval "$as_ac_var=no"
11633 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11634 conftest$ac_exeext conftest.$ac_ext
11635 CFLAGS=$ac_wine_try_cflags_saved
11636 ac_exeext=$ac_wine_try_cflags_saved_exeext
11638 eval ac_res=\$$as_ac_var
11639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11640 printf "%s\n" "$ac_res" >&6; }
11641 if eval test \"x\$"$as_ac_var"\" = x"yes"
11642 then :
11643 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11644 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11645 fi }
11647 CC=$saved_CC
11648 CFLAGS=$saved_CFLAGS
11649 LDFLAGS=$saved_LDFLAGS
11650 done
11652 if test $HOST_ARCH = aarch64
11653 then
11654 test "x$PE_ARCHS" != x || as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11655 DLLEXT=""
11659 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11660 then
11661 case "$host_cpu" in
11662 i[3456789]86*)
11663 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11665 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11666 esac
11667 for ac_prog in $ac_prefix_list
11669 # Extract the first word of "$ac_prog", so it can be a program name with args.
11670 set dummy $ac_prog; ac_word=$2
11671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11672 printf %s "checking for $ac_word... " >&6; }
11673 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11674 then :
11675 printf %s "(cached) " >&6
11676 else $as_nop
11677 if test -n "$MINGW_PKG_CONFIG"; then
11678 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11679 else
11680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11681 for as_dir in $PATH
11683 IFS=$as_save_IFS
11684 case $as_dir in #(((
11685 '') as_dir=./ ;;
11686 */) ;;
11687 *) as_dir=$as_dir/ ;;
11688 esac
11689 for ac_exec_ext in '' $ac_executable_extensions; do
11690 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11691 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11693 break 2
11695 done
11696 done
11697 IFS=$as_save_IFS
11701 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11702 if test -n "$MINGW_PKG_CONFIG"; then
11703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11704 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11705 else
11706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707 printf "%s\n" "no" >&6; }
11711 test -n "$MINGW_PKG_CONFIG" && break
11712 done
11713 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11715 if ${FAUDIO_PE_CFLAGS:+false} :
11716 then :
11717 if test ${MINGW_PKG_CONFIG+y}
11718 then :
11719 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11722 if ${FAUDIO_PE_LIBS:+false} :
11723 then :
11724 if test ${MINGW_PKG_CONFIG+y}
11725 then :
11726 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11729 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11730 ac_save_CPPFLAGS=$CPPFLAGS
11731 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11733 printf %s "checking for MinGW FAudio.h... " >&6; }
11734 if test ${ac_cv_mingw_header_FAudio_h+y}
11735 then :
11736 printf %s "(cached) " >&6
11737 else $as_nop
11738 ac_wine_check_headers_saved_cc=$CC
11739 ac_wine_check_headers_saved_exeext=$ac_exeext
11740 eval CC=\$${wine_arch}_CC
11741 ac_exeext=".exe"
11742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743 /* end confdefs.h. */
11745 #include <FAudio.h>
11747 main (void)
11751 return 0;
11753 _ACEOF
11754 if ac_fn_c_try_compile "$LINENO"
11755 then :
11756 ac_cv_mingw_header_FAudio_h=yes
11757 else $as_nop
11758 ac_cv_mingw_header_FAudio_h=no
11760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11761 CC=$ac_wine_check_headers_saved_cc
11762 ac_exeext=$ac_wine_check_headers_saved_exeext
11764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11765 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11766 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11767 then :
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11769 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11770 if test ${ac_cv_mingw_lib_FAudio+y}
11771 then :
11772 printf %s "(cached) " >&6
11773 else $as_nop
11774 ac_wine_check_headers_saved_cc=$CC
11775 ac_wine_check_headers_saved_exeext=$ac_exeext
11776 ac_wine_check_headers_saved_libs=$LIBS
11777 eval CC=\$${wine_arch}_CC
11778 ac_exeext=".exe"
11779 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11786 char FAudio_CommitOperationSet ();
11788 main (void)
11790 return FAudio_CommitOperationSet ();
11792 return 0;
11794 _ACEOF
11795 if ac_fn_c_try_link "$LINENO"
11796 then :
11797 ac_cv_mingw_lib_FAudio=yes
11798 else $as_nop
11799 ac_cv_mingw_lib_FAudio=no
11801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11802 conftest$ac_exeext conftest.$ac_ext
11803 CC=$ac_wine_check_headers_saved_cc
11804 ac_exeext=$ac_wine_check_headers_saved_exeext
11805 LIBS=$ac_wine_check_headers_saved_libs
11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11808 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11809 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11810 then :
11812 else $as_nop
11813 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11815 else $as_nop
11816 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11818 CPPFLAGS=$ac_save_CPPFLAGS
11820 if test "x$FAUDIO_PE_LIBS" = "x"
11821 then
11822 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11825 if ${JPEG_PE_CFLAGS:+false} :
11826 then :
11827 if test ${MINGW_PKG_CONFIG+y}
11828 then :
11829 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11832 if ${JPEG_PE_LIBS:+false} :
11833 then :
11834 if test ${MINGW_PKG_CONFIG+y}
11835 then :
11836 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11840 ac_save_CPPFLAGS=$CPPFLAGS
11841 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11843 printf %s "checking for MinGW jpeglib.h... " >&6; }
11844 if test ${ac_cv_mingw_header_jpeglib_h+y}
11845 then :
11846 printf %s "(cached) " >&6
11847 else $as_nop
11848 ac_wine_check_headers_saved_cc=$CC
11849 ac_wine_check_headers_saved_exeext=$ac_exeext
11850 eval CC=\$${wine_arch}_CC
11851 ac_exeext=".exe"
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11854 #include <stddef.h>
11855 #include <stdio.h>
11856 #include <jpeglib.h>
11858 main (void)
11862 return 0;
11864 _ACEOF
11865 if ac_fn_c_try_compile "$LINENO"
11866 then :
11867 ac_cv_mingw_header_jpeglib_h=yes
11868 else $as_nop
11869 ac_cv_mingw_header_jpeglib_h=no
11871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11872 CC=$ac_wine_check_headers_saved_cc
11873 ac_exeext=$ac_wine_check_headers_saved_exeext
11875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11876 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11877 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11878 then :
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11880 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11881 if test ${ac_cv_mingw_lib_jpeg+y}
11882 then :
11883 printf %s "(cached) " >&6
11884 else $as_nop
11885 ac_wine_check_headers_saved_cc=$CC
11886 ac_wine_check_headers_saved_exeext=$ac_exeext
11887 ac_wine_check_headers_saved_libs=$LIBS
11888 eval CC=\$${wine_arch}_CC
11889 ac_exeext=".exe"
11890 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 char jpeg_start_decompress ();
11899 main (void)
11901 return jpeg_start_decompress ();
11903 return 0;
11905 _ACEOF
11906 if ac_fn_c_try_link "$LINENO"
11907 then :
11908 ac_cv_mingw_lib_jpeg=yes
11909 else $as_nop
11910 ac_cv_mingw_lib_jpeg=no
11912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11913 conftest$ac_exeext conftest.$ac_ext
11914 CC=$ac_wine_check_headers_saved_cc
11915 ac_exeext=$ac_wine_check_headers_saved_exeext
11916 LIBS=$ac_wine_check_headers_saved_libs
11918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11919 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11920 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11921 then :
11923 else $as_nop
11924 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11926 else $as_nop
11927 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11929 CPPFLAGS=$ac_save_CPPFLAGS
11931 if test "x$JPEG_PE_LIBS" = "x"
11932 then
11933 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11936 if ${LCMS2_PE_CFLAGS:+false} :
11937 then :
11938 if test ${MINGW_PKG_CONFIG+y}
11939 then :
11940 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11943 if ${LCMS2_PE_LIBS:+false} :
11944 then :
11945 if test ${MINGW_PKG_CONFIG+y}
11946 then :
11947 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11950 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11951 ac_save_CPPFLAGS=$CPPFLAGS
11952 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11954 printf %s "checking for MinGW lcms2.h... " >&6; }
11955 if test ${ac_cv_mingw_header_lcms2_h+y}
11956 then :
11957 printf %s "(cached) " >&6
11958 else $as_nop
11959 ac_wine_check_headers_saved_cc=$CC
11960 ac_wine_check_headers_saved_exeext=$ac_exeext
11961 eval CC=\$${wine_arch}_CC
11962 ac_exeext=".exe"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11966 #include <lcms2.h>
11968 main (void)
11972 return 0;
11974 _ACEOF
11975 if ac_fn_c_try_compile "$LINENO"
11976 then :
11977 ac_cv_mingw_header_lcms2_h=yes
11978 else $as_nop
11979 ac_cv_mingw_header_lcms2_h=no
11981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11982 CC=$ac_wine_check_headers_saved_cc
11983 ac_exeext=$ac_wine_check_headers_saved_exeext
11985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11986 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11987 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11988 then :
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11990 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11991 if test ${ac_cv_mingw_lib_lcms2+y}
11992 then :
11993 printf %s "(cached) " >&6
11994 else $as_nop
11995 ac_wine_check_headers_saved_cc=$CC
11996 ac_wine_check_headers_saved_exeext=$ac_exeext
11997 ac_wine_check_headers_saved_libs=$LIBS
11998 eval CC=\$${wine_arch}_CC
11999 ac_exeext=".exe"
12000 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 char cmsOpenProfileFromFile ();
12009 main (void)
12011 return cmsOpenProfileFromFile ();
12013 return 0;
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"
12017 then :
12018 ac_cv_mingw_lib_lcms2=yes
12019 else $as_nop
12020 ac_cv_mingw_lib_lcms2=no
12022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12023 conftest$ac_exeext conftest.$ac_ext
12024 CC=$ac_wine_check_headers_saved_cc
12025 ac_exeext=$ac_wine_check_headers_saved_exeext
12026 LIBS=$ac_wine_check_headers_saved_libs
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12029 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12030 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12031 then :
12033 else $as_nop
12034 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12036 else $as_nop
12037 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12039 CPPFLAGS=$ac_save_CPPFLAGS
12041 if test "x$LCMS2_PE_LIBS" = "x"
12042 then
12043 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12046 if ${MPG123_PE_CFLAGS:+false} :
12047 then :
12048 if test ${MINGW_PKG_CONFIG+y}
12049 then :
12050 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12053 if ${MPG123_PE_LIBS:+false} :
12054 then :
12055 if test ${MINGW_PKG_CONFIG+y}
12056 then :
12057 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12060 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12061 ac_save_CPPFLAGS=$CPPFLAGS
12062 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12064 printf %s "checking for MinGW mpg123.h... " >&6; }
12065 if test ${ac_cv_mingw_header_mpg123_h+y}
12066 then :
12067 printf %s "(cached) " >&6
12068 else $as_nop
12069 ac_wine_check_headers_saved_cc=$CC
12070 ac_wine_check_headers_saved_exeext=$ac_exeext
12071 eval CC=\$${wine_arch}_CC
12072 ac_exeext=".exe"
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 #include <mpg123.h>
12078 main (void)
12082 return 0;
12084 _ACEOF
12085 if ac_fn_c_try_compile "$LINENO"
12086 then :
12087 ac_cv_mingw_header_mpg123_h=yes
12088 else $as_nop
12089 ac_cv_mingw_header_mpg123_h=no
12091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12092 CC=$ac_wine_check_headers_saved_cc
12093 ac_exeext=$ac_wine_check_headers_saved_exeext
12095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12096 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12097 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12098 then :
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12100 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12101 if test ${ac_cv_mingw_lib_mpg123+y}
12102 then :
12103 printf %s "(cached) " >&6
12104 else $as_nop
12105 ac_wine_check_headers_saved_cc=$CC
12106 ac_wine_check_headers_saved_exeext=$ac_exeext
12107 ac_wine_check_headers_saved_libs=$LIBS
12108 eval CC=\$${wine_arch}_CC
12109 ac_exeext=".exe"
12110 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 char mpg123_feed ();
12119 main (void)
12121 return mpg123_feed ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"
12127 then :
12128 ac_cv_mingw_lib_mpg123=yes
12129 else $as_nop
12130 ac_cv_mingw_lib_mpg123=no
12132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12133 conftest$ac_exeext conftest.$ac_ext
12134 CC=$ac_wine_check_headers_saved_cc
12135 ac_exeext=$ac_wine_check_headers_saved_exeext
12136 LIBS=$ac_wine_check_headers_saved_libs
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12139 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12140 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12141 then :
12143 else $as_nop
12144 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12146 else $as_nop
12147 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12149 CPPFLAGS=$ac_save_CPPFLAGS
12151 if test "x$MPG123_PE_LIBS" = "x"
12152 then
12153 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12156 if ${PNG_PE_CFLAGS:+false} :
12157 then :
12158 if test ${MINGW_PKG_CONFIG+y}
12159 then :
12160 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12163 if ${PNG_PE_LIBS:+false} :
12164 then :
12165 if test ${MINGW_PKG_CONFIG+y}
12166 then :
12167 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12171 ac_save_CPPFLAGS=$CPPFLAGS
12172 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12174 printf %s "checking for MinGW png.h... " >&6; }
12175 if test ${ac_cv_mingw_header_png_h+y}
12176 then :
12177 printf %s "(cached) " >&6
12178 else $as_nop
12179 ac_wine_check_headers_saved_cc=$CC
12180 ac_wine_check_headers_saved_exeext=$ac_exeext
12181 eval CC=\$${wine_arch}_CC
12182 ac_exeext=".exe"
12183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12184 /* end confdefs.h. */
12186 #include <png.h>
12188 main (void)
12192 return 0;
12194 _ACEOF
12195 if ac_fn_c_try_compile "$LINENO"
12196 then :
12197 ac_cv_mingw_header_png_h=yes
12198 else $as_nop
12199 ac_cv_mingw_header_png_h=no
12201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12202 CC=$ac_wine_check_headers_saved_cc
12203 ac_exeext=$ac_wine_check_headers_saved_exeext
12205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12206 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12207 if test "x$ac_cv_mingw_header_png_h" = xyes
12208 then :
12209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12210 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12211 if test ${ac_cv_mingw_lib_png+y}
12212 then :
12213 printf %s "(cached) " >&6
12214 else $as_nop
12215 ac_wine_check_headers_saved_cc=$CC
12216 ac_wine_check_headers_saved_exeext=$ac_exeext
12217 ac_wine_check_headers_saved_libs=$LIBS
12218 eval CC=\$${wine_arch}_CC
12219 ac_exeext=".exe"
12220 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12227 char png_create_read_struct ();
12229 main (void)
12231 return png_create_read_struct ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"
12237 then :
12238 ac_cv_mingw_lib_png=yes
12239 else $as_nop
12240 ac_cv_mingw_lib_png=no
12242 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12243 conftest$ac_exeext conftest.$ac_ext
12244 CC=$ac_wine_check_headers_saved_cc
12245 ac_exeext=$ac_wine_check_headers_saved_exeext
12246 LIBS=$ac_wine_check_headers_saved_libs
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12249 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12250 if test "x$ac_cv_mingw_lib_png" = xyes
12251 then :
12253 else $as_nop
12254 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12256 else $as_nop
12257 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12259 CPPFLAGS=$ac_save_CPPFLAGS
12261 if test "x$PNG_PE_LIBS" = "x"
12262 then
12263 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12266 if ${TIFF_PE_CFLAGS:+false} :
12267 then :
12268 if test ${MINGW_PKG_CONFIG+y}
12269 then :
12270 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12273 if ${TIFF_PE_LIBS:+false} :
12274 then :
12275 if test ${MINGW_PKG_CONFIG+y}
12276 then :
12277 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12281 ac_save_CPPFLAGS=$CPPFLAGS
12282 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12284 printf %s "checking for MinGW tiffio.h... " >&6; }
12285 if test ${ac_cv_mingw_header_tiffio_h+y}
12286 then :
12287 printf %s "(cached) " >&6
12288 else $as_nop
12289 ac_wine_check_headers_saved_cc=$CC
12290 ac_wine_check_headers_saved_exeext=$ac_exeext
12291 eval CC=\$${wine_arch}_CC
12292 ac_exeext=".exe"
12293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 #include <tiffio.h>
12298 main (void)
12302 return 0;
12304 _ACEOF
12305 if ac_fn_c_try_compile "$LINENO"
12306 then :
12307 ac_cv_mingw_header_tiffio_h=yes
12308 else $as_nop
12309 ac_cv_mingw_header_tiffio_h=no
12311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12312 CC=$ac_wine_check_headers_saved_cc
12313 ac_exeext=$ac_wine_check_headers_saved_exeext
12315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12316 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12317 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12318 then :
12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12320 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12321 if test ${ac_cv_mingw_lib_tiff+y}
12322 then :
12323 printf %s "(cached) " >&6
12324 else $as_nop
12325 ac_wine_check_headers_saved_cc=$CC
12326 ac_wine_check_headers_saved_exeext=$ac_exeext
12327 ac_wine_check_headers_saved_libs=$LIBS
12328 eval CC=\$${wine_arch}_CC
12329 ac_exeext=".exe"
12330 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12334 /* Override any GCC internal prototype to avoid an error.
12335 Use char because int might match the return type of a GCC
12336 builtin and then its argument prototype would still apply. */
12337 char TIFFClientOpen ();
12339 main (void)
12341 return TIFFClientOpen ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"
12347 then :
12348 ac_cv_mingw_lib_tiff=yes
12349 else $as_nop
12350 ac_cv_mingw_lib_tiff=no
12352 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12353 conftest$ac_exeext conftest.$ac_ext
12354 CC=$ac_wine_check_headers_saved_cc
12355 ac_exeext=$ac_wine_check_headers_saved_exeext
12356 LIBS=$ac_wine_check_headers_saved_libs
12358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12359 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12360 if test "x$ac_cv_mingw_lib_tiff" = xyes
12361 then :
12363 else $as_nop
12364 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12366 else $as_nop
12367 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12369 CPPFLAGS=$ac_save_CPPFLAGS
12371 if test "x$TIFF_PE_LIBS" = "x"
12372 then
12373 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12376 if ${XML2_PE_CFLAGS:+false} :
12377 then :
12378 if test ${MINGW_PKG_CONFIG+y}
12379 then :
12380 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12383 if ${XML2_PE_LIBS:+false} :
12384 then :
12385 if test ${MINGW_PKG_CONFIG+y}
12386 then :
12387 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12390 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12391 ac_save_CPPFLAGS=$CPPFLAGS
12392 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12394 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12395 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12396 then :
12397 printf %s "(cached) " >&6
12398 else $as_nop
12399 ac_wine_check_headers_saved_cc=$CC
12400 ac_wine_check_headers_saved_exeext=$ac_exeext
12401 eval CC=\$${wine_arch}_CC
12402 ac_exeext=".exe"
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 #include <libxml/parser.h>
12408 main (void)
12412 return 0;
12414 _ACEOF
12415 if ac_fn_c_try_compile "$LINENO"
12416 then :
12417 ac_cv_mingw_header_libxml_parser_h=yes
12418 else $as_nop
12419 ac_cv_mingw_header_libxml_parser_h=no
12421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12422 CC=$ac_wine_check_headers_saved_cc
12423 ac_exeext=$ac_wine_check_headers_saved_exeext
12425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12426 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12427 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12428 then :
12431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12432 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12433 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12434 then :
12435 printf %s "(cached) " >&6
12436 else $as_nop
12437 ac_wine_check_headers_saved_cc=$CC
12438 ac_wine_check_headers_saved_exeext=$ac_exeext
12439 eval CC=\$${wine_arch}_CC
12440 ac_exeext=".exe"
12441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12444 #include <libxml/xmlsave.h>
12446 main (void)
12450 return 0;
12452 _ACEOF
12453 if ac_fn_c_try_compile "$LINENO"
12454 then :
12455 ac_cv_mingw_header_libxml_xmlsave_h=yes
12456 else $as_nop
12457 ac_cv_mingw_header_libxml_xmlsave_h=no
12459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12460 CC=$ac_wine_check_headers_saved_cc
12461 ac_exeext=$ac_wine_check_headers_saved_exeext
12463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12464 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12465 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12466 then :
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12470 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12471 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12472 then :
12473 printf %s "(cached) " >&6
12474 else $as_nop
12475 ac_wine_check_headers_saved_cc=$CC
12476 ac_wine_check_headers_saved_exeext=$ac_exeext
12477 eval CC=\$${wine_arch}_CC
12478 ac_exeext=".exe"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 #include <libxml/SAX2.h>
12484 main (void)
12488 return 0;
12490 _ACEOF
12491 if ac_fn_c_try_compile "$LINENO"
12492 then :
12493 ac_cv_mingw_header_libxml_SAX2_h=yes
12494 else $as_nop
12495 ac_cv_mingw_header_libxml_SAX2_h=no
12497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12498 CC=$ac_wine_check_headers_saved_cc
12499 ac_exeext=$ac_wine_check_headers_saved_exeext
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12502 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12503 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12504 then :
12507 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"
12508 then
12509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12510 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12511 if test ${ac_cv_mingw_lib_xml2+y}
12512 then :
12513 printf %s "(cached) " >&6
12514 else $as_nop
12515 ac_wine_check_headers_saved_cc=$CC
12516 ac_wine_check_headers_saved_exeext=$ac_exeext
12517 ac_wine_check_headers_saved_libs=$LIBS
12518 eval CC=\$${wine_arch}_CC
12519 ac_exeext=".exe"
12520 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12522 /* end confdefs.h. */
12524 /* Override any GCC internal prototype to avoid an error.
12525 Use char because int might match the return type of a GCC
12526 builtin and then its argument prototype would still apply. */
12527 char xmlFirstElementChild ();
12529 main (void)
12531 return xmlFirstElementChild ();
12533 return 0;
12535 _ACEOF
12536 if ac_fn_c_try_link "$LINENO"
12537 then :
12538 ac_cv_mingw_lib_xml2=yes
12539 else $as_nop
12540 ac_cv_mingw_lib_xml2=no
12542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12543 conftest$ac_exeext conftest.$ac_ext
12544 CC=$ac_wine_check_headers_saved_cc
12545 ac_exeext=$ac_wine_check_headers_saved_exeext
12546 LIBS=$ac_wine_check_headers_saved_libs
12548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12549 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12550 if test "x$ac_cv_mingw_lib_xml2" = xyes
12551 then :
12553 else $as_nop
12554 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12556 else
12557 XML2_PE_CFLAGS=""
12558 XML2_PE_LIBS=""
12560 CPPFLAGS=$ac_save_CPPFLAGS
12562 if test "x$XML2_PE_LIBS" = "x"
12563 then
12564 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12567 if ${XSLT_PE_CFLAGS:+false} :
12568 then :
12569 if test ${MINGW_PKG_CONFIG+y}
12570 then :
12571 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12574 if ${XSLT_PE_LIBS:+false} :
12575 then :
12576 if test ${MINGW_PKG_CONFIG+y}
12577 then :
12578 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12581 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12582 ac_save_CPPFLAGS=$CPPFLAGS
12583 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12585 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12586 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12587 then :
12588 printf %s "(cached) " >&6
12589 else $as_nop
12590 ac_wine_check_headers_saved_cc=$CC
12591 ac_wine_check_headers_saved_exeext=$ac_exeext
12592 eval CC=\$${wine_arch}_CC
12593 ac_exeext=".exe"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12597 #include <libxslt/pattern.h>
12599 main (void)
12603 return 0;
12605 _ACEOF
12606 if ac_fn_c_try_compile "$LINENO"
12607 then :
12608 ac_cv_mingw_header_libxslt_pattern_h=yes
12609 else $as_nop
12610 ac_cv_mingw_header_libxslt_pattern_h=no
12612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12613 CC=$ac_wine_check_headers_saved_cc
12614 ac_exeext=$ac_wine_check_headers_saved_exeext
12616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12617 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12618 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12619 then :
12622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12623 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12624 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12625 then :
12626 printf %s "(cached) " >&6
12627 else $as_nop
12628 ac_wine_check_headers_saved_cc=$CC
12629 ac_wine_check_headers_saved_exeext=$ac_exeext
12630 eval CC=\$${wine_arch}_CC
12631 ac_exeext=".exe"
12632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12633 /* end confdefs.h. */
12635 #include <libxslt/transform.h>
12637 main (void)
12641 return 0;
12643 _ACEOF
12644 if ac_fn_c_try_compile "$LINENO"
12645 then :
12646 ac_cv_mingw_header_libxslt_transform_h=yes
12647 else $as_nop
12648 ac_cv_mingw_header_libxslt_transform_h=no
12650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12651 CC=$ac_wine_check_headers_saved_cc
12652 ac_exeext=$ac_wine_check_headers_saved_exeext
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12655 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12656 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12657 then :
12660 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12661 then
12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12663 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12664 if test ${ac_cv_mingw_lib_xslt+y}
12665 then :
12666 printf %s "(cached) " >&6
12667 else $as_nop
12668 ac_wine_check_headers_saved_cc=$CC
12669 ac_wine_check_headers_saved_exeext=$ac_exeext
12670 ac_wine_check_headers_saved_libs=$LIBS
12671 eval CC=\$${wine_arch}_CC
12672 ac_exeext=".exe"
12673 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 /* Override any GCC internal prototype to avoid an error.
12678 Use char because int might match the return type of a GCC
12679 builtin and then its argument prototype would still apply. */
12680 char xsltCompilePattern ();
12682 main (void)
12684 return xsltCompilePattern ();
12686 return 0;
12688 _ACEOF
12689 if ac_fn_c_try_link "$LINENO"
12690 then :
12691 ac_cv_mingw_lib_xslt=yes
12692 else $as_nop
12693 ac_cv_mingw_lib_xslt=no
12695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12696 conftest$ac_exeext conftest.$ac_ext
12697 CC=$ac_wine_check_headers_saved_cc
12698 ac_exeext=$ac_wine_check_headers_saved_exeext
12699 LIBS=$ac_wine_check_headers_saved_libs
12701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12702 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12703 if test "x$ac_cv_mingw_lib_xslt" = xyes
12704 then :
12706 else $as_nop
12707 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12709 else
12710 XSLT_PE_CFLAGS=""
12711 XSLT_PE_LIBS=""
12713 CPPFLAGS=$ac_save_CPPFLAGS
12715 if test "x$XSLT_PE_LIBS" = "x"
12716 then
12717 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12720 if ${VKD3D_PE_CFLAGS:+false} :
12721 then :
12722 if test ${MINGW_PKG_CONFIG+y}
12723 then :
12724 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12727 if ${VKD3D_PE_LIBS:+false} :
12728 then :
12729 if test ${MINGW_PKG_CONFIG+y}
12730 then :
12731 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12734 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12735 ac_save_CPPFLAGS=$CPPFLAGS
12736 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12738 printf %s "checking for MinGW vkd3d.h... " >&6; }
12739 if test ${ac_cv_mingw_header_vkd3d_h+y}
12740 then :
12741 printf %s "(cached) " >&6
12742 else $as_nop
12743 ac_wine_check_headers_saved_cc=$CC
12744 ac_wine_check_headers_saved_exeext=$ac_exeext
12745 eval CC=\$${wine_arch}_CC
12746 ac_exeext=".exe"
12747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12748 /* end confdefs.h. */
12750 #include <vkd3d.h>
12752 main (void)
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_compile "$LINENO"
12760 then :
12761 ac_cv_mingw_header_vkd3d_h=yes
12762 else $as_nop
12763 ac_cv_mingw_header_vkd3d_h=no
12765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12766 CC=$ac_wine_check_headers_saved_cc
12767 ac_exeext=$ac_wine_check_headers_saved_exeext
12769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12770 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12771 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12772 then :
12775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12776 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12777 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12778 then :
12779 printf %s "(cached) " >&6
12780 else $as_nop
12781 ac_wine_check_headers_saved_cc=$CC
12782 ac_wine_check_headers_saved_exeext=$ac_exeext
12783 eval CC=\$${wine_arch}_CC
12784 ac_exeext=".exe"
12785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12788 #include <vkd3d_shader.h>
12790 main (void)
12794 return 0;
12796 _ACEOF
12797 if ac_fn_c_try_compile "$LINENO"
12798 then :
12799 ac_cv_mingw_header_vkd3d_shader_h=yes
12800 else $as_nop
12801 ac_cv_mingw_header_vkd3d_shader_h=no
12803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12804 CC=$ac_wine_check_headers_saved_cc
12805 ac_exeext=$ac_wine_check_headers_saved_exeext
12807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12808 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12809 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12810 then :
12813 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12814 then
12815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12816 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12817 if test ${ac_cv_mingw_lib_vkd3d+y}
12818 then :
12819 printf %s "(cached) " >&6
12820 else $as_nop
12821 ac_wine_check_headers_saved_cc=$CC
12822 ac_wine_check_headers_saved_exeext=$ac_exeext
12823 ac_wine_check_headers_saved_libs=$LIBS
12824 eval CC=\$${wine_arch}_CC
12825 ac_exeext=".exe"
12826 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12828 /* end confdefs.h. */
12830 /* Override any GCC internal prototype to avoid an error.
12831 Use char because int might match the return type of a GCC
12832 builtin and then its argument prototype would still apply. */
12833 char vkd3d_set_log_callback ();
12835 main (void)
12837 return vkd3d_set_log_callback ();
12839 return 0;
12841 _ACEOF
12842 if ac_fn_c_try_link "$LINENO"
12843 then :
12844 ac_cv_mingw_lib_vkd3d=yes
12845 else $as_nop
12846 ac_cv_mingw_lib_vkd3d=no
12848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12849 conftest$ac_exeext conftest.$ac_ext
12850 CC=$ac_wine_check_headers_saved_cc
12851 ac_exeext=$ac_wine_check_headers_saved_exeext
12852 LIBS=$ac_wine_check_headers_saved_libs
12854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12855 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12856 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12857 then :
12859 else $as_nop
12862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader" >&5
12863 printf %s "checking for vkd3d_shader_serialize_dxbc in MinGW -lvkd3d-shader... " >&6; }
12864 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12865 then :
12866 printf %s "(cached) " >&6
12867 else $as_nop
12868 ac_wine_check_headers_saved_cc=$CC
12869 ac_wine_check_headers_saved_exeext=$ac_exeext
12870 ac_wine_check_headers_saved_libs=$LIBS
12871 eval CC=\$${wine_arch}_CC
12872 ac_exeext=".exe"
12873 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12875 /* end confdefs.h. */
12877 /* Override any GCC internal prototype to avoid an error.
12878 Use char because int might match the return type of a GCC
12879 builtin and then its argument prototype would still apply. */
12880 char vkd3d_shader_serialize_dxbc ();
12882 main (void)
12884 return vkd3d_shader_serialize_dxbc ();
12886 return 0;
12888 _ACEOF
12889 if ac_fn_c_try_link "$LINENO"
12890 then :
12891 ac_cv_mingw_lib_vkd3d_shader=yes
12892 else $as_nop
12893 ac_cv_mingw_lib_vkd3d_shader=no
12895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12896 conftest$ac_exeext conftest.$ac_ext
12897 CC=$ac_wine_check_headers_saved_cc
12898 ac_exeext=$ac_wine_check_headers_saved_exeext
12899 LIBS=$ac_wine_check_headers_saved_libs
12901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12902 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12903 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12904 then :
12906 else $as_nop
12909 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12910 then
12911 VKD3D_PE_CFLAGS=""
12912 VKD3D_PE_LIBS=""
12914 else
12915 VKD3D_PE_CFLAGS=""
12916 VKD3D_PE_LIBS=""
12918 CPPFLAGS=$ac_save_CPPFLAGS
12920 if test "x$VKD3D_PE_LIBS" = "x"
12921 then
12922 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12925 if ${ZLIB_PE_CFLAGS:+false} :
12926 then :
12927 if test ${MINGW_PKG_CONFIG+y}
12928 then :
12929 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12932 if ${ZLIB_PE_LIBS:+false} :
12933 then :
12934 if test ${MINGW_PKG_CONFIG+y}
12935 then :
12936 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12939 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12940 ac_save_CPPFLAGS=$CPPFLAGS
12941 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12943 printf %s "checking for MinGW zlib.h... " >&6; }
12944 if test ${ac_cv_mingw_header_zlib_h+y}
12945 then :
12946 printf %s "(cached) " >&6
12947 else $as_nop
12948 ac_wine_check_headers_saved_cc=$CC
12949 ac_wine_check_headers_saved_exeext=$ac_exeext
12950 eval CC=\$${wine_arch}_CC
12951 ac_exeext=".exe"
12952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953 /* end confdefs.h. */
12955 #include <zlib.h>
12957 main (void)
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_compile "$LINENO"
12965 then :
12966 ac_cv_mingw_header_zlib_h=yes
12967 else $as_nop
12968 ac_cv_mingw_header_zlib_h=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12971 CC=$ac_wine_check_headers_saved_cc
12972 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12975 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12976 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12977 then :
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12979 printf %s "checking for inflate in MinGW -lz... " >&6; }
12980 if test ${ac_cv_mingw_lib_z+y}
12981 then :
12982 printf %s "(cached) " >&6
12983 else $as_nop
12984 ac_wine_check_headers_saved_cc=$CC
12985 ac_wine_check_headers_saved_exeext=$ac_exeext
12986 ac_wine_check_headers_saved_libs=$LIBS
12987 eval CC=\$${wine_arch}_CC
12988 ac_exeext=".exe"
12989 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
12996 char inflate ();
12998 main (void)
13000 return inflate ();
13002 return 0;
13004 _ACEOF
13005 if ac_fn_c_try_link "$LINENO"
13006 then :
13007 ac_cv_mingw_lib_z=yes
13008 else $as_nop
13009 ac_cv_mingw_lib_z=no
13011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13012 conftest$ac_exeext conftest.$ac_ext
13013 CC=$ac_wine_check_headers_saved_cc
13014 ac_exeext=$ac_wine_check_headers_saved_exeext
13015 LIBS=$ac_wine_check_headers_saved_libs
13017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13018 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13019 if test "x$ac_cv_mingw_lib_z" = xyes
13020 then :
13022 else $as_nop
13023 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13025 else $as_nop
13026 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13028 CPPFLAGS=$ac_save_CPPFLAGS
13030 if test "x$ZLIB_PE_LIBS" = "x"
13031 then
13032 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13036 if ${FAUDIO_PE_LIBS:+false} :
13037 then :
13038 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13039 if ${FAUDIO_PE_CFLAGS:+false} :
13040 then :
13041 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13042 else $as_nop
13043 enable_faudio=no
13045 else $as_nop
13046 enable_faudio=no
13048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13051 if ${GSM_PE_LIBS:+false} :
13052 then :
13053 GSM_PE_LIBS=gsm
13054 if ${GSM_PE_CFLAGS:+false} :
13055 then :
13056 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13057 else $as_nop
13058 enable_gsm=no
13060 else $as_nop
13061 enable_gsm=no
13063 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13066 if ${JPEG_PE_LIBS:+false} :
13067 then :
13068 JPEG_PE_LIBS=jpeg
13069 if ${JPEG_PE_CFLAGS:+false} :
13070 then :
13071 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13072 else $as_nop
13073 enable_jpeg=no
13075 else $as_nop
13076 enable_jpeg=no
13078 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13079 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13081 if ${JXR_PE_LIBS:+false} :
13082 then :
13083 JXR_PE_LIBS=jxr
13084 if ${JXR_PE_CFLAGS:+false} :
13085 then :
13086 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13087 else $as_nop
13088 enable_jxr=no
13090 else $as_nop
13091 enable_jxr=no
13093 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13094 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13096 if ${LCMS2_PE_LIBS:+false} :
13097 then :
13098 LCMS2_PE_LIBS=lcms2
13099 if ${LCMS2_PE_CFLAGS:+false} :
13100 then :
13101 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13102 else $as_nop
13103 enable_lcms2=no
13105 else $as_nop
13106 enable_lcms2=no
13108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13109 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13111 if ${LDAP_PE_LIBS:+false} :
13112 then :
13113 LDAP_PE_LIBS=ldap
13114 if ${LDAP_PE_CFLAGS:+false} :
13115 then :
13116 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13117 else $as_nop
13118 enable_ldap=no
13120 else $as_nop
13121 enable_ldap=no
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13126 if ${MPG123_PE_LIBS:+false} :
13127 then :
13128 MPG123_PE_LIBS=mpg123
13129 if ${MPG123_PE_CFLAGS:+false} :
13130 then :
13131 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13132 else $as_nop
13133 enable_mpg123=no
13135 else $as_nop
13136 enable_mpg123=no
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13141 if ${MUSL_PE_LIBS:+false} :
13142 then :
13143 MUSL_PE_LIBS=musl
13144 if ${MUSL_PE_CFLAGS:+false} :
13145 then :
13146 MUSL_PE_CFLAGS=
13147 else $as_nop
13148 enable_musl=no
13150 else $as_nop
13151 enable_musl=no
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl cflags: $MUSL_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: musl libs: $MUSL_PE_LIBS" >&5
13156 if ${PNG_PE_LIBS:+false} :
13157 then :
13158 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13159 if ${PNG_PE_CFLAGS:+false} :
13160 then :
13161 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13162 else $as_nop
13163 enable_png=no
13165 else $as_nop
13166 enable_png=no
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13171 if ${TIFF_PE_LIBS:+false} :
13172 then :
13173 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13174 if ${TIFF_PE_CFLAGS:+false} :
13175 then :
13176 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13177 else $as_nop
13178 enable_tiff=no
13180 else $as_nop
13181 enable_tiff=no
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13186 if ${VKD3D_PE_LIBS:+false} :
13187 then :
13188 VKD3D_PE_LIBS=vkd3d
13189 if ${VKD3D_PE_CFLAGS:+false} :
13190 then :
13191 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13192 else $as_nop
13193 enable_vkd3d=no
13195 else $as_nop
13196 enable_vkd3d=no
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13201 if ${XML2_PE_LIBS:+false} :
13202 then :
13203 XML2_PE_LIBS=xml2
13204 if ${XML2_PE_CFLAGS:+false} :
13205 then :
13206 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13207 else $as_nop
13208 enable_xml2=no
13210 else $as_nop
13211 enable_xml2=no
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13216 if ${XSLT_PE_LIBS:+false} :
13217 then :
13218 XSLT_PE_LIBS=xslt
13219 if ${XSLT_PE_CFLAGS:+false} :
13220 then :
13221 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13222 else $as_nop
13223 enable_xslt=no
13225 else $as_nop
13226 enable_xslt=no
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13231 if ${ZLIB_PE_LIBS:+false} :
13232 then :
13233 ZLIB_PE_LIBS=z
13234 if ${ZLIB_PE_CFLAGS:+false} :
13235 then :
13236 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13237 else $as_nop
13238 enable_zlib=no
13240 else $as_nop
13241 enable_zlib=no
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13246 if ${ZYDIS_PE_LIBS:+false} :
13247 then :
13248 ZYDIS_PE_LIBS=zydis
13249 if ${ZYDIS_PE_CFLAGS:+false} :
13250 then :
13251 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13252 else $as_nop
13253 enable_zydis=no
13255 else $as_nop
13256 enable_zydis=no
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13263 if test "$ac_cv_header_pthread_h" = "yes"
13264 then
13265 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13266 if test "x$ac_cv_func_pthread_create" = xyes
13267 then :
13269 else $as_nop
13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13271 printf %s "checking for pthread_create in -lpthread... " >&6; }
13272 if test ${ac_cv_lib_pthread_pthread_create+y}
13273 then :
13274 printf %s "(cached) " >&6
13275 else $as_nop
13276 ac_check_lib_save_LIBS=$LIBS
13277 LIBS="-lpthread $LIBS"
13278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13281 /* Override any GCC internal prototype to avoid an error.
13282 Use char because int might match the return type of a GCC
13283 builtin and then its argument prototype would still apply. */
13284 char pthread_create ();
13286 main (void)
13288 return pthread_create ();
13290 return 0;
13292 _ACEOF
13293 if ac_fn_c_try_link "$LINENO"
13294 then :
13295 ac_cv_lib_pthread_pthread_create=yes
13296 else $as_nop
13297 ac_cv_lib_pthread_pthread_create=no
13299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13300 conftest$ac_exeext conftest.$ac_ext
13301 LIBS=$ac_check_lib_save_LIBS
13303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13304 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13305 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13306 then :
13307 PTHREAD_LIBS="-lpthread"
13314 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13315 then :
13316 case "x$with_pthread" in
13317 xno) ;;
13318 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13319 Wine cannot support threads without libpthread.
13320 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13321 esac
13326 ac_ext=c
13327 ac_cpp='$CPP $CPPFLAGS'
13328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13332 printf %s "checking how to run the C preprocessor... " >&6; }
13333 # On Suns, sometimes $CPP names a directory.
13334 if test -n "$CPP" && test -d "$CPP"; then
13335 CPP=
13337 if test -z "$CPP"; then
13338 if test ${ac_cv_prog_CPP+y}
13339 then :
13340 printf %s "(cached) " >&6
13341 else $as_nop
13342 # Double quotes because $CC needs to be expanded
13343 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13345 ac_preproc_ok=false
13346 for ac_c_preproc_warn_flag in '' yes
13348 # Use a header file that comes with gcc, so configuring glibc
13349 # with a fresh cross-compiler works.
13350 # On the NeXT, cc -E runs the code through the compiler's parser,
13351 # not just through cpp. "Syntax error" is here to catch this case.
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13354 #include <limits.h>
13355 Syntax error
13356 _ACEOF
13357 if ac_fn_c_try_cpp "$LINENO"
13358 then :
13360 else $as_nop
13361 # Broken: fails on valid input.
13362 continue
13364 rm -f conftest.err conftest.i conftest.$ac_ext
13366 # OK, works on sane cases. Now check whether nonexistent headers
13367 # can be detected and how.
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13370 #include <ac_nonexistent.h>
13371 _ACEOF
13372 if ac_fn_c_try_cpp "$LINENO"
13373 then :
13374 # Broken: success on invalid input.
13375 continue
13376 else $as_nop
13377 # Passes both tests.
13378 ac_preproc_ok=:
13379 break
13381 rm -f conftest.err conftest.i conftest.$ac_ext
13383 done
13384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13385 rm -f conftest.i conftest.err conftest.$ac_ext
13386 if $ac_preproc_ok
13387 then :
13388 break
13391 done
13392 ac_cv_prog_CPP=$CPP
13395 CPP=$ac_cv_prog_CPP
13396 else
13397 ac_cv_prog_CPP=$CPP
13399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13400 printf "%s\n" "$CPP" >&6; }
13401 ac_preproc_ok=false
13402 for ac_c_preproc_warn_flag in '' yes
13404 # Use a header file that comes with gcc, so configuring glibc
13405 # with a fresh cross-compiler works.
13406 # On the NeXT, cc -E runs the code through the compiler's parser,
13407 # not just through cpp. "Syntax error" is here to catch this case.
13408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13409 /* end confdefs.h. */
13410 #include <limits.h>
13411 Syntax error
13412 _ACEOF
13413 if ac_fn_c_try_cpp "$LINENO"
13414 then :
13416 else $as_nop
13417 # Broken: fails on valid input.
13418 continue
13420 rm -f conftest.err conftest.i conftest.$ac_ext
13422 # OK, works on sane cases. Now check whether nonexistent headers
13423 # can be detected and how.
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13426 #include <ac_nonexistent.h>
13427 _ACEOF
13428 if ac_fn_c_try_cpp "$LINENO"
13429 then :
13430 # Broken: success on invalid input.
13431 continue
13432 else $as_nop
13433 # Passes both tests.
13434 ac_preproc_ok=:
13435 break
13437 rm -f conftest.err conftest.i conftest.$ac_ext
13439 done
13440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13441 rm -f conftest.i conftest.err conftest.$ac_ext
13442 if $ac_preproc_ok
13443 then :
13445 else $as_nop
13446 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13447 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13448 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13449 See \`config.log' for more details" "$LINENO" 5; }
13452 ac_ext=c
13453 ac_cpp='$CPP $CPPFLAGS'
13454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13460 printf %s "checking for X... " >&6; }
13463 # Check whether --with-x was given.
13464 if test ${with_x+y}
13465 then :
13466 withval=$with_x;
13469 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13470 if test "x$with_x" = xno; then
13471 # The user explicitly disabled X.
13472 have_x=disabled
13473 else
13474 case $x_includes,$x_libraries in #(
13475 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13476 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13477 then :
13478 printf %s "(cached) " >&6
13479 else $as_nop
13480 # One or both of the vars are not set, and there is no cached value.
13481 ac_x_includes=no
13482 ac_x_libraries=no
13483 # Do we need to do anything special at all?
13484 ac_save_LIBS=$LIBS
13485 LIBS="-lX11 $LIBS"
13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <X11/Xlib.h>
13490 main (void)
13492 XrmInitialize ()
13494 return 0;
13496 _ACEOF
13497 if ac_fn_c_try_link "$LINENO"
13498 then :
13499 # We can compile and link X programs with no special options.
13500 ac_x_includes=
13501 ac_x_libraries=
13503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13504 conftest$ac_exeext conftest.$ac_ext
13505 LIBS="$ac_save_LIBS"
13506 # If that didn't work, only try xmkmf and file system searches
13507 # for native compilation.
13508 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13509 then :
13510 rm -f -r conftest.dir
13511 if mkdir conftest.dir; then
13512 cd conftest.dir
13513 cat >Imakefile <<'_ACEOF'
13514 incroot:
13515 @echo incroot='${INCROOT}'
13516 usrlibdir:
13517 @echo usrlibdir='${USRLIBDIR}'
13518 libdir:
13519 @echo libdir='${LIBDIR}'
13520 _ACEOF
13521 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13522 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13523 for ac_var in incroot usrlibdir libdir; do
13524 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13525 done
13526 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13527 for ac_extension in a so sl dylib la dll; do
13528 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13529 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13530 ac_im_usrlibdir=$ac_im_libdir; break
13532 done
13533 # Screen out bogus values from the imake configuration. They are
13534 # bogus both because they are the default anyway, and because
13535 # using them would break gcc on systems where it needs fixed includes.
13536 case $ac_im_incroot in
13537 /usr/include) ac_x_includes= ;;
13538 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13539 esac
13540 case $ac_im_usrlibdir in
13541 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13542 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13543 esac
13545 cd ..
13546 rm -f -r conftest.dir
13549 # Standard set of common directories for X headers.
13550 # Check X11 before X11Rn because it is often a symlink to the current release.
13551 ac_x_header_dirs='
13552 /usr/X11/include
13553 /usr/X11R7/include
13554 /usr/X11R6/include
13555 /usr/X11R5/include
13556 /usr/X11R4/include
13558 /usr/include/X11
13559 /usr/include/X11R7
13560 /usr/include/X11R6
13561 /usr/include/X11R5
13562 /usr/include/X11R4
13564 /usr/local/X11/include
13565 /usr/local/X11R7/include
13566 /usr/local/X11R6/include
13567 /usr/local/X11R5/include
13568 /usr/local/X11R4/include
13570 /usr/local/include/X11
13571 /usr/local/include/X11R7
13572 /usr/local/include/X11R6
13573 /usr/local/include/X11R5
13574 /usr/local/include/X11R4
13576 /opt/X11/include
13578 /usr/X386/include
13579 /usr/x386/include
13580 /usr/XFree86/include/X11
13582 /usr/include
13583 /usr/local/include
13584 /usr/unsupported/include
13585 /usr/athena/include
13586 /usr/local/x11r5/include
13587 /usr/lpp/Xamples/include
13589 /usr/openwin/include
13590 /usr/openwin/share/include'
13592 if test "$ac_x_includes" = no; then
13593 # Guess where to find include files, by looking for Xlib.h.
13594 # First, try using that file with no special directory specified.
13595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13596 /* end confdefs.h. */
13597 #include <X11/Xlib.h>
13598 _ACEOF
13599 if ac_fn_c_try_cpp "$LINENO"
13600 then :
13601 # We can compile using X headers with no special include directory.
13602 ac_x_includes=
13603 else $as_nop
13604 for ac_dir in $ac_x_header_dirs; do
13605 if test -r "$ac_dir/X11/Xlib.h"; then
13606 ac_x_includes=$ac_dir
13607 break
13609 done
13611 rm -f conftest.err conftest.i conftest.$ac_ext
13612 fi # $ac_x_includes = no
13614 if test "$ac_x_libraries" = no; then
13615 # Check for the libraries.
13616 # See if we find them without any special options.
13617 # Don't add to $LIBS permanently.
13618 ac_save_LIBS=$LIBS
13619 LIBS="-lX11 $LIBS"
13620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13621 /* end confdefs.h. */
13622 #include <X11/Xlib.h>
13624 main (void)
13626 XrmInitialize ()
13628 return 0;
13630 _ACEOF
13631 if ac_fn_c_try_link "$LINENO"
13632 then :
13633 LIBS=$ac_save_LIBS
13634 # We can link X programs with no special library path.
13635 ac_x_libraries=
13636 else $as_nop
13637 LIBS=$ac_save_LIBS
13638 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13640 # Don't even attempt the hair of trying to link an X program!
13641 for ac_extension in a so sl dylib la dll; do
13642 if test -r "$ac_dir/libX11.$ac_extension"; then
13643 ac_x_libraries=$ac_dir
13644 break 2
13646 done
13647 done
13649 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13650 conftest$ac_exeext conftest.$ac_ext
13651 fi # $ac_x_libraries = no
13654 # Record the results.
13655 case $ac_x_includes,$ac_x_libraries in #(
13656 no,* | *,no | *\'*) :
13657 # Didn't find X, or a directory has "'" in its name.
13658 ac_cv_have_x="have_x=no" ;; #(
13659 *) :
13660 # Record where we found X for the cache.
13661 ac_cv_have_x="have_x=yes\
13662 ac_x_includes='$ac_x_includes'\
13663 ac_x_libraries='$ac_x_libraries'" ;;
13664 esac
13666 ;; #(
13667 *) have_x=yes;;
13668 esac
13669 eval "$ac_cv_have_x"
13670 fi # $with_x != no
13672 if test "$have_x" != yes; then
13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13674 printf "%s\n" "$have_x" >&6; }
13675 no_x=yes
13676 else
13677 # If each of the values was on the command line, it overrides each guess.
13678 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13679 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13680 # Update the cache value to reflect the command line values.
13681 ac_cv_have_x="have_x=yes\
13682 ac_x_includes='$x_includes'\
13683 ac_x_libraries='$x_libraries'"
13684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13685 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13688 if test "$no_x" = yes; then
13689 # Not all programs may use this symbol, but it does not hurt to define it.
13691 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13693 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13694 else
13695 if test -n "$x_includes"; then
13696 X_CFLAGS="$X_CFLAGS -I$x_includes"
13699 # It would also be nice to do this for all -L options, not just this one.
13700 if test -n "$x_libraries"; then
13701 X_LIBS="$X_LIBS -L$x_libraries"
13702 # For Solaris; some versions of Sun CC require a space after -R and
13703 # others require no space. Words are not sufficient . . . .
13704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13705 printf %s "checking whether -R must be followed by a space... " >&6; }
13706 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13707 ac_xsave_c_werror_flag=$ac_c_werror_flag
13708 ac_c_werror_flag=yes
13709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13710 /* end confdefs.h. */
13713 main (void)
13717 return 0;
13719 _ACEOF
13720 if ac_fn_c_try_link "$LINENO"
13721 then :
13722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13723 printf "%s\n" "no" >&6; }
13724 X_LIBS="$X_LIBS -R$x_libraries"
13725 else $as_nop
13726 LIBS="$ac_xsave_LIBS -R $x_libraries"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13731 main (void)
13735 return 0;
13737 _ACEOF
13738 if ac_fn_c_try_link "$LINENO"
13739 then :
13740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13741 printf "%s\n" "yes" >&6; }
13742 X_LIBS="$X_LIBS -R $x_libraries"
13743 else $as_nop
13744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13745 printf "%s\n" "neither works" >&6; }
13747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13748 conftest$ac_exeext conftest.$ac_ext
13750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13751 conftest$ac_exeext conftest.$ac_ext
13752 ac_c_werror_flag=$ac_xsave_c_werror_flag
13753 LIBS=$ac_xsave_LIBS
13756 # Check for system-dependent libraries X programs must link with.
13757 # Do this before checking for the system-independent R6 libraries
13758 # (-lICE), since we may need -lsocket or whatever for X linking.
13760 if test "$ISC" = yes; then
13761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13762 else
13763 # Martyn Johnson says this is needed for Ultrix, if the X
13764 # libraries were built with DECnet support. And Karl Berry says
13765 # the Alpha needs dnet_stub (dnet does not exist).
13766 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13770 /* Override any GCC internal prototype to avoid an error.
13771 Use char because int might match the return type of a GCC
13772 builtin and then its argument prototype would still apply. */
13773 char XOpenDisplay ();
13775 main (void)
13777 return XOpenDisplay ();
13779 return 0;
13781 _ACEOF
13782 if ac_fn_c_try_link "$LINENO"
13783 then :
13785 else $as_nop
13786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13787 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13788 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13789 then :
13790 printf %s "(cached) " >&6
13791 else $as_nop
13792 ac_check_lib_save_LIBS=$LIBS
13793 LIBS="-ldnet $LIBS"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13797 /* Override any GCC internal prototype to avoid an error.
13798 Use char because int might match the return type of a GCC
13799 builtin and then its argument prototype would still apply. */
13800 char dnet_ntoa ();
13802 main (void)
13804 return dnet_ntoa ();
13806 return 0;
13808 _ACEOF
13809 if ac_fn_c_try_link "$LINENO"
13810 then :
13811 ac_cv_lib_dnet_dnet_ntoa=yes
13812 else $as_nop
13813 ac_cv_lib_dnet_dnet_ntoa=no
13815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13816 conftest$ac_exeext conftest.$ac_ext
13817 LIBS=$ac_check_lib_save_LIBS
13819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13820 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13821 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13822 then :
13823 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13826 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13828 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13829 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13830 then :
13831 printf %s "(cached) " >&6
13832 else $as_nop
13833 ac_check_lib_save_LIBS=$LIBS
13834 LIBS="-ldnet_stub $LIBS"
13835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13841 char dnet_ntoa ();
13843 main (void)
13845 return dnet_ntoa ();
13847 return 0;
13849 _ACEOF
13850 if ac_fn_c_try_link "$LINENO"
13851 then :
13852 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13853 else $as_nop
13854 ac_cv_lib_dnet_stub_dnet_ntoa=no
13856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13857 conftest$ac_exeext conftest.$ac_ext
13858 LIBS=$ac_check_lib_save_LIBS
13860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13861 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13862 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13863 then :
13864 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13869 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS="$ac_xsave_LIBS"
13873 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13874 # to get the SysV transport functions.
13875 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13876 # needs -lnsl.
13877 # The nsl library prevents programs from opening the X display
13878 # on Irix 5.2, according to T.E. Dickey.
13879 # The functions gethostbyname, getservbyname, and inet_addr are
13880 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13881 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13882 if test "x$ac_cv_func_gethostbyname" = xyes
13883 then :
13887 if test $ac_cv_func_gethostbyname = no; then
13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13889 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13890 if test ${ac_cv_lib_nsl_gethostbyname+y}
13891 then :
13892 printf %s "(cached) " >&6
13893 else $as_nop
13894 ac_check_lib_save_LIBS=$LIBS
13895 LIBS="-lnsl $LIBS"
13896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13897 /* end confdefs.h. */
13899 /* Override any GCC internal prototype to avoid an error.
13900 Use char because int might match the return type of a GCC
13901 builtin and then its argument prototype would still apply. */
13902 char gethostbyname ();
13904 main (void)
13906 return gethostbyname ();
13908 return 0;
13910 _ACEOF
13911 if ac_fn_c_try_link "$LINENO"
13912 then :
13913 ac_cv_lib_nsl_gethostbyname=yes
13914 else $as_nop
13915 ac_cv_lib_nsl_gethostbyname=no
13917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13918 conftest$ac_exeext conftest.$ac_ext
13919 LIBS=$ac_check_lib_save_LIBS
13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13922 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13923 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13924 then :
13925 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13928 if test $ac_cv_lib_nsl_gethostbyname = no; then
13929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13930 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13931 if test ${ac_cv_lib_bsd_gethostbyname+y}
13932 then :
13933 printf %s "(cached) " >&6
13934 else $as_nop
13935 ac_check_lib_save_LIBS=$LIBS
13936 LIBS="-lbsd $LIBS"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13940 /* Override any GCC internal prototype to avoid an error.
13941 Use char because int might match the return type of a GCC
13942 builtin and then its argument prototype would still apply. */
13943 char gethostbyname ();
13945 main (void)
13947 return gethostbyname ();
13949 return 0;
13951 _ACEOF
13952 if ac_fn_c_try_link "$LINENO"
13953 then :
13954 ac_cv_lib_bsd_gethostbyname=yes
13955 else $as_nop
13956 ac_cv_lib_bsd_gethostbyname=no
13958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13959 conftest$ac_exeext conftest.$ac_ext
13960 LIBS=$ac_check_lib_save_LIBS
13962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13963 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13964 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13965 then :
13966 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13972 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13973 # socket/setsockopt and other routines are undefined under SCO ODT
13974 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13975 # on later versions), says Simon Leinen: it contains gethostby*
13976 # variants that don't use the name server (or something). -lsocket
13977 # must be given before -lnsl if both are needed. We assume that
13978 # if connect needs -lnsl, so does gethostbyname.
13979 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13980 if test "x$ac_cv_func_connect" = xyes
13981 then :
13985 if test $ac_cv_func_connect = no; then
13986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13987 printf %s "checking for connect in -lsocket... " >&6; }
13988 if test ${ac_cv_lib_socket_connect+y}
13989 then :
13990 printf %s "(cached) " >&6
13991 else $as_nop
13992 ac_check_lib_save_LIBS=$LIBS
13993 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13995 /* end confdefs.h. */
13997 /* Override any GCC internal prototype to avoid an error.
13998 Use char because int might match the return type of a GCC
13999 builtin and then its argument prototype would still apply. */
14000 char connect ();
14002 main (void)
14004 return connect ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"
14010 then :
14011 ac_cv_lib_socket_connect=yes
14012 else $as_nop
14013 ac_cv_lib_socket_connect=no
14015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_lib_save_LIBS
14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14020 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14021 if test "x$ac_cv_lib_socket_connect" = xyes
14022 then :
14023 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14028 # Guillermo Gomez says -lposix is necessary on A/UX.
14029 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14030 if test "x$ac_cv_func_remove" = xyes
14031 then :
14035 if test $ac_cv_func_remove = no; then
14036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14037 printf %s "checking for remove in -lposix... " >&6; }
14038 if test ${ac_cv_lib_posix_remove+y}
14039 then :
14040 printf %s "(cached) " >&6
14041 else $as_nop
14042 ac_check_lib_save_LIBS=$LIBS
14043 LIBS="-lposix $LIBS"
14044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14045 /* end confdefs.h. */
14047 /* Override any GCC internal prototype to avoid an error.
14048 Use char because int might match the return type of a GCC
14049 builtin and then its argument prototype would still apply. */
14050 char remove ();
14052 main (void)
14054 return remove ();
14056 return 0;
14058 _ACEOF
14059 if ac_fn_c_try_link "$LINENO"
14060 then :
14061 ac_cv_lib_posix_remove=yes
14062 else $as_nop
14063 ac_cv_lib_posix_remove=no
14065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14066 conftest$ac_exeext conftest.$ac_ext
14067 LIBS=$ac_check_lib_save_LIBS
14069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14070 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14071 if test "x$ac_cv_lib_posix_remove" = xyes
14072 then :
14073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14078 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14079 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14080 if test "x$ac_cv_func_shmat" = xyes
14081 then :
14085 if test $ac_cv_func_shmat = no; then
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14087 printf %s "checking for shmat in -lipc... " >&6; }
14088 if test ${ac_cv_lib_ipc_shmat+y}
14089 then :
14090 printf %s "(cached) " >&6
14091 else $as_nop
14092 ac_check_lib_save_LIBS=$LIBS
14093 LIBS="-lipc $LIBS"
14094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14095 /* end confdefs.h. */
14097 /* Override any GCC internal prototype to avoid an error.
14098 Use char because int might match the return type of a GCC
14099 builtin and then its argument prototype would still apply. */
14100 char shmat ();
14102 main (void)
14104 return shmat ();
14106 return 0;
14108 _ACEOF
14109 if ac_fn_c_try_link "$LINENO"
14110 then :
14111 ac_cv_lib_ipc_shmat=yes
14112 else $as_nop
14113 ac_cv_lib_ipc_shmat=no
14115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14116 conftest$ac_exeext conftest.$ac_ext
14117 LIBS=$ac_check_lib_save_LIBS
14119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14120 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14121 if test "x$ac_cv_lib_ipc_shmat" = xyes
14122 then :
14123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14129 # Check for libraries that X11R6 Xt/Xaw programs need.
14130 ac_save_LDFLAGS=$LDFLAGS
14131 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14132 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14133 # check for ICE first), but we must link in the order -lSM -lICE or
14134 # we get undefined symbols. So assume we have SM if we have ICE.
14135 # These have to be linked with before -lX11, unlike the other
14136 # libraries we check for below, so use a different variable.
14137 # John Interrante, Karl Berry
14138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14139 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14140 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14141 then :
14142 printf %s "(cached) " >&6
14143 else $as_nop
14144 ac_check_lib_save_LIBS=$LIBS
14145 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 char IceConnectionNumber ();
14154 main (void)
14156 return IceConnectionNumber ();
14158 return 0;
14160 _ACEOF
14161 if ac_fn_c_try_link "$LINENO"
14162 then :
14163 ac_cv_lib_ICE_IceConnectionNumber=yes
14164 else $as_nop
14165 ac_cv_lib_ICE_IceConnectionNumber=no
14167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14168 conftest$ac_exeext conftest.$ac_ext
14169 LIBS=$ac_check_lib_save_LIBS
14171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14172 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14173 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14174 then :
14175 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14178 LDFLAGS=$ac_save_LDFLAGS
14183 if test "$have_x" = "yes"
14184 then
14185 ac_save_CPPFLAGS="$CPPFLAGS"
14186 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14189 printf %s "checking for -lX11... " >&6; }
14190 if test ${ac_cv_lib_soname_X11+y}
14191 then :
14192 printf %s "(cached) " >&6
14193 else $as_nop
14194 ac_check_soname_save_LIBS=$LIBS
14195 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197 /* end confdefs.h. */
14199 /* Override any GCC internal prototype to avoid an error.
14200 Use char because int might match the return type of a GCC
14201 builtin and then its argument prototype would still apply. */
14202 char XCreateWindow ();
14204 main (void)
14206 return XCreateWindow ();
14208 return 0;
14210 _ACEOF
14211 if ac_fn_c_try_link "$LINENO"
14212 then :
14213 case "$LIBEXT" in
14214 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14215 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'` ;;
14216 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14217 if ${ac_cv_lib_soname_X11:+false} :
14218 then :
14219 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14220 fi ;;
14221 esac
14222 else $as_nop
14223 ac_cv_lib_soname_X11=
14225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_soname_save_LIBS
14229 if ${ac_cv_lib_soname_X11:+false} :
14230 then :
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14232 printf "%s\n" "not found" >&6; }
14234 else $as_nop
14235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14236 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14238 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14243 printf %s "checking for -lXext... " >&6; }
14244 if test ${ac_cv_lib_soname_Xext+y}
14245 then :
14246 printf %s "(cached) " >&6
14247 else $as_nop
14248 ac_check_soname_save_LIBS=$LIBS
14249 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14256 char XextCreateExtension ();
14258 main (void)
14260 return XextCreateExtension ();
14262 return 0;
14264 _ACEOF
14265 if ac_fn_c_try_link "$LINENO"
14266 then :
14267 case "$LIBEXT" in
14268 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14269 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'` ;;
14270 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14271 if ${ac_cv_lib_soname_Xext:+false} :
14272 then :
14273 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14274 fi ;;
14275 esac
14276 else $as_nop
14277 ac_cv_lib_soname_Xext=
14279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14280 conftest$ac_exeext conftest.$ac_ext
14281 LIBS=$ac_check_soname_save_LIBS
14283 if ${ac_cv_lib_soname_Xext:+false} :
14284 then :
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14286 printf "%s\n" "not found" >&6; }
14288 else $as_nop
14289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14290 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14292 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14294 X_LIBS="$X_LIBS -lXext"
14296 X_LIBS="$X_LIBS -lX11"
14298 xlib_includes="#include <X11/Xlib.h>
14299 #include <X11/Xutil.h>"
14301 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "$xlib_includes
14303 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14304 then :
14305 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14308 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "$xlib_includes
14310 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14311 then :
14312 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14315 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "$xlib_includes
14317 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14318 then :
14319 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14322 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "$xlib_includes
14324 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14325 then :
14326 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14329 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "$xlib_includes
14331 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14332 then :
14333 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14336 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "$xlib_includes
14338 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14339 then :
14340 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14343 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$xlib_includes
14345 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14346 then :
14347 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14350 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "$xlib_includes
14352 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14353 then :
14354 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14357 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "$xlib_includes
14359 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14360 then :
14361 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14366 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "$xlib_includes
14368 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14369 then :
14370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14371 printf %s "checking for -lXcursor... " >&6; }
14372 if test ${ac_cv_lib_soname_Xcursor+y}
14373 then :
14374 printf %s "(cached) " >&6
14375 else $as_nop
14376 ac_check_soname_save_LIBS=$LIBS
14377 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 char XcursorImageLoadCursor ();
14386 main (void)
14388 return XcursorImageLoadCursor ();
14390 return 0;
14392 _ACEOF
14393 if ac_fn_c_try_link "$LINENO"
14394 then :
14395 case "$LIBEXT" in
14396 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14397 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'` ;;
14398 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14399 if ${ac_cv_lib_soname_Xcursor:+false} :
14400 then :
14401 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14402 fi ;;
14403 esac
14404 else $as_nop
14405 ac_cv_lib_soname_Xcursor=
14407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_soname_save_LIBS
14411 if ${ac_cv_lib_soname_Xcursor:+false} :
14412 then :
14413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14414 printf "%s\n" "not found" >&6; }
14416 else $as_nop
14417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14418 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14420 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14426 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14427 then :
14428 case "x$with_xcursor" in
14429 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14430 xno) ;;
14431 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14432 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14433 esac
14437 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$xlib_includes
14439 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14440 then :
14441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14442 printf %s "checking for -lXi... " >&6; }
14443 if test ${ac_cv_lib_soname_Xi+y}
14444 then :
14445 printf %s "(cached) " >&6
14446 else $as_nop
14447 ac_check_soname_save_LIBS=$LIBS
14448 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14450 /* end confdefs.h. */
14452 /* Override any GCC internal prototype to avoid an error.
14453 Use char because int might match the return type of a GCC
14454 builtin and then its argument prototype would still apply. */
14455 char XOpenDevice ();
14457 main (void)
14459 return XOpenDevice ();
14461 return 0;
14463 _ACEOF
14464 if ac_fn_c_try_link "$LINENO"
14465 then :
14466 case "$LIBEXT" in
14467 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14468 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'` ;;
14469 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14470 if ${ac_cv_lib_soname_Xi:+false} :
14471 then :
14472 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14473 fi ;;
14474 esac
14475 else $as_nop
14476 ac_cv_lib_soname_Xi=
14478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14479 conftest$ac_exeext conftest.$ac_ext
14480 LIBS=$ac_check_soname_save_LIBS
14482 if ${ac_cv_lib_soname_Xi:+false} :
14483 then :
14484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14485 printf "%s\n" "not found" >&6; }
14487 else $as_nop
14488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14489 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14491 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14497 if test "x$ac_cv_lib_soname_Xi" = "x"
14498 then :
14499 case "x$with_xinput" in
14500 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14501 xno) ;;
14502 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14503 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14504 esac
14508 if test "x$ac_cv_lib_soname_Xi" != x
14509 then
14510 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14511 then :
14512 case "x$with_xinput2" in
14513 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14514 xno) ;;
14515 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14516 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14517 esac
14522 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14523 then
14524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14525 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14526 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14527 then :
14528 printf %s "(cached) " >&6
14529 else $as_nop
14530 ac_check_lib_save_LIBS=$LIBS
14531 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 char XShmQueryExtension ();
14540 main (void)
14542 return XShmQueryExtension ();
14544 return 0;
14546 _ACEOF
14547 if ac_fn_c_try_link "$LINENO"
14548 then :
14549 ac_cv_lib_Xext_XShmQueryExtension=yes
14550 else $as_nop
14551 ac_cv_lib_Xext_XShmQueryExtension=no
14553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14554 conftest$ac_exeext conftest.$ac_ext
14555 LIBS=$ac_check_lib_save_LIBS
14557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14558 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14559 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14560 then :
14562 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14567 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14568 then :
14569 case "x$with_xshm" in
14570 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14571 xno) ;;
14572 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14573 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14574 esac
14578 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14579 then
14580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14581 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14582 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14583 then :
14584 printf %s "(cached) " >&6
14585 else $as_nop
14586 ac_check_lib_save_LIBS=$LIBS
14587 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 char XShapeQueryExtension ();
14596 main (void)
14598 return XShapeQueryExtension ();
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_link "$LINENO"
14604 then :
14605 ac_cv_lib_Xext_XShapeQueryExtension=yes
14606 else $as_nop
14607 ac_cv_lib_Xext_XShapeQueryExtension=no
14609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_check_lib_save_LIBS
14613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14614 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14615 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14616 then :
14618 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14623 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14624 then :
14625 case "x$with_xshape" in
14626 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14627 xno) ;;
14628 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14629 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14630 esac
14634 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14635 then
14636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14637 printf %s "checking for -lXxf86vm... " >&6; }
14638 if test ${ac_cv_lib_soname_Xxf86vm+y}
14639 then :
14640 printf %s "(cached) " >&6
14641 else $as_nop
14642 ac_check_soname_save_LIBS=$LIBS
14643 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14647 /* Override any GCC internal prototype to avoid an error.
14648 Use char because int might match the return type of a GCC
14649 builtin and then its argument prototype would still apply. */
14650 char XF86VidModeQueryExtension ();
14652 main (void)
14654 return XF86VidModeQueryExtension ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"
14660 then :
14661 case "$LIBEXT" in
14662 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14663 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'` ;;
14664 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14665 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14666 then :
14667 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14668 fi ;;
14669 esac
14670 else $as_nop
14671 ac_cv_lib_soname_Xxf86vm=
14673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LIBS=$ac_check_soname_save_LIBS
14677 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14678 then :
14679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14680 printf "%s\n" "not found" >&6; }
14682 else $as_nop
14683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14684 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14686 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14691 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14692 then :
14693 case "x$with_xxf86vm" in
14694 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14695 xno) ;;
14696 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14697 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14698 esac
14702 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14703 then
14704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14705 printf %s "checking for -lXrender... " >&6; }
14706 if test ${ac_cv_lib_soname_Xrender+y}
14707 then :
14708 printf %s "(cached) " >&6
14709 else $as_nop
14710 ac_check_soname_save_LIBS=$LIBS
14711 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14713 /* end confdefs.h. */
14715 /* Override any GCC internal prototype to avoid an error.
14716 Use char because int might match the return type of a GCC
14717 builtin and then its argument prototype would still apply. */
14718 char XRenderQueryExtension ();
14720 main (void)
14722 return XRenderQueryExtension ();
14724 return 0;
14726 _ACEOF
14727 if ac_fn_c_try_link "$LINENO"
14728 then :
14729 case "$LIBEXT" in
14730 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14731 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'` ;;
14732 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14733 if ${ac_cv_lib_soname_Xrender:+false} :
14734 then :
14735 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14736 fi ;;
14737 esac
14738 else $as_nop
14739 ac_cv_lib_soname_Xrender=
14741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14742 conftest$ac_exeext conftest.$ac_ext
14743 LIBS=$ac_check_soname_save_LIBS
14745 if ${ac_cv_lib_soname_Xrender:+false} :
14746 then :
14747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14748 printf "%s\n" "not found" >&6; }
14750 else $as_nop
14751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14752 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14754 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14757 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14758 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14759 then :
14760 printf %s "(cached) " >&6
14761 else $as_nop
14762 ac_check_lib_save_LIBS=$LIBS
14763 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14767 /* Override any GCC internal prototype to avoid an error.
14768 Use char because int might match the return type of a GCC
14769 builtin and then its argument prototype would still apply. */
14770 char XRenderSetPictureTransform ();
14772 main (void)
14774 return XRenderSetPictureTransform ();
14776 return 0;
14778 _ACEOF
14779 if ac_fn_c_try_link "$LINENO"
14780 then :
14781 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14782 else $as_nop
14783 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14785 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14786 conftest$ac_exeext conftest.$ac_ext
14787 LIBS=$ac_check_lib_save_LIBS
14789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14790 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14791 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14792 then :
14794 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14799 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14800 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14801 then :
14802 printf %s "(cached) " >&6
14803 else $as_nop
14804 ac_check_lib_save_LIBS=$LIBS
14805 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14809 /* Override any GCC internal prototype to avoid an error.
14810 Use char because int might match the return type of a GCC
14811 builtin and then its argument prototype would still apply. */
14812 char XRenderCreateLinearGradient ();
14814 main (void)
14816 return XRenderCreateLinearGradient ();
14818 return 0;
14820 _ACEOF
14821 if ac_fn_c_try_link "$LINENO"
14822 then :
14823 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14824 else $as_nop
14825 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14828 conftest$ac_exeext conftest.$ac_ext
14829 LIBS=$ac_check_lib_save_LIBS
14831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14832 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14833 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14834 then :
14836 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14843 if test "x$ac_cv_lib_soname_Xrender" = "x"
14844 then :
14845 case "x$with_xrender" in
14846 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14847 xno) ;;
14848 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14849 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14850 esac
14854 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14855 then
14856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14857 /* end confdefs.h. */
14858 #include <X11/Xlib.h>
14859 #include <X11/extensions/Xrandr.h>
14861 main (void)
14863 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14865 return 0;
14867 _ACEOF
14868 if ac_fn_c_try_compile "$LINENO"
14869 then :
14870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14871 printf %s "checking for -lXrandr... " >&6; }
14872 if test ${ac_cv_lib_soname_Xrandr+y}
14873 then :
14874 printf %s "(cached) " >&6
14875 else $as_nop
14876 ac_check_soname_save_LIBS=$LIBS
14877 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 char XRRQueryExtension ();
14886 main (void)
14888 return XRRQueryExtension ();
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"
14894 then :
14895 case "$LIBEXT" in
14896 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14897 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'` ;;
14898 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14899 if ${ac_cv_lib_soname_Xrandr:+false} :
14900 then :
14901 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14902 fi ;;
14903 esac
14904 else $as_nop
14905 ac_cv_lib_soname_Xrandr=
14907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14908 conftest$ac_exeext conftest.$ac_ext
14909 LIBS=$ac_check_soname_save_LIBS
14911 if ${ac_cv_lib_soname_Xrandr:+false} :
14912 then :
14913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14914 printf "%s\n" "not found" >&6; }
14916 else $as_nop
14917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
14918 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
14920 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #include <X11/Xlib.h>
14925 #include <X11/extensions/Xrandr.h>
14927 main (void)
14929 static typeof(XRRGetProviderResources) *f; if (f) return 0;
14931 return 0;
14933 _ACEOF
14934 if ac_fn_c_try_compile "$LINENO"
14935 then :
14937 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
14939 else $as_nop
14940 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
14942 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14947 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14948 then :
14949 case "x$with_xrandr" in
14950 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
14951 xno) ;;
14952 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
14953 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
14954 esac
14958 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
14959 then
14960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14961 /* end confdefs.h. */
14962 #include <X11/Xlib.h>
14963 #include <X11/extensions/Xfixes.h>
14965 main (void)
14967 static typeof(XFixesQueryVersion) * func; if (func) return 0;
14969 return 0;
14971 _ACEOF
14972 if ac_fn_c_try_compile "$LINENO"
14973 then :
14974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
14975 printf %s "checking for -lXfixes... " >&6; }
14976 if test ${ac_cv_lib_soname_Xfixes+y}
14977 then :
14978 printf %s "(cached) " >&6
14979 else $as_nop
14980 ac_check_soname_save_LIBS=$LIBS
14981 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
14982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983 /* end confdefs.h. */
14985 /* Override any GCC internal prototype to avoid an error.
14986 Use char because int might match the return type of a GCC
14987 builtin and then its argument prototype would still apply. */
14988 char XFixesQueryVersion ();
14990 main (void)
14992 return XFixesQueryVersion ();
14994 return 0;
14996 _ACEOF
14997 if ac_fn_c_try_link "$LINENO"
14998 then :
14999 case "$LIBEXT" in
15000 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15001 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'` ;;
15002 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15003 if ${ac_cv_lib_soname_Xfixes:+false} :
15004 then :
15005 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15006 fi ;;
15007 esac
15008 else $as_nop
15009 ac_cv_lib_soname_Xfixes=
15011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15012 conftest$ac_exeext conftest.$ac_ext
15013 LIBS=$ac_check_soname_save_LIBS
15015 if ${ac_cv_lib_soname_Xfixes:+false} :
15016 then :
15017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15018 printf "%s\n" "not found" >&6; }
15020 else $as_nop
15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15022 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15024 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15031 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15032 then :
15033 case "x$with_xfixes" in
15034 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15035 xno) ;;
15036 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15037 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15038 esac
15042 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15043 then
15044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15045 /* end confdefs.h. */
15046 #include <X11/Xlib.h>
15047 #include <X11/extensions/Xinerama.h>
15049 main (void)
15051 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15053 return 0;
15055 _ACEOF
15056 if ac_fn_c_try_compile "$LINENO"
15057 then :
15058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15059 printf %s "checking for -lXinerama... " >&6; }
15060 if test ${ac_cv_lib_soname_Xinerama+y}
15061 then :
15062 printf %s "(cached) " >&6
15063 else $as_nop
15064 ac_check_soname_save_LIBS=$LIBS
15065 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 char XineramaQueryScreens ();
15074 main (void)
15076 return XineramaQueryScreens ();
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"
15082 then :
15083 case "$LIBEXT" in
15084 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15085 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'` ;;
15086 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15087 if ${ac_cv_lib_soname_Xinerama:+false} :
15088 then :
15089 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15090 fi ;;
15091 esac
15092 else $as_nop
15093 ac_cv_lib_soname_Xinerama=
15095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_soname_save_LIBS
15099 if ${ac_cv_lib_soname_Xinerama:+false} :
15100 then :
15101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15102 printf "%s\n" "not found" >&6; }
15104 else $as_nop
15105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15106 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15108 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15115 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15116 then :
15117 case "x$with_xinerama" in
15118 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15119 xno) ;;
15120 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15121 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15122 esac
15126 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "$xlib_includes
15128 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
15129 then :
15130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15131 printf %s "checking for -lXcomposite... " >&6; }
15132 if test ${ac_cv_lib_soname_Xcomposite+y}
15133 then :
15134 printf %s "(cached) " >&6
15135 else $as_nop
15136 ac_check_soname_save_LIBS=$LIBS
15137 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15141 /* Override any GCC internal prototype to avoid an error.
15142 Use char because int might match the return type of a GCC
15143 builtin and then its argument prototype would still apply. */
15144 char XCompositeRedirectWindow ();
15146 main (void)
15148 return XCompositeRedirectWindow ();
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_link "$LINENO"
15154 then :
15155 case "$LIBEXT" in
15156 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15157 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'` ;;
15158 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15159 if ${ac_cv_lib_soname_Xcomposite:+false} :
15160 then :
15161 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15162 fi ;;
15163 esac
15164 else $as_nop
15165 ac_cv_lib_soname_Xcomposite=
15167 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15168 conftest$ac_exeext conftest.$ac_ext
15169 LIBS=$ac_check_soname_save_LIBS
15171 if ${ac_cv_lib_soname_Xcomposite:+false} :
15172 then :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15174 printf "%s\n" "not found" >&6; }
15176 else $as_nop
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15178 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15180 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15186 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15187 then :
15188 case "x$with_xcomposite" in
15189 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15190 xno) ;;
15191 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15192 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15193 esac
15197 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "$xlib_includes
15199 if test "x$ac_cv_member_XICCallback_callback" = xyes
15200 then :
15202 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15206 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "$xlib_includes
15208 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15209 then :
15211 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15218 opengl_msg=""
15219 if test "x$with_opengl" != "xno"
15220 then
15221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15222 printf %s "checking for -lGL... " >&6; }
15223 if test ${ac_cv_lib_soname_GL+y}
15224 then :
15225 printf %s "(cached) " >&6
15226 else $as_nop
15227 ac_check_soname_save_LIBS=$LIBS
15228 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15232 /* Override any GCC internal prototype to avoid an error.
15233 Use char because int might match the return type of a GCC
15234 builtin and then its argument prototype would still apply. */
15235 char glXCreateContext ();
15237 main (void)
15239 return glXCreateContext ();
15241 return 0;
15243 _ACEOF
15244 if ac_fn_c_try_link "$LINENO"
15245 then :
15246 case "$LIBEXT" in
15247 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15248 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'` ;;
15249 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15250 if ${ac_cv_lib_soname_GL:+false} :
15251 then :
15252 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15253 fi ;;
15254 esac
15255 else $as_nop
15256 ac_cv_lib_soname_GL=
15258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15259 conftest$ac_exeext conftest.$ac_ext
15260 LIBS=$ac_check_soname_save_LIBS
15262 if ${ac_cv_lib_soname_GL:+false} :
15263 then :
15264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15265 printf "%s\n" "not found" >&6; }
15266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15267 printf %s "checking for -lGL... " >&6; }
15268 if test ${ac_cv_lib_soname_GL+y}
15269 then :
15270 printf %s "(cached) " >&6
15271 else $as_nop
15272 ac_check_soname_save_LIBS=$LIBS
15273 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"
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15277 /* Override any GCC internal prototype to avoid an error.
15278 Use char because int might match the return type of a GCC
15279 builtin and then its argument prototype would still apply. */
15280 char glXCreateContext ();
15282 main (void)
15284 return glXCreateContext ();
15286 return 0;
15288 _ACEOF
15289 if ac_fn_c_try_link "$LINENO"
15290 then :
15291 case "$LIBEXT" in
15292 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15293 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'` ;;
15294 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15295 if ${ac_cv_lib_soname_GL:+false} :
15296 then :
15297 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15298 fi ;;
15299 esac
15300 else $as_nop
15301 ac_cv_lib_soname_GL=
15303 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15304 conftest$ac_exeext conftest.$ac_ext
15305 LIBS=$ac_check_soname_save_LIBS
15307 if ${ac_cv_lib_soname_GL:+false} :
15308 then :
15309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15310 printf "%s\n" "not found" >&6; }
15311 if test -f /usr/X11R6/lib/libGL.a
15312 then
15313 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15314 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15315 else
15316 opengl_msg="No OpenGL library found on this system."
15318 else $as_nop
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15320 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15322 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15324 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"
15326 else $as_nop
15327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15328 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15330 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15332 OPENGL_LIBS="-lGL"
15334 if test "x$with_osmesa" != "xno"
15335 then
15336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15337 printf %s "checking for -lOSMesa... " >&6; }
15338 if test ${ac_cv_lib_soname_OSMesa+y}
15339 then :
15340 printf %s "(cached) " >&6
15341 else $as_nop
15342 ac_check_soname_save_LIBS=$LIBS
15343 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15347 /* Override any GCC internal prototype to avoid an error.
15348 Use char because int might match the return type of a GCC
15349 builtin and then its argument prototype would still apply. */
15350 char OSMesaGetProcAddress ();
15352 main (void)
15354 return OSMesaGetProcAddress ();
15356 return 0;
15358 _ACEOF
15359 if ac_fn_c_try_link "$LINENO"
15360 then :
15361 case "$LIBEXT" in
15362 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15363 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'` ;;
15364 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15365 if ${ac_cv_lib_soname_OSMesa:+false} :
15366 then :
15367 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15368 fi ;;
15369 esac
15370 else $as_nop
15371 ac_cv_lib_soname_OSMesa=
15373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15374 conftest$ac_exeext conftest.$ac_ext
15375 LIBS=$ac_check_soname_save_LIBS
15377 if ${ac_cv_lib_soname_OSMesa:+false} :
15378 then :
15379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15380 printf "%s\n" "not found" >&6; }
15382 else $as_nop
15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15384 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15386 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15390 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15391 then :
15392 case "x$with_osmesa" in
15393 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15394 xno) ;;
15395 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15396 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15397 esac
15402 if test -n "$opengl_msg"
15403 then :
15404 case "x$with_opengl" in
15405 x) as_fn_append wine_warnings "|$opengl_msg
15406 OpenGL and Direct3D won't be supported." ;;
15407 xno) ;;
15408 *) as_fn_error $? "$opengl_msg
15409 OpenGL and Direct3D won't be supported.
15410 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15411 esac
15415 CPPFLAGS="$ac_save_CPPFLAGS"
15416 else
15417 X_CFLAGS=""
15418 X_LIBS=""
15421 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15422 then
15423 if test "x$X_LIBS" = "x"
15424 then :
15425 case "x$with_x" in
15426 xno) ;;
15427 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15428 without X support, which probably isn't what you want. You will need
15429 to install ${notice_platform}development packages of Xlib at the very least.
15430 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15431 esac
15432 enable_winex11_drv=${enable_winex11_drv:-no}
15434 else
15435 if test "x$X_LIBS" = "x"
15436 then :
15437 case "x$with_x" in
15438 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15439 xno) ;;
15440 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15441 This is an error since --with-x was requested." "$LINENO" 5 ;;
15442 esac
15443 enable_winex11_drv=${enable_winex11_drv:-no}
15447 if test "x$with_wayland" != "xno"
15448 then
15449 rm -f conftest.err
15450 if ${WAYLAND_CLIENT_CFLAGS:+false} :
15451 then :
15452 if test ${PKG_CONFIG+y}
15453 then :
15454 WAYLAND_CLIENT_CFLAGS=`$PKG_CONFIG --cflags wayland-client 2>conftest.err`
15458 if ${WAYLAND_CLIENT_LIBS:+false} :
15459 then :
15460 if test ${PKG_CONFIG+y}
15461 then :
15462 WAYLAND_CLIENT_LIBS=`$PKG_CONFIG --libs wayland-client 2>/dev/null`
15467 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client cflags: $WAYLAND_CLIENT_CFLAGS" >&5
15468 printf "%s\n" "$as_me:${as_lineno-$LINENO}: wayland-client libs: $WAYLAND_CLIENT_LIBS" >&5
15469 if test -s conftest.err; then
15470 printf %s "$as_me:${as_lineno-$LINENO}: wayland-client errors: " >&5
15471 cat conftest.err >&5
15473 rm -f conftest.err
15474 ac_save_CPPFLAGS=$CPPFLAGS
15475 CPPFLAGS="$CPPFLAGS $WAYLAND_CLIENT_CFLAGS"
15476 ac_fn_c_check_header_compile "$LINENO" "wayland-client.h" "ac_cv_header_wayland_client_h" "$ac_includes_default"
15477 if test "x$ac_cv_header_wayland_client_h" = xyes
15478 then :
15479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for wl_display_connect in -lwayland-client" >&5
15480 printf %s "checking for wl_display_connect in -lwayland-client... " >&6; }
15481 if test ${ac_cv_lib_wayland_client_wl_display_connect+y}
15482 then :
15483 printf %s "(cached) " >&6
15484 else $as_nop
15485 ac_check_lib_save_LIBS=$LIBS
15486 LIBS="-lwayland-client $WAYLAND_CLIENT_LIBS $LIBS"
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15490 /* Override any GCC internal prototype to avoid an error.
15491 Use char because int might match the return type of a GCC
15492 builtin and then its argument prototype would still apply. */
15493 char wl_display_connect ();
15495 main (void)
15497 return wl_display_connect ();
15499 return 0;
15501 _ACEOF
15502 if ac_fn_c_try_link "$LINENO"
15503 then :
15504 ac_cv_lib_wayland_client_wl_display_connect=yes
15505 else $as_nop
15506 ac_cv_lib_wayland_client_wl_display_connect=no
15508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15509 conftest$ac_exeext conftest.$ac_ext
15510 LIBS=$ac_check_lib_save_LIBS
15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wayland_client_wl_display_connect" >&5
15513 printf "%s\n" "$ac_cv_lib_wayland_client_wl_display_connect" >&6; }
15514 if test "x$ac_cv_lib_wayland_client_wl_display_connect" = xyes
15515 then :
15516 # Extract the first word of "wayland-scanner", so it can be a program name with args.
15517 set dummy wayland-scanner; ac_word=$2
15518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15519 printf %s "checking for $ac_word... " >&6; }
15520 if test ${ac_cv_path_WAYLAND_SCANNER+y}
15521 then :
15522 printf %s "(cached) " >&6
15523 else $as_nop
15524 case $WAYLAND_SCANNER in
15525 [\\/]* | ?:[\\/]*)
15526 ac_cv_path_WAYLAND_SCANNER="$WAYLAND_SCANNER" # Let the user override the test with a path.
15529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15530 for as_dir in $PATH
15532 IFS=$as_save_IFS
15533 case $as_dir in #(((
15534 '') as_dir=./ ;;
15535 */) ;;
15536 *) as_dir=$as_dir/ ;;
15537 esac
15538 for ac_exec_ext in '' $ac_executable_extensions; do
15539 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
15540 ac_cv_path_WAYLAND_SCANNER="$as_dir$ac_word$ac_exec_ext"
15541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
15542 break 2
15544 done
15545 done
15546 IFS=$as_save_IFS
15548 test -z "$ac_cv_path_WAYLAND_SCANNER" && ac_cv_path_WAYLAND_SCANNER="`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`"
15550 esac
15552 WAYLAND_SCANNER=$ac_cv_path_WAYLAND_SCANNER
15553 if test -n "$WAYLAND_SCANNER"; then
15554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $WAYLAND_SCANNER" >&5
15555 printf "%s\n" "$WAYLAND_SCANNER" >&6; }
15556 else
15557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
15558 printf "%s\n" "no" >&6; }
15562 else $as_nop
15563 WAYLAND_CLIENT_LIBS=""
15568 CPPFLAGS=$ac_save_CPPFLAGS
15571 if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
15572 then :
15573 case "x$with_wayland" in
15574 x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
15575 xno) ;;
15576 *) as_fn_error $? "Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.
15577 This is an error since --with-wayland was requested." "$LINENO" 5 ;;
15578 esac
15579 enable_winewayland_drv=${enable_winewayland_drv:-no}
15582 if test "$ac_cv_header_CL_cl_h" = "yes"
15583 then
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15585 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15586 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15587 then :
15588 printf %s "(cached) " >&6
15589 else $as_nop
15590 ac_check_lib_save_LIBS=$LIBS
15591 LIBS="-lOpenCL $LIBS"
15592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593 /* end confdefs.h. */
15595 /* Override any GCC internal prototype to avoid an error.
15596 Use char because int might match the return type of a GCC
15597 builtin and then its argument prototype would still apply. */
15598 char clGetPlatformInfo ();
15600 main (void)
15602 return clGetPlatformInfo ();
15604 return 0;
15606 _ACEOF
15607 if ac_fn_c_try_link "$LINENO"
15608 then :
15609 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15610 else $as_nop
15611 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15614 conftest$ac_exeext conftest.$ac_ext
15615 LIBS=$ac_check_lib_save_LIBS
15617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15618 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15619 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15620 then :
15621 OPENCL_LIBS="-lOpenCL"
15626 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15627 then :
15628 case "x$with_opencl" in
15629 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15630 xno) ;;
15631 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15632 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15633 esac
15634 enable_opencl=${enable_opencl:-no}
15637 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15638 then
15639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15640 printf %s "checking for pcap_init in -lpcap... " >&6; }
15641 if test ${ac_cv_lib_pcap_pcap_init+y}
15642 then :
15643 printf %s "(cached) " >&6
15644 else $as_nop
15645 ac_check_lib_save_LIBS=$LIBS
15646 LIBS="-lpcap $LIBS"
15647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15648 /* end confdefs.h. */
15650 /* Override any GCC internal prototype to avoid an error.
15651 Use char because int might match the return type of a GCC
15652 builtin and then its argument prototype would still apply. */
15653 char pcap_init ();
15655 main (void)
15657 return pcap_init ();
15659 return 0;
15661 _ACEOF
15662 if ac_fn_c_try_link "$LINENO"
15663 then :
15664 ac_cv_lib_pcap_pcap_init=yes
15665 else $as_nop
15666 ac_cv_lib_pcap_pcap_init=no
15668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15669 conftest$ac_exeext conftest.$ac_ext
15670 LIBS=$ac_check_lib_save_LIBS
15672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15673 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15674 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15675 then :
15676 PCAP_LIBS="-lpcap"
15681 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15682 then :
15683 case "x$with_pcap" in
15684 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15685 xno) ;;
15686 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15687 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15688 esac
15689 enable_wpcap=${enable_wpcap:-no}
15692 if test "x$with_pcsclite" != "xno"
15693 then
15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15695 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15696 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15697 then :
15698 printf %s "(cached) " >&6
15699 else $as_nop
15700 ac_check_lib_save_LIBS=$LIBS
15701 LIBS="-lpcsclite $LIBS"
15702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 char SCardEstablishContext ();
15710 main (void)
15712 return SCardEstablishContext ();
15714 return 0;
15716 _ACEOF
15717 if ac_fn_c_try_link "$LINENO"
15718 then :
15719 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15720 else $as_nop
15721 ac_cv_lib_pcsclite_SCardEstablishContext=no
15723 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15724 conftest$ac_exeext conftest.$ac_ext
15725 LIBS=$ac_check_lib_save_LIBS
15727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15728 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15729 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15730 then :
15731 PCSCLITE_LIBS="-lpcsclite"
15733 else $as_nop
15734 case $host_os in
15735 darwin*|macosx*) PCSCLITE_LIBS="-framework PCSC"
15737 esac
15741 if test "x$PCSCLITE_LIBS" = x
15742 then :
15743 case "x$with_pcsclite" in
15744 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15745 xno) ;;
15746 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15747 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15748 esac
15749 enable_winscard=${enable_winscard:-no}
15752 if test "x$with_inotify" != "xno"
15753 then
15754 rm -f conftest.err
15755 if ${INOTIFY_CFLAGS:+false} :
15756 then :
15757 if test ${PKG_CONFIG+y}
15758 then :
15759 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15763 if ${INOTIFY_LIBS:+false} :
15764 then :
15765 if test ${PKG_CONFIG+y}
15766 then :
15767 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15773 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15774 if test -s conftest.err; then
15775 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15776 cat conftest.err >&5
15778 rm -f conftest.err
15779 ac_save_CPPFLAGS=$CPPFLAGS
15780 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15781 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15782 if test "x$ac_cv_header_sys_inotify_h" = xyes
15783 then :
15784 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15789 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15790 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15791 then :
15792 printf %s "(cached) " >&6
15793 else $as_nop
15794 ac_check_lib_save_LIBS=$LIBS
15795 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797 /* end confdefs.h. */
15799 /* Override any GCC internal prototype to avoid an error.
15800 Use char because int might match the return type of a GCC
15801 builtin and then its argument prototype would still apply. */
15802 char inotify_add_watch ();
15804 main (void)
15806 return inotify_add_watch ();
15808 return 0;
15810 _ACEOF
15811 if ac_fn_c_try_link "$LINENO"
15812 then :
15813 ac_cv_lib_inotify_inotify_add_watch=yes
15814 else $as_nop
15815 ac_cv_lib_inotify_inotify_add_watch=no
15817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15818 conftest$ac_exeext conftest.$ac_ext
15819 LIBS=$ac_check_lib_save_LIBS
15821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15822 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15823 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15824 then :
15826 else $as_nop
15827 INOTIFY_LIBS=""
15830 CPPFLAGS=$ac_save_CPPFLAGS
15833 if test "$ac_cv_header_sys_inotify_h" != "yes"
15834 then :
15835 case "x$with_inotify" in
15836 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15837 xno) ;;
15838 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15839 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15840 esac
15844 if test "x$with_dbus" != "xno"
15845 then
15846 rm -f conftest.err
15847 if ${DBUS_CFLAGS:+false} :
15848 then :
15849 if test ${PKG_CONFIG+y}
15850 then :
15851 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15855 if ${DBUS_LIBS:+false} :
15856 then :
15857 if test ${PKG_CONFIG+y}
15858 then :
15859 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15866 if test -s conftest.err; then
15867 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15868 cat conftest.err >&5
15870 rm -f conftest.err
15871 ac_save_CPPFLAGS=$CPPFLAGS
15872 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15873 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15874 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15875 then :
15876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15877 printf %s "checking for -ldbus-1... " >&6; }
15878 if test ${ac_cv_lib_soname_dbus_1+y}
15879 then :
15880 printf %s "(cached) " >&6
15881 else $as_nop
15882 ac_check_soname_save_LIBS=$LIBS
15883 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 char dbus_connection_close ();
15892 main (void)
15894 return dbus_connection_close ();
15896 return 0;
15898 _ACEOF
15899 if ac_fn_c_try_link "$LINENO"
15900 then :
15901 case "$LIBEXT" in
15902 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15903 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'` ;;
15904 *) 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'`
15905 if ${ac_cv_lib_soname_dbus_1:+false} :
15906 then :
15907 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15908 fi ;;
15909 esac
15910 else $as_nop
15911 ac_cv_lib_soname_dbus_1=
15913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15914 conftest$ac_exeext conftest.$ac_ext
15915 LIBS=$ac_check_soname_save_LIBS
15917 if ${ac_cv_lib_soname_dbus_1:+false} :
15918 then :
15919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15920 printf "%s\n" "not found" >&6; }
15921 DBUS_CFLAGS=""
15922 else $as_nop
15923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15924 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15926 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15930 else $as_nop
15931 DBUS_CFLAGS=""
15934 CPPFLAGS=$ac_save_CPPFLAGS
15937 case $host_os in
15938 darwin*|macosx*) ;;
15939 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15940 then :
15941 case "x$with_dbus" in
15942 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15943 xno) ;;
15944 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15945 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15946 esac
15948 fi ;;
15949 esac
15951 if test "x$with_gnutls" != "xno"
15952 then
15953 rm -f conftest.err
15954 if ${GNUTLS_CFLAGS:+false} :
15955 then :
15956 if test ${PKG_CONFIG+y}
15957 then :
15958 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15962 if ${GNUTLS_LIBS:+false} :
15963 then :
15964 if test ${PKG_CONFIG+y}
15965 then :
15966 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15970 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15973 if test -s conftest.err; then
15974 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15975 cat conftest.err >&5
15977 rm -f conftest.err
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15980 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15981 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15982 then :
15983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15984 /* end confdefs.h. */
15985 #include <gnutls/gnutls.h>
15986 #include <gnutls/crypto.h>
15988 main (void)
15990 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15992 return 0;
15994 _ACEOF
15995 if ac_fn_c_try_compile "$LINENO"
15996 then :
15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15998 printf %s "checking for -lgnutls... " >&6; }
15999 if test ${ac_cv_lib_soname_gnutls+y}
16000 then :
16001 printf %s "(cached) " >&6
16002 else $as_nop
16003 ac_check_soname_save_LIBS=$LIBS
16004 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 char gnutls_global_init ();
16013 main (void)
16015 return gnutls_global_init ();
16017 return 0;
16019 _ACEOF
16020 if ac_fn_c_try_link "$LINENO"
16021 then :
16022 case "$LIBEXT" in
16023 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16024 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'` ;;
16025 *) 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'`
16026 if ${ac_cv_lib_soname_gnutls:+false} :
16027 then :
16028 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'`
16029 fi ;;
16030 esac
16031 else $as_nop
16032 ac_cv_lib_soname_gnutls=
16034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_gnutls:+false} :
16039 then :
16040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16041 printf "%s\n" "not found" >&6; }
16042 GNUTLS_CFLAGS=""
16043 else $as_nop
16044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16045 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16047 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16051 ac_wine_check_funcs_save_LIBS="$LIBS"
16052 LIBS="$LIBS $GNUTLS_LIBS"
16054 for ac_func in gnutls_cipher_init
16055 do :
16056 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16057 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16058 then :
16059 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16061 else $as_nop
16062 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16065 done
16066 LIBS="$ac_wine_check_funcs_save_LIBS"
16068 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16069 else $as_nop
16070 GNUTLS_CFLAGS=""
16073 CPPFLAGS=$ac_save_CPPFLAGS
16076 if test "x$ac_cv_lib_soname_gnutls" = "x"
16077 then :
16078 case "x$with_gnutls" in
16079 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16080 xno) ;;
16081 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16082 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16083 esac
16087 if test "x$with_sane" != "xno"
16088 then
16089 rm -f conftest.err
16090 if ${SANE_CFLAGS:+false} :
16091 then :
16092 if test ${PKG_CONFIG+y}
16093 then :
16094 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16097 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16098 if ${SANE_LIBS:+false} :
16099 then :
16100 if test ${PKG_CONFIG+y}
16101 then :
16102 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16105 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16108 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16109 if test -s conftest.err; then
16110 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16111 cat conftest.err >&5
16113 rm -f conftest.err
16114 ac_save_CPPFLAGS=$CPPFLAGS
16115 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16116 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16117 if test "x$ac_cv_header_sane_sane_h" = xyes
16118 then :
16119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16120 printf %s "checking for sane_init in -lsane... " >&6; }
16121 if test ${ac_cv_lib_sane_sane_init+y}
16122 then :
16123 printf %s "(cached) " >&6
16124 else $as_nop
16125 ac_check_lib_save_LIBS=$LIBS
16126 LIBS="-lsane $SANE_LIBS $LIBS"
16127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16128 /* end confdefs.h. */
16130 /* Override any GCC internal prototype to avoid an error.
16131 Use char because int might match the return type of a GCC
16132 builtin and then its argument prototype would still apply. */
16133 char sane_init ();
16135 main (void)
16137 return sane_init ();
16139 return 0;
16141 _ACEOF
16142 if ac_fn_c_try_link "$LINENO"
16143 then :
16144 ac_cv_lib_sane_sane_init=yes
16145 else $as_nop
16146 ac_cv_lib_sane_sane_init=no
16148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16149 conftest$ac_exeext conftest.$ac_ext
16150 LIBS=$ac_check_lib_save_LIBS
16152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16153 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16154 if test "x$ac_cv_lib_sane_sane_init" = xyes
16155 then :
16161 CPPFLAGS=$ac_save_CPPFLAGS
16164 if test "$ac_cv_lib_sane_sane_init" != "yes"
16165 then :
16166 case "x$with_sane" in
16167 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16168 xno) ;;
16169 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16170 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16171 esac
16172 enable_sane_ds=${enable_sane_ds:-no}
16175 if test "x$with_usb" != "xno"
16176 then
16177 rm -f conftest.err
16178 if ${USB_CFLAGS:+false} :
16179 then :
16180 if test ${PKG_CONFIG+y}
16181 then :
16182 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16186 if ${USB_LIBS:+false} :
16187 then :
16188 if test ${PKG_CONFIG+y}
16189 then :
16190 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16194 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16197 if test -s conftest.err; then
16198 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16199 cat conftest.err >&5
16201 rm -f conftest.err
16202 ac_save_CPPFLAGS=$CPPFLAGS
16203 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16204 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16205 if test "x$ac_cv_header_libusb_h" = xyes
16206 then :
16207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16208 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16209 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16210 then :
16211 printf %s "(cached) " >&6
16212 else $as_nop
16213 ac_check_lib_save_LIBS=$LIBS
16214 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16221 char libusb_interrupt_event_handler ();
16223 main (void)
16225 return libusb_interrupt_event_handler ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"
16231 then :
16232 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16233 else $as_nop
16234 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16237 conftest$ac_exeext conftest.$ac_ext
16238 LIBS=$ac_check_lib_save_LIBS
16240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16241 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16242 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16243 then :
16245 else $as_nop
16246 USB_LIBS=""
16249 else $as_nop
16250 USB_LIBS=""
16253 CPPFLAGS=$ac_save_CPPFLAGS
16256 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16257 then :
16258 case "x$with_usb" in
16259 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16260 xno) ;;
16261 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16262 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16263 esac
16264 enable_wineusb_sys=${enable_wineusb_sys:-no}
16267 if test "x$with_v4l2" != "xno"
16268 then
16269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16270 printf %s "checking for -lv4l2... " >&6; }
16271 if test ${ac_cv_lib_soname_v4l2+y}
16272 then :
16273 printf %s "(cached) " >&6
16274 else $as_nop
16275 ac_check_soname_save_LIBS=$LIBS
16276 LIBS="-lv4l2 $LIBS"
16277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16280 /* Override any GCC internal prototype to avoid an error.
16281 Use char because int might match the return type of a GCC
16282 builtin and then its argument prototype would still apply. */
16283 char v4l2_open ();
16285 main (void)
16287 return v4l2_open ();
16289 return 0;
16291 _ACEOF
16292 if ac_fn_c_try_link "$LINENO"
16293 then :
16294 case "$LIBEXT" in
16295 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16296 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'` ;;
16297 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16298 if ${ac_cv_lib_soname_v4l2:+false} :
16299 then :
16300 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16301 fi ;;
16302 esac
16303 else $as_nop
16304 ac_cv_lib_soname_v4l2=
16306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16307 conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_soname_save_LIBS
16310 if ${ac_cv_lib_soname_v4l2:+false} :
16311 then :
16312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16313 printf "%s\n" "not found" >&6; }
16315 else $as_nop
16316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16317 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16319 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16324 if test "x$ac_cv_lib_soname_v4l2" = "x"
16325 then :
16326 case "x$with_v4l2" in
16327 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16328 xno) ;;
16329 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16330 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16331 esac
16335 if test "x$with_gphoto" != "xno"
16336 then
16337 rm -f conftest.err
16338 if ${GPHOTO2_CFLAGS:+false} :
16339 then :
16340 if test ${PKG_CONFIG+y}
16341 then :
16342 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16345 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16346 if ${GPHOTO2_LIBS:+false} :
16347 then :
16348 if test ${PKG_CONFIG+y}
16349 then :
16350 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16353 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16354 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16357 if test -s conftest.err; then
16358 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16359 cat conftest.err >&5
16361 rm -f conftest.err
16362 ac_save_CPPFLAGS=$CPPFLAGS
16363 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16364 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16366 then :
16367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16368 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16369 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16370 then :
16371 printf %s "(cached) " >&6
16372 else $as_nop
16373 ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16376 /* end confdefs.h. */
16378 /* Override any GCC internal prototype to avoid an error.
16379 Use char because int might match the return type of a GCC
16380 builtin and then its argument prototype would still apply. */
16381 char gp_camera_new ();
16383 main (void)
16385 return gp_camera_new ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"
16391 then :
16392 ac_cv_lib_gphoto2_gp_camera_new=yes
16393 else $as_nop
16394 ac_cv_lib_gphoto2_gp_camera_new=no
16396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16397 conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_lib_save_LIBS
16400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16401 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16402 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16403 then :
16409 CPPFLAGS=$ac_save_CPPFLAGS
16411 rm -f conftest.err
16412 if ${GPHOTO2_PORT_CFLAGS:+false} :
16413 then :
16414 if test ${PKG_CONFIG+y}
16415 then :
16416 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16419 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16420 if ${GPHOTO2_PORT_LIBS:+false} :
16421 then :
16422 if test ${PKG_CONFIG+y}
16423 then :
16424 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16427 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16428 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16431 if test -s conftest.err; then
16432 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16433 cat conftest.err >&5
16435 rm -f conftest.err
16436 ac_save_CPPFLAGS=$CPPFLAGS
16437 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16438 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16439 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16440 then :
16441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16442 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16443 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16444 then :
16445 printf %s "(cached) " >&6
16446 else $as_nop
16447 ac_check_lib_save_LIBS=$LIBS
16448 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16450 /* end confdefs.h. */
16452 /* Override any GCC internal prototype to avoid an error.
16453 Use char because int might match the return type of a GCC
16454 builtin and then its argument prototype would still apply. */
16455 char gp_port_info_list_new ();
16457 main (void)
16459 return gp_port_info_list_new ();
16461 return 0;
16463 _ACEOF
16464 if ac_fn_c_try_link "$LINENO"
16465 then :
16466 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16467 else $as_nop
16468 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16471 conftest$ac_exeext conftest.$ac_ext
16472 LIBS=$ac_check_lib_save_LIBS
16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16475 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16476 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16477 then :
16479 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16481 else $as_nop
16482 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16485 else $as_nop
16486 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16489 CPPFLAGS=$ac_save_CPPFLAGS
16492 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16493 then :
16494 case "x$with_gphoto" in
16495 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16496 xno) ;;
16497 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16498 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16499 esac
16500 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16502 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16503 then :
16504 case "x$with_gphoto" in
16505 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16506 xno) ;;
16507 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16508 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16509 esac
16514 if test "$ac_cv_header_resolv_h" = "yes"
16515 then
16516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16517 printf %s "checking for resolver library... " >&6; }
16518 if test ${ac_cv_have_resolv+y}
16519 then :
16520 printf %s "(cached) " >&6
16521 else $as_nop
16522 ac_save_LIBS="$LIBS"
16523 for lib in '' -lresolv
16525 LIBS="$lib $ac_save_LIBS"
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16528 #ifdef HAVE_NETINET_IN_H
16529 #include <netinet/in.h>
16530 #endif
16531 #include <resolv.h>
16533 main (void)
16535 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"
16541 then :
16542 ac_cv_have_resolv=${lib:-"none required"}
16543 else $as_nop
16544 ac_cv_have_resolv="not found"
16546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16547 conftest$ac_exeext conftest.$ac_ext
16548 test "x$ac_cv_have_resolv" = "xnot found" || break
16549 done
16550 LIBS="$ac_save_LIBS"
16552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16553 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16555 case "$ac_cv_have_resolv" in
16556 "not found") ;;
16557 "none required")
16559 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16562 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16564 RESOLV_LIBS=$ac_cv_have_resolv
16566 esac
16568 if test "x$ac_cv_have_resolv" != "xnot found"
16569 then
16570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16571 printf %s "checking for res_getservers... " >&6; }
16572 if test ${ac_cv_have_res_getservers+y}
16573 then :
16574 printf %s "(cached) " >&6
16575 else $as_nop
16576 ac_save_LIBS="$LIBS"
16577 LIBS="$RESOLV_LIBS $LIBS"
16578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 #include <resolv.h>
16582 main (void)
16584 res_getservers(NULL, NULL, 0);
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_link "$LINENO"
16590 then :
16591 ac_cv_have_res_getservers=yes
16592 else $as_nop
16593 ac_cv_have_res_getservers=no
16595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16596 conftest$ac_exeext conftest.$ac_ext
16597 LIBS="$ac_save_LIBS"
16599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16600 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16601 if test "$ac_cv_have_res_getservers" = "yes"
16602 then
16604 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16610 if test "x$with_freetype" != "xno"
16611 then
16612 rm -f conftest.err
16613 if ${FREETYPE_CFLAGS:+false} :
16614 then :
16615 if test ${PKG_CONFIG+y}
16616 then :
16617 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16620 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16621 if ${FREETYPE_LIBS:+false} :
16622 then :
16623 if test ${PKG_CONFIG+y}
16624 then :
16625 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16628 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16629 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16632 if test -s conftest.err; then
16633 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16634 cat conftest.err >&5
16636 rm -f conftest.err
16637 ac_save_CPPFLAGS=$CPPFLAGS
16638 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16639 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16640 if test "x$ac_cv_header_ft2build_h" = xyes
16641 then :
16642 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16646 if test "$ac_cv_header_ft2build_h" = "yes"
16647 then
16648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16649 printf %s "checking for -lfreetype... " >&6; }
16650 if test ${ac_cv_lib_soname_freetype+y}
16651 then :
16652 printf %s "(cached) " >&6
16653 else $as_nop
16654 ac_check_soname_save_LIBS=$LIBS
16655 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16659 /* Override any GCC internal prototype to avoid an error.
16660 Use char because int might match the return type of a GCC
16661 builtin and then its argument prototype would still apply. */
16662 char FT_Init_FreeType ();
16664 main (void)
16666 return FT_Init_FreeType ();
16668 return 0;
16670 _ACEOF
16671 if ac_fn_c_try_link "$LINENO"
16672 then :
16673 case "$LIBEXT" in
16674 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16675 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'` ;;
16676 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16677 if ${ac_cv_lib_soname_freetype:+false} :
16678 then :
16679 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16680 fi ;;
16681 esac
16682 else $as_nop
16683 ac_cv_lib_soname_freetype=
16685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16686 conftest$ac_exeext conftest.$ac_ext
16687 LIBS=$ac_check_soname_save_LIBS
16689 if ${ac_cv_lib_soname_freetype:+false} :
16690 then :
16691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16692 printf "%s\n" "not found" >&6; }
16693 FREETYPE_LIBS=""
16694 else $as_nop
16695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16696 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16698 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16701 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16703 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16704 #include FT_MODULE_H
16706 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16707 then :
16709 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16715 else
16716 FREETYPE_CFLAGS=""
16717 FREETYPE_LIBS=""
16719 CPPFLAGS=$ac_save_CPPFLAGS
16722 if test "x$ac_cv_lib_soname_freetype" = x
16723 then :
16724 case "x$with_freetype" in
16725 xno) ;;
16726 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16727 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16728 esac
16729 enable_fonts=${enable_fonts:-no}
16732 ac_wine_check_funcs_save_LIBS="$LIBS"
16733 LIBS="$LIBS $PTHREAD_LIBS"
16734 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16735 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16736 then :
16737 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16741 LIBS="$ac_wine_check_funcs_save_LIBS"
16743 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16744 then
16745 if test "$ac_cv_header_gettext_po_h" = "yes"
16746 then
16747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16748 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16749 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16750 then :
16751 printf %s "(cached) " >&6
16752 else $as_nop
16753 ac_check_lib_save_LIBS=$LIBS
16754 LIBS="-lgettextpo $LIBS"
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h. */
16758 /* Override any GCC internal prototype to avoid an error.
16759 Use char because int might match the return type of a GCC
16760 builtin and then its argument prototype would still apply. */
16761 char po_message_msgctxt ();
16763 main (void)
16765 return po_message_msgctxt ();
16767 return 0;
16769 _ACEOF
16770 if ac_fn_c_try_link "$LINENO"
16771 then :
16772 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16773 else $as_nop
16774 ac_cv_lib_gettextpo_po_message_msgctxt=no
16776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16777 conftest$ac_exeext conftest.$ac_ext
16778 LIBS=$ac_check_lib_save_LIBS
16780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16781 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16782 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16783 then :
16785 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16787 GETTEXTPO_LIBS="-lgettextpo"
16792 if test "x$GETTEXTPO_LIBS" = "x"
16793 then :
16794 case "x$with_gettextpo" in
16795 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16796 xno) ;;
16797 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16798 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16799 esac
16802 if test "$srcdir" != .
16803 then :
16804 case "x$with_gettextpo" in
16805 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16806 xno) ;;
16807 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16808 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16809 esac
16814 if test "x$with_pulse" != "xno";
16815 then
16816 rm -f conftest.err
16817 if ${PULSE_CFLAGS:+false} :
16818 then :
16819 if test ${PKG_CONFIG+y}
16820 then :
16821 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16825 if ${PULSE_LIBS:+false} :
16826 then :
16827 if test ${PKG_CONFIG+y}
16828 then :
16829 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16836 if test -s conftest.err; then
16837 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16838 cat conftest.err >&5
16840 rm -f conftest.err
16841 ac_save_CPPFLAGS=$CPPFLAGS
16842 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16843 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16844 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16845 then :
16846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16847 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16848 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16849 then :
16850 printf %s "(cached) " >&6
16851 else $as_nop
16852 ac_check_lib_save_LIBS=$LIBS
16853 LIBS="-lpulse $PULSE_LIBS $LIBS"
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16857 /* Override any GCC internal prototype to avoid an error.
16858 Use char because int might match the return type of a GCC
16859 builtin and then its argument prototype would still apply. */
16860 char pa_stream_is_corked ();
16862 main (void)
16864 return pa_stream_is_corked ();
16866 return 0;
16868 _ACEOF
16869 if ac_fn_c_try_link "$LINENO"
16870 then :
16871 ac_cv_lib_pulse_pa_stream_is_corked=yes
16872 else $as_nop
16873 ac_cv_lib_pulse_pa_stream_is_corked=no
16875 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16876 conftest$ac_exeext conftest.$ac_ext
16877 LIBS=$ac_check_lib_save_LIBS
16879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16880 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16881 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16882 then :
16884 else $as_nop
16885 PULSE_LIBS=""
16888 else $as_nop
16889 PULSE_LIBS=""
16892 CPPFLAGS=$ac_save_CPPFLAGS
16895 if test -z "$PULSE_LIBS"
16896 then :
16897 case "x$with_pulse" in
16898 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16899 xno) ;;
16900 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16901 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16902 esac
16903 enable_winepulse_drv=${enable_winepulse_drv:-no}
16906 if test "x$with_gstreamer" != "xno"
16907 then
16908 rm -f conftest.err
16909 if ${GSTREAMER_CFLAGS:+false} :
16910 then :
16911 if test ${PKG_CONFIG+y}
16912 then :
16913 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16917 if ${GSTREAMER_LIBS:+false} :
16918 then :
16919 if test ${PKG_CONFIG+y}
16920 then :
16921 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16926 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
16927 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
16928 if test -s conftest.err; then
16929 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16930 cat conftest.err >&5
16932 rm -f conftest.err
16933 ac_save_CPPFLAGS=$CPPFLAGS
16934 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16935 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16936 if test "x$ac_cv_header_gst_gst_h" = xyes
16937 then :
16938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16939 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 #include <gst/gst.h>
16944 main (void)
16946 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16948 return 0;
16950 _ACEOF
16951 if ac_fn_c_try_compile "$LINENO"
16952 then :
16953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16954 printf "%s\n" "yes" >&6; }
16955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16956 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16957 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16958 then :
16959 printf %s "(cached) " >&6
16960 else $as_nop
16961 ac_check_lib_save_LIBS=$LIBS
16962 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h. */
16966 /* Override any GCC internal prototype to avoid an error.
16967 Use char because int might match the return type of a GCC
16968 builtin and then its argument prototype would still apply. */
16969 char gst_pad_new ();
16971 main (void)
16973 return gst_pad_new ();
16975 return 0;
16977 _ACEOF
16978 if ac_fn_c_try_link "$LINENO"
16979 then :
16980 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16981 else $as_nop
16982 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16985 conftest$ac_exeext conftest.$ac_ext
16986 LIBS=$ac_check_lib_save_LIBS
16988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16989 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16990 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16991 then :
16995 else $as_nop
16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16997 printf "%s\n" "no" >&6; }
16998 ac_glib2_broken=yes
16999 enable_winegstreamer=${enable_winegstreamer:-no}
17000 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17005 CPPFLAGS=$ac_save_CPPFLAGS
17008 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17009 then :
17010 case "x$with_gstreamer" in
17011 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17012 xno) ;;
17013 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17014 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17015 esac
17016 enable_winegstreamer=${enable_winegstreamer:-no}
17019 ALSA_LIBS=""
17021 if test "x$with_alsa" != "xno"
17022 then
17023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17024 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17025 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17026 then :
17027 printf %s "(cached) " >&6
17028 else $as_nop
17029 ac_check_lib_save_LIBS=$LIBS
17030 LIBS="-lasound $LIBS"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17037 char snd_pcm_hw_params_get_access_mask ();
17039 main (void)
17041 return snd_pcm_hw_params_get_access_mask ();
17043 return 0;
17045 _ACEOF
17046 if ac_fn_c_try_link "$LINENO"
17047 then :
17048 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17049 else $as_nop
17050 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17053 conftest$ac_exeext conftest.$ac_ext
17054 LIBS=$ac_check_lib_save_LIBS
17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17057 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17058 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17059 then :
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #include <alsa/asoundlib.h>
17064 main (void)
17066 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17068 return 0;
17070 _ACEOF
17071 if ac_fn_c_try_compile "$LINENO"
17072 then :
17073 ALSA_LIBS="-lasound"
17075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17079 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17081 if test "x$with_oss" != xno
17082 then
17083 ac_save_CPPFLAGS="$CPPFLAGS"
17084 if test -f /etc/oss.conf
17085 then
17086 . /etc/oss.conf
17088 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17089 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17090 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17091 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17092 then :
17093 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17095 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17096 then :
17098 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17100 OSS4_CFLAGS="$ac_oss_incl"
17102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17103 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17104 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17105 then :
17106 printf %s "(cached) " >&6
17107 else $as_nop
17108 ac_check_lib_save_LIBS=$LIBS
17109 LIBS="-lossaudio $LIBS"
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17113 /* Override any GCC internal prototype to avoid an error.
17114 Use char because int might match the return type of a GCC
17115 builtin and then its argument prototype would still apply. */
17116 char _oss_ioctl ();
17118 main (void)
17120 return _oss_ioctl ();
17122 return 0;
17124 _ACEOF
17125 if ac_fn_c_try_link "$LINENO"
17126 then :
17127 ac_cv_lib_ossaudio__oss_ioctl=yes
17128 else $as_nop
17129 ac_cv_lib_ossaudio__oss_ioctl=no
17131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17132 conftest$ac_exeext conftest.$ac_ext
17133 LIBS=$ac_check_lib_save_LIBS
17135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17136 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17137 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17138 then :
17139 OSS4_LIBS="-lossaudio"
17147 CPPFLAGS="$ac_save_CPPFLAGS"
17149 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17150 then :
17151 case "x$with_oss" in
17152 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17153 xno) ;;
17154 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17155 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17156 esac
17157 enable_wineoss_drv=${enable_wineoss_drv:-no}
17160 if test "x$with_udev" != "xno"
17161 then
17162 rm -f conftest.err
17163 if ${UDEV_CFLAGS:+false} :
17164 then :
17165 if test ${PKG_CONFIG+y}
17166 then :
17167 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17171 if ${UDEV_LIBS:+false} :
17172 then :
17173 if test ${PKG_CONFIG+y}
17174 then :
17175 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17179 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17181 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17182 if test -s conftest.err; then
17183 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17184 cat conftest.err >&5
17186 rm -f conftest.err
17187 ac_save_CPPFLAGS=$CPPFLAGS
17188 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17189 for ac_header in libudev.h
17190 do :
17191 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17192 if test "x$ac_cv_header_libudev_h" = xyes
17193 then :
17194 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17196 printf %s "checking for udev_new in -ludev... " >&6; }
17197 if test ${ac_cv_lib_udev_udev_new+y}
17198 then :
17199 printf %s "(cached) " >&6
17200 else $as_nop
17201 ac_check_lib_save_LIBS=$LIBS
17202 LIBS="-ludev $UDEV_LIBS $LIBS"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17206 /* Override any GCC internal prototype to avoid an error.
17207 Use char because int might match the return type of a GCC
17208 builtin and then its argument prototype would still apply. */
17209 char udev_new ();
17211 main (void)
17213 return udev_new ();
17215 return 0;
17217 _ACEOF
17218 if ac_fn_c_try_link "$LINENO"
17219 then :
17220 ac_cv_lib_udev_udev_new=yes
17221 else $as_nop
17222 ac_cv_lib_udev_udev_new=no
17224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17225 conftest$ac_exeext conftest.$ac_ext
17226 LIBS=$ac_check_lib_save_LIBS
17228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17229 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17230 if test "x$ac_cv_lib_udev_udev_new" = xyes
17231 then :
17233 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17235 else $as_nop
17236 UDEV_LIBS=""
17239 else $as_nop
17240 UDEV_LIBS=""
17243 done
17244 CPPFLAGS=$ac_save_CPPFLAGS
17247 if test "x$UDEV_LIBS" = "x"
17248 then :
17249 case "x$with_udev" in
17250 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17251 xno) ;;
17252 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17253 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17254 esac
17258 if test "x$with_unwind" != xno
17259 then
17260 rm -f conftest.err
17261 if ${UNWIND_CFLAGS:+false} :
17262 then :
17263 if test ${PKG_CONFIG+y}
17264 then :
17265 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17269 if ${UNWIND_LIBS:+false} :
17270 then :
17271 if test ${PKG_CONFIG+y}
17272 then :
17273 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17277 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17280 if test -s conftest.err; then
17281 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17282 cat conftest.err >&5
17284 rm -f conftest.err
17285 ac_save_CPPFLAGS=$CPPFLAGS
17286 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17288 printf %s "checking for unw_step... " >&6; }
17289 if test ${wine_cv_have_unw_step+y}
17290 then :
17291 printf %s "(cached) " >&6
17292 else $as_nop
17293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17294 /* end confdefs.h. */
17295 #define UNW_LOCAL_ONLY
17296 #include <libunwind.h>
17298 main (void)
17300 unw_cursor_t cursor; unw_step( &cursor );
17302 return 0;
17304 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"
17306 then :
17307 wine_cv_have_unw_step="yes"
17308 else $as_nop
17309 wine_cv_have_unw_step="no"
17311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17312 conftest$ac_exeext conftest.$ac_ext
17314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17315 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17316 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17317 then
17318 save_libs=$LIBS
17319 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17320 LIBS="$UNWIND_LIBS $LIBS"
17321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17322 printf %s "checking for unw_step in libunwind... " >&6; }
17323 if test ${wine_cv_have_libunwind_unw_step+y}
17324 then :
17325 printf %s "(cached) " >&6
17326 else $as_nop
17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17328 /* end confdefs.h. */
17329 #define UNW_LOCAL_ONLY
17330 #include <libunwind.h>
17332 main (void)
17334 unw_cursor_t cursor; unw_step( &cursor );
17336 return 0;
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"
17340 then :
17341 wine_cv_have_libunwind_unw_step="yes"
17342 else $as_nop
17343 wine_cv_have_libunwind_unw_step="no"
17345 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17346 conftest$ac_exeext conftest.$ac_ext
17348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17349 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17350 LIBS=$save_libs
17352 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17353 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17354 then
17356 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17359 CPPFLAGS=$ac_save_CPPFLAGS
17362 case $host in
17363 aarch64*|*-darwin*)
17364 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17365 then :
17366 case "x$with_unwind" in
17367 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17368 xno) ;;
17369 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17370 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17371 esac
17373 fi ;;
17374 esac
17376 if test "x$with_sdl" != "xno"
17377 then
17378 rm -f conftest.err
17379 if ${SDL2_CFLAGS:+false} :
17380 then :
17381 if test ${PKG_CONFIG+y}
17382 then :
17383 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17387 if ${SDL2_LIBS:+false} :
17388 then :
17389 if test ${PKG_CONFIG+y}
17390 then :
17391 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17395 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17397 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17398 if test -s conftest.err; then
17399 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17400 cat conftest.err >&5
17402 rm -f conftest.err
17403 ac_save_CPPFLAGS=$CPPFLAGS
17404 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17405 for ac_header in SDL.h
17406 do :
17407 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17408 if test "x$ac_cv_header_SDL_h" = xyes
17409 then :
17410 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17412 printf %s "checking for -lSDL2... " >&6; }
17413 if test ${ac_cv_lib_soname_SDL2+y}
17414 then :
17415 printf %s "(cached) " >&6
17416 else $as_nop
17417 ac_check_soname_save_LIBS=$LIBS
17418 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17420 /* end confdefs.h. */
17422 /* Override any GCC internal prototype to avoid an error.
17423 Use char because int might match the return type of a GCC
17424 builtin and then its argument prototype would still apply. */
17425 char SDL_Init ();
17427 main (void)
17429 return SDL_Init ();
17431 return 0;
17433 _ACEOF
17434 if ac_fn_c_try_link "$LINENO"
17435 then :
17436 case "$LIBEXT" in
17437 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17438 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'` ;;
17439 *) 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'`
17440 if ${ac_cv_lib_soname_SDL2:+false} :
17441 then :
17442 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17443 fi ;;
17444 esac
17445 else $as_nop
17446 ac_cv_lib_soname_SDL2=
17448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17449 conftest$ac_exeext conftest.$ac_ext
17450 LIBS=$ac_check_soname_save_LIBS
17452 if ${ac_cv_lib_soname_SDL2:+false} :
17453 then :
17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17455 printf "%s\n" "not found" >&6; }
17457 else $as_nop
17458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17459 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17461 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17467 done
17468 CPPFLAGS=$ac_save_CPPFLAGS
17471 if test "x$ac_cv_lib_soname_SDL2" = "x"
17472 then :
17473 case "x$with_sdl" in
17474 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17475 xno) ;;
17476 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17477 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17478 esac
17482 if test "x$with_capi" != "xno"
17483 then
17484 rm -f conftest.err
17485 if ${CAPI20_CFLAGS:+false} :
17486 then :
17487 if test ${PKG_CONFIG+y}
17488 then :
17489 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17493 if ${CAPI20_LIBS:+false} :
17494 then :
17495 if test ${PKG_CONFIG+y}
17496 then :
17497 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17504 if test -s conftest.err; then
17505 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17506 cat conftest.err >&5
17508 rm -f conftest.err
17509 ac_save_CPPFLAGS=$CPPFLAGS
17510 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17511 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17513 if test "x$ac_cv_header_capi20_h" = xyes
17514 then :
17515 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17518 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17520 if test "x$ac_cv_header_linux_capi_h" = xyes
17521 then :
17522 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17526 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17527 then
17528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17529 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17530 if test ${ac_cv_lib_capi20_capi20_register+y}
17531 then :
17532 printf %s "(cached) " >&6
17533 else $as_nop
17534 ac_check_lib_save_LIBS=$LIBS
17535 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17539 /* Override any GCC internal prototype to avoid an error.
17540 Use char because int might match the return type of a GCC
17541 builtin and then its argument prototype would still apply. */
17542 char capi20_register ();
17544 main (void)
17546 return capi20_register ();
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_link "$LINENO"
17552 then :
17553 ac_cv_lib_capi20_capi20_register=yes
17554 else $as_nop
17555 ac_cv_lib_capi20_capi20_register=no
17557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17558 conftest$ac_exeext conftest.$ac_ext
17559 LIBS=$ac_check_lib_save_LIBS
17561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17562 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17563 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17564 then :
17566 else $as_nop
17567 CAPI20_LIBS=""
17571 CPPFLAGS=$ac_save_CPPFLAGS
17574 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17575 then :
17576 case "x$with_capi" in
17577 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17578 xno) ;;
17579 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17580 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17581 esac
17582 enable_capi2032=${enable_capi2032:-no}
17585 if test "x$with_cups" != "xno"
17586 then
17587 rm -f conftest.err
17588 if ${CUPS_CFLAGS:+false} :
17589 then :
17590 if test ${PKG_CONFIG+y}
17591 then :
17592 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17595 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17596 if ${CUPS_LIBS:+false} :
17597 then :
17598 if test ${PKG_CONFIG+y}
17599 then :
17600 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17603 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17604 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17607 if test -s conftest.err; then
17608 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17609 cat conftest.err >&5
17611 rm -f conftest.err
17612 ac_save_CPPFLAGS=$CPPFLAGS
17613 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17614 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17615 if test "x$ac_cv_header_cups_cups_h" = xyes
17616 then :
17617 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17620 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17621 if test "x$ac_cv_header_cups_ppd_h" = xyes
17622 then :
17623 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17627 if test "$ac_cv_header_cups_cups_h" = "yes"
17628 then
17629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17630 printf %s "checking for -lcups... " >&6; }
17631 if test ${ac_cv_lib_soname_cups+y}
17632 then :
17633 printf %s "(cached) " >&6
17634 else $as_nop
17635 ac_check_soname_save_LIBS=$LIBS
17636 LIBS="-lcups $CUPS_LIBS $LIBS"
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17640 /* Override any GCC internal prototype to avoid an error.
17641 Use char because int might match the return type of a GCC
17642 builtin and then its argument prototype would still apply. */
17643 char cupsGetDefault ();
17645 main (void)
17647 return cupsGetDefault ();
17649 return 0;
17651 _ACEOF
17652 if ac_fn_c_try_link "$LINENO"
17653 then :
17654 case "$LIBEXT" in
17655 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17656 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'` ;;
17657 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17658 if ${ac_cv_lib_soname_cups:+false} :
17659 then :
17660 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17661 fi ;;
17662 esac
17663 else $as_nop
17664 ac_cv_lib_soname_cups=
17666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17667 conftest$ac_exeext conftest.$ac_ext
17668 LIBS=$ac_check_soname_save_LIBS
17670 if ${ac_cv_lib_soname_cups:+false} :
17671 then :
17672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17673 printf "%s\n" "not found" >&6; }
17674 CUPS_LIBS=""
17675 else $as_nop
17676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17677 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17679 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17683 else
17684 CUPS_CFLAGS=""
17685 CUPS_LIBS=""
17687 CPPFLAGS=$ac_save_CPPFLAGS
17690 if test "x$ac_cv_lib_soname_cups" = "x"
17691 then :
17692 case "x$with_cups" in
17693 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17694 xno) ;;
17695 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17696 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17697 esac
17701 if test "x$with_fontconfig" != "xno"
17702 then
17703 rm -f conftest.err
17704 if ${FONTCONFIG_CFLAGS:+false} :
17705 then :
17706 if test ${PKG_CONFIG+y}
17707 then :
17708 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17711 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17712 if ${FONTCONFIG_LIBS:+false} :
17713 then :
17714 if test ${PKG_CONFIG+y}
17715 then :
17716 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17719 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17721 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17723 if test -s conftest.err; then
17724 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17725 cat conftest.err >&5
17727 rm -f conftest.err
17728 ac_save_CPPFLAGS=$CPPFLAGS
17729 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17730 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17731 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17732 then :
17733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17734 printf %s "checking for -lfontconfig... " >&6; }
17735 if test ${ac_cv_lib_soname_fontconfig+y}
17736 then :
17737 printf %s "(cached) " >&6
17738 else $as_nop
17739 ac_check_soname_save_LIBS=$LIBS
17740 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17744 /* Override any GCC internal prototype to avoid an error.
17745 Use char because int might match the return type of a GCC
17746 builtin and then its argument prototype would still apply. */
17747 char FcInit ();
17749 main (void)
17751 return FcInit ();
17753 return 0;
17755 _ACEOF
17756 if ac_fn_c_try_link "$LINENO"
17757 then :
17758 case "$LIBEXT" in
17759 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17760 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'` ;;
17761 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17762 if ${ac_cv_lib_soname_fontconfig:+false} :
17763 then :
17764 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17765 fi ;;
17766 esac
17767 else $as_nop
17768 ac_cv_lib_soname_fontconfig=
17770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17771 conftest$ac_exeext conftest.$ac_ext
17772 LIBS=$ac_check_soname_save_LIBS
17774 if ${ac_cv_lib_soname_fontconfig:+false} :
17775 then :
17776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17777 printf "%s\n" "not found" >&6; }
17778 FONTCONFIG_CFLAGS=""
17779 else $as_nop
17780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17781 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17783 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17787 else $as_nop
17788 FONTCONFIG_CFLAGS=""
17791 CPPFLAGS=$ac_save_CPPFLAGS
17794 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17795 then :
17796 case "x$with_fontconfig" in
17797 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17798 xno) ;;
17799 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17800 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17801 esac
17805 if test "x$with_krb5" != "xno"
17806 then
17807 rm -f conftest.err
17808 if ${KRB5_CFLAGS:+false} :
17809 then :
17810 if test ${PKG_CONFIG+y}
17811 then :
17812 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17815 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17816 if ${KRB5_LIBS:+false} :
17817 then :
17818 if test ${PKG_CONFIG+y}
17819 then :
17820 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17823 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17825 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17827 if test -s conftest.err; then
17828 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17829 cat conftest.err >&5
17831 rm -f conftest.err
17832 ac_save_CPPFLAGS=$CPPFLAGS
17833 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17834 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17835 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17836 then :
17837 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17841 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17842 then
17843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17844 printf %s "checking for -lkrb5... " >&6; }
17845 if test ${ac_cv_lib_soname_krb5+y}
17846 then :
17847 printf %s "(cached) " >&6
17848 else $as_nop
17849 ac_check_soname_save_LIBS=$LIBS
17850 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17854 /* Override any GCC internal prototype to avoid an error.
17855 Use char because int might match the return type of a GCC
17856 builtin and then its argument prototype would still apply. */
17857 char krb5_is_config_principal ();
17859 main (void)
17861 return krb5_is_config_principal ();
17863 return 0;
17865 _ACEOF
17866 if ac_fn_c_try_link "$LINENO"
17867 then :
17868 case "$LIBEXT" in
17869 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17870 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'` ;;
17871 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17872 if ${ac_cv_lib_soname_krb5:+false} :
17873 then :
17874 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17875 fi ;;
17876 esac
17877 else $as_nop
17878 ac_cv_lib_soname_krb5=
17880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17881 conftest$ac_exeext conftest.$ac_ext
17882 LIBS=$ac_check_soname_save_LIBS
17884 if ${ac_cv_lib_soname_krb5:+false} :
17885 then :
17886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17887 printf "%s\n" "not found" >&6; }
17888 KRB5_CFLAGS=""
17889 else $as_nop
17890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17891 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17893 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17897 else
17898 KRB5_CFLAGS=""
17900 CPPFLAGS=$ac_save_CPPFLAGS
17903 if test "x$ac_cv_lib_soname_krb5" = "x"
17904 then :
17905 case "x$with_krb5" in
17906 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17907 xno) ;;
17908 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17909 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17910 esac
17913 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17915 if test "x$with_gssapi" != "xno"
17916 then
17917 rm -f conftest.err
17918 if ${GSSAPI_CFLAGS:+false} :
17919 then :
17920 if test ${PKG_CONFIG+y}
17921 then :
17922 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17925 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17926 if ${GSSAPI_LIBS:+false} :
17927 then :
17928 if test ${PKG_CONFIG+y}
17929 then :
17930 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17933 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17937 if test -s conftest.err; then
17938 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17939 cat conftest.err >&5
17941 rm -f conftest.err
17942 ac_save_CPPFLAGS=$CPPFLAGS
17943 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17944 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17945 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17946 then :
17947 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17950 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17951 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17952 then :
17953 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17957 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17958 then
17959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17960 printf %s "checking for -lgssapi_krb5... " >&6; }
17961 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17962 then :
17963 printf %s "(cached) " >&6
17964 else $as_nop
17965 ac_check_soname_save_LIBS=$LIBS
17966 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17970 /* Override any GCC internal prototype to avoid an error.
17971 Use char because int might match the return type of a GCC
17972 builtin and then its argument prototype would still apply. */
17973 char gss_init_sec_context ();
17975 main (void)
17977 return gss_init_sec_context ();
17979 return 0;
17981 _ACEOF
17982 if ac_fn_c_try_link "$LINENO"
17983 then :
17984 case "$LIBEXT" in
17985 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17986 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'` ;;
17987 *) 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'`
17988 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17989 then :
17990 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17991 fi ;;
17992 esac
17993 else $as_nop
17994 ac_cv_lib_soname_gssapi_krb5=
17996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17997 conftest$ac_exeext conftest.$ac_ext
17998 LIBS=$ac_check_soname_save_LIBS
18000 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18001 then :
18002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18003 printf "%s\n" "not found" >&6; }
18004 GSSAPI_CFLAGS=""
18005 else $as_nop
18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18007 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18009 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18013 else
18014 GSSAPI_CFLAGS=""
18016 CPPFLAGS=$ac_save_CPPFLAGS
18019 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18020 then :
18021 case "x$with_gssapi" in
18022 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18023 xno) ;;
18024 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18025 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18026 esac
18030 if test "$ac_cv_header_libprocstat_h" = "yes"
18031 then
18032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18033 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18034 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18035 then :
18036 printf %s "(cached) " >&6
18037 else $as_nop
18038 ac_check_lib_save_LIBS=$LIBS
18039 LIBS="-lprocstat $LIBS"
18040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 /* Override any GCC internal prototype to avoid an error.
18044 Use char because int might match the return type of a GCC
18045 builtin and then its argument prototype would still apply. */
18046 char procstat_open_sysctl ();
18048 main (void)
18050 return procstat_open_sysctl ();
18052 return 0;
18054 _ACEOF
18055 if ac_fn_c_try_link "$LINENO"
18056 then :
18057 ac_cv_lib_procstat_procstat_open_sysctl=yes
18058 else $as_nop
18059 ac_cv_lib_procstat_procstat_open_sysctl=no
18061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18062 conftest$ac_exeext conftest.$ac_ext
18063 LIBS=$ac_check_lib_save_LIBS
18065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18066 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18067 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18068 then :
18070 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18072 PROCSTAT_LIBS="-lprocstat"
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18079 printf %s "checking for -lodbc... " >&6; }
18080 if test ${ac_cv_lib_soname_odbc+y}
18081 then :
18082 printf %s "(cached) " >&6
18083 else $as_nop
18084 ac_check_soname_save_LIBS=$LIBS
18085 LIBS="-lodbc $LIBS"
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18089 /* Override any GCC internal prototype to avoid an error.
18090 Use char because int might match the return type of a GCC
18091 builtin and then its argument prototype would still apply. */
18092 char SQLConnect ();
18094 main (void)
18096 return SQLConnect ();
18098 return 0;
18100 _ACEOF
18101 if ac_fn_c_try_link "$LINENO"
18102 then :
18103 case "$LIBEXT" in
18104 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18105 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'` ;;
18106 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18107 if ${ac_cv_lib_soname_odbc:+false} :
18108 then :
18109 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18110 fi ;;
18111 esac
18112 else $as_nop
18113 ac_cv_lib_soname_odbc=
18115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18116 conftest$ac_exeext conftest.$ac_ext
18117 LIBS=$ac_check_soname_save_LIBS
18119 if ${ac_cv_lib_soname_odbc:+false} :
18120 then :
18121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18122 printf "%s\n" "not found" >&6; }
18123 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18125 else $as_nop
18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18127 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18129 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18134 if test "x$with_netapi" != "xno"
18135 then
18136 rm -f conftest.err
18137 if ${NETAPI_CFLAGS:+false} :
18138 then :
18139 if test ${PKG_CONFIG+y}
18140 then :
18141 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18145 if ${NETAPI_LIBS:+false} :
18146 then :
18147 if test ${PKG_CONFIG+y}
18148 then :
18149 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18156 if test -s conftest.err; then
18157 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18158 cat conftest.err >&5
18160 rm -f conftest.err
18161 ac_save_CPPFLAGS=$CPPFLAGS
18162 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18164 printf %s "checking for -lnetapi... " >&6; }
18165 if test ${ac_cv_lib_soname_netapi+y}
18166 then :
18167 printf %s "(cached) " >&6
18168 else $as_nop
18169 ac_check_soname_save_LIBS=$LIBS
18170 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 char libnetapi_init ();
18179 main (void)
18181 return libnetapi_init ();
18183 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"
18187 then :
18188 case "$LIBEXT" in
18189 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18190 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'` ;;
18191 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18192 if ${ac_cv_lib_soname_netapi:+false} :
18193 then :
18194 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18195 fi ;;
18196 esac
18197 else $as_nop
18198 ac_cv_lib_soname_netapi=
18200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18201 conftest$ac_exeext conftest.$ac_ext
18202 LIBS=$ac_check_soname_save_LIBS
18204 if ${ac_cv_lib_soname_netapi:+false} :
18205 then :
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18207 printf "%s\n" "not found" >&6; }
18208 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18210 else $as_nop
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18212 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18214 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18218 CPPFLAGS=$ac_save_CPPFLAGS
18221 if test "x$ac_cv_lib_soname_netapi" = "x"
18222 then :
18223 case "x$with_netapi" in
18224 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18225 xno) ;;
18226 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18227 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18228 esac
18229 enable_netapi=${enable_netapi:-no}
18233 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18234 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18235 then
18236 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18239 if test "x$with_vulkan" != "xno"
18240 then
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18242 printf %s "checking for -lvulkan... " >&6; }
18243 if test ${ac_cv_lib_soname_vulkan+y}
18244 then :
18245 printf %s "(cached) " >&6
18246 else $as_nop
18247 ac_check_soname_save_LIBS=$LIBS
18248 LIBS="-lvulkan $LIBS"
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 char vkGetInstanceProcAddr ();
18257 main (void)
18259 return vkGetInstanceProcAddr ();
18261 return 0;
18263 _ACEOF
18264 if ac_fn_c_try_link "$LINENO"
18265 then :
18266 case "$LIBEXT" in
18267 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18268 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'` ;;
18269 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18270 if ${ac_cv_lib_soname_vulkan:+false} :
18271 then :
18272 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18273 fi ;;
18274 esac
18275 else $as_nop
18276 ac_cv_lib_soname_vulkan=
18278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18279 conftest$ac_exeext conftest.$ac_ext
18280 LIBS=$ac_check_soname_save_LIBS
18282 if ${ac_cv_lib_soname_vulkan:+false} :
18283 then :
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18285 printf "%s\n" "not found" >&6; }
18287 else $as_nop
18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18289 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18291 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18295 if test "x$ac_cv_lib_soname_vulkan" = "x"
18296 then
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18298 printf %s "checking for -lMoltenVK... " >&6; }
18299 if test ${ac_cv_lib_soname_MoltenVK+y}
18300 then :
18301 printf %s "(cached) " >&6
18302 else $as_nop
18303 ac_check_soname_save_LIBS=$LIBS
18304 LIBS="-lMoltenVK $LIBS"
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18308 /* Override any GCC internal prototype to avoid an error.
18309 Use char because int might match the return type of a GCC
18310 builtin and then its argument prototype would still apply. */
18311 char vkGetInstanceProcAddr ();
18313 main (void)
18315 return vkGetInstanceProcAddr ();
18317 return 0;
18319 _ACEOF
18320 if ac_fn_c_try_link "$LINENO"
18321 then :
18322 case "$LIBEXT" in
18323 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18324 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'` ;;
18325 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18326 if ${ac_cv_lib_soname_MoltenVK:+false} :
18327 then :
18328 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18329 fi ;;
18330 esac
18331 else $as_nop
18332 ac_cv_lib_soname_MoltenVK=
18334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18335 conftest$ac_exeext conftest.$ac_ext
18336 LIBS=$ac_check_soname_save_LIBS
18338 if ${ac_cv_lib_soname_MoltenVK:+false} :
18339 then :
18340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18341 printf "%s\n" "not found" >&6; }
18343 else $as_nop
18344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18345 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18347 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18353 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18354 then :
18355 case "x$with_vulkan" in
18356 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18357 xno) ;;
18358 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18359 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18360 esac
18365 if test "x${GCC}" = "xyes"
18366 then
18367 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18369 saved_CFLAGS=$CFLAGS
18370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18371 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18372 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18373 then :
18374 printf %s "(cached) " >&6
18375 else $as_nop
18376 ac_wine_try_cflags_saved=$CFLAGS
18377 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18379 /* end confdefs.h. */
18380 int main(int argc, char **argv) { return 0; }
18381 _ACEOF
18382 if ac_fn_c_try_link "$LINENO"
18383 then :
18384 ac_cv_cflags__Werror_unknown_warning_option=yes
18385 else $as_nop
18386 ac_cv_cflags__Werror_unknown_warning_option=no
18388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18389 conftest$ac_exeext conftest.$ac_ext
18390 CFLAGS=$ac_wine_try_cflags_saved
18392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18393 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18394 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18395 then :
18396 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18399 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18400 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18401 then :
18402 printf %s "(cached) " >&6
18403 else $as_nop
18404 ac_wine_try_cflags_saved=$CFLAGS
18405 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 int main(int argc, char **argv) { return 0; }
18409 _ACEOF
18410 if ac_fn_c_try_link "$LINENO"
18411 then :
18412 ac_cv_cflags__Werror_unused_command_line_argument=yes
18413 else $as_nop
18414 ac_cv_cflags__Werror_unused_command_line_argument=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18417 conftest$ac_exeext conftest.$ac_ext
18418 CFLAGS=$ac_wine_try_cflags_saved
18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18421 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18422 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18423 then :
18424 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18427 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18428 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18429 then :
18430 printf %s "(cached) " >&6
18431 else $as_nop
18432 ac_wine_try_cflags_saved=$CFLAGS
18433 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18435 /* end confdefs.h. */
18436 int main(int argc, char **argv) { return 0; }
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"
18439 then :
18440 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18441 else $as_nop
18442 ac_cv_cflags__Werror_ignored_optimization_argument=no
18444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18445 conftest$ac_exeext conftest.$ac_ext
18446 CFLAGS=$ac_wine_try_cflags_saved
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18449 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18450 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18451 then :
18452 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18455 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18456 if test ${ac_cv_cflags__fcf_protection_none+y}
18457 then :
18458 printf %s "(cached) " >&6
18459 else $as_nop
18460 ac_wine_try_cflags_saved=$CFLAGS
18461 CFLAGS="$CFLAGS -fcf-protection=none"
18462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18463 /* end confdefs.h. */
18464 int main(int argc, char **argv) { return 0; }
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"
18467 then :
18468 ac_cv_cflags__fcf_protection_none=yes
18469 else $as_nop
18470 ac_cv_cflags__fcf_protection_none=no
18472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18473 conftest$ac_exeext conftest.$ac_ext
18474 CFLAGS=$ac_wine_try_cflags_saved
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18477 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18478 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18479 then :
18480 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18483 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18484 if test ${ac_cv_cflags__fno_stack_protector+y}
18485 then :
18486 printf %s "(cached) " >&6
18487 else $as_nop
18488 ac_wine_try_cflags_saved=$CFLAGS
18489 CFLAGS="$CFLAGS -fno-stack-protector"
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492 int main(int argc, char **argv) { return 0; }
18493 _ACEOF
18494 if ac_fn_c_try_link "$LINENO"
18495 then :
18496 ac_cv_cflags__fno_stack_protector=yes
18497 else $as_nop
18498 ac_cv_cflags__fno_stack_protector=no
18500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18501 conftest$ac_exeext conftest.$ac_ext
18502 CFLAGS=$ac_wine_try_cflags_saved
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18505 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18506 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18507 then :
18508 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18511 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18512 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18513 then :
18514 printf %s "(cached) " >&6
18515 else $as_nop
18516 ac_wine_try_cflags_saved=$CFLAGS
18517 CFLAGS="$CFLAGS -fno-strict-aliasing"
18518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18519 /* end confdefs.h. */
18520 int main(int argc, char **argv) { return 0; }
18521 _ACEOF
18522 if ac_fn_c_try_link "$LINENO"
18523 then :
18524 ac_cv_cflags__fno_strict_aliasing=yes
18525 else $as_nop
18526 ac_cv_cflags__fno_strict_aliasing=no
18528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18529 conftest$ac_exeext conftest.$ac_ext
18530 CFLAGS=$ac_wine_try_cflags_saved
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18533 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18534 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18535 then :
18536 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18539 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18540 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18541 then :
18542 printf %s "(cached) " >&6
18543 else $as_nop
18544 ac_wine_try_cflags_saved=$CFLAGS
18545 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18547 /* end confdefs.h. */
18548 int main(int argc, char **argv) { return 0; }
18549 _ACEOF
18550 if ac_fn_c_try_link "$LINENO"
18551 then :
18552 ac_cv_cflags__Wdeclaration_after_statement=yes
18553 else $as_nop
18554 ac_cv_cflags__Wdeclaration_after_statement=no
18556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18557 conftest$ac_exeext conftest.$ac_ext
18558 CFLAGS=$ac_wine_try_cflags_saved
18560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18561 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18562 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18563 then :
18564 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18567 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18568 if test ${ac_cv_cflags__Wempty_body+y}
18569 then :
18570 printf %s "(cached) " >&6
18571 else $as_nop
18572 ac_wine_try_cflags_saved=$CFLAGS
18573 CFLAGS="$CFLAGS -Wempty-body"
18574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18575 /* end confdefs.h. */
18576 int main(int argc, char **argv) { return 0; }
18577 _ACEOF
18578 if ac_fn_c_try_link "$LINENO"
18579 then :
18580 ac_cv_cflags__Wempty_body=yes
18581 else $as_nop
18582 ac_cv_cflags__Wempty_body=no
18584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18585 conftest$ac_exeext conftest.$ac_ext
18586 CFLAGS=$ac_wine_try_cflags_saved
18588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18589 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18590 if test "x$ac_cv_cflags__Wempty_body" = xyes
18591 then :
18592 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18595 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18596 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18597 then :
18598 printf %s "(cached) " >&6
18599 else $as_nop
18600 ac_wine_try_cflags_saved=$CFLAGS
18601 CFLAGS="$CFLAGS -Wignored-qualifiers"
18602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18603 /* end confdefs.h. */
18604 int main(int argc, char **argv) { return 0; }
18605 _ACEOF
18606 if ac_fn_c_try_link "$LINENO"
18607 then :
18608 ac_cv_cflags__Wignored_qualifiers=yes
18609 else $as_nop
18610 ac_cv_cflags__Wignored_qualifiers=no
18612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18613 conftest$ac_exeext conftest.$ac_ext
18614 CFLAGS=$ac_wine_try_cflags_saved
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18617 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18618 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18619 then :
18620 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18623 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18624 if test ${ac_cv_cflags__Winit_self+y}
18625 then :
18626 printf %s "(cached) " >&6
18627 else $as_nop
18628 ac_wine_try_cflags_saved=$CFLAGS
18629 CFLAGS="$CFLAGS -Winit-self"
18630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18632 int main(int argc, char **argv) { return 0; }
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"
18635 then :
18636 ac_cv_cflags__Winit_self=yes
18637 else $as_nop
18638 ac_cv_cflags__Winit_self=no
18640 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18641 conftest$ac_exeext conftest.$ac_ext
18642 CFLAGS=$ac_wine_try_cflags_saved
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18645 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18646 if test "x$ac_cv_cflags__Winit_self" = xyes
18647 then :
18648 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18651 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18652 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18653 then :
18654 printf %s "(cached) " >&6
18655 else $as_nop
18656 ac_wine_try_cflags_saved=$CFLAGS
18657 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 int main(int argc, char **argv) { return 0; }
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"
18663 then :
18664 ac_cv_cflags__Wpacked_not_aligned=yes
18665 else $as_nop
18666 ac_cv_cflags__Wpacked_not_aligned=no
18668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18669 conftest$ac_exeext conftest.$ac_ext
18670 CFLAGS=$ac_wine_try_cflags_saved
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18673 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18674 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18675 then :
18676 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18679 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18680 if test ${ac_cv_cflags__Wpragma_pack+y}
18681 then :
18682 printf %s "(cached) " >&6
18683 else $as_nop
18684 ac_wine_try_cflags_saved=$CFLAGS
18685 CFLAGS="$CFLAGS -Wpragma-pack"
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 int main(int argc, char **argv) { return 0; }
18689 _ACEOF
18690 if ac_fn_c_try_link "$LINENO"
18691 then :
18692 ac_cv_cflags__Wpragma_pack=yes
18693 else $as_nop
18694 ac_cv_cflags__Wpragma_pack=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18697 conftest$ac_exeext conftest.$ac_ext
18698 CFLAGS=$ac_wine_try_cflags_saved
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18701 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18702 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18703 then :
18704 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18707 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18708 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18709 then :
18710 printf %s "(cached) " >&6
18711 else $as_nop
18712 ac_wine_try_cflags_saved=$CFLAGS
18713 CFLAGS="$CFLAGS -Wshift-overflow=2"
18714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18715 /* end confdefs.h. */
18716 int main(int argc, char **argv) { return 0; }
18717 _ACEOF
18718 if ac_fn_c_try_link "$LINENO"
18719 then :
18720 ac_cv_cflags__Wshift_overflow_2=yes
18721 else $as_nop
18722 ac_cv_cflags__Wshift_overflow_2=no
18724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18725 conftest$ac_exeext conftest.$ac_ext
18726 CFLAGS=$ac_wine_try_cflags_saved
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18729 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18730 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18731 then :
18732 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18735 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18736 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18737 then :
18738 printf %s "(cached) " >&6
18739 else $as_nop
18740 ac_wine_try_cflags_saved=$CFLAGS
18741 CFLAGS="$CFLAGS -Wstrict-prototypes"
18742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18743 /* end confdefs.h. */
18744 int main(int argc, char **argv) { return 0; }
18745 _ACEOF
18746 if ac_fn_c_try_link "$LINENO"
18747 then :
18748 ac_cv_cflags__Wstrict_prototypes=yes
18749 else $as_nop
18750 ac_cv_cflags__Wstrict_prototypes=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18753 conftest$ac_exeext conftest.$ac_ext
18754 CFLAGS=$ac_wine_try_cflags_saved
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18757 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18758 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18759 then :
18760 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18763 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18764 if test ${ac_cv_cflags__Wtype_limits+y}
18765 then :
18766 printf %s "(cached) " >&6
18767 else $as_nop
18768 ac_wine_try_cflags_saved=$CFLAGS
18769 CFLAGS="$CFLAGS -Wtype-limits"
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 int main(int argc, char **argv) { return 0; }
18773 _ACEOF
18774 if ac_fn_c_try_link "$LINENO"
18775 then :
18776 ac_cv_cflags__Wtype_limits=yes
18777 else $as_nop
18778 ac_cv_cflags__Wtype_limits=no
18780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18781 conftest$ac_exeext conftest.$ac_ext
18782 CFLAGS=$ac_wine_try_cflags_saved
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18785 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18786 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18787 then :
18788 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18791 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18792 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18793 then :
18794 printf %s "(cached) " >&6
18795 else $as_nop
18796 ac_wine_try_cflags_saved=$CFLAGS
18797 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 int main(int argc, char **argv) { return 0; }
18801 _ACEOF
18802 if ac_fn_c_try_link "$LINENO"
18803 then :
18804 ac_cv_cflags__Wunused_but_set_parameter=yes
18805 else $as_nop
18806 ac_cv_cflags__Wunused_but_set_parameter=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18809 conftest$ac_exeext conftest.$ac_ext
18810 CFLAGS=$ac_wine_try_cflags_saved
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18813 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18814 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18815 then :
18816 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18819 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18820 if test ${ac_cv_cflags__Wvla+y}
18821 then :
18822 printf %s "(cached) " >&6
18823 else $as_nop
18824 ac_wine_try_cflags_saved=$CFLAGS
18825 CFLAGS="$CFLAGS -Wvla"
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 int main(int argc, char **argv) { return 0; }
18829 _ACEOF
18830 if ac_fn_c_try_link "$LINENO"
18831 then :
18832 ac_cv_cflags__Wvla=yes
18833 else $as_nop
18834 ac_cv_cflags__Wvla=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18837 conftest$ac_exeext conftest.$ac_ext
18838 CFLAGS=$ac_wine_try_cflags_saved
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18841 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18842 if test "x$ac_cv_cflags__Wvla" = xyes
18843 then :
18844 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18847 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18848 if test ${ac_cv_cflags__Wwrite_strings+y}
18849 then :
18850 printf %s "(cached) " >&6
18851 else $as_nop
18852 ac_wine_try_cflags_saved=$CFLAGS
18853 CFLAGS="$CFLAGS -Wwrite-strings"
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 int main(int argc, char **argv) { return 0; }
18857 _ACEOF
18858 if ac_fn_c_try_link "$LINENO"
18859 then :
18860 ac_cv_cflags__Wwrite_strings=yes
18861 else $as_nop
18862 ac_cv_cflags__Wwrite_strings=no
18864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18865 conftest$ac_exeext conftest.$ac_ext
18866 CFLAGS=$ac_wine_try_cflags_saved
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18869 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18870 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18871 then :
18872 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18876 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18877 if test ${ac_cv_cflags__Wpointer_arith+y}
18878 then :
18879 printf %s "(cached) " >&6
18880 else $as_nop
18881 ac_wine_try_cflags_saved=$CFLAGS
18882 CFLAGS="$CFLAGS -Wpointer-arith"
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18886 _ACEOF
18887 if ac_fn_c_try_link "$LINENO"
18888 then :
18889 ac_cv_cflags__Wpointer_arith=yes
18890 else $as_nop
18891 ac_cv_cflags__Wpointer_arith=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18894 conftest$ac_exeext conftest.$ac_ext
18895 CFLAGS=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18899 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18900 then :
18901 saved_string_h_CFLAGS=$CFLAGS
18902 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18904 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18905 if test ${ac_cv_c_string_h_warnings+y}
18906 then :
18907 printf %s "(cached) " >&6
18908 else $as_nop
18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18910 /* end confdefs.h. */
18911 #include <string.h>
18913 main (void)
18917 return 0;
18919 _ACEOF
18920 if ac_fn_c_try_compile "$LINENO"
18921 then :
18922 ac_cv_c_string_h_warnings=no
18923 else $as_nop
18924 ac_cv_c_string_h_warnings=yes
18926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18929 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18930 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18931 CFLAGS=$saved_string_h_CFLAGS
18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18935 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18936 if test ${ac_cv_cflags__Wlogical_op+y}
18937 then :
18938 printf %s "(cached) " >&6
18939 else $as_nop
18940 ac_wine_try_cflags_saved=$CFLAGS
18941 CFLAGS="$CFLAGS -Wlogical-op"
18942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18943 /* end confdefs.h. */
18944 int main(int argc, char **argv) { return 0; }
18945 _ACEOF
18946 if ac_fn_c_try_link "$LINENO"
18947 then :
18948 ac_cv_cflags__Wlogical_op=yes
18949 else $as_nop
18950 ac_cv_cflags__Wlogical_op=no
18952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18953 conftest$ac_exeext conftest.$ac_ext
18954 CFLAGS=$ac_wine_try_cflags_saved
18956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18957 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18958 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18959 then :
18960 saved_string_h_CFLAGS=$CFLAGS
18961 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18963 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18964 if test ${ac_cv_c_logicalop_noisy+y}
18965 then :
18966 printf %s "(cached) " >&6
18967 else $as_nop
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 #include <string.h>
18971 char*f(const char *h,char n) {return strchr(h,n);}
18973 main (void)
18977 return 0;
18979 _ACEOF
18980 if ac_fn_c_try_compile "$LINENO"
18981 then :
18982 ac_cv_c_logicalop_noisy=no
18983 else $as_nop
18984 ac_cv_c_logicalop_noisy=yes
18986 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18989 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18990 CFLAGS=$saved_string_h_CFLAGS
18991 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18995 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18996 if test ${wine_cv_64bit_compare_swap+y}
18997 then :
18998 printf %s "(cached) " >&6
18999 else $as_nop
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19003 #error no
19004 #endif
19006 main (void)
19010 return 0;
19012 _ACEOF
19013 if ac_fn_c_try_compile "$LINENO"
19014 then :
19015 wine_cv_64bit_compare_swap="none needed"
19016 else $as_nop
19017 case $host_cpu in
19018 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19019 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19020 *) wine_cv_64bit_compare_swap="unknown" ;;
19021 esac
19022 if test "x$wine_cv_64bit_compare_swap" != xunknown
19023 then
19024 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19026 /* end confdefs.h. */
19027 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19028 #error no
19029 #endif
19031 main (void)
19035 return 0;
19037 _ACEOF
19038 if ac_fn_c_try_compile "$LINENO"
19039 then :
19041 else $as_nop
19042 wine_cv_64bit_compare_swap="unknown"
19044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19045 CFLAGS=$saved_CFLAGS
19048 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19051 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19052 case "$wine_cv_64bit_compare_swap" in
19053 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19054 "none needed") ;;
19055 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19056 esac
19058 ac_debug_format_seen=""
19059 for ac_flag in $CFLAGS; do
19060 case $ac_flag in
19061 -gdwarf*) ac_debug_format_seen=yes ;;
19062 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19063 esac
19064 done
19065 if test "x$ac_debug_format_seen" = xdefault
19066 then
19067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19068 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19069 if test ${ac_cv_cflags__gdwarf_4+y}
19070 then :
19071 printf %s "(cached) " >&6
19072 else $as_nop
19073 ac_wine_try_cflags_saved=$CFLAGS
19074 CFLAGS="$CFLAGS -gdwarf-4"
19075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19077 int main(int argc, char **argv) { return 0; }
19078 _ACEOF
19079 if ac_fn_c_try_link "$LINENO"
19080 then :
19081 ac_cv_cflags__gdwarf_4=yes
19082 else $as_nop
19083 ac_cv_cflags__gdwarf_4=no
19085 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19086 conftest$ac_exeext conftest.$ac_ext
19087 CFLAGS=$ac_wine_try_cflags_saved
19089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19090 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19091 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19092 then :
19093 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19097 MSVCRTFLAGS=""
19099 case $host_os in
19100 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19101 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19102 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19103 then :
19104 printf %s "(cached) " >&6
19105 else $as_nop
19106 ac_wine_try_cflags_saved=$CFLAGS
19107 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19110 int main(int argc, char **argv) { return 0; }
19111 _ACEOF
19112 if ac_fn_c_try_link "$LINENO"
19113 then :
19114 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19115 else $as_nop
19116 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19119 conftest$ac_exeext conftest.$ac_ext
19120 CFLAGS=$ac_wine_try_cflags_saved
19122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19123 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19124 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19125 then :
19126 DELAYLOADFLAG="-Wl,-delayload,"
19128 fi ;;
19129 *) MSVCRTFLAGS="-D_WIN32"
19130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19131 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19132 if test ${ac_cv_cflags__fno_builtin+y}
19133 then :
19134 printf %s "(cached) " >&6
19135 else $as_nop
19136 ac_wine_try_cflags_saved=$CFLAGS
19137 CFLAGS="$CFLAGS -fno-builtin"
19138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19139 /* end confdefs.h. */
19140 int main(int argc, char **argv) { return 0; }
19141 _ACEOF
19142 if ac_fn_c_try_link "$LINENO"
19143 then :
19144 ac_cv_cflags__fno_builtin=yes
19145 else $as_nop
19146 ac_cv_cflags__fno_builtin=no
19148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19149 conftest$ac_exeext conftest.$ac_ext
19150 CFLAGS=$ac_wine_try_cflags_saved
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19153 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19154 if test "x$ac_cv_cflags__fno_builtin" = xyes
19155 then :
19156 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19159 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19160 if test ${ac_cv_cflags__fshort_wchar+y}
19161 then :
19162 printf %s "(cached) " >&6
19163 else $as_nop
19164 ac_wine_try_cflags_saved=$CFLAGS
19165 CFLAGS="$CFLAGS -fshort-wchar"
19166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19167 /* end confdefs.h. */
19168 int main(int argc, char **argv) { return 0; }
19169 _ACEOF
19170 if ac_fn_c_try_link "$LINENO"
19171 then :
19172 ac_cv_cflags__fshort_wchar=yes
19173 else $as_nop
19174 ac_cv_cflags__fshort_wchar=no
19176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19177 conftest$ac_exeext conftest.$ac_ext
19178 CFLAGS=$ac_wine_try_cflags_saved
19180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19181 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19182 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19183 then :
19184 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5
19187 printf %s "checking whether the compiler supports -fvisibility=hidden... " >&6; }
19188 if test ${ac_cv_cflags__fvisibility_hidden+y}
19189 then :
19190 printf %s "(cached) " >&6
19191 else $as_nop
19192 ac_wine_try_cflags_saved=$CFLAGS
19193 CFLAGS="$CFLAGS -fvisibility=hidden"
19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19196 int main(int argc, char **argv) { return 0; }
19197 _ACEOF
19198 if ac_fn_c_try_link "$LINENO"
19199 then :
19200 ac_cv_cflags__fvisibility_hidden=yes
19201 else $as_nop
19202 ac_cv_cflags__fvisibility_hidden=no
19204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19205 conftest$ac_exeext conftest.$ac_ext
19206 CFLAGS=$ac_wine_try_cflags_saved
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fvisibility_hidden" >&5
19209 printf "%s\n" "$ac_cv_cflags__fvisibility_hidden" >&6; }
19210 if test "x$ac_cv_cflags__fvisibility_hidden" = xyes
19211 then :
19212 MSVCRTFLAGS="$MSVCRTFLAGS -fvisibility=hidden"
19214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19215 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19216 if test ${ac_cv_cflags__Wno_format+y}
19217 then :
19218 printf %s "(cached) " >&6
19219 else $as_nop
19220 ac_wine_try_cflags_saved=$CFLAGS
19221 CFLAGS="$CFLAGS -Wno-format"
19222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19223 /* end confdefs.h. */
19224 int main(int argc, char **argv) { return 0; }
19225 _ACEOF
19226 if ac_fn_c_try_link "$LINENO"
19227 then :
19228 ac_cv_cflags__Wno_format=yes
19229 else $as_nop
19230 ac_cv_cflags__Wno_format=no
19232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19233 conftest$ac_exeext conftest.$ac_ext
19234 CFLAGS=$ac_wine_try_cflags_saved
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19237 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19238 if test "x$ac_cv_cflags__Wno_format" = xyes
19239 then :
19240 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19241 fi ;;
19242 esac
19244 case $host_cpu in
19245 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19246 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19247 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19248 then :
19249 printf %s "(cached) " >&6
19250 else $as_nop
19251 ac_wine_try_cflags_saved=$CFLAGS
19252 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19255 int main(int argc, char **argv) { return 0; }
19256 _ACEOF
19257 if ac_fn_c_try_link "$LINENO"
19258 then :
19259 ac_cv_cflags__fno_omit_frame_pointer=yes
19260 else $as_nop
19261 ac_cv_cflags__fno_omit_frame_pointer=no
19263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19264 conftest$ac_exeext conftest.$ac_ext
19265 CFLAGS=$ac_wine_try_cflags_saved
19267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19268 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19269 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19270 then :
19271 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19272 fi ;;
19273 *x86_64*)
19274 case $host_os in
19275 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19276 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19277 if test ${ac_cv_cflags__Wno_format+y}
19278 then :
19279 printf %s "(cached) " >&6
19280 else $as_nop
19281 ac_wine_try_cflags_saved=$CFLAGS
19282 CFLAGS="$CFLAGS -Wno-format"
19283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h. */
19285 int main(int argc, char **argv) { return 0; }
19286 _ACEOF
19287 if ac_fn_c_try_link "$LINENO"
19288 then :
19289 ac_cv_cflags__Wno_format=yes
19290 else $as_nop
19291 ac_cv_cflags__Wno_format=no
19293 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19294 conftest$ac_exeext conftest.$ac_ext
19295 CFLAGS=$ac_wine_try_cflags_saved
19297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19298 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19299 if test "x$ac_cv_cflags__Wno_format" = xyes
19300 then :
19301 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19302 fi ;;
19303 *) if test -z "$PE_ARCHS"
19304 then
19305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19306 printf %s "checking for working -mabi=ms... " >&6; }
19307 if test ${ac_cv_mabi_ms+y}
19308 then :
19309 printf %s "(cached) " >&6
19310 else $as_nop
19311 CFLAGS="$CFLAGS -mabi=ms"
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 #include <stdarg.h>
19315 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19317 main (void)
19321 return 0;
19323 _ACEOF
19324 if ac_fn_c_try_compile "$LINENO"
19325 then :
19326 ac_cv_mabi_ms=yes
19327 else $as_nop
19328 ac_cv_mabi_ms=no
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19331 CFLAGS=$saved_CFLAGS
19333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19334 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19335 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
19337 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19338 esac ;;
19339 arm*)
19340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19341 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19342 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19343 then :
19344 printf %s "(cached) " >&6
19345 else $as_nop
19346 ac_wine_try_cflags_saved=$CFLAGS
19347 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19350 int main(int argc, char **argv) { return 0; }
19351 _ACEOF
19352 if ac_fn_c_try_link "$LINENO"
19353 then :
19354 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19355 else $as_nop
19356 ac_cv_cflags__Wincompatible_function_pointer_types=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19359 conftest$ac_exeext conftest.$ac_ext
19360 CFLAGS=$ac_wine_try_cflags_saved
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19363 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19364 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19365 then :
19366 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19367 fi ;;
19368 esac
19370 CFLAGS=$saved_CFLAGS
19372 if test "x$enable_werror" = "xyes"
19373 then
19374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19375 printf %s "checking whether the compiler supports -Werror... " >&6; }
19376 if test ${ac_cv_cflags__Werror+y}
19377 then :
19378 printf %s "(cached) " >&6
19379 else $as_nop
19380 ac_wine_try_cflags_saved=$CFLAGS
19381 CFLAGS="$CFLAGS -Werror"
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 int main(int argc, char **argv) { return 0; }
19385 _ACEOF
19386 if ac_fn_c_try_link "$LINENO"
19387 then :
19388 ac_cv_cflags__Werror=yes
19389 else $as_nop
19390 ac_cv_cflags__Werror=no
19392 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19393 conftest$ac_exeext conftest.$ac_ext
19394 CFLAGS=$ac_wine_try_cflags_saved
19396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19397 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19398 if test "x$ac_cv_cflags__Werror" = xyes
19399 then :
19400 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19403 if test "x$enable_build_id" = "xyes"
19404 then
19405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19406 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19407 if test ${ac_cv_cflags__Wl___build_id+y}
19408 then :
19409 printf %s "(cached) " >&6
19410 else $as_nop
19411 ac_wine_try_cflags_saved=$CFLAGS
19412 CFLAGS="$CFLAGS -Wl,--build-id"
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 int main(int argc, char **argv) { return 0; }
19416 _ACEOF
19417 if ac_fn_c_try_link "$LINENO"
19418 then :
19419 ac_cv_cflags__Wl___build_id=yes
19420 else $as_nop
19421 ac_cv_cflags__Wl___build_id=no
19423 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19424 conftest$ac_exeext conftest.$ac_ext
19425 CFLAGS=$ac_wine_try_cflags_saved
19427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19428 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19429 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19430 then :
19431 CFLAGS="$CFLAGS -Wl,--build-id"
19432 LDFLAGS="$LDFLAGS -Wl,--build-id"
19438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19439 printf %s "checking for the need to disable Fortify... " >&6; }
19440 if test ${ac_cv_c_fortify_enabled+y}
19441 then :
19442 printf %s "(cached) " >&6
19443 else $as_nop
19444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 #include <string.h>
19448 main (void)
19450 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19451 #error Fortify enabled
19452 #endif
19454 return 0;
19456 _ACEOF
19457 if ac_fn_c_try_compile "$LINENO"
19458 then :
19459 ac_cv_c_fortify_enabled=no
19460 else $as_nop
19461 ac_cv_c_fortify_enabled=yes
19463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19466 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19467 if test "$ac_cv_c_fortify_enabled" = yes
19468 then
19469 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19474 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19475 if test ${ac_cv_c_cfi_support+y}
19476 then :
19477 printf %s "(cached) " >&6
19478 else $as_nop
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19483 main (void)
19487 return 0;
19489 _ACEOF
19490 if ac_fn_c_try_compile "$LINENO"
19491 then :
19492 ac_cv_c_cfi_support="yes"
19493 else $as_nop
19494 ac_cv_c_cfi_support="no"
19496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19499 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19500 if test "$ac_cv_c_cfi_support" = "yes"
19501 then
19502 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19503 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19504 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19505 elif test $HOST_ARCH = x86_64
19506 then
19507 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19511 case "$HOST_ARCH,$PE_ARCHS" in
19512 x86_64,*i386*) wine_binary="wine" ;;
19513 x86_64,*) wine_binary="wine64" ;;
19514 *) wine_binary="wine" ;;
19515 esac
19516 WINELOADER_PROGRAMS="$wine_binary"
19519 case $host_os in
19520 linux*)
19521 case $host_cpu in
19522 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19523 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19524 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19526 esac
19528 darwin*|macosx*)
19529 if test "$wine_can_build_preloader" = "yes"
19530 then
19531 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19532 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19535 esac
19538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19539 printf %s "checking for library containing dlopen... " >&6; }
19540 if test ${ac_cv_search_dlopen+y}
19541 then :
19542 printf %s "(cached) " >&6
19543 else $as_nop
19544 ac_func_search_save_LIBS=$LIBS
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19548 /* Override any GCC internal prototype to avoid an error.
19549 Use char because int might match the return type of a GCC
19550 builtin and then its argument prototype would still apply. */
19551 char dlopen ();
19553 main (void)
19555 return dlopen ();
19557 return 0;
19559 _ACEOF
19560 for ac_lib in '' dl
19562 if test -z "$ac_lib"; then
19563 ac_res="none required"
19564 else
19565 ac_res=-l$ac_lib
19566 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19568 if ac_fn_c_try_link "$LINENO"
19569 then :
19570 ac_cv_search_dlopen=$ac_res
19572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19573 conftest$ac_exeext
19574 if test ${ac_cv_search_dlopen+y}
19575 then :
19576 break
19578 done
19579 if test ${ac_cv_search_dlopen+y}
19580 then :
19582 else $as_nop
19583 ac_cv_search_dlopen=no
19585 rm conftest.$ac_ext
19586 LIBS=$ac_func_search_save_LIBS
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19589 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19590 ac_res=$ac_cv_search_dlopen
19591 if test "$ac_res" != no
19592 then :
19593 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19599 printf %s "checking for library containing gethostbyname... " >&6; }
19600 if test ${ac_cv_search_gethostbyname+y}
19601 then :
19602 printf %s "(cached) " >&6
19603 else $as_nop
19604 ac_func_search_save_LIBS=$LIBS
19605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19606 /* end confdefs.h. */
19608 /* Override any GCC internal prototype to avoid an error.
19609 Use char because int might match the return type of a GCC
19610 builtin and then its argument prototype would still apply. */
19611 char gethostbyname ();
19613 main (void)
19615 return gethostbyname ();
19617 return 0;
19619 _ACEOF
19620 for ac_lib in '' nsl
19622 if test -z "$ac_lib"; then
19623 ac_res="none required"
19624 else
19625 ac_res=-l$ac_lib
19626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19628 if ac_fn_c_try_link "$LINENO"
19629 then :
19630 ac_cv_search_gethostbyname=$ac_res
19632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19633 conftest$ac_exeext
19634 if test ${ac_cv_search_gethostbyname+y}
19635 then :
19636 break
19638 done
19639 if test ${ac_cv_search_gethostbyname+y}
19640 then :
19642 else $as_nop
19643 ac_cv_search_gethostbyname=no
19645 rm conftest.$ac_ext
19646 LIBS=$ac_func_search_save_LIBS
19648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19649 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19650 ac_res=$ac_cv_search_gethostbyname
19651 if test "$ac_res" != no
19652 then :
19653 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19659 printf %s "checking for library containing connect... " >&6; }
19660 if test ${ac_cv_search_connect+y}
19661 then :
19662 printf %s "(cached) " >&6
19663 else $as_nop
19664 ac_func_search_save_LIBS=$LIBS
19665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19666 /* end confdefs.h. */
19668 /* Override any GCC internal prototype to avoid an error.
19669 Use char because int might match the return type of a GCC
19670 builtin and then its argument prototype would still apply. */
19671 char connect ();
19673 main (void)
19675 return connect ();
19677 return 0;
19679 _ACEOF
19680 for ac_lib in '' socket
19682 if test -z "$ac_lib"; then
19683 ac_res="none required"
19684 else
19685 ac_res=-l$ac_lib
19686 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19688 if ac_fn_c_try_link "$LINENO"
19689 then :
19690 ac_cv_search_connect=$ac_res
19692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19693 conftest$ac_exeext
19694 if test ${ac_cv_search_connect+y}
19695 then :
19696 break
19698 done
19699 if test ${ac_cv_search_connect+y}
19700 then :
19702 else $as_nop
19703 ac_cv_search_connect=no
19705 rm conftest.$ac_ext
19706 LIBS=$ac_func_search_save_LIBS
19708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19709 printf "%s\n" "$ac_cv_search_connect" >&6; }
19710 ac_res=$ac_cv_search_connect
19711 if test "$ac_res" != no
19712 then :
19713 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19719 printf %s "checking for library containing inet_aton... " >&6; }
19720 if test ${ac_cv_search_inet_aton+y}
19721 then :
19722 printf %s "(cached) " >&6
19723 else $as_nop
19724 ac_func_search_save_LIBS=$LIBS
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h. */
19728 /* Override any GCC internal prototype to avoid an error.
19729 Use char because int might match the return type of a GCC
19730 builtin and then its argument prototype would still apply. */
19731 char inet_aton ();
19733 main (void)
19735 return inet_aton ();
19737 return 0;
19739 _ACEOF
19740 for ac_lib in '' resolv
19742 if test -z "$ac_lib"; then
19743 ac_res="none required"
19744 else
19745 ac_res=-l$ac_lib
19746 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19748 if ac_fn_c_try_link "$LINENO"
19749 then :
19750 ac_cv_search_inet_aton=$ac_res
19752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19753 conftest$ac_exeext
19754 if test ${ac_cv_search_inet_aton+y}
19755 then :
19756 break
19758 done
19759 if test ${ac_cv_search_inet_aton+y}
19760 then :
19762 else $as_nop
19763 ac_cv_search_inet_aton=no
19765 rm conftest.$ac_ext
19766 LIBS=$ac_func_search_save_LIBS
19768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19769 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19770 ac_res=$ac_cv_search_inet_aton
19771 if test "$ac_res" != no
19772 then :
19773 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19778 ac_save_CFLAGS="$CFLAGS"
19779 CFLAGS="$CFLAGS $BUILTINFLAG"
19780 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19781 if test "x$ac_cv_func_dladdr1" = xyes
19782 then :
19783 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19786 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19787 if test "x$ac_cv_func_dlinfo" = xyes
19788 then :
19789 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19792 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19793 if test "x$ac_cv_func_epoll_create" = xyes
19794 then :
19795 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19798 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19799 if test "x$ac_cv_func_fstatfs" = xyes
19800 then :
19801 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19804 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19805 if test "x$ac_cv_func_futimens" = xyes
19806 then :
19807 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19810 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19811 if test "x$ac_cv_func_futimes" = xyes
19812 then :
19813 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19816 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19817 if test "x$ac_cv_func_futimesat" = xyes
19818 then :
19819 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19822 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19823 if test "x$ac_cv_func_getaddrinfo" = xyes
19824 then :
19825 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19828 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19829 if test "x$ac_cv_func_getattrlist" = xyes
19830 then :
19831 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19834 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19835 if test "x$ac_cv_func_getauxval" = xyes
19836 then :
19837 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19840 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19841 if test "x$ac_cv_func_getifaddrs" = xyes
19842 then :
19843 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19846 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19847 if test "x$ac_cv_func_getrandom" = xyes
19848 then :
19849 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19852 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19853 if test "x$ac_cv_func_kqueue" = xyes
19854 then :
19855 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19858 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19859 if test "x$ac_cv_func_mach_continuous_time" = xyes
19860 then :
19861 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19864 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19865 if test "x$ac_cv_func_pipe2" = xyes
19866 then :
19867 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19870 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19871 if test "x$ac_cv_func_port_create" = xyes
19872 then :
19873 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19876 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19877 if test "x$ac_cv_func_posix_fadvise" = xyes
19878 then :
19879 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19882 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19883 if test "x$ac_cv_func_posix_fallocate" = xyes
19884 then :
19885 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19888 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19889 if test "x$ac_cv_func_prctl" = xyes
19890 then :
19891 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19894 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19895 if test "x$ac_cv_func_proc_pidinfo" = xyes
19896 then :
19897 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19900 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19901 if test "x$ac_cv_func_sched_yield" = xyes
19902 then :
19903 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19906 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19907 if test "x$ac_cv_func_setproctitle" = xyes
19908 then :
19909 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19912 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19913 if test "x$ac_cv_func_setprogname" = xyes
19914 then :
19915 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19918 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19919 if test "x$ac_cv_func_sigprocmask" = xyes
19920 then :
19921 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19924 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19925 if test "x$ac_cv_func_sysinfo" = xyes
19926 then :
19927 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19930 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19931 if test "x$ac_cv_func_tcdrain" = xyes
19932 then :
19933 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19936 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19937 if test "x$ac_cv_func_thr_kill2" = xyes
19938 then :
19939 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19943 CFLAGS="$ac_save_CFLAGS"
19945 case $host_os in
19946 darwin*|macosx*) ;;
19947 *) ac_save_LIBS=$LIBS
19948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19949 printf %s "checking for library containing clock_gettime... " >&6; }
19950 if test ${ac_cv_search_clock_gettime+y}
19951 then :
19952 printf %s "(cached) " >&6
19953 else $as_nop
19954 ac_func_search_save_LIBS=$LIBS
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19958 /* Override any GCC internal prototype to avoid an error.
19959 Use char because int might match the return type of a GCC
19960 builtin and then its argument prototype would still apply. */
19961 char clock_gettime ();
19963 main (void)
19965 return clock_gettime ();
19967 return 0;
19969 _ACEOF
19970 for ac_lib in '' rt
19972 if test -z "$ac_lib"; then
19973 ac_res="none required"
19974 else
19975 ac_res=-l$ac_lib
19976 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19978 if ac_fn_c_try_link "$LINENO"
19979 then :
19980 ac_cv_search_clock_gettime=$ac_res
19982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19983 conftest$ac_exeext
19984 if test ${ac_cv_search_clock_gettime+y}
19985 then :
19986 break
19988 done
19989 if test ${ac_cv_search_clock_gettime+y}
19990 then :
19992 else $as_nop
19993 ac_cv_search_clock_gettime=no
19995 rm conftest.$ac_ext
19996 LIBS=$ac_func_search_save_LIBS
19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19999 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20000 ac_res=$ac_cv_search_clock_gettime
20001 if test "$ac_res" != no
20002 then :
20003 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20005 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20007 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20011 LIBS=$ac_save_LIBS
20013 esac
20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20016 printf %s "checking for sched_setaffinity... " >&6; }
20017 if test ${wine_cv_have_sched_setaffinity+y}
20018 then :
20019 printf %s "(cached) " >&6
20020 else $as_nop
20021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20022 /* end confdefs.h. */
20023 #include <sched.h>
20025 main (void)
20027 sched_setaffinity(0, 0, 0);
20029 return 0;
20031 _ACEOF
20032 if ac_fn_c_try_link "$LINENO"
20033 then :
20034 wine_cv_have_sched_setaffinity=yes
20035 else $as_nop
20036 wine_cv_have_sched_setaffinity=no
20038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20039 conftest$ac_exeext conftest.$ac_ext
20041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20042 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20043 if test "$wine_cv_have_sched_setaffinity" = "yes"
20044 then
20046 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20052 printf %s "checking for inline... " >&6; }
20053 if test ${ac_cv_c_inline+y}
20054 then :
20055 printf %s "(cached) " >&6
20056 else $as_nop
20057 ac_cv_c_inline=no
20058 for ac_kw in inline __inline__ __inline; do
20059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20060 /* end confdefs.h. */
20061 #ifndef __cplusplus
20062 typedef int foo_t;
20063 static $ac_kw foo_t static_foo (void) {return 0; }
20064 $ac_kw foo_t foo (void) {return 0; }
20065 #endif
20067 _ACEOF
20068 if ac_fn_c_try_compile "$LINENO"
20069 then :
20070 ac_cv_c_inline=$ac_kw
20072 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20073 test "$ac_cv_c_inline" != no && break
20074 done
20077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20078 printf "%s\n" "$ac_cv_c_inline" >&6; }
20080 case $ac_cv_c_inline in
20081 inline | yes) ;;
20083 case $ac_cv_c_inline in
20084 no) ac_val=;;
20085 *) ac_val=$ac_cv_c_inline;;
20086 esac
20087 cat >>confdefs.h <<_ACEOF
20088 #ifndef __cplusplus
20089 #define inline $ac_val
20090 #endif
20091 _ACEOF
20093 esac
20095 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20097 if test "x$ac_cv_type_request_sense" = xyes
20098 then :
20100 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20106 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20107 #include <sys/socket.h>
20108 #ifdef HAVE_SYS_SOCKETVAR_H
20109 #include <sys/socketvar.h>
20110 #endif
20111 #ifdef HAVE_NET_ROUTE_H
20112 #include <net/route.h>
20113 #endif
20114 #ifdef HAVE_NETINET_IN_H
20115 #include <netinet/in.h>
20116 #endif
20117 #ifdef HAVE_NETINET_IN_SYSTM_H
20118 #include <netinet/in_systm.h>
20119 #endif
20120 #ifdef HAVE_NETINET_IP_H
20121 #include <netinet/ip.h>
20122 #endif
20123 #ifdef HAVE_NETINET_IN_PCB_H
20124 #include <netinet/in_pcb.h>
20125 #endif
20127 if test "x$ac_cv_type_struct_xinpgen" = xyes
20128 then :
20130 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20137 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20138 if test ${wine_cv_linux_gethostbyname_r_6+y}
20139 then :
20140 printf %s "(cached) " >&6
20141 else $as_nop
20142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h. */
20144 #include <netdb.h>
20146 main (void)
20149 char *name=0;
20150 struct hostent he;
20151 struct hostent *result;
20152 char *buf=0;
20153 int bufsize=0;
20154 int errnr;
20155 char *addr=0;
20156 int addrlen=0;
20157 int addrtype=0;
20158 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20159 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20162 return 0;
20164 _ACEOF
20165 if ac_fn_c_try_link "$LINENO"
20166 then :
20167 wine_cv_linux_gethostbyname_r_6=yes
20168 else $as_nop
20169 wine_cv_linux_gethostbyname_r_6=no
20172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20173 conftest$ac_exeext conftest.$ac_ext
20176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20177 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20178 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20179 then
20181 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20185 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20186 #include <sys/socket.h>
20187 #ifdef HAVE_SYS_UN_H
20188 # include <sys/un.h>
20189 #endif
20191 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20192 then :
20194 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20198 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20199 #include <sys/socket.h>
20200 #ifdef HAVE_SYS_UN_H
20201 # include <sys/un.h>
20202 #endif
20204 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20205 then :
20207 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20213 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20214 #ifdef HAVE_SCSI_SG_H
20215 #include <scsi/sg.h>
20216 #endif
20218 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20219 then :
20221 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20225 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>
20226 #ifdef HAVE_SCSI_SG_H
20227 #include <scsi/sg.h>
20228 #endif
20230 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20231 then :
20233 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20239 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20241 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20242 then :
20244 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20250 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20251 #ifdef HAVE_SYS_MTIO_H
20252 #include <sys/mtio.h>
20253 #endif
20255 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20256 then :
20258 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20262 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20263 #ifdef HAVE_SYS_MTIO_H
20264 #include <sys/mtio.h>
20265 #endif
20267 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20268 then :
20270 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20274 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20275 #ifdef HAVE_SYS_MTIO_H
20276 #include <sys/mtio.h>
20277 #endif
20279 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20280 then :
20282 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20288 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20289 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20290 then :
20292 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20296 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20297 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20298 then :
20300 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20304 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20305 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20306 then :
20308 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20312 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20313 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20314 then :
20316 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20320 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20321 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20328 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20329 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20330 then :
20332 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20336 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20337 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20344 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20345 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20352 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20353 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20354 then :
20356 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20360 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20361 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20362 then :
20364 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20368 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20369 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20370 then :
20372 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20378 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>
20379 #ifdef HAVE_NETINET_IN_H
20380 #include <netinet/in.h>
20381 #endif
20383 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20384 then :
20386 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20392 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
20393 #include <resolv.h>
20394 #endif
20396 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20397 then :
20399 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20405 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20406 #include <netinet/in.h>
20407 #endif
20409 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20410 then :
20412 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20418 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20419 #ifdef HAVE_SYS_SOCKETVAR_H
20420 #include <sys/socketvar.h>
20421 #endif
20422 #ifdef HAVE_NETINET_IN_H
20423 #include <netinet/in.h>
20424 #endif
20425 #ifdef HAVE_NETINET_IP_VAR_H
20426 #include <netinet/ip_var.h>
20427 #endif
20429 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20430 then :
20432 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20438 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
20439 #include <netinet/ip_var.h>
20440 #endif
20442 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20443 then :
20445 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20451 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20452 #ifdef HAVE_SYS_SOCKETVAR_H
20453 #include <sys/socketvar.h>
20454 #endif
20455 #ifdef HAVE_NETINET_IN_H
20456 #include <netinet/in.h>
20457 #endif
20458 #ifdef HAVE_NETINET6_IP6_VAR_H
20459 #include <netinet6/ip6_var.h>
20460 #endif
20462 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20463 then :
20465 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20471 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20472 #ifdef HAVE_SYS_SOCKETVAR_H
20473 #include <sys/socketvar.h>
20474 #endif
20475 #ifdef HAVE_NETINET_IN_H
20476 #include <netinet/in.h>
20477 #endif
20478 #ifdef HAVE_NETINET_IP_H
20479 #include <netinet/ip.h>
20480 #endif
20481 #ifdef HAVE_NETINET_IP_ICMP_H
20482 #include <netinet/ip_icmp.h>
20483 #endif
20484 #ifdef HAVE_NETINET_ICMP_VAR_H
20485 #include <netinet/icmp_var.h>
20486 #endif
20488 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20489 then :
20491 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20497 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20498 #ifdef HAVE_SYS_SOCKETVAR_H
20499 #include <sys/socketvar.h>
20500 #endif
20501 #ifdef HAVE_NETINET_IN_H
20502 #include <netinet/in.h>
20503 #endif
20504 #ifdef HAVE_NETINET_ICMP6_H
20505 #include <netinet/icmp6.h>
20506 #endif
20508 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20509 then :
20511 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20517 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20518 #ifdef HAVE_SYS_SOCKETVAR_H
20519 #include <sys/socketvar.h>
20520 #endif
20521 #ifdef HAVE_NETINET_IN_H
20522 #include <netinet/in.h>
20523 #endif
20524 #ifdef HAVE_NETINET_TCP_H
20525 #include <netinet/tcp.h>
20526 #endif
20527 #ifdef HAVE_NETINET_TCP_VAR_H
20528 #include <netinet/tcp_var.h>
20529 #endif
20531 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20532 then :
20534 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20540 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
20541 #include <netinet/tcp_var.h>
20542 #endif
20544 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20545 then :
20547 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20553 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20554 #ifdef HAVE_NETINET_IN_H
20555 #include <netinet/in.h>
20556 #endif
20557 #ifdef HAVE_NETINET_IP_VAR_H
20558 #include <netinet/ip_var.h>
20559 #endif
20560 #ifdef HAVE_NETINET_UDP_H
20561 #include <netinet/udp.h>
20562 #endif
20563 #ifdef HAVE_NETINET_UDP_VAR_H
20564 #include <netinet/udp_var.h>
20565 #endif
20567 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20568 then :
20570 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20576 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20577 #ifdef HAVE_NET_IF_H
20578 # include <net/if.h>
20579 #endif
20581 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20582 then :
20584 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20590 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20591 # include <sys/sysinfo.h>
20592 #endif
20594 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20595 then :
20597 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20601 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20602 # include <sys/sysinfo.h>
20603 #endif
20605 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20606 then :
20608 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20614 LIBS="$ac_save_LIBS"
20616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20617 printf %s "checking for __builtin_popcount... " >&6; }
20618 if test ${ac_cv_have___builtin_popcount+y}
20619 then :
20620 printf %s "(cached) " >&6
20621 else $as_nop
20622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h. */
20626 main (void)
20628 return __builtin_popcount(1)
20630 return 0;
20632 _ACEOF
20633 if ac_fn_c_try_link "$LINENO"
20634 then :
20635 ac_cv_have___builtin_popcount="yes"
20636 else $as_nop
20637 ac_cv_have___builtin_popcount="no"
20639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20640 conftest$ac_exeext conftest.$ac_ext
20642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20643 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20644 if test "$ac_cv_have___builtin_popcount" = "yes"
20645 then
20647 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20652 printf %s "checking for __clear_cache... " >&6; }
20653 if test ${ac_cv_have___clear_cache+y}
20654 then :
20655 printf %s "(cached) " >&6
20656 else $as_nop
20657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20658 /* end confdefs.h. */
20661 main (void)
20663 __clear_cache((void*)0, (void*)0); return 0;
20665 return 0;
20667 _ACEOF
20668 if ac_fn_c_try_link "$LINENO"
20669 then :
20670 ac_cv_have___clear_cache="yes"
20671 else $as_nop
20672 ac_cv_have___clear_cache="no"
20674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20675 conftest$ac_exeext conftest.$ac_ext
20677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20678 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20679 if test "$ac_cv_have___clear_cache" = "yes"
20680 then
20682 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20687 case $host_cpu in
20688 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20689 printf %s "checking whether we need to define __i386__... " >&6; }
20690 if test ${ac_cv_cpp_def___i386__+y}
20691 then :
20692 printf %s "(cached) " >&6
20693 else $as_nop
20694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20695 /* end confdefs.h. */
20696 #ifndef __i386__
20698 #endif
20699 _ACEOF
20700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20701 $EGREP "yes" >/dev/null 2>&1
20702 then :
20703 ac_cv_cpp_def___i386__=yes
20704 else $as_nop
20705 ac_cv_cpp_def___i386__=no
20707 rm -rf conftest*
20710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20711 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20712 if test "x$ac_cv_cpp_def___i386__" = xyes
20713 then :
20714 CFLAGS="$CFLAGS -D__i386__"
20715 LINTFLAGS="$LINTFLAGS -D__i386__"
20716 fi ;;
20717 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20718 printf %s "checking whether we need to define __x86_64__... " >&6; }
20719 if test ${ac_cv_cpp_def___x86_64__+y}
20720 then :
20721 printf %s "(cached) " >&6
20722 else $as_nop
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20725 #ifndef __x86_64__
20727 #endif
20728 _ACEOF
20729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20730 $EGREP "yes" >/dev/null 2>&1
20731 then :
20732 ac_cv_cpp_def___x86_64__=yes
20733 else $as_nop
20734 ac_cv_cpp_def___x86_64__=no
20736 rm -rf conftest*
20739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20740 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20741 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20742 then :
20743 CFLAGS="$CFLAGS -D__x86_64__"
20744 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20745 fi ;;
20746 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20747 printf %s "checking whether we need to define __sparc64__... " >&6; }
20748 if test ${ac_cv_cpp_def___sparc64__+y}
20749 then :
20750 printf %s "(cached) " >&6
20751 else $as_nop
20752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20753 /* end confdefs.h. */
20754 #ifndef __sparc64__
20756 #endif
20757 _ACEOF
20758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20759 $EGREP "yes" >/dev/null 2>&1
20760 then :
20761 ac_cv_cpp_def___sparc64__=yes
20762 else $as_nop
20763 ac_cv_cpp_def___sparc64__=no
20765 rm -rf conftest*
20768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20769 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20770 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20771 then :
20772 CFLAGS="$CFLAGS -D__sparc64__"
20773 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20774 fi ;;
20775 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20776 printf %s "checking whether we need to define __sparc__... " >&6; }
20777 if test ${ac_cv_cpp_def___sparc__+y}
20778 then :
20779 printf %s "(cached) " >&6
20780 else $as_nop
20781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20782 /* end confdefs.h. */
20783 #ifndef __sparc__
20785 #endif
20786 _ACEOF
20787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20788 $EGREP "yes" >/dev/null 2>&1
20789 then :
20790 ac_cv_cpp_def___sparc__=yes
20791 else $as_nop
20792 ac_cv_cpp_def___sparc__=no
20794 rm -rf conftest*
20797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20798 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20799 if test "x$ac_cv_cpp_def___sparc__" = xyes
20800 then :
20801 CFLAGS="$CFLAGS -D__sparc__"
20802 LINTFLAGS="$LINTFLAGS -D__sparc__"
20803 fi ;;
20804 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20805 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20806 if test ${ac_cv_cpp_def___powerpc64__+y}
20807 then :
20808 printf %s "(cached) " >&6
20809 else $as_nop
20810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811 /* end confdefs.h. */
20812 #ifndef __powerpc64__
20814 #endif
20815 _ACEOF
20816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20817 $EGREP "yes" >/dev/null 2>&1
20818 then :
20819 ac_cv_cpp_def___powerpc64__=yes
20820 else $as_nop
20821 ac_cv_cpp_def___powerpc64__=no
20823 rm -rf conftest*
20826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20827 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20828 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20829 then :
20830 CFLAGS="$CFLAGS -D__powerpc64__"
20831 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20832 fi ;;
20833 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20834 printf %s "checking whether we need to define __powerpc__... " >&6; }
20835 if test ${ac_cv_cpp_def___powerpc__+y}
20836 then :
20837 printf %s "(cached) " >&6
20838 else $as_nop
20839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20841 #ifndef __powerpc__
20843 #endif
20844 _ACEOF
20845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20846 $EGREP "yes" >/dev/null 2>&1
20847 then :
20848 ac_cv_cpp_def___powerpc__=yes
20849 else $as_nop
20850 ac_cv_cpp_def___powerpc__=no
20852 rm -rf conftest*
20855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20856 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20857 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20858 then :
20859 CFLAGS="$CFLAGS -D__powerpc__"
20860 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20861 fi ;;
20862 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20863 printf %s "checking whether we need to define __aarch64__... " >&6; }
20864 if test ${ac_cv_cpp_def___aarch64__+y}
20865 then :
20866 printf %s "(cached) " >&6
20867 else $as_nop
20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h. */
20870 #ifndef __aarch64__
20872 #endif
20873 _ACEOF
20874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20875 $EGREP "yes" >/dev/null 2>&1
20876 then :
20877 ac_cv_cpp_def___aarch64__=yes
20878 else $as_nop
20879 ac_cv_cpp_def___aarch64__=no
20881 rm -rf conftest*
20884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20885 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20886 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20887 then :
20888 CFLAGS="$CFLAGS -D__aarch64__"
20889 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20890 fi ;;
20891 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20892 printf %s "checking whether we need to define __arm__... " >&6; }
20893 if test ${ac_cv_cpp_def___arm__+y}
20894 then :
20895 printf %s "(cached) " >&6
20896 else $as_nop
20897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20898 /* end confdefs.h. */
20899 #ifndef __arm__
20901 #endif
20902 _ACEOF
20903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20904 $EGREP "yes" >/dev/null 2>&1
20905 then :
20906 ac_cv_cpp_def___arm__=yes
20907 else $as_nop
20908 ac_cv_cpp_def___arm__=no
20910 rm -rf conftest*
20913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20914 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20915 if test "x$ac_cv_cpp_def___arm__" = xyes
20916 then :
20917 CFLAGS="$CFLAGS -D__arm__"
20918 LINTFLAGS="$LINTFLAGS -D__arm__"
20919 fi ;;
20920 esac
20922 case $host_vendor in
20923 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20924 printf %s "checking whether we need to define __sun__... " >&6; }
20925 if test ${ac_cv_cpp_def___sun__+y}
20926 then :
20927 printf %s "(cached) " >&6
20928 else $as_nop
20929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20931 #ifndef __sun__
20933 #endif
20934 _ACEOF
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev/null 2>&1
20937 then :
20938 ac_cv_cpp_def___sun__=yes
20939 else $as_nop
20940 ac_cv_cpp_def___sun__=no
20942 rm -rf conftest*
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20947 if test "x$ac_cv_cpp_def___sun__" = xyes
20948 then :
20949 CFLAGS="$CFLAGS -D__sun__"
20950 LINTFLAGS="$LINTFLAGS -D__sun__"
20951 fi ;;
20952 esac
20958 ac_config_commands="$ac_config_commands include/stamp-h"
20960 printf %s "creating Makefile rules..." >&6
20962 makedep_flags=""
20963 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20965 wine_srcdir=
20966 test "$srcdir" = . || wine_srcdir="$srcdir/"
20968 ac_config_links="$ac_config_links wine:tools/winewrapper"
20969 wine_fn_config_symlink wine
20970 if test "$wine_binary" = wine64 -o -n "$with_wine64"; then
20971 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20972 wine_fn_config_symlink wine64
20975 wine_fn_config_makefile dlls/acledit enable_acledit
20976 wine_fn_config_makefile dlls/aclui enable_aclui
20977 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20978 wine_fn_config_makefile dlls/activeds enable_activeds
20979 wine_fn_config_makefile dlls/activeds/tests enable_tests
20980 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20981 wine_fn_config_makefile dlls/adsldp enable_adsldp
20982 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20983 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20984 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20985 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20986 wine_fn_config_makefile dlls/advpack enable_advpack
20987 wine_fn_config_makefile dlls/advpack/tests enable_tests
20988 wine_fn_config_makefile dlls/amsi enable_amsi
20989 wine_fn_config_makefile dlls/amstream enable_amstream
20990 wine_fn_config_makefile dlls/amstream/tests enable_tests
20991 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20992 wine_fn_config_makefile dlls/apphelp enable_apphelp
20993 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20994 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20995 wine_fn_config_makefile dlls/atl enable_atl
20996 wine_fn_config_makefile dlls/atl/tests enable_tests
20997 wine_fn_config_makefile dlls/atl100 enable_atl100
20998 wine_fn_config_makefile dlls/atl100/tests enable_tests
20999 wine_fn_config_makefile dlls/atl110 enable_atl110
21000 wine_fn_config_makefile dlls/atl110/tests enable_tests
21001 wine_fn_config_makefile dlls/atl80 enable_atl80
21002 wine_fn_config_makefile dlls/atl80/tests enable_tests
21003 wine_fn_config_makefile dlls/atl90 enable_atl90
21004 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21005 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21006 wine_fn_config_makefile dlls/atmlib enable_atmlib
21007 wine_fn_config_makefile dlls/authz enable_authz
21008 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21009 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21010 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21011 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21012 wine_fn_config_makefile dlls/avrt enable_avrt
21013 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21014 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21015 wine_fn_config_makefile dlls/bcryptprimitives enable_bcryptprimitives
21016 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21017 wine_fn_config_makefile dlls/browseui enable_browseui
21018 wine_fn_config_makefile dlls/browseui/tests enable_tests
21019 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21020 wine_fn_config_makefile dlls/cabinet enable_cabinet
21021 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21022 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21023 wine_fn_config_makefile dlls/cards enable_cards
21024 wine_fn_config_makefile dlls/cdosys enable_cdosys
21025 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21026 wine_fn_config_makefile dlls/cfgmgr32/tests enable_tests
21027 wine_fn_config_makefile dlls/clusapi enable_clusapi
21028 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21029 wine_fn_config_makefile dlls/combase enable_combase
21030 wine_fn_config_makefile dlls/combase/tests enable_tests
21031 wine_fn_config_makefile dlls/comcat enable_comcat
21032 wine_fn_config_makefile dlls/comcat/tests enable_tests
21033 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21034 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21035 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21036 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21037 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21038 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21039 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21040 wine_fn_config_makefile dlls/compstui enable_compstui
21041 wine_fn_config_makefile dlls/compstui/tests enable_tests
21042 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21043 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21044 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21045 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21046 wine_fn_config_makefile dlls/connect enable_connect
21047 wine_fn_config_makefile dlls/credui enable_credui
21048 wine_fn_config_makefile dlls/credui/tests enable_tests
21049 wine_fn_config_makefile dlls/crtdll enable_crtdll
21050 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21051 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21052 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21053 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21054 wine_fn_config_makefile dlls/cryptext enable_cryptext
21055 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21056 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21057 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21058 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
21059 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21060 wine_fn_config_makefile dlls/cryptui enable_cryptui
21061 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21062 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21063 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21064 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21065 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21066 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21067 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21068 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21069 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21070 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21071 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21072 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21073 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21074 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21075 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21076 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21077 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21078 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21079 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21080 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21081 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21082 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21083 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21084 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21085 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21086 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21087 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21088 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21089 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21090 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21091 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21092 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21093 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21094 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21095 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21096 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21097 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21098 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21099 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21100 wine_fn_config_makefile dlls/d3dim enable_d3dim
21101 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21102 wine_fn_config_makefile dlls/d3drm enable_d3drm
21103 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21104 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21105 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21106 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21107 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21108 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21109 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21110 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21111 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21112 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21113 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21114 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21115 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21116 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21117 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21118 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21119 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21120 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21121 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21122 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21123 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21124 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21125 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21126 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21127 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21128 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21129 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21130 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21131 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21132 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21133 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21134 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21135 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21136 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21137 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21138 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21139 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21140 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21141 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21142 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21143 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21144 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21145 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21146 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21147 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21148 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21149 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21150 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21151 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21152 wine_fn_config_makefile dlls/davclnt enable_davclnt
21153 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21154 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21155 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21156 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21157 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21158 wine_fn_config_makefile dlls/dcomp enable_dcomp
21159 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21160 wine_fn_config_makefile dlls/ddraw enable_ddraw
21161 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21162 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21163 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21164 wine_fn_config_makefile dlls/devenum enable_devenum
21165 wine_fn_config_makefile dlls/devenum/tests enable_tests
21166 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21167 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21168 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21169 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21170 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21171 wine_fn_config_makefile dlls/difxapi enable_difxapi
21172 wine_fn_config_makefile dlls/dinput enable_dinput
21173 wine_fn_config_makefile dlls/dinput/tests enable_tests
21174 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21175 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21176 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21177 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21178 wine_fn_config_makefile dlls/dispex enable_dispex
21179 wine_fn_config_makefile dlls/dispex/tests enable_tests
21180 wine_fn_config_makefile dlls/display.drv16 enable_win16
21181 wine_fn_config_makefile dlls/dmband enable_dmband
21182 wine_fn_config_makefile dlls/dmband/tests enable_tests
21183 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21184 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21185 wine_fn_config_makefile dlls/dmime enable_dmime
21186 wine_fn_config_makefile dlls/dmime/tests enable_tests
21187 wine_fn_config_makefile dlls/dmloader enable_dmloader
21188 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21189 wine_fn_config_makefile dlls/dmscript enable_dmscript
21190 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21191 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21192 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21193 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21194 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21195 wine_fn_config_makefile dlls/dmusic enable_dmusic
21196 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21197 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21198 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21199 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21200 wine_fn_config_makefile dlls/dplay enable_dplay
21201 wine_fn_config_makefile dlls/dplayx enable_dplayx
21202 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21203 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21204 wine_fn_config_makefile dlls/dpnet enable_dpnet
21205 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21206 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21207 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21208 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21209 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21210 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21211 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21212 wine_fn_config_makefile dlls/drmclien enable_drmclien
21213 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21214 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21215 wine_fn_config_makefile dlls/dsound enable_dsound
21216 wine_fn_config_makefile dlls/dsound/tests enable_tests
21217 wine_fn_config_makefile dlls/dsquery enable_dsquery
21218 wine_fn_config_makefile dlls/dssenh enable_dssenh
21219 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21220 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21221 wine_fn_config_makefile dlls/dswave enable_dswave
21222 wine_fn_config_makefile dlls/dswave/tests enable_tests
21223 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21224 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21225 wine_fn_config_makefile dlls/dwrite enable_dwrite
21226 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21227 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21228 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21229 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21230 wine_fn_config_makefile dlls/dxgi enable_dxgi
21231 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21232 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21233 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21234 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21235 wine_fn_config_makefile dlls/esent enable_esent
21236 wine_fn_config_makefile dlls/evr enable_evr
21237 wine_fn_config_makefile dlls/evr/tests enable_tests
21238 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21239 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21240 wine_fn_config_makefile dlls/faultrep enable_faultrep
21241 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21242 wine_fn_config_makefile dlls/feclient enable_feclient
21243 wine_fn_config_makefile dlls/fltlib enable_fltlib
21244 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21245 wine_fn_config_makefile dlls/fntcache enable_fntcache
21246 wine_fn_config_makefile dlls/fontsub enable_fontsub
21247 wine_fn_config_makefile dlls/fusion enable_fusion
21248 wine_fn_config_makefile dlls/fusion/tests enable_tests
21249 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21250 wine_fn_config_makefile dlls/gameux enable_gameux
21251 wine_fn_config_makefile dlls/gameux/tests enable_tests
21252 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21253 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21254 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21255 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21256 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21257 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21258 wine_fn_config_makefile dlls/geolocation enable_geolocation
21259 wine_fn_config_makefile dlls/geolocation/tests enable_tests
21260 wine_fn_config_makefile dlls/glu32 enable_glu32
21261 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21262 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21263 wine_fn_config_makefile dlls/graphicscapture enable_graphicscapture
21264 wine_fn_config_makefile dlls/graphicscapture/tests enable_tests
21265 wine_fn_config_makefile dlls/hal enable_hal
21266 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21267 wine_fn_config_makefile dlls/hid enable_hid
21268 wine_fn_config_makefile dlls/hid/tests enable_tests
21269 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21270 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21271 wine_fn_config_makefile dlls/hlink enable_hlink
21272 wine_fn_config_makefile dlls/hlink/tests enable_tests
21273 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21274 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21275 wine_fn_config_makefile dlls/hrtfapo enable_hrtfapo
21276 wine_fn_config_makefile dlls/http.sys enable_http_sys
21277 wine_fn_config_makefile dlls/httpapi enable_httpapi
21278 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21279 wine_fn_config_makefile dlls/hvsimanagementapi enable_hvsimanagementapi
21280 wine_fn_config_makefile dlls/hvsimanagementapi/tests enable_tests
21281 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21282 wine_fn_config_makefile dlls/iccvid enable_iccvid
21283 wine_fn_config_makefile dlls/icmp enable_icmp
21284 wine_fn_config_makefile dlls/ieframe enable_ieframe
21285 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21286 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21287 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21288 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21289 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21290 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21291 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21292 wine_fn_config_makefile dlls/imm32 enable_imm32
21293 wine_fn_config_makefile dlls/imm32/tests enable_tests
21294 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21295 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21296 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21297 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21298 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21299 wine_fn_config_makefile dlls/infosoft enable_infosoft
21300 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21301 wine_fn_config_makefile dlls/initpki enable_initpki
21302 wine_fn_config_makefile dlls/inkobj enable_inkobj
21303 wine_fn_config_makefile dlls/inseng enable_inseng
21304 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21305 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21306 wine_fn_config_makefile dlls/iprop enable_iprop
21307 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21308 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21309 wine_fn_config_makefile dlls/itircl enable_itircl
21310 wine_fn_config_makefile dlls/itss enable_itss
21311 wine_fn_config_makefile dlls/itss/tests enable_tests
21312 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21313 wine_fn_config_makefile dlls/jscript enable_jscript
21314 wine_fn_config_makefile dlls/jscript/tests enable_tests
21315 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21316 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21317 wine_fn_config_makefile dlls/kerberos enable_kerberos
21318 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21319 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21320 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21321 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21322 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21323 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21324 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21325 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21326 wine_fn_config_makefile dlls/ksuser enable_ksuser
21327 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21328 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21329 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21330 wine_fn_config_makefile dlls/loadperf enable_loadperf
21331 wine_fn_config_makefile dlls/localspl enable_localspl
21332 wine_fn_config_makefile dlls/localspl/tests enable_tests
21333 wine_fn_config_makefile dlls/localui enable_localui
21334 wine_fn_config_makefile dlls/localui/tests enable_tests
21335 wine_fn_config_makefile dlls/lz32 enable_lz32
21336 wine_fn_config_makefile dlls/lz32/tests enable_tests
21337 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21338 wine_fn_config_makefile dlls/magnification enable_magnification
21339 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21340 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21341 wine_fn_config_makefile dlls/mapistub enable_mapistub
21342 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21343 wine_fn_config_makefile dlls/mcicda enable_mcicda
21344 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21345 wine_fn_config_makefile dlls/mciseq enable_mciseq
21346 wine_fn_config_makefile dlls/mciwave enable_mciwave
21347 wine_fn_config_makefile dlls/mf enable_mf
21348 wine_fn_config_makefile dlls/mf/tests enable_tests
21349 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21350 wine_fn_config_makefile dlls/mferror enable_mferror
21351 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21352 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21353 wine_fn_config_makefile dlls/mfplat enable_mfplat
21354 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21355 wine_fn_config_makefile dlls/mfplay enable_mfplay
21356 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21357 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21358 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21359 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21360 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21361 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21362 wine_fn_config_makefile dlls/midimap enable_midimap
21363 wine_fn_config_makefile dlls/mlang enable_mlang
21364 wine_fn_config_makefile dlls/mlang/tests enable_tests
21365 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21366 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21367 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21368 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21369 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21370 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21371 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21372 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21373 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21374 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21375 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21376 wine_fn_config_makefile dlls/mpr enable_mpr
21377 wine_fn_config_makefile dlls/mpr/tests enable_tests
21378 wine_fn_config_makefile dlls/mprapi enable_mprapi
21379 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21380 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21381 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21382 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21383 wine_fn_config_makefile dlls/msado15 enable_msado15
21384 wine_fn_config_makefile dlls/msado15/tests enable_tests
21385 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21386 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21387 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21388 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21389 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21390 wine_fn_config_makefile dlls/mscms enable_mscms
21391 wine_fn_config_makefile dlls/mscms/tests enable_tests
21392 wine_fn_config_makefile dlls/mscoree enable_mscoree
21393 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21394 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21395 wine_fn_config_makefile dlls/msctf enable_msctf
21396 wine_fn_config_makefile dlls/msctf/tests enable_tests
21397 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21398 wine_fn_config_makefile dlls/msctfp enable_msctfp
21399 wine_fn_config_makefile dlls/msdaps enable_msdaps
21400 wine_fn_config_makefile dlls/msdasql enable_msdasql
21401 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21402 wine_fn_config_makefile dlls/msdelta enable_msdelta
21403 wine_fn_config_makefile dlls/msdmo enable_msdmo
21404 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21405 wine_fn_config_makefile dlls/msdrm enable_msdrm
21406 wine_fn_config_makefile dlls/msftedit enable_msftedit
21407 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21408 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21409 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21410 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21411 wine_fn_config_makefile dlls/mshtml enable_mshtml
21412 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21413 wine_fn_config_makefile dlls/msi enable_msi
21414 wine_fn_config_makefile dlls/msi/tests enable_tests
21415 wine_fn_config_makefile dlls/msident enable_msident
21416 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21417 wine_fn_config_makefile dlls/msimsg enable_msimsg
21418 wine_fn_config_makefile dlls/msimtf enable_msimtf
21419 wine_fn_config_makefile dlls/msisip enable_msisip
21420 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21421 wine_fn_config_makefile dlls/msls31 enable_msls31
21422 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21423 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21424 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21425 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21426 wine_fn_config_makefile dlls/msports enable_msports
21427 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21428 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21429 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21430 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21431 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21432 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21433 wine_fn_config_makefile dlls/mstask enable_mstask
21434 wine_fn_config_makefile dlls/mstask/tests enable_tests
21435 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21436 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21437 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21438 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21439 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21440 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21441 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21442 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21443 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21444 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21445 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21446 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21447 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21448 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21449 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21450 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21451 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21452 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21453 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21454 wine_fn_config_makefile dlls/msvcp140_codecvt_ids enable_msvcp140_codecvt_ids
21455 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21456 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21457 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21458 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21459 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21460 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21461 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21462 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21463 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21464 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21465 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21466 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21467 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21468 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21469 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21470 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21471 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21472 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21473 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21474 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21475 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21476 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21477 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21478 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21479 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21480 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21481 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21482 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21483 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21484 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21485 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21486 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21487 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21488 wine_fn_config_makefile dlls/mswsock enable_mswsock
21489 wine_fn_config_makefile dlls/msxml enable_msxml
21490 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21491 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21492 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21493 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21494 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21495 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21496 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21497 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21498 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21499 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21500 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21501 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21502 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21503 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21504 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21505 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21506 wine_fn_config_makefile dlls/netprofm enable_netprofm
21507 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21508 wine_fn_config_makefile dlls/netutils enable_netutils
21509 wine_fn_config_makefile dlls/newdev enable_newdev
21510 wine_fn_config_makefile dlls/ninput enable_ninput
21511 wine_fn_config_makefile dlls/ninput/tests enable_tests
21512 wine_fn_config_makefile dlls/normaliz enable_normaliz
21513 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21514 wine_fn_config_makefile dlls/npptools enable_npptools
21515 wine_fn_config_makefile dlls/nsi enable_nsi
21516 wine_fn_config_makefile dlls/nsi/tests enable_tests
21517 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21518 wine_fn_config_makefile dlls/ntdll enable_ntdll
21519 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21520 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21521 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21522 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21523 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21524 wine_fn_config_makefile dlls/ntprint enable_ntprint
21525 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21526 wine_fn_config_makefile dlls/objsel enable_objsel
21527 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21528 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21529 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21530 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21531 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21532 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21533 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21534 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21535 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21536 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21537 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21538 wine_fn_config_makefile dlls/ole32 enable_ole32
21539 wine_fn_config_makefile dlls/ole32/tests enable_tests
21540 wine_fn_config_makefile dlls/oleacc enable_oleacc
21541 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21542 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21543 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21544 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21545 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21546 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21547 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21548 wine_fn_config_makefile dlls/oledlg enable_oledlg
21549 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21550 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21551 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21552 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21553 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21554 wine_fn_config_makefile dlls/opcservices enable_opcservices
21555 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21556 wine_fn_config_makefile dlls/opencl enable_opencl
21557 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21558 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21559 wine_fn_config_makefile dlls/packager enable_packager
21560 wine_fn_config_makefile dlls/packager/tests enable_tests
21561 wine_fn_config_makefile dlls/pdh enable_pdh
21562 wine_fn_config_makefile dlls/pdh/tests enable_tests
21563 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21564 wine_fn_config_makefile dlls/pidgen enable_pidgen
21565 wine_fn_config_makefile dlls/powrprof enable_powrprof
21566 wine_fn_config_makefile dlls/printui enable_printui
21567 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21568 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21569 wine_fn_config_makefile dlls/propsys enable_propsys
21570 wine_fn_config_makefile dlls/propsys/tests enable_tests
21571 wine_fn_config_makefile dlls/psapi enable_psapi
21572 wine_fn_config_makefile dlls/psapi/tests enable_tests
21573 wine_fn_config_makefile dlls/pstorec enable_pstorec
21574 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21575 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21576 wine_fn_config_makefile dlls/qasf enable_qasf
21577 wine_fn_config_makefile dlls/qasf/tests enable_tests
21578 wine_fn_config_makefile dlls/qcap enable_qcap
21579 wine_fn_config_makefile dlls/qcap/tests enable_tests
21580 wine_fn_config_makefile dlls/qdvd enable_qdvd
21581 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21582 wine_fn_config_makefile dlls/qedit enable_qedit
21583 wine_fn_config_makefile dlls/qedit/tests enable_tests
21584 wine_fn_config_makefile dlls/qmgr enable_qmgr
21585 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21586 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21587 wine_fn_config_makefile dlls/quartz enable_quartz
21588 wine_fn_config_makefile dlls/quartz/tests enable_tests
21589 wine_fn_config_makefile dlls/query enable_query
21590 wine_fn_config_makefile dlls/qwave enable_qwave
21591 wine_fn_config_makefile dlls/qwave/tests enable_tests
21592 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21593 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21594 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21595 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21596 wine_fn_config_makefile dlls/regapi enable_regapi
21597 wine_fn_config_makefile dlls/resutils enable_resutils
21598 wine_fn_config_makefile dlls/riched20 enable_riched20
21599 wine_fn_config_makefile dlls/riched20/tests enable_tests
21600 wine_fn_config_makefile dlls/riched32 enable_riched32
21601 wine_fn_config_makefile dlls/riched32/tests enable_tests
21602 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21603 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21604 wine_fn_config_makefile dlls/rsabase enable_rsabase
21605 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21606 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21607 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21608 wine_fn_config_makefile dlls/rtutils enable_rtutils
21609 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21610 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21611 wine_fn_config_makefile dlls/samlib enable_samlib
21612 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21613 wine_fn_config_makefile dlls/sapi enable_sapi
21614 wine_fn_config_makefile dlls/sapi/tests enable_tests
21615 wine_fn_config_makefile dlls/sas enable_sas
21616 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21617 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21618 wine_fn_config_makefile dlls/sccbase enable_sccbase
21619 wine_fn_config_makefile dlls/schannel enable_schannel
21620 wine_fn_config_makefile dlls/schannel/tests enable_tests
21621 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21622 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21623 wine_fn_config_makefile dlls/scrobj enable_scrobj
21624 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21625 wine_fn_config_makefile dlls/scrrun enable_scrrun
21626 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21627 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21628 wine_fn_config_makefile dlls/sechost enable_sechost
21629 wine_fn_config_makefile dlls/secur32 enable_secur32
21630 wine_fn_config_makefile dlls/secur32/tests enable_tests
21631 wine_fn_config_makefile dlls/security enable_security
21632 wine_fn_config_makefile dlls/sensapi enable_sensapi
21633 wine_fn_config_makefile dlls/serialui enable_serialui
21634 wine_fn_config_makefile dlls/serialui/tests enable_tests
21635 wine_fn_config_makefile dlls/setupapi enable_setupapi
21636 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21637 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21638 wine_fn_config_makefile dlls/sfc enable_sfc
21639 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21640 wine_fn_config_makefile dlls/shcore enable_shcore
21641 wine_fn_config_makefile dlls/shcore/tests enable_tests
21642 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21643 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21644 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21645 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21646 wine_fn_config_makefile dlls/shell32 enable_shell32
21647 wine_fn_config_makefile dlls/shell32/tests enable_tests
21648 wine_fn_config_makefile dlls/shfolder enable_shfolder
21649 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21650 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21651 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21652 wine_fn_config_makefile dlls/slc enable_slc
21653 wine_fn_config_makefile dlls/slc/tests enable_tests
21654 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21655 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21656 wine_fn_config_makefile dlls/softpub enable_softpub
21657 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21658 wine_fn_config_makefile dlls/spoolss enable_spoolss
21659 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21660 wine_fn_config_makefile dlls/sppc enable_sppc
21661 wine_fn_config_makefile dlls/srclient enable_srclient
21662 wine_fn_config_makefile dlls/srvcli enable_srvcli
21663 wine_fn_config_makefile dlls/sspicli enable_sspicli
21664 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21665 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21666 wine_fn_config_makefile dlls/sti enable_sti
21667 wine_fn_config_makefile dlls/sti/tests enable_tests
21668 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21669 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21670 wine_fn_config_makefile dlls/strmdll enable_strmdll
21671 wine_fn_config_makefile dlls/svrapi enable_svrapi
21672 wine_fn_config_makefile dlls/sxs enable_sxs
21673 wine_fn_config_makefile dlls/sxs/tests enable_tests
21674 wine_fn_config_makefile dlls/system.drv16 enable_win16
21675 wine_fn_config_makefile dlls/t2embed enable_t2embed
21676 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21677 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21678 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21679 wine_fn_config_makefile dlls/taskschd enable_taskschd
21680 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21681 wine_fn_config_makefile dlls/tbs enable_tbs
21682 wine_fn_config_makefile dlls/tdh enable_tdh
21683 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21684 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21685 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21686 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21687 wine_fn_config_makefile dlls/traffic enable_traffic
21688 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21689 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21690 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21691 wine_fn_config_makefile dlls/twinapi.appcore enable_twinapi_appcore
21692 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21693 wine_fn_config_makefile dlls/tzres enable_tzres
21694 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21695 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21696 wine_fn_config_makefile dlls/uianimation enable_uianimation
21697 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21698 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21699 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21700 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21701 wine_fn_config_makefile dlls/unicows enable_unicows
21702 wine_fn_config_makefile dlls/updspapi enable_updspapi
21703 wine_fn_config_makefile dlls/url enable_url
21704 wine_fn_config_makefile dlls/urlmon enable_urlmon
21705 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21706 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21707 wine_fn_config_makefile dlls/user.exe16 enable_win16
21708 wine_fn_config_makefile dlls/user32 enable_user32
21709 wine_fn_config_makefile dlls/user32/tests enable_tests
21710 wine_fn_config_makefile dlls/userenv enable_userenv
21711 wine_fn_config_makefile dlls/userenv/tests enable_tests
21712 wine_fn_config_makefile dlls/usp10 enable_usp10
21713 wine_fn_config_makefile dlls/usp10/tests enable_tests
21714 wine_fn_config_makefile dlls/utildll enable_utildll
21715 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21716 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21717 wine_fn_config_makefile dlls/vbscript enable_vbscript
21718 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21719 wine_fn_config_makefile dlls/vcomp enable_vcomp
21720 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21721 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21722 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21723 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21724 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21725 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21726 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21727 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21728 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21729 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21730 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21731 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21732 wine_fn_config_makefile dlls/version enable_version
21733 wine_fn_config_makefile dlls/version/tests enable_tests
21734 wine_fn_config_makefile dlls/vga enable_vga
21735 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21736 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21737 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21738 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21739 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21740 wine_fn_config_makefile dlls/vssapi enable_vssapi
21741 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21742 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21743 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21744 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21745 wine_fn_config_makefile dlls/w32skrnl enable_win16
21746 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21747 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21748 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21749 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21750 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21751 wine_fn_config_makefile dlls/wdscore enable_wdscore
21752 wine_fn_config_makefile dlls/webservices enable_webservices
21753 wine_fn_config_makefile dlls/webservices/tests enable_tests
21754 wine_fn_config_makefile dlls/websocket enable_websocket
21755 wine_fn_config_makefile dlls/wer enable_wer
21756 wine_fn_config_makefile dlls/wer/tests enable_tests
21757 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21758 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21759 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21760 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21761 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21762 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21763 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21764 wine_fn_config_makefile dlls/win32u enable_win32u
21765 wine_fn_config_makefile dlls/win32u/tests enable_tests
21766 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21767 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21768 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21769 wine_fn_config_makefile dlls/windows.devices.bluetooth enable_windows_devices_bluetooth
21770 wine_fn_config_makefile dlls/windows.devices.bluetooth/tests enable_tests
21771 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21772 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21773 wine_fn_config_makefile dlls/windows.devices.usb enable_windows_devices_usb
21774 wine_fn_config_makefile dlls/windows.devices.usb/tests enable_tests
21775 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21776 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21777 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21778 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21779 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21780 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21781 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21782 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21783 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21784 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21785 wine_fn_config_makefile dlls/windows.media enable_windows_media
21786 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21787 wine_fn_config_makefile dlls/windows.networking.hostname enable_windows_networking_hostname
21788 wine_fn_config_makefile dlls/windows.networking.hostname/tests enable_tests
21789 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21790 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21791 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21792 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21793 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21794 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21795 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21796 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21797 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21798 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21799 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21800 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21801 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21802 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21803 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21804 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21805 wine_fn_config_makefile dlls/wined3d enable_wined3d
21806 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21807 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21808 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21809 wine_fn_config_makefile dlls/winemapi enable_winemapi
21810 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21811 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21812 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21813 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21814 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21815 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21816 wine_fn_config_makefile dlls/winewayland.drv enable_winewayland_drv
21817 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21818 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21819 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21820 wine_fn_config_makefile dlls/wing32 enable_wing32
21821 wine_fn_config_makefile dlls/winhttp enable_winhttp
21822 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21823 wine_fn_config_makefile dlls/wininet enable_wininet
21824 wine_fn_config_makefile dlls/wininet/tests enable_tests
21825 wine_fn_config_makefile dlls/winmm enable_winmm
21826 wine_fn_config_makefile dlls/winmm/tests enable_tests
21827 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21828 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21829 wine_fn_config_makefile dlls/winprint enable_winprint
21830 wine_fn_config_makefile dlls/winscard enable_winscard
21831 wine_fn_config_makefile dlls/winscard/tests enable_tests
21832 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21833 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21834 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21835 wine_fn_config_makefile dlls/winsta enable_winsta
21836 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21837 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21838 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21839 wine_fn_config_makefile dlls/wintrust enable_wintrust
21840 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21841 wine_fn_config_makefile dlls/wintypes enable_wintypes
21842 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21843 wine_fn_config_makefile dlls/winusb enable_winusb
21844 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21845 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21846 wine_fn_config_makefile dlls/wlanui enable_wlanui
21847 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21848 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21849 wine_fn_config_makefile dlls/wmasf enable_wmasf
21850 wine_fn_config_makefile dlls/wmi enable_wmi
21851 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21852 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21853 wine_fn_config_makefile dlls/wmp enable_wmp
21854 wine_fn_config_makefile dlls/wmp/tests enable_tests
21855 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21856 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21857 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21858 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21859 wine_fn_config_makefile dlls/wofutil enable_wofutil
21860 wine_fn_config_makefile dlls/wow32 enable_win16
21861 wine_fn_config_makefile dlls/wow64 enable_wow64
21862 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21863 wine_fn_config_makefile dlls/wow64win enable_wow64win
21864 wine_fn_config_makefile dlls/wpc enable_wpc
21865 wine_fn_config_makefile dlls/wpc/tests enable_tests
21866 wine_fn_config_makefile dlls/wpcap enable_wpcap
21867 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21868 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21869 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21870 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21871 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21872 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21873 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21874 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21875 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21876 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21877 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21878 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21879 wine_fn_config_makefile dlls/wuapi enable_wuapi
21880 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21881 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21882 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21883 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21884 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21885 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21886 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21887 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21888 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21889 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21890 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21891 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21892 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21893 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21894 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21895 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21896 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21897 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21898 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21899 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21900 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21901 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21902 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21903 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21904 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21905 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21906 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21907 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21908 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21909 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21910 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21911 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21912 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21913 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21914 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21915 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21916 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21917 wine_fn_config_makefile dlls/xaudio2_8/tests enable_tests
21918 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21919 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21920 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21921 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21922 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21923 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21924 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21925 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21926 wine_fn_config_makefile dlls/xmllite enable_xmllite
21927 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21928 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21929 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21930 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21931 wine_fn_config_makefile fonts enable_fonts
21932 wine_fn_config_makefile include enable_include
21933 wine_fn_config_makefile libs/adsiid enable_adsiid
21934 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21935 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21936 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21937 wine_fn_config_makefile libs/dxguid enable_dxguid
21938 wine_fn_config_makefile libs/faudio enable_faudio
21939 wine_fn_config_makefile libs/gsm enable_gsm
21940 wine_fn_config_makefile libs/jpeg enable_jpeg
21941 wine_fn_config_makefile libs/jxr enable_jxr
21942 wine_fn_config_makefile libs/lcms2 enable_lcms2
21943 wine_fn_config_makefile libs/ldap enable_ldap
21944 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21945 wine_fn_config_makefile libs/mpg123 enable_mpg123
21946 wine_fn_config_makefile libs/musl enable_musl
21947 wine_fn_config_makefile libs/png enable_png
21948 wine_fn_config_makefile libs/strmbase enable_strmbase
21949 wine_fn_config_makefile libs/strmiids enable_strmiids
21950 wine_fn_config_makefile libs/tiff enable_tiff
21951 wine_fn_config_makefile libs/uuid enable_uuid
21952 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21953 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21954 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21955 wine_fn_config_makefile libs/xml2 enable_xml2
21956 wine_fn_config_makefile libs/xslt enable_xslt
21957 wine_fn_config_makefile libs/zlib enable_zlib
21958 wine_fn_config_makefile libs/zydis enable_zydis
21959 wine_fn_config_makefile loader enable_loader
21960 wine_fn_config_makefile nls enable_nls
21961 wine_fn_config_makefile po enable_po
21962 wine_fn_config_makefile programs/arp enable_arp
21963 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21964 wine_fn_config_makefile programs/attrib enable_attrib
21965 wine_fn_config_makefile programs/cabarc enable_cabarc
21966 wine_fn_config_makefile programs/cacls enable_cacls
21967 wine_fn_config_makefile programs/certutil enable_certutil
21968 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21969 wine_fn_config_makefile programs/clock enable_clock
21970 wine_fn_config_makefile programs/cmd enable_cmd
21971 wine_fn_config_makefile programs/cmd/tests enable_tests
21972 wine_fn_config_makefile programs/conhost enable_conhost
21973 wine_fn_config_makefile programs/conhost/tests enable_tests
21974 wine_fn_config_makefile programs/control enable_control
21975 wine_fn_config_makefile programs/cscript enable_cscript
21976 wine_fn_config_makefile programs/dism enable_dism
21977 wine_fn_config_makefile programs/dllhost enable_dllhost
21978 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21979 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21980 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21981 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21982 wine_fn_config_makefile programs/eject enable_eject
21983 wine_fn_config_makefile programs/expand enable_expand
21984 wine_fn_config_makefile programs/explorer enable_explorer
21985 wine_fn_config_makefile programs/explorer/tests enable_tests
21986 wine_fn_config_makefile programs/extrac32 enable_extrac32
21987 wine_fn_config_makefile programs/fc enable_fc
21988 wine_fn_config_makefile programs/find enable_find
21989 wine_fn_config_makefile programs/find/tests enable_tests
21990 wine_fn_config_makefile programs/findstr enable_findstr
21991 wine_fn_config_makefile programs/findstr/tests enable_tests
21992 wine_fn_config_makefile programs/fsutil enable_fsutil
21993 wine_fn_config_makefile programs/fsutil/tests enable_tests
21994 wine_fn_config_makefile programs/hh enable_hh
21995 wine_fn_config_makefile programs/hostname enable_hostname
21996 wine_fn_config_makefile programs/icacls enable_icacls
21997 wine_fn_config_makefile programs/icinfo enable_icinfo
21998 wine_fn_config_makefile programs/iexplore enable_iexplore
21999 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22000 wine_fn_config_makefile programs/klist enable_klist
22001 wine_fn_config_makefile programs/lodctr enable_lodctr
22002 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22003 wine_fn_config_makefile programs/mshta enable_mshta
22004 wine_fn_config_makefile programs/msidb enable_msidb
22005 wine_fn_config_makefile programs/msiexec enable_msiexec
22006 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22007 wine_fn_config_makefile programs/net enable_net
22008 wine_fn_config_makefile programs/netsh enable_netsh
22009 wine_fn_config_makefile programs/netstat enable_netstat
22010 wine_fn_config_makefile programs/ngen enable_ngen
22011 wine_fn_config_makefile programs/notepad enable_notepad
22012 wine_fn_config_makefile programs/oleview enable_oleview
22013 wine_fn_config_makefile programs/ping enable_ping
22014 wine_fn_config_makefile programs/plugplay enable_plugplay
22015 wine_fn_config_makefile programs/pnputil enable_pnputil
22016 wine_fn_config_makefile programs/powershell enable_powershell
22017 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22018 wine_fn_config_makefile programs/progman enable_progman
22019 wine_fn_config_makefile programs/reg enable_reg
22020 wine_fn_config_makefile programs/reg/tests enable_tests
22021 wine_fn_config_makefile programs/regasm enable_regasm
22022 wine_fn_config_makefile programs/regedit enable_regedit
22023 wine_fn_config_makefile programs/regedit/tests enable_tests
22024 wine_fn_config_makefile programs/regini enable_regini
22025 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22026 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22027 wine_fn_config_makefile programs/robocopy enable_robocopy
22028 wine_fn_config_makefile programs/rpcss enable_rpcss
22029 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22030 wine_fn_config_makefile programs/rundll32 enable_rundll32
22031 wine_fn_config_makefile programs/sc enable_sc
22032 wine_fn_config_makefile programs/sc/tests enable_tests
22033 wine_fn_config_makefile programs/schtasks enable_schtasks
22034 wine_fn_config_makefile programs/schtasks/tests enable_tests
22035 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22036 wine_fn_config_makefile programs/secedit enable_secedit
22037 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22038 wine_fn_config_makefile programs/services enable_services
22039 wine_fn_config_makefile programs/services/tests enable_tests
22040 wine_fn_config_makefile programs/setx enable_setx
22041 wine_fn_config_makefile programs/shutdown enable_shutdown
22042 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22043 wine_fn_config_makefile programs/start enable_start
22044 wine_fn_config_makefile programs/subst enable_subst
22045 wine_fn_config_makefile programs/svchost enable_svchost
22046 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22047 wine_fn_config_makefile programs/taskkill enable_taskkill
22048 wine_fn_config_makefile programs/tasklist enable_tasklist
22049 wine_fn_config_makefile programs/tasklist/tests enable_tests
22050 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22051 wine_fn_config_makefile programs/termsv enable_termsv
22052 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22053 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22054 wine_fn_config_makefile programs/view enable_view
22055 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22056 wine_fn_config_makefile programs/where enable_where
22057 wine_fn_config_makefile programs/whoami enable_whoami
22058 wine_fn_config_makefile programs/wineboot enable_wineboot
22059 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22060 wine_fn_config_makefile programs/winecfg enable_winecfg
22061 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22062 wine_fn_config_makefile programs/winedbg enable_winedbg
22063 wine_fn_config_makefile programs/winedevice enable_winedevice
22064 wine_fn_config_makefile programs/winefile enable_winefile
22065 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22066 wine_fn_config_makefile programs/winemine enable_winemine
22067 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22068 wine_fn_config_makefile programs/winepath enable_winepath
22069 wine_fn_config_makefile programs/winetest enable_winetest
22070 wine_fn_config_makefile programs/winevdm enable_win16
22071 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22072 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22073 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22074 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22075 wine_fn_config_makefile programs/winver enable_winver
22076 wine_fn_config_makefile programs/wmic enable_wmic
22077 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22078 wine_fn_config_makefile programs/wordpad enable_wordpad
22079 wine_fn_config_makefile programs/write enable_write
22080 wine_fn_config_makefile programs/wscript enable_wscript
22081 wine_fn_config_makefile programs/wscript/tests enable_tests
22082 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22083 wine_fn_config_makefile programs/wusa enable_wusa
22084 wine_fn_config_makefile programs/xcopy enable_xcopy
22085 wine_fn_config_makefile programs/xcopy/tests enable_tests
22086 wine_fn_config_makefile server enable_server
22087 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22089 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22090 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22091 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22092 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22093 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22094 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22095 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22098 as_fn_append CONFIGURE_TARGETS " TAGS"
22099 as_fn_append CONFIGURE_TARGETS " tags"
22100 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22101 as_fn_append CONFIGURE_TARGETS " config.log"
22102 as_fn_append CONFIGURE_TARGETS " config.status"
22103 as_fn_append CONFIGURE_TARGETS " include/config.h"
22104 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22105 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22107 if test "x$enable_tools" != xno
22108 then
22109 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22110 ac_config_commands="$ac_config_commands tools/makedep"
22114 ac_config_commands="$ac_config_commands Makefile"
22118 SHELL=/bin/sh
22121 as_fn_append wine_rules "
22122 all: wine
22123 @echo \"Wine build complete.\"
22124 .INIT: Makefile
22125 .MAKEFILEDEPS:
22126 all: Makefile
22127 Makefile: config.status \$(MAKEDEP)
22128 @./config.status Makefile
22129 depend: \$(MAKEDEP)
22130 \$(MAKEDEP)$makedep_flags"
22133 as_fn_append wine_rules "
22134 config.status: ${wine_srcdir}configure
22135 @./config.status --recheck
22136 include/config.h: include/stamp-h
22137 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22138 @./config.status include/config.h include/stamp-h"
22140 if test "x$enable_maintainer_mode" = xyes
22141 then
22142 as_fn_append wine_rules "
22143 configure: configure.ac aclocal.m4
22144 autoconf --warnings=all
22145 include/config.h.in: include/stamp-h.in
22146 include/stamp-h.in: configure.ac aclocal.m4
22147 autoheader --warnings=all
22148 @echo timestamp > \$@"
22151 if test "x$enable_tools" != xno
22152 then
22153 as_fn_append wine_rules "
22154 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22155 @./config.status tools/makedep
22156 Makefile: tools/makedep$ac_exeext"
22157 else
22158 as_fn_append wine_rules "
22159 \$(MAKEDEP):
22160 @echo \"You need to run make in $toolsdir first\" && false"
22164 if test -n "$with_wine64"
22165 then
22166 case "$with_wine64" in
22167 /*) reldir="" ;;
22168 *) reldir="../" ;;
22169 esac
22170 rm -f fonts server 2>/dev/null
22171 as_fn_append wine_rules "
22172 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22173 loader/wine64 loader/wine64-preloader:
22174 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22175 $with_wine64/loader/wine:
22176 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22177 $with_wine64/loader/wine-preloader:
22178 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22179 clean::
22180 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22181 else
22182 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22183 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22184 fonts \
22185 loader/wine.inf \
22186 nls \
22187 programs/msidb/msidb \
22188 programs/msiexec/msiexec \
22189 programs/notepad/notepad \
22190 programs/regedit/regedit \
22191 programs/regsvr32/regsvr32 \
22192 programs/wineboot/wineboot \
22193 programs/winecfg/winecfg \
22194 programs/wineconsole/wineconsole \
22195 programs/winedbg/winedbg \
22196 programs/winefile/winefile \
22197 programs/winemine/winemine \
22198 programs/winepath/winepath \
22199 server/wineserver"
22201 case $host_os in
22202 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22203 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22204 esac
22208 as_fn_append wine_rules "
22209 distclean:: clean
22210 rm -rf autom4te.cache
22211 maintainer-clean::
22212 rm -f configure include/config.h.in"
22215 as_fn_append wine_rules "
22216 dlls/ntdll/unix/version.c: dummy
22217 @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)
22218 programs/winetest/build.rc: dummy
22219 @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)
22220 programs/winetest/build.nfo:
22221 @-\$(CC) -v 2>\$@
22222 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
22223 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22224 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22227 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22229 as_fn_append wine_rules "
22230 TAGS etags:
22231 rm -f TAGS
22232 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22233 tags ctags:
22234 rm -f tags
22235 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22236 dummy:
22237 .PHONY: depend dummy install-manpages"
22239 printf "%s\n" " done" >&6
22240 cat >confcache <<\_ACEOF
22241 # This file is a shell script that caches the results of configure
22242 # tests run on this system so they can be shared between configure
22243 # scripts and configure runs, see configure's option --config-cache.
22244 # It is not useful on other systems. If it contains results you don't
22245 # want to keep, you may remove or edit it.
22247 # config.status only pays attention to the cache file if you give it
22248 # the --recheck option to rerun configure.
22250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22252 # following values.
22254 _ACEOF
22256 # The following way of writing the cache mishandles newlines in values,
22257 # but we know of no workaround that is simple, portable, and efficient.
22258 # So, we kill variables containing newlines.
22259 # Ultrix sh set writes to stderr and can't be redirected directly,
22260 # and sets the high bit in the cache file unless we assign to the vars.
22262 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22263 eval ac_val=\$$ac_var
22264 case $ac_val in #(
22265 *${as_nl}*)
22266 case $ac_var in #(
22267 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22268 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22269 esac
22270 case $ac_var in #(
22271 _ | IFS | as_nl) ;; #(
22272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22273 *) { eval $ac_var=; unset $ac_var;} ;;
22274 esac ;;
22275 esac
22276 done
22278 (set) 2>&1 |
22279 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22280 *${as_nl}ac_space=\ *)
22281 # `set' does not quote correctly, so add quotes: double-quote
22282 # substitution turns \\\\ into \\, and sed turns \\ into \.
22283 sed -n \
22284 "s/'/'\\\\''/g;
22285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22286 ;; #(
22288 # `set' quotes correctly as required by POSIX, so do not add quotes.
22289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22291 esac |
22292 sort
22294 sed '
22295 /^ac_cv_env_/b end
22296 t clear
22297 :clear
22298 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22299 t end
22300 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22301 :end' >>confcache
22302 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22303 if test -w "$cache_file"; then
22304 if test "x$cache_file" != "x/dev/null"; then
22305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22306 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22307 if test ! -f "$cache_file" || test -h "$cache_file"; then
22308 cat confcache >"$cache_file"
22309 else
22310 case $cache_file in #(
22311 */* | ?:*)
22312 mv -f confcache "$cache_file"$$ &&
22313 mv -f "$cache_file"$$ "$cache_file" ;; #(
22315 mv -f confcache "$cache_file" ;;
22316 esac
22319 else
22320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22321 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22324 rm -f confcache
22326 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22327 # Let make expand exec_prefix.
22328 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22330 DEFS=-DHAVE_CONFIG_H
22332 ac_libobjs=
22333 ac_ltlibobjs=
22335 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22336 # 1. Remove the extension, and $U if already installed.
22337 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22338 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22339 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22340 # will be set to the directory where LIBOBJS objects are built.
22341 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22342 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22343 done
22344 LIBOBJS=$ac_libobjs
22346 LTLIBOBJS=$ac_ltlibobjs
22350 : "${CONFIG_STATUS=./config.status}"
22351 ac_write_fail=0
22352 ac_clean_files_save=$ac_clean_files
22353 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22355 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22356 as_write_fail=0
22357 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22358 #! $SHELL
22359 # Generated by $as_me.
22360 # Run this file to recreate the current configuration.
22361 # Compiler output produced by configure, useful for debugging
22362 # configure, is in config.log if it exists.
22364 debug=false
22365 ac_cs_recheck=false
22366 ac_cs_silent=false
22368 SHELL=\${CONFIG_SHELL-$SHELL}
22369 export SHELL
22370 _ASEOF
22371 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22372 ## -------------------- ##
22373 ## M4sh Initialization. ##
22374 ## -------------------- ##
22376 # Be more Bourne compatible
22377 DUALCASE=1; export DUALCASE # for MKS sh
22378 as_nop=:
22379 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22380 then :
22381 emulate sh
22382 NULLCMD=:
22383 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22384 # is contrary to our usage. Disable this feature.
22385 alias -g '${1+"$@"}'='"$@"'
22386 setopt NO_GLOB_SUBST
22387 else $as_nop
22388 case `(set -o) 2>/dev/null` in #(
22389 *posix*) :
22390 set -o posix ;; #(
22391 *) :
22393 esac
22398 # Reset variables that may have inherited troublesome values from
22399 # the environment.
22401 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22402 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22403 # side effect of setting IFS to empty, thus disabling word splitting.)
22404 # Quoting is to prevent editors from complaining about space-tab.
22405 as_nl='
22407 export as_nl
22408 IFS=" "" $as_nl"
22410 PS1='$ '
22411 PS2='> '
22412 PS4='+ '
22414 # Ensure predictable behavior from utilities with locale-dependent output.
22415 LC_ALL=C
22416 export LC_ALL
22417 LANGUAGE=C
22418 export LANGUAGE
22420 # We cannot yet rely on "unset" to work, but we need these variables
22421 # to be unset--not just set to an empty or harmless value--now, to
22422 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22423 # also avoids known problems related to "unset" and subshell syntax
22424 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22425 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22426 do eval test \${$as_var+y} \
22427 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22428 done
22430 # Ensure that fds 0, 1, and 2 are open.
22431 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22432 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22433 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22435 # The user is always right.
22436 if ${PATH_SEPARATOR+false} :; then
22437 PATH_SEPARATOR=:
22438 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22439 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22440 PATH_SEPARATOR=';'
22445 # Find who we are. Look in the path if we contain no directory separator.
22446 as_myself=
22447 case $0 in #((
22448 *[\\/]* ) as_myself=$0 ;;
22449 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22450 for as_dir in $PATH
22452 IFS=$as_save_IFS
22453 case $as_dir in #(((
22454 '') as_dir=./ ;;
22455 */) ;;
22456 *) as_dir=$as_dir/ ;;
22457 esac
22458 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22459 done
22460 IFS=$as_save_IFS
22463 esac
22464 # We did not find ourselves, most probably we were run as `sh COMMAND'
22465 # in which case we are not to be found in the path.
22466 if test "x$as_myself" = x; then
22467 as_myself=$0
22469 if test ! -f "$as_myself"; then
22470 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22471 exit 1
22476 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22477 # ----------------------------------------
22478 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22479 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22480 # script with STATUS, using 1 if that was 0.
22481 as_fn_error ()
22483 as_status=$1; test $as_status -eq 0 && as_status=1
22484 if test "$4"; then
22485 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22488 printf "%s\n" "$as_me: error: $2" >&2
22489 as_fn_exit $as_status
22490 } # as_fn_error
22494 # as_fn_set_status STATUS
22495 # -----------------------
22496 # Set $? to STATUS, without forking.
22497 as_fn_set_status ()
22499 return $1
22500 } # as_fn_set_status
22502 # as_fn_exit STATUS
22503 # -----------------
22504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22505 as_fn_exit ()
22507 set +e
22508 as_fn_set_status $1
22509 exit $1
22510 } # as_fn_exit
22512 # as_fn_unset VAR
22513 # ---------------
22514 # Portably unset VAR.
22515 as_fn_unset ()
22517 { eval $1=; unset $1;}
22519 as_unset=as_fn_unset
22521 # as_fn_append VAR VALUE
22522 # ----------------------
22523 # Append the text in VALUE to the end of the definition contained in VAR. Take
22524 # advantage of any shell optimizations that allow amortized linear growth over
22525 # repeated appends, instead of the typical quadratic growth present in naive
22526 # implementations.
22527 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22528 then :
22529 eval 'as_fn_append ()
22531 eval $1+=\$2
22533 else $as_nop
22534 as_fn_append ()
22536 eval $1=\$$1\$2
22538 fi # as_fn_append
22540 # as_fn_arith ARG...
22541 # ------------------
22542 # Perform arithmetic evaluation on the ARGs, and store the result in the
22543 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22544 # must be portable across $(()) and expr.
22545 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22546 then :
22547 eval 'as_fn_arith ()
22549 as_val=$(( $* ))
22551 else $as_nop
22552 as_fn_arith ()
22554 as_val=`expr "$@" || test $? -eq 1`
22556 fi # as_fn_arith
22559 if expr a : '\(a\)' >/dev/null 2>&1 &&
22560 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22561 as_expr=expr
22562 else
22563 as_expr=false
22566 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22567 as_basename=basename
22568 else
22569 as_basename=false
22572 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22573 as_dirname=dirname
22574 else
22575 as_dirname=false
22578 as_me=`$as_basename -- "$0" ||
22579 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22580 X"$0" : 'X\(//\)$' \| \
22581 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22582 printf "%s\n" X/"$0" |
22583 sed '/^.*\/\([^/][^/]*\)\/*$/{
22584 s//\1/
22587 /^X\/\(\/\/\)$/{
22588 s//\1/
22591 /^X\/\(\/\).*/{
22592 s//\1/
22595 s/.*/./; q'`
22597 # Avoid depending upon Character Ranges.
22598 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22599 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22600 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22601 as_cr_digits='0123456789'
22602 as_cr_alnum=$as_cr_Letters$as_cr_digits
22605 # Determine whether it's possible to make 'echo' print without a newline.
22606 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22607 # for compatibility with existing Makefiles.
22608 ECHO_C= ECHO_N= ECHO_T=
22609 case `echo -n x` in #(((((
22610 -n*)
22611 case `echo 'xy\c'` in
22612 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22613 xy) ECHO_C='\c';;
22614 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22615 ECHO_T=' ';;
22616 esac;;
22618 ECHO_N='-n';;
22619 esac
22621 # For backward compatibility with old third-party macros, we provide
22622 # the shell variables $as_echo and $as_echo_n. New code should use
22623 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22624 as_echo='printf %s\n'
22625 as_echo_n='printf %s'
22627 rm -f conf$$ conf$$.exe conf$$.file
22628 if test -d conf$$.dir; then
22629 rm -f conf$$.dir/conf$$.file
22630 else
22631 rm -f conf$$.dir
22632 mkdir conf$$.dir 2>/dev/null
22634 if (echo >conf$$.file) 2>/dev/null; then
22635 if ln -s conf$$.file conf$$ 2>/dev/null; then
22636 as_ln_s='ln -s'
22637 # ... but there are two gotchas:
22638 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22639 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22640 # In both cases, we have to default to `cp -pR'.
22641 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22642 as_ln_s='cp -pR'
22643 elif ln conf$$.file conf$$ 2>/dev/null; then
22644 as_ln_s=ln
22645 else
22646 as_ln_s='cp -pR'
22648 else
22649 as_ln_s='cp -pR'
22651 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22652 rmdir conf$$.dir 2>/dev/null
22655 # as_fn_mkdir_p
22656 # -------------
22657 # Create "$as_dir" as a directory, including parents if necessary.
22658 as_fn_mkdir_p ()
22661 case $as_dir in #(
22662 -*) as_dir=./$as_dir;;
22663 esac
22664 test -d "$as_dir" || eval $as_mkdir_p || {
22665 as_dirs=
22666 while :; do
22667 case $as_dir in #(
22668 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22669 *) as_qdir=$as_dir;;
22670 esac
22671 as_dirs="'$as_qdir' $as_dirs"
22672 as_dir=`$as_dirname -- "$as_dir" ||
22673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22674 X"$as_dir" : 'X\(//\)[^/]' \| \
22675 X"$as_dir" : 'X\(//\)$' \| \
22676 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22677 printf "%s\n" X"$as_dir" |
22678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22679 s//\1/
22682 /^X\(\/\/\)[^/].*/{
22683 s//\1/
22686 /^X\(\/\/\)$/{
22687 s//\1/
22690 /^X\(\/\).*/{
22691 s//\1/
22694 s/.*/./; q'`
22695 test -d "$as_dir" && break
22696 done
22697 test -z "$as_dirs" || eval "mkdir $as_dirs"
22698 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22701 } # as_fn_mkdir_p
22702 if mkdir -p . 2>/dev/null; then
22703 as_mkdir_p='mkdir -p "$as_dir"'
22704 else
22705 test -d ./-p && rmdir ./-p
22706 as_mkdir_p=false
22710 # as_fn_executable_p FILE
22711 # -----------------------
22712 # Test if FILE is an executable regular file.
22713 as_fn_executable_p ()
22715 test -f "$1" && test -x "$1"
22716 } # as_fn_executable_p
22717 as_test_x='test -x'
22718 as_executable_p=as_fn_executable_p
22720 # Sed expression to map a string onto a valid CPP name.
22721 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22723 # Sed expression to map a string onto a valid variable name.
22724 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22727 exec 6>&1
22728 ## ----------------------------------- ##
22729 ## Main body of $CONFIG_STATUS script. ##
22730 ## ----------------------------------- ##
22731 _ASEOF
22732 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22735 # Save the log message, to keep $0 and so on meaningful, and to
22736 # report actual input values of CONFIG_FILES etc. instead of their
22737 # values after options handling.
22738 ac_log="
22739 This file was extended by Wine $as_me 8.14, which was
22740 generated by GNU Autoconf 2.71. Invocation command line was
22742 CONFIG_FILES = $CONFIG_FILES
22743 CONFIG_HEADERS = $CONFIG_HEADERS
22744 CONFIG_LINKS = $CONFIG_LINKS
22745 CONFIG_COMMANDS = $CONFIG_COMMANDS
22746 $ $0 $@
22748 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22751 _ACEOF
22754 case $ac_config_headers in *"
22755 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22756 esac
22759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22760 # Files that config.status was made for.
22761 config_headers="$ac_config_headers"
22762 config_links="$ac_config_links"
22763 config_commands="$ac_config_commands"
22765 _ACEOF
22767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22768 ac_cs_usage="\
22769 \`$as_me' instantiates files and other configuration actions
22770 from templates according to the current configuration. Unless the files
22771 and actions are specified as TAGs, all are instantiated by default.
22773 Usage: $0 [OPTION]... [TAG]...
22775 -h, --help print this help, then exit
22776 -V, --version print version number and configuration settings, then exit
22777 --config print configuration, then exit
22778 -q, --quiet, --silent
22779 do not print progress messages
22780 -d, --debug don't remove temporary files
22781 --recheck update $as_me by reconfiguring in the same conditions
22782 --header=FILE[:TEMPLATE]
22783 instantiate the configuration header FILE
22785 Configuration headers:
22786 $config_headers
22788 Configuration links:
22789 $config_links
22791 Configuration commands:
22792 $config_commands
22794 Report bugs to <wine-devel@winehq.org>.
22795 Wine home page: <https://www.winehq.org>."
22797 _ACEOF
22798 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22799 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22801 ac_cs_config='$ac_cs_config_escaped'
22802 ac_cs_version="\\
22803 Wine config.status 8.14
22804 configured by $0, generated by GNU Autoconf 2.71,
22805 with options \\"\$ac_cs_config\\"
22807 Copyright (C) 2021 Free Software Foundation, Inc.
22808 This config.status script is free software; the Free Software Foundation
22809 gives unlimited permission to copy, distribute and modify it."
22811 ac_pwd='$ac_pwd'
22812 srcdir='$srcdir'
22813 test -n "\$AWK" || AWK=awk
22814 _ACEOF
22816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22817 # The default lists apply if the user does not specify any file.
22818 ac_need_defaults=:
22819 while test $# != 0
22821 case $1 in
22822 --*=?*)
22823 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22824 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22825 ac_shift=:
22827 --*=)
22828 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22829 ac_optarg=
22830 ac_shift=:
22833 ac_option=$1
22834 ac_optarg=$2
22835 ac_shift=shift
22837 esac
22839 case $ac_option in
22840 # Handling of the options.
22841 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22842 ac_cs_recheck=: ;;
22843 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22844 printf "%s\n" "$ac_cs_version"; exit ;;
22845 --config | --confi | --conf | --con | --co | --c )
22846 printf "%s\n" "$ac_cs_config"; exit ;;
22847 --debug | --debu | --deb | --de | --d | -d )
22848 debug=: ;;
22849 --header | --heade | --head | --hea )
22850 $ac_shift
22851 case $ac_optarg in
22852 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22853 esac
22854 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22855 ac_need_defaults=false;;
22856 --he | --h)
22857 # Conflict between --help and --header
22858 as_fn_error $? "ambiguous option: \`$1'
22859 Try \`$0 --help' for more information.";;
22860 --help | --hel | -h )
22861 printf "%s\n" "$ac_cs_usage"; exit ;;
22862 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22863 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22864 ac_cs_silent=: ;;
22866 # This is an error.
22867 -*) as_fn_error $? "unrecognized option: \`$1'
22868 Try \`$0 --help' for more information." ;;
22870 *) as_fn_append ac_config_targets " $1"
22871 ac_need_defaults=false ;;
22873 esac
22874 shift
22875 done
22877 ac_configure_extra_args=
22879 if $ac_cs_silent; then
22880 exec 6>/dev/null
22881 ac_configure_extra_args="$ac_configure_extra_args --silent"
22884 _ACEOF
22885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22886 if \$ac_cs_recheck; then
22887 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22888 shift
22889 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22890 CONFIG_SHELL='$SHELL'
22891 export CONFIG_SHELL
22892 exec "\$@"
22895 _ACEOF
22896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22897 exec 5>>config.log
22899 echo
22900 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22901 ## Running $as_me. ##
22902 _ASBOX
22903 printf "%s\n" "$ac_log"
22904 } >&5
22906 _ACEOF
22907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22909 # INIT-COMMANDS
22911 wine_fn_output_makedep ()
22913 as_dir=tools; as_fn_mkdir_p
22914 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ -DWINE_UNIX_LIB $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22916 wine_fn_output_makefile ()
22918 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22919 # This Makefile understands the following targets:
22921 # all (default): build wine
22922 # clean: remove all intermediate files
22923 # distclean: also remove all files created by configure
22924 # test: run tests
22925 # testclean: clean test results to force running all tests again
22926 # install-lib: install libraries needed to run applications
22927 # install-dev: install development environment
22928 # install: install everything
22929 # uninstall: uninstall everything
22930 # ctags: create a tags file for vim and others.
22931 # etags: create a TAGS file for Emacs.
22933 SHELL = $SHELL
22934 PATH_SEPARATOR = $PATH_SEPARATOR
22935 PACKAGE_NAME = $PACKAGE_NAME
22936 PACKAGE_TARNAME = $PACKAGE_TARNAME
22937 PACKAGE_VERSION = $PACKAGE_VERSION
22938 PACKAGE_STRING = $PACKAGE_STRING
22939 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22940 PACKAGE_URL = $PACKAGE_URL
22941 exec_prefix = $exec_prefix
22942 prefix = $prefix
22943 program_transform_name = $program_transform_name
22944 bindir = $bindir
22945 sbindir = $sbindir
22946 libexecdir = $libexecdir
22947 datarootdir = $datarootdir
22948 datadir = $datadir
22949 sysconfdir = $sysconfdir
22950 sharedstatedir = $sharedstatedir
22951 localstatedir = $localstatedir
22952 runstatedir = $runstatedir
22953 includedir = $includedir
22954 oldincludedir = $oldincludedir
22955 docdir = $docdir
22956 infodir = $infodir
22957 htmldir = $htmldir
22958 dvidir = $dvidir
22959 pdfdir = $pdfdir
22960 psdir = $psdir
22961 libdir = $libdir
22962 localedir = $localedir
22963 mandir = $mandir
22964 DEFS = $DEFS
22965 ECHO_C = $ECHO_C
22966 ECHO_N = $ECHO_N
22967 ECHO_T = $ECHO_T
22968 LIBS = $LIBS
22969 build_alias = $build_alias
22970 host_alias = $host_alias
22971 target_alias = $target_alias
22972 system_dllpath = $system_dllpath
22973 build = $build
22974 build_cpu = $build_cpu
22975 build_vendor = $build_vendor
22976 build_os = $build_os
22977 host = $host
22978 host_cpu = $host_cpu
22979 host_vendor = $host_vendor
22980 host_os = $host_os
22981 dlldir = $dlldir
22982 fontdir = $fontdir
22983 nlsdir = $nlsdir
22984 srcdir = $srcdir
22985 SET_MAKE = $SET_MAKE
22986 CC = $CC
22987 CFLAGS = $CFLAGS
22988 LDFLAGS = $LDFLAGS
22989 CPPFLAGS = $CPPFLAGS
22990 ac_ct_CC = $ac_ct_CC
22991 EXEEXT = $EXEEXT
22992 OBJEXT = $OBJEXT
22993 CXX = $CXX
22994 CXXFLAGS = $CXXFLAGS
22995 ac_ct_CXX = $ac_ct_CXX
22996 CPPBIN = $CPPBIN
22997 LD = $LD
22998 TARGETFLAGS = $TARGETFLAGS
22999 toolsext = $toolsext
23000 HOST_ARCH = $HOST_ARCH
23001 aarch64_CC = $aarch64_CC
23002 aarch64_CFLAGS = $aarch64_CFLAGS
23003 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23004 aarch64_LDFLAGS = $aarch64_LDFLAGS
23005 aarch64_DEBUG = $aarch64_DEBUG
23006 aarch64_TARGET = $aarch64_TARGET
23007 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23008 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23009 arm_CC = $arm_CC
23010 arm_CFLAGS = $arm_CFLAGS
23011 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23012 arm_LDFLAGS = $arm_LDFLAGS
23013 arm_DEBUG = $arm_DEBUG
23014 arm_TARGET = $arm_TARGET
23015 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23016 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23017 i386_CC = $i386_CC
23018 i386_CFLAGS = $i386_CFLAGS
23019 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23020 i386_LDFLAGS = $i386_LDFLAGS
23021 i386_DEBUG = $i386_DEBUG
23022 i386_TARGET = $i386_TARGET
23023 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23024 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23025 x86_64_CC = $x86_64_CC
23026 x86_64_CFLAGS = $x86_64_CFLAGS
23027 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23028 x86_64_LDFLAGS = $x86_64_LDFLAGS
23029 x86_64_DEBUG = $x86_64_DEBUG
23030 x86_64_TARGET = $x86_64_TARGET
23031 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23032 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23033 toolsdir = $toolsdir
23034 MAKEDEP = $MAKEDEP
23035 RUNTESTFLAGS = $RUNTESTFLAGS
23036 SED_CMD = $SED_CMD
23037 FLEX = $FLEX
23038 BISON = $BISON
23039 AR = $AR
23040 ac_ct_AR = $ac_ct_AR
23041 STRIP = $STRIP
23042 RANLIB = $RANLIB
23043 LN_S = $LN_S
23044 GREP = $GREP
23045 EGREP = $EGREP
23046 LDCONFIG = $LDCONFIG
23047 MSGFMT = $MSGFMT
23048 PKG_CONFIG = $PKG_CONFIG
23049 FONTFORGE = $FONTFORGE
23050 RSVG = $RSVG
23051 CONVERT = $CONVERT
23052 ICOTOOL = $ICOTOOL
23053 I386_LIBS = $I386_LIBS
23054 OPENGL_LIBS = $OPENGL_LIBS
23055 DLLFLAGS = $DLLFLAGS
23056 LDDLLFLAGS = $LDDLLFLAGS
23057 LDEXECFLAGS = $LDEXECFLAGS
23058 EXTRACFLAGS = $EXTRACFLAGS
23059 UNIXDLLFLAGS = $UNIXDLLFLAGS
23060 UNIXLDFLAGS = $UNIXLDFLAGS
23061 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23062 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23063 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23064 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23065 DLLEXT = $DLLEXT
23066 LDD = $LDD
23067 OTOOL = $OTOOL
23068 READELF = $READELF
23069 SUBDIRS = $SUBDIRS
23070 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23071 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23072 CARBON_LIBS = $CARBON_LIBS
23073 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23074 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23075 IOKIT_LIBS = $IOKIT_LIBS
23076 METAL_LIBS = $METAL_LIBS
23077 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23078 CORESERVICES_LIBS = $CORESERVICES_LIBS
23079 APPKIT_LIBS = $APPKIT_LIBS
23080 SECURITY_LIBS = $SECURITY_LIBS
23081 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23082 COREAUDIO_LIBS = $COREAUDIO_LIBS
23083 OPENCL_LIBS = $OPENCL_LIBS
23084 OBJC = $OBJC
23085 OBJCFLAGS = $OBJCFLAGS
23086 ac_ct_OBJC = $ac_ct_OBJC
23087 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23088 PE_ARCHS = $PE_ARCHS
23089 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23090 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23091 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23092 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23093 GSM_PE_LIBS = $GSM_PE_LIBS
23094 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23095 JPEG_PE_LIBS = $JPEG_PE_LIBS
23096 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23097 JXR_PE_LIBS = $JXR_PE_LIBS
23098 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23099 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23100 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23101 LDAP_PE_LIBS = $LDAP_PE_LIBS
23102 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23103 MPG123_PE_LIBS = $MPG123_PE_LIBS
23104 MUSL_PE_CFLAGS = $MUSL_PE_CFLAGS
23105 MUSL_PE_LIBS = $MUSL_PE_LIBS
23106 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23107 PNG_PE_LIBS = $PNG_PE_LIBS
23108 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23109 TIFF_PE_LIBS = $TIFF_PE_LIBS
23110 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23111 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23112 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23113 XML2_PE_LIBS = $XML2_PE_LIBS
23114 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23115 XSLT_PE_LIBS = $XSLT_PE_LIBS
23116 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23117 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23118 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23119 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23120 PTHREAD_LIBS = $PTHREAD_LIBS
23121 XMKMF = $XMKMF
23122 CPP = $CPP
23123 X_CFLAGS = $X_CFLAGS
23124 X_PRE_LIBS = $X_PRE_LIBS
23125 X_LIBS = $X_LIBS
23126 X_EXTRA_LIBS = $X_EXTRA_LIBS
23127 WAYLAND_CLIENT_CFLAGS = $WAYLAND_CLIENT_CFLAGS
23128 WAYLAND_CLIENT_LIBS = $WAYLAND_CLIENT_LIBS
23129 WAYLAND_SCANNER = $WAYLAND_SCANNER
23130 PCAP_LIBS = $PCAP_LIBS
23131 PCSCLITE_LIBS = $PCSCLITE_LIBS
23132 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23133 INOTIFY_LIBS = $INOTIFY_LIBS
23134 DBUS_CFLAGS = $DBUS_CFLAGS
23135 DBUS_LIBS = $DBUS_LIBS
23136 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23137 GNUTLS_LIBS = $GNUTLS_LIBS
23138 SANE_CFLAGS = $SANE_CFLAGS
23139 SANE_LIBS = $SANE_LIBS
23140 USB_CFLAGS = $USB_CFLAGS
23141 USB_LIBS = $USB_LIBS
23142 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23143 GPHOTO2_LIBS = $GPHOTO2_LIBS
23144 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23145 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23146 RESOLV_LIBS = $RESOLV_LIBS
23147 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23148 FREETYPE_LIBS = $FREETYPE_LIBS
23149 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23150 PULSE_CFLAGS = $PULSE_CFLAGS
23151 PULSE_LIBS = $PULSE_LIBS
23152 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23153 GSTREAMER_LIBS = $GSTREAMER_LIBS
23154 ALSA_LIBS = $ALSA_LIBS
23155 OSS4_CFLAGS = $OSS4_CFLAGS
23156 OSS4_LIBS = $OSS4_LIBS
23157 UDEV_CFLAGS = $UDEV_CFLAGS
23158 UDEV_LIBS = $UDEV_LIBS
23159 UNWIND_CFLAGS = $UNWIND_CFLAGS
23160 UNWIND_LIBS = $UNWIND_LIBS
23161 SDL2_CFLAGS = $SDL2_CFLAGS
23162 SDL2_LIBS = $SDL2_LIBS
23163 CAPI20_CFLAGS = $CAPI20_CFLAGS
23164 CAPI20_LIBS = $CAPI20_LIBS
23165 CUPS_CFLAGS = $CUPS_CFLAGS
23166 CUPS_LIBS = $CUPS_LIBS
23167 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23168 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23169 KRB5_CFLAGS = $KRB5_CFLAGS
23170 KRB5_LIBS = $KRB5_LIBS
23171 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23172 GSSAPI_LIBS = $GSSAPI_LIBS
23173 PROCSTAT_LIBS = $PROCSTAT_LIBS
23174 NETAPI_CFLAGS = $NETAPI_CFLAGS
23175 NETAPI_LIBS = $NETAPI_LIBS
23176 MSVCRTFLAGS = $MSVCRTFLAGS
23177 DELAYLOADFLAG = $DELAYLOADFLAG
23178 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23179 RT_LIBS = $RT_LIBS
23180 TAGSFLAGS = $TAGSFLAGS
23181 LIBOBJS = $LIBOBJS
23182 LTLIBOBJS = $LTLIBOBJS
23183 $SET_MAKE
23184 $wine_rules
23185 _WINE_EOF
23186 as_fn_error $? "could not create Makefile" "$LINENO" 5
23189 _ACEOF
23191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23193 # Handling of arguments.
23194 for ac_config_target in $ac_config_targets
23196 case $ac_config_target in
23197 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23198 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23199 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23200 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23201 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23202 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23204 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23205 esac
23206 done
23209 # If the user did not use the arguments to specify the items to instantiate,
23210 # then the envvar interface is used. Set only those that are not.
23211 # We use the long form for the default assignment because of an extremely
23212 # bizarre bug on SunOS 4.1.3.
23213 if $ac_need_defaults; then
23214 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23215 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23216 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23219 # Have a temporary directory for convenience. Make it in the build tree
23220 # simply because there is no reason against having it here, and in addition,
23221 # creating and moving files from /tmp can sometimes cause problems.
23222 # Hook for its removal unless debugging.
23223 # Note that there is a small window in which the directory will not be cleaned:
23224 # after its creation but before its name has been assigned to `$tmp'.
23225 $debug ||
23227 tmp= ac_tmp=
23228 trap 'exit_status=$?
23229 : "${ac_tmp:=$tmp}"
23230 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23232 trap 'as_fn_exit 1' 1 2 13 15
23234 # Create a (secure) tmp directory for tmp files.
23237 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23238 test -d "$tmp"
23239 } ||
23241 tmp=./conf$$-$RANDOM
23242 (umask 077 && mkdir "$tmp")
23243 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23244 ac_tmp=$tmp
23246 # Set up the scripts for CONFIG_HEADERS section.
23247 # No need to generate them if there are no CONFIG_HEADERS.
23248 # This happens for instance with `./config.status Makefile'.
23249 if test -n "$CONFIG_HEADERS"; then
23250 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23251 BEGIN {
23252 _ACEOF
23254 # Transform confdefs.h into an awk script `defines.awk', embedded as
23255 # here-document in config.status, that substitutes the proper values into
23256 # config.h.in to produce config.h.
23258 # Create a delimiter string that does not exist in confdefs.h, to ease
23259 # handling of long lines.
23260 ac_delim='%!_!# '
23261 for ac_last_try in false false :; do
23262 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23263 if test -z "$ac_tt"; then
23264 break
23265 elif $ac_last_try; then
23266 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23267 else
23268 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23270 done
23272 # For the awk script, D is an array of macro values keyed by name,
23273 # likewise P contains macro parameters if any. Preserve backslash
23274 # newline sequences.
23276 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23277 sed -n '
23278 s/.\{148\}/&'"$ac_delim"'/g
23279 t rset
23280 :rset
23281 s/^[ ]*#[ ]*define[ ][ ]*/ /
23282 t def
23284 :def
23285 s/\\$//
23286 t bsnl
23287 s/["\\]/\\&/g
23288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23289 D["\1"]=" \3"/p
23290 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23292 :bsnl
23293 s/["\\]/\\&/g
23294 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23295 D["\1"]=" \3\\\\\\n"\\/p
23296 t cont
23297 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23298 t cont
23300 :cont
23302 s/.\{148\}/&'"$ac_delim"'/g
23303 t clear
23304 :clear
23305 s/\\$//
23306 t bsnlc
23307 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23309 :bsnlc
23310 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23311 b cont
23312 ' <confdefs.h | sed '
23313 s/'"$ac_delim"'/"\\\
23314 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23317 for (key in D) D_is_set[key] = 1
23318 FS = "\a"
23320 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23321 line = \$ 0
23322 split(line, arg, " ")
23323 if (arg[1] == "#") {
23324 defundef = arg[2]
23325 mac1 = arg[3]
23326 } else {
23327 defundef = substr(arg[1], 2)
23328 mac1 = arg[2]
23330 split(mac1, mac2, "(") #)
23331 macro = mac2[1]
23332 prefix = substr(line, 1, index(line, defundef) - 1)
23333 if (D_is_set[macro]) {
23334 # Preserve the white space surrounding the "#".
23335 print prefix "define", macro P[macro] D[macro]
23336 next
23337 } else {
23338 # Replace #undef with comments. This is necessary, for example,
23339 # in the case of _POSIX_SOURCE, which is predefined and required
23340 # on some systems where configure will not decide to define it.
23341 if (defundef == "undef") {
23342 print "/*", prefix defundef, macro, "*/"
23343 next
23347 { print }
23348 _ACAWK
23349 _ACEOF
23350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23351 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23352 fi # test -n "$CONFIG_HEADERS"
23355 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23356 shift
23357 for ac_tag
23359 case $ac_tag in
23360 :[FHLC]) ac_mode=$ac_tag; continue;;
23361 esac
23362 case $ac_mode$ac_tag in
23363 :[FHL]*:*);;
23364 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23365 :[FH]-) ac_tag=-:-;;
23366 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23367 esac
23368 ac_save_IFS=$IFS
23369 IFS=:
23370 set x $ac_tag
23371 IFS=$ac_save_IFS
23372 shift
23373 ac_file=$1
23374 shift
23376 case $ac_mode in
23377 :L) ac_source=$1;;
23378 :[FH])
23379 ac_file_inputs=
23380 for ac_f
23382 case $ac_f in
23383 -) ac_f="$ac_tmp/stdin";;
23384 *) # Look for the file first in the build tree, then in the source tree
23385 # (if the path is not absolute). The absolute path cannot be DOS-style,
23386 # because $ac_f cannot contain `:'.
23387 test -f "$ac_f" ||
23388 case $ac_f in
23389 [\\/$]*) false;;
23390 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23391 esac ||
23392 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23393 esac
23394 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23395 as_fn_append ac_file_inputs " '$ac_f'"
23396 done
23398 # Let's still pretend it is `configure' which instantiates (i.e., don't
23399 # use $as_me), people would be surprised to read:
23400 # /* config.h. Generated by config.status. */
23401 configure_input='Generated from '`
23402 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23403 `' by configure.'
23404 if test x"$ac_file" != x-; then
23405 configure_input="$ac_file. $configure_input"
23406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23407 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23409 # Neutralize special characters interpreted by sed in replacement strings.
23410 case $configure_input in #(
23411 *\&* | *\|* | *\\* )
23412 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23413 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23414 *) ac_sed_conf_input=$configure_input;;
23415 esac
23417 case $ac_tag in
23418 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23419 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23420 esac
23422 esac
23424 ac_dir=`$as_dirname -- "$ac_file" ||
23425 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23426 X"$ac_file" : 'X\(//\)[^/]' \| \
23427 X"$ac_file" : 'X\(//\)$' \| \
23428 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23429 printf "%s\n" X"$ac_file" |
23430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23431 s//\1/
23434 /^X\(\/\/\)[^/].*/{
23435 s//\1/
23438 /^X\(\/\/\)$/{
23439 s//\1/
23442 /^X\(\/\).*/{
23443 s//\1/
23446 s/.*/./; q'`
23447 as_dir="$ac_dir"; as_fn_mkdir_p
23448 ac_builddir=.
23450 case "$ac_dir" in
23451 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23453 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23454 # A ".." for each directory in $ac_dir_suffix.
23455 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23456 case $ac_top_builddir_sub in
23457 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23458 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23459 esac ;;
23460 esac
23461 ac_abs_top_builddir=$ac_pwd
23462 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23463 # for backward compatibility:
23464 ac_top_builddir=$ac_top_build_prefix
23466 case $srcdir in
23467 .) # We are building in place.
23468 ac_srcdir=.
23469 ac_top_srcdir=$ac_top_builddir_sub
23470 ac_abs_top_srcdir=$ac_pwd ;;
23471 [\\/]* | ?:[\\/]* ) # Absolute name.
23472 ac_srcdir=$srcdir$ac_dir_suffix;
23473 ac_top_srcdir=$srcdir
23474 ac_abs_top_srcdir=$srcdir ;;
23475 *) # Relative name.
23476 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23477 ac_top_srcdir=$ac_top_build_prefix$srcdir
23478 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23479 esac
23480 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23483 case $ac_mode in
23487 # CONFIG_HEADER
23489 if test x"$ac_file" != x-; then
23491 printf "%s\n" "/* $configure_input */" >&1 \
23492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23493 } >"$ac_tmp/config.h" \
23494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23495 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23497 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23498 else
23499 rm -f "$ac_file"
23500 mv "$ac_tmp/config.h" "$ac_file" \
23501 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23503 else
23504 printf "%s\n" "/* $configure_input */" >&1 \
23505 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23506 || as_fn_error $? "could not create -" "$LINENO" 5
23511 # CONFIG_LINK
23514 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23516 else
23517 # Prefer the file from the source tree if names are identical.
23518 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23519 ac_source=$srcdir/$ac_source
23522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23523 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23525 if test ! -r "$ac_source"; then
23526 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23528 rm -f "$ac_file"
23530 # Try a relative symlink, then a hard link, then a copy.
23531 case $ac_source in
23532 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23533 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23534 esac
23535 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23536 ln "$ac_source" "$ac_file" 2>/dev/null ||
23537 cp -p "$ac_source" "$ac_file" ||
23538 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23541 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23542 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23544 esac
23547 case $ac_file$ac_mode in
23548 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23549 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23550 "Makefile":C) wine_fn_output_makefile Makefile ;;
23552 esac
23553 done # for ac_tag
23556 as_fn_exit 0
23557 _ACEOF
23558 ac_clean_files=$ac_clean_files_save
23560 test $ac_write_fail = 0 ||
23561 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23564 # configure is writing to config.log, and then calls config.status.
23565 # config.status does its own redirection, appending to config.log.
23566 # Unfortunately, on DOS this fails, as config.log is still kept open
23567 # by configure, so config.status won't be able to write to it; its
23568 # output is simply discarded. So we exec the FD to /dev/null,
23569 # effectively closing config.log, so it can be properly (re)opened and
23570 # appended to by config.status. When coming back to configure, we
23571 # need to make the FD available again.
23572 if test "$no_create" != yes; then
23573 ac_cs_success=:
23574 ac_config_status_args=
23575 test "$silent" = yes &&
23576 ac_config_status_args="$ac_config_status_args --quiet"
23577 exec 5>/dev/null
23578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23579 exec 5>>config.log
23580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23581 # would make configure fail if this is the last instruction.
23582 $ac_cs_success || as_fn_exit 1
23584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23586 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23590 if test "$no_create" = "yes"
23591 then
23592 exit 0
23595 ac_save_IFS="$IFS"
23596 if test "x$wine_notices" != x; then
23597 echo >&6
23598 IFS="|"
23599 for msg in $wine_notices; do
23600 IFS="$ac_save_IFS"
23601 if ${msg:+false} :
23602 then :
23604 else $as_nop
23605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23606 printf "%s\n" "$as_me: $msg" >&6;}
23608 done
23610 IFS="|"
23611 for msg in $wine_warnings; do
23612 IFS="$ac_save_IFS"
23613 if ${msg:+false} :
23614 then :
23616 else $as_nop
23617 echo >&2
23618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23619 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23621 done
23622 IFS="$ac_save_IFS"
23624 printf "%s\n" "
23625 $as_me: Finished. Do '${ac_make}' to compile Wine.
23626 " >&6