kernelbase: Restructure the create_key() loop.
[wine.git] / configure
blob7618e8b4b1578c0eadf18bb4015f551cf36d18af
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.3.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.3'
615 PACKAGE_STRING='Wine 8.3'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 RT_LIBS
656 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZYDIS_PE_LIBS
713 ZYDIS_PE_CFLAGS
714 ZLIB_PE_LIBS
715 ZLIB_PE_CFLAGS
716 XSLT_PE_LIBS
717 XSLT_PE_CFLAGS
718 XML2_PE_LIBS
719 XML2_PE_CFLAGS
720 VKD3D_PE_LIBS
721 VKD3D_PE_CFLAGS
722 TIFF_PE_LIBS
723 TIFF_PE_CFLAGS
724 PNG_PE_LIBS
725 PNG_PE_CFLAGS
726 MPG123_PE_LIBS
727 MPG123_PE_CFLAGS
728 LDAP_PE_LIBS
729 LDAP_PE_CFLAGS
730 LCMS2_PE_LIBS
731 LCMS2_PE_CFLAGS
732 JXR_PE_LIBS
733 JXR_PE_CFLAGS
734 JPEG_PE_LIBS
735 JPEG_PE_CFLAGS
736 GSM_PE_LIBS
737 GSM_PE_CFLAGS
738 FAUDIO_PE_LIBS
739 FAUDIO_PE_CFLAGS
740 MINGW_PKG_CONFIG
741 PE_ARCHS
742 WINELOADER_DEPENDS
743 ac_ct_OBJC
744 OBJCFLAGS
745 OBJC
746 OPENCL_LIBS
747 COREAUDIO_LIBS
748 SYSTEMCONFIGURATION_LIBS
749 SECURITY_LIBS
750 APPKIT_LIBS
751 CORESERVICES_LIBS
752 APPLICATIONSERVICES_LIBS
753 METAL_LIBS
754 IOKIT_LIBS
755 DISKARBITRATION_LIBS
756 COREFOUNDATION_LIBS
757 CARBON_LIBS
758 CONFIGURE_TARGETS
759 DISABLED_SUBDIRS
760 SUBDIRS
761 READELF
762 OTOOL
764 WINEPRELOADER_LDFLAGS
765 WINELOADER_LDFLAGS
766 TOP_INSTALL_DEV
767 TOP_INSTALL_LIB
768 UNIXLDFLAGS
769 UNIXDLLFLAGS
770 EXTRACFLAGS
771 LDEXECFLAGS
772 LDDLLFLAGS
773 DLLFLAGS
774 OPENGL_LIBS
775 I386_LIBS
776 ICOTOOL
777 CONVERT
778 RSVG
779 FONTFORGE
780 PKG_CONFIG
781 MSGFMT
782 LDCONFIG
783 EGREP
784 GREP
785 LN_S
786 RANLIB
787 STRIP
788 ac_ct_AR
790 BISON
791 FLEX
792 SED_CMD
793 RUNTESTFLAGS
794 MAKEDEP
795 toolsdir
796 x86_64_DISABLED_SUBDIRS
797 x86_64_DELAYLOADFLAG
798 x86_64_TARGET
799 x86_64_DEBUG
800 x86_64_LDFLAGS
801 x86_64_EXTRACFLAGS
802 x86_64_CFLAGS
803 x86_64_CC
804 i386_DISABLED_SUBDIRS
805 i386_DELAYLOADFLAG
806 i386_TARGET
807 i386_DEBUG
808 i386_LDFLAGS
809 i386_EXTRACFLAGS
810 i386_CFLAGS
811 i386_CC
812 arm_DISABLED_SUBDIRS
813 arm_DELAYLOADFLAG
814 arm_TARGET
815 arm_DEBUG
816 arm_LDFLAGS
817 arm_EXTRACFLAGS
818 arm_CFLAGS
819 arm_CC
820 aarch64_DISABLED_SUBDIRS
821 aarch64_DELAYLOADFLAG
822 aarch64_TARGET
823 aarch64_DEBUG
824 aarch64_LDFLAGS
825 aarch64_EXTRACFLAGS
826 aarch64_CFLAGS
827 aarch64_CC
828 HOST_ARCH
829 toolsext
830 TARGETFLAGS
832 CPPBIN
833 ac_ct_CXX
834 CXXFLAGS
836 OBJEXT
837 EXEEXT
838 ac_ct_CC
839 CPPFLAGS
840 LDFLAGS
841 CFLAGS
843 SET_MAKE
844 srcdir
845 nlsdir
846 fontdir
847 dlldir
848 host_os
849 host_vendor
850 host_cpu
851 host
852 build_os
853 build_vendor
854 build_cpu
855 build
856 system_dllpath
857 target_alias
858 host_alias
859 build_alias
860 LIBS
861 ECHO_T
862 ECHO_N
863 ECHO_C
864 DEFS
865 mandir
866 localedir
867 libdir
868 psdir
869 pdfdir
870 dvidir
871 htmldir
872 infodir
873 docdir
874 oldincludedir
875 includedir
876 runstatedir
877 localstatedir
878 sharedstatedir
879 sysconfdir
880 datadir
881 datarootdir
882 libexecdir
883 sbindir
884 bindir
885 program_transform_name
886 prefix
887 exec_prefix
888 PACKAGE_URL
889 PACKAGE_BUGREPORT
890 PACKAGE_STRING
891 PACKAGE_VERSION
892 PACKAGE_TARNAME
893 PACKAGE_NAME
894 PATH_SEPARATOR
895 SHELL'
896 ac_subst_files=''
897 ac_user_opts='
898 enable_option_checking
899 enable_archs
900 enable_win16
901 enable_win64
902 enable_tests
903 enable_build_id
904 enable_maintainer_mode
905 enable_silent_rules
906 enable_werror
907 with_alsa
908 with_capi
909 with_coreaudio
910 with_cups
911 with_dbus
912 with_float_abi
913 with_fontconfig
914 with_freetype
915 with_gettext
916 with_gettextpo
917 with_gphoto
918 with_gnutls
919 with_gssapi
920 with_gstreamer
921 with_inotify
922 with_krb5
923 with_mingw
924 with_netapi
925 with_opencl
926 with_opengl
927 with_osmesa
928 with_oss
929 with_pcap
930 with_pcsclite
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d12core
1019 enable_d3d8
1020 enable_d3d8thk
1021 enable_d3d9
1022 enable_d3dcompiler_33
1023 enable_d3dcompiler_34
1024 enable_d3dcompiler_35
1025 enable_d3dcompiler_36
1026 enable_d3dcompiler_37
1027 enable_d3dcompiler_38
1028 enable_d3dcompiler_39
1029 enable_d3dcompiler_40
1030 enable_d3dcompiler_41
1031 enable_d3dcompiler_42
1032 enable_d3dcompiler_43
1033 enable_d3dcompiler_46
1034 enable_d3dcompiler_47
1035 enable_d3dim
1036 enable_d3dim700
1037 enable_d3drm
1038 enable_d3dx10_33
1039 enable_d3dx10_34
1040 enable_d3dx10_35
1041 enable_d3dx10_36
1042 enable_d3dx10_37
1043 enable_d3dx10_38
1044 enable_d3dx10_39
1045 enable_d3dx10_40
1046 enable_d3dx10_41
1047 enable_d3dx10_42
1048 enable_d3dx10_43
1049 enable_d3dx11_42
1050 enable_d3dx11_43
1051 enable_d3dx9_24
1052 enable_d3dx9_25
1053 enable_d3dx9_26
1054 enable_d3dx9_27
1055 enable_d3dx9_28
1056 enable_d3dx9_29
1057 enable_d3dx9_30
1058 enable_d3dx9_31
1059 enable_d3dx9_32
1060 enable_d3dx9_33
1061 enable_d3dx9_34
1062 enable_d3dx9_35
1063 enable_d3dx9_36
1064 enable_d3dx9_37
1065 enable_d3dx9_38
1066 enable_d3dx9_39
1067 enable_d3dx9_40
1068 enable_d3dx9_41
1069 enable_d3dx9_42
1070 enable_d3dx9_43
1071 enable_d3dxof
1072 enable_davclnt
1073 enable_dbgeng
1074 enable_dbghelp
1075 enable_dciman32
1076 enable_dcomp
1077 enable_ddraw
1078 enable_ddrawex
1079 enable_devenum
1080 enable_dhcpcsvc
1081 enable_dhcpcsvc6
1082 enable_dhtmled_ocx
1083 enable_diasymreader
1084 enable_difxapi
1085 enable_dinput
1086 enable_dinput8
1087 enable_directmanipulation
1088 enable_dispex
1089 enable_dmband
1090 enable_dmcompos
1091 enable_dmime
1092 enable_dmloader
1093 enable_dmscript
1094 enable_dmstyle
1095 enable_dmsynth
1096 enable_dmusic
1097 enable_dmusic32
1098 enable_dnsapi
1099 enable_dplay
1100 enable_dplayx
1101 enable_dpnaddr
1102 enable_dpnet
1103 enable_dpnhpast
1104 enable_dpnhupnp
1105 enable_dpnlobby
1106 enable_dpvoice
1107 enable_dpwsockx
1108 enable_drmclien
1109 enable_dsdmo
1110 enable_dsound
1111 enable_dsquery
1112 enable_dssenh
1113 enable_dsuiext
1114 enable_dswave
1115 enable_dwmapi
1116 enable_dwrite
1117 enable_dx8vb
1118 enable_dxdiagn
1119 enable_dxgi
1120 enable_dxtrans
1121 enable_dxva2
1122 enable_esent
1123 enable_evr
1124 enable_explorerframe
1125 enable_faultrep
1126 enable_feclient
1127 enable_fltlib
1128 enable_fltmgr_sys
1129 enable_fntcache
1130 enable_fontsub
1131 enable_fusion
1132 enable_fwpuclnt
1133 enable_gameux
1134 enable_gamingtcui
1135 enable_gdi32
1136 enable_gdiplus
1137 enable_glu32
1138 enable_gphoto2_ds
1139 enable_gpkcsp
1140 enable_hal
1141 enable_hhctrl_ocx
1142 enable_hid
1143 enable_hidclass_sys
1144 enable_hidparse_sys
1145 enable_hlink
1146 enable_hnetcfg
1147 enable_http_sys
1148 enable_httpapi
1149 enable_ia2comproxy
1150 enable_iccvid
1151 enable_icmp
1152 enable_ieframe
1153 enable_ieproxy
1154 enable_imaadp32_acm
1155 enable_imagehlp
1156 enable_imm32
1157 enable_inetcomm
1158 enable_inetcpl_cpl
1159 enable_inetmib1
1160 enable_infosoft
1161 enable_initpki
1162 enable_inkobj
1163 enable_inseng
1164 enable_iphlpapi
1165 enable_iprop
1166 enable_ir50_32
1167 enable_irprops_cpl
1168 enable_itircl
1169 enable_itss
1170 enable_joy_cpl
1171 enable_jscript
1172 enable_jsproxy
1173 enable_kerberos
1174 enable_kernel32
1175 enable_kernelbase
1176 enable_ksecdd_sys
1177 enable_ksproxy_ax
1178 enable_ksuser
1179 enable_ktmw32
1180 enable_l3codeca_acm
1181 enable_light_msstyles
1182 enable_loadperf
1183 enable_localspl
1184 enable_localui
1185 enable_lz32
1186 enable_mapi32
1187 enable_mapistub
1188 enable_mciavi32
1189 enable_mcicda
1190 enable_mciqtz32
1191 enable_mciseq
1192 enable_mciwave
1193 enable_mf
1194 enable_mf3216
1195 enable_mferror
1196 enable_mfmediaengine
1197 enable_mfplat
1198 enable_mfplay
1199 enable_mfreadwrite
1200 enable_mfsrcsnk
1201 enable_mgmtapi
1202 enable_midimap
1203 enable_mlang
1204 enable_mmcndmgr
1205 enable_mmdevapi
1206 enable_mountmgr_sys
1207 enable_mp3dmod
1208 enable_mpr
1209 enable_mprapi
1210 enable_msacm32_drv
1211 enable_msacm32
1212 enable_msado15
1213 enable_msadp32_acm
1214 enable_msasn1
1215 enable_msauddecmft
1216 enable_mscat32
1217 enable_mscms
1218 enable_mscoree
1219 enable_mscorwks
1220 enable_msctf
1221 enable_msctfmonitor
1222 enable_msctfp
1223 enable_msdaps
1224 enable_msdasql
1225 enable_msdelta
1226 enable_msdmo
1227 enable_msdrm
1228 enable_msftedit
1229 enable_msg711_acm
1230 enable_msgsm32_acm
1231 enable_mshtml_tlb
1232 enable_mshtml
1233 enable_msi
1234 enable_msident
1235 enable_msimg32
1236 enable_msimsg
1237 enable_msimtf
1238 enable_msisip
1239 enable_msisys_ocx
1240 enable_msls31
1241 enable_msmpeg2vdec
1242 enable_msnet32
1243 enable_mspatcha
1244 enable_msports
1245 enable_msrle32
1246 enable_msscript_ocx
1247 enable_mssign32
1248 enable_mssip32
1249 enable_mstask
1250 enable_msv1_0
1251 enable_msvcirt
1252 enable_msvcm80
1253 enable_msvcm90
1254 enable_msvcp100
1255 enable_msvcp110
1256 enable_msvcp120
1257 enable_msvcp120_app
1258 enable_msvcp140
1259 enable_msvcp140_1
1260 enable_msvcp140_2
1261 enable_msvcp140_atomic_wait
1262 enable_msvcp60
1263 enable_msvcp70
1264 enable_msvcp71
1265 enable_msvcp80
1266 enable_msvcp90
1267 enable_msvcp_win
1268 enable_msvcr100
1269 enable_msvcr110
1270 enable_msvcr120
1271 enable_msvcr120_app
1272 enable_msvcr70
1273 enable_msvcr71
1274 enable_msvcr80
1275 enable_msvcr90
1276 enable_msvcrt
1277 enable_msvcrt20
1278 enable_msvcrt40
1279 enable_msvcrtd
1280 enable_msvfw32
1281 enable_msvidc32
1282 enable_mswsock
1283 enable_msxml
1284 enable_msxml2
1285 enable_msxml3
1286 enable_msxml4
1287 enable_msxml6
1288 enable_mtxdm
1289 enable_ncrypt
1290 enable_nddeapi
1291 enable_ndis_sys
1292 enable_netapi32
1293 enable_netcfgx
1294 enable_netio_sys
1295 enable_netprofm
1296 enable_netutils
1297 enable_newdev
1298 enable_ninput
1299 enable_normaliz
1300 enable_npmshtml
1301 enable_npptools
1302 enable_nsi
1303 enable_nsiproxy_sys
1304 enable_ntdll
1305 enable_ntdsapi
1306 enable_ntoskrnl_exe
1307 enable_ntprint
1308 enable_objsel
1309 enable_odbc32
1310 enable_odbcbcp
1311 enable_odbccp32
1312 enable_odbccu32
1313 enable_ole32
1314 enable_oleacc
1315 enable_oleaut32
1316 enable_olecli32
1317 enable_oledb32
1318 enable_oledlg
1319 enable_olepro32
1320 enable_olesvr32
1321 enable_olethk32
1322 enable_opcservices
1323 enable_opencl
1324 enable_opengl32
1325 enable_packager
1326 enable_pdh
1327 enable_photometadatahandler
1328 enable_pidgen
1329 enable_powrprof
1330 enable_printui
1331 enable_prntvpt
1332 enable_propsys
1333 enable_psapi
1334 enable_pstorec
1335 enable_pwrshplugin
1336 enable_qasf
1337 enable_qcap
1338 enable_qdvd
1339 enable_qedit
1340 enable_qmgr
1341 enable_qmgrprxy
1342 enable_quartz
1343 enable_query
1344 enable_qwave
1345 enable_rasapi32
1346 enable_rasdlg
1347 enable_regapi
1348 enable_resutils
1349 enable_riched20
1350 enable_riched32
1351 enable_rpcrt4
1352 enable_rsabase
1353 enable_rsaenh
1354 enable_rstrtmgr
1355 enable_rtutils
1356 enable_rtworkq
1357 enable_samlib
1358 enable_sane_ds
1359 enable_sapi
1360 enable_sas
1361 enable_scarddlg
1362 enable_scardsvr
1363 enable_sccbase
1364 enable_schannel
1365 enable_schedsvc
1366 enable_scrobj
1367 enable_scrrun
1368 enable_scsiport_sys
1369 enable_sechost
1370 enable_secur32
1371 enable_security
1372 enable_sensapi
1373 enable_serialui
1374 enable_setupapi
1375 enable_sfc
1376 enable_sfc_os
1377 enable_shcore
1378 enable_shdoclc
1379 enable_shdocvw
1380 enable_shell32
1381 enable_shfolder
1382 enable_shlwapi
1383 enable_slbcsp
1384 enable_slc
1385 enable_snmpapi
1386 enable_softpub
1387 enable_spoolss
1388 enable_sppc
1389 enable_srclient
1390 enable_srvcli
1391 enable_sspicli
1392 enable_stdole2_tlb
1393 enable_stdole32_tlb
1394 enable_sti
1395 enable_strmdll
1396 enable_svrapi
1397 enable_sxs
1398 enable_t2embed
1399 enable_tapi32
1400 enable_taskschd
1401 enable_tbs
1402 enable_tdh
1403 enable_tdi_sys
1404 enable_threadpoolwinrt
1405 enable_traffic
1406 enable_twain_32
1407 enable_tzres
1408 enable_ucrtbase
1409 enable_uianimation
1410 enable_uiautomationcore
1411 enable_uiribbon
1412 enable_unicows
1413 enable_updspapi
1414 enable_url
1415 enable_urlmon
1416 enable_usbd_sys
1417 enable_user32
1418 enable_userenv
1419 enable_usp10
1420 enable_utildll
1421 enable_uxtheme
1422 enable_vbscript
1423 enable_vcomp
1424 enable_vcomp100
1425 enable_vcomp110
1426 enable_vcomp120
1427 enable_vcomp140
1428 enable_vcomp90
1429 enable_vcruntime140
1430 enable_vcruntime140_1
1431 enable_vdmdbg
1432 enable_version
1433 enable_vga
1434 enable_virtdisk
1435 enable_vssapi
1436 enable_vulkan_1
1437 enable_wbemdisp
1438 enable_wbemprox
1439 enable_wdscore
1440 enable_webservices
1441 enable_websocket
1442 enable_wer
1443 enable_wevtapi
1444 enable_wevtsvc
1445 enable_wiaservc
1446 enable_wimgapi
1447 enable_win32u
1448 enable_windows_devices_enumeration
1449 enable_windows_gaming_input
1450 enable_windows_gaming_ui_gamebar
1451 enable_windows_globalization
1452 enable_windows_media_devices
1453 enable_windows_media_speech
1454 enable_windows_media
1455 enable_windows_networking
1456 enable_windows_perception_stub
1457 enable_windows_system_profile_systemmanufacturers
1458 enable_windows_ui
1459 enable_windowscodecs
1460 enable_windowscodecsext
1461 enable_winealsa_drv
1462 enable_wineandroid_drv
1463 enable_winebus_sys
1464 enable_winecoreaudio_drv
1465 enable_winecrt0
1466 enable_wined3d
1467 enable_winegstreamer
1468 enable_winehid_sys
1469 enable_winemac_drv
1470 enable_winemapi
1471 enable_wineoss_drv
1472 enable_wineps_drv
1473 enable_winepulse_drv
1474 enable_wineusb_sys
1475 enable_winevulkan
1476 enable_winex11_drv
1477 enable_winexinput_sys
1478 enable_wing32
1479 enable_winhttp
1480 enable_wininet
1481 enable_winmm
1482 enable_winnls32
1483 enable_winprint
1484 enable_winscard
1485 enable_winspool_drv
1486 enable_winsta
1487 enable_wintab32
1488 enable_wintrust
1489 enable_wintypes
1490 enable_winusb
1491 enable_wlanapi
1492 enable_wlanui
1493 enable_wldap32
1494 enable_wmasf
1495 enable_wmi
1496 enable_wmiutils
1497 enable_wmp
1498 enable_wmphoto
1499 enable_wmvcore
1500 enable_wnaspi32
1501 enable_wofutil
1502 enable_wow64
1503 enable_wow64cpu
1504 enable_wow64win
1505 enable_wpc
1506 enable_wpcap
1507 enable_ws2_32
1508 enable_wsdapi
1509 enable_wshom_ocx
1510 enable_wsnmp32
1511 enable_wsock32
1512 enable_wtsapi32
1513 enable_wuapi
1514 enable_wuaueng
1515 enable_x3daudio1_0
1516 enable_x3daudio1_1
1517 enable_x3daudio1_2
1518 enable_x3daudio1_3
1519 enable_x3daudio1_4
1520 enable_x3daudio1_5
1521 enable_x3daudio1_6
1522 enable_x3daudio1_7
1523 enable_xactengine2_0
1524 enable_xactengine2_4
1525 enable_xactengine2_7
1526 enable_xactengine2_9
1527 enable_xactengine3_0
1528 enable_xactengine3_1
1529 enable_xactengine3_2
1530 enable_xactengine3_3
1531 enable_xactengine3_4
1532 enable_xactengine3_5
1533 enable_xactengine3_6
1534 enable_xactengine3_7
1535 enable_xapofx1_1
1536 enable_xapofx1_2
1537 enable_xapofx1_3
1538 enable_xapofx1_4
1539 enable_xapofx1_5
1540 enable_xaudio2_0
1541 enable_xaudio2_1
1542 enable_xaudio2_2
1543 enable_xaudio2_3
1544 enable_xaudio2_4
1545 enable_xaudio2_5
1546 enable_xaudio2_6
1547 enable_xaudio2_7
1548 enable_xaudio2_8
1549 enable_xaudio2_9
1550 enable_xinput1_1
1551 enable_xinput1_2
1552 enable_xinput1_3
1553 enable_xinput1_4
1554 enable_xinput9_1_0
1555 enable_xinputuap
1556 enable_xmllite
1557 enable_xolehlp
1558 enable_xpsprint
1559 enable_xpssvcs
1560 enable_fonts
1561 enable_include
1562 enable_adsiid
1563 enable_dmoguids
1564 enable_dxerr8
1565 enable_dxerr9
1566 enable_dxguid
1567 enable_faudio
1568 enable_gsm
1569 enable_jpeg
1570 enable_jxr
1571 enable_lcms2
1572 enable_ldap
1573 enable_mfuuid
1574 enable_mpg123
1575 enable_png
1576 enable_strmbase
1577 enable_strmiids
1578 enable_tiff
1579 enable_uuid
1580 enable_vkd3d
1581 enable_wbemuuid
1582 enable_wmcodecdspuuid
1583 enable_xml2
1584 enable_xslt
1585 enable_zlib
1586 enable_zydis
1587 enable_loader
1588 enable_nls
1589 enable_po
1590 enable_arp
1591 enable_aspnet_regiis
1592 enable_attrib
1593 enable_cabarc
1594 enable_cacls
1595 enable_certutil
1596 enable_chcp_com
1597 enable_clock
1598 enable_cmd
1599 enable_conhost
1600 enable_control
1601 enable_cscript
1602 enable_dism
1603 enable_dllhost
1604 enable_dplaysvr
1605 enable_dpnsvr
1606 enable_dpvsetup
1607 enable_dxdiag
1608 enable_eject
1609 enable_expand
1610 enable_explorer
1611 enable_extrac32
1612 enable_fc
1613 enable_find
1614 enable_findstr
1615 enable_fsutil
1616 enable_hh
1617 enable_hostname
1618 enable_icacls
1619 enable_icinfo
1620 enable_iexplore
1621 enable_ipconfig
1622 enable_lodctr
1623 enable_mofcomp
1624 enable_mshta
1625 enable_msidb
1626 enable_msiexec
1627 enable_msinfo32
1628 enable_net
1629 enable_netsh
1630 enable_netstat
1631 enable_ngen
1632 enable_notepad
1633 enable_oleview
1634 enable_ping
1635 enable_plugplay
1636 enable_powershell
1637 enable_presentationfontcache
1638 enable_progman
1639 enable_reg
1640 enable_regasm
1641 enable_regedit
1642 enable_regini
1643 enable_regsvcs
1644 enable_regsvr32
1645 enable_robocopy
1646 enable_rpcss
1647 enable_rundll32
1648 enable_sc
1649 enable_schtasks
1650 enable_sdbinst
1651 enable_secedit
1652 enable_servicemodelreg
1653 enable_services
1654 enable_setx
1655 enable_shutdown
1656 enable_spoolsv
1657 enable_start
1658 enable_subst
1659 enable_svchost
1660 enable_systeminfo
1661 enable_taskkill
1662 enable_tasklist
1663 enable_taskmgr
1664 enable_termsv
1665 enable_uninstaller
1666 enable_unlodctr
1667 enable_view
1668 enable_wevtutil
1669 enable_where
1670 enable_whoami
1671 enable_wineboot
1672 enable_winebrowser
1673 enable_winecfg
1674 enable_wineconsole
1675 enable_winedbg
1676 enable_winedevice
1677 enable_winefile
1678 enable_winemenubuilder
1679 enable_winemine
1680 enable_winemsibuilder
1681 enable_winepath
1682 enable_winetest
1683 enable_winhlp32
1684 enable_winmgmt
1685 enable_winver
1686 enable_wmic
1687 enable_wmplayer
1688 enable_wordpad
1689 enable_write
1690 enable_wscript
1691 enable_wuauserv
1692 enable_wusa
1693 enable_xcopy
1694 enable_server
1695 enable_tools
1696 enable_sfnt2fon
1697 enable_widl
1698 enable_winebuild
1699 enable_winedump
1700 enable_winegcc
1701 enable_winemaker
1702 enable_wmc
1703 enable_wrc
1705 ac_precious_vars='build_alias
1706 host_alias
1707 target_alias
1709 CFLAGS
1710 LDFLAGS
1711 LIBS
1712 CPPFLAGS
1714 CXXFLAGS
1716 OBJC
1717 OBJCFLAGS
1718 FAUDIO_PE_CFLAGS
1719 FAUDIO_PE_LIBS
1720 GSM_PE_CFLAGS
1721 GSM_PE_LIBS
1722 JPEG_PE_CFLAGS
1723 JPEG_PE_LIBS
1724 JXR_PE_CFLAGS
1725 JXR_PE_LIBS
1726 LCMS2_PE_CFLAGS
1727 LCMS2_PE_LIBS
1728 LDAP_PE_CFLAGS
1729 LDAP_PE_LIBS
1730 MPG123_PE_CFLAGS
1731 MPG123_PE_LIBS
1732 PNG_PE_CFLAGS
1733 PNG_PE_LIBS
1734 TIFF_PE_CFLAGS
1735 TIFF_PE_LIBS
1736 VKD3D_PE_CFLAGS
1737 VKD3D_PE_LIBS
1738 XML2_PE_CFLAGS
1739 XML2_PE_LIBS
1740 XSLT_PE_CFLAGS
1741 XSLT_PE_LIBS
1742 ZLIB_PE_CFLAGS
1743 ZLIB_PE_LIBS
1744 ZYDIS_PE_CFLAGS
1745 ZYDIS_PE_LIBS
1746 XMKMF
1748 INOTIFY_CFLAGS
1749 INOTIFY_LIBS
1750 DBUS_CFLAGS
1751 DBUS_LIBS
1752 GNUTLS_CFLAGS
1753 GNUTLS_LIBS
1754 SANE_CFLAGS
1755 SANE_LIBS
1756 USB_CFLAGS
1757 USB_LIBS
1758 GPHOTO2_CFLAGS
1759 GPHOTO2_LIBS
1760 GPHOTO2_PORT_CFLAGS
1761 GPHOTO2_PORT_LIBS
1762 FREETYPE_CFLAGS
1763 FREETYPE_LIBS
1764 PULSE_CFLAGS
1765 PULSE_LIBS
1766 GSTREAMER_CFLAGS
1767 GSTREAMER_LIBS
1768 UDEV_CFLAGS
1769 UDEV_LIBS
1770 UNWIND_CFLAGS
1771 UNWIND_LIBS
1772 SDL2_CFLAGS
1773 SDL2_LIBS
1774 CAPI20_CFLAGS
1775 CAPI20_LIBS
1776 CUPS_CFLAGS
1777 CUPS_LIBS
1778 FONTCONFIG_CFLAGS
1779 FONTCONFIG_LIBS
1780 KRB5_CFLAGS
1781 KRB5_LIBS
1782 GSSAPI_CFLAGS
1783 GSSAPI_LIBS
1784 NETAPI_CFLAGS
1785 NETAPI_LIBS'
1788 # Initialize some variables set by options.
1789 ac_init_help=
1790 ac_init_version=false
1791 ac_unrecognized_opts=
1792 ac_unrecognized_sep=
1793 # The variables have the same names as the options, with
1794 # dashes changed to underlines.
1795 cache_file=/dev/null
1796 exec_prefix=NONE
1797 no_create=
1798 no_recursion=
1799 prefix=NONE
1800 program_prefix=NONE
1801 program_suffix=NONE
1802 program_transform_name=s,x,x,
1803 silent=
1804 site=
1805 srcdir=
1806 verbose=
1807 x_includes=NONE
1808 x_libraries=NONE
1810 # Installation directory options.
1811 # These are left unexpanded so users can "make install exec_prefix=/foo"
1812 # and all the variables that are supposed to be based on exec_prefix
1813 # by default will actually change.
1814 # Use braces instead of parens because sh, perl, etc. also accept them.
1815 # (The list follows the same order as the GNU Coding Standards.)
1816 bindir='${exec_prefix}/bin'
1817 sbindir='${exec_prefix}/sbin'
1818 libexecdir='${exec_prefix}/libexec'
1819 datarootdir='${prefix}/share'
1820 datadir='${datarootdir}'
1821 sysconfdir='${prefix}/etc'
1822 sharedstatedir='${prefix}/com'
1823 localstatedir='${prefix}/var'
1824 runstatedir='${localstatedir}/run'
1825 includedir='${prefix}/include'
1826 oldincludedir='/usr/include'
1827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1828 infodir='${datarootdir}/info'
1829 htmldir='${docdir}'
1830 dvidir='${docdir}'
1831 pdfdir='${docdir}'
1832 psdir='${docdir}'
1833 libdir='${exec_prefix}/lib'
1834 localedir='${datarootdir}/locale'
1835 mandir='${datarootdir}/man'
1837 ac_prev=
1838 ac_dashdash=
1839 for ac_option
1841 # If the previous option needs an argument, assign it.
1842 if test -n "$ac_prev"; then
1843 eval $ac_prev=\$ac_option
1844 ac_prev=
1845 continue
1848 case $ac_option in
1849 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1850 *=) ac_optarg= ;;
1851 *) ac_optarg=yes ;;
1852 esac
1854 case $ac_dashdash$ac_option in
1856 ac_dashdash=yes ;;
1858 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1859 ac_prev=bindir ;;
1860 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1861 bindir=$ac_optarg ;;
1863 -build | --build | --buil | --bui | --bu)
1864 ac_prev=build_alias ;;
1865 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1866 build_alias=$ac_optarg ;;
1868 -cache-file | --cache-file | --cache-fil | --cache-fi \
1869 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1870 ac_prev=cache_file ;;
1871 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1872 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1873 cache_file=$ac_optarg ;;
1875 --config-cache | -C)
1876 cache_file=config.cache ;;
1878 -datadir | --datadir | --datadi | --datad)
1879 ac_prev=datadir ;;
1880 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1881 datadir=$ac_optarg ;;
1883 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1884 | --dataroo | --dataro | --datar)
1885 ac_prev=datarootdir ;;
1886 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1887 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1888 datarootdir=$ac_optarg ;;
1890 -disable-* | --disable-*)
1891 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1892 # Reject names that are not valid shell variable names.
1893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1894 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1895 ac_useropt_orig=$ac_useropt
1896 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1897 case $ac_user_opts in
1899 "enable_$ac_useropt"
1900 "*) ;;
1901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1902 ac_unrecognized_sep=', ';;
1903 esac
1904 eval enable_$ac_useropt=no ;;
1906 -docdir | --docdir | --docdi | --doc | --do)
1907 ac_prev=docdir ;;
1908 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1909 docdir=$ac_optarg ;;
1911 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1912 ac_prev=dvidir ;;
1913 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1914 dvidir=$ac_optarg ;;
1916 -enable-* | --enable-*)
1917 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1928 ac_unrecognized_sep=', ';;
1929 esac
1930 eval enable_$ac_useropt=\$ac_optarg ;;
1932 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1933 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1934 | --exec | --exe | --ex)
1935 ac_prev=exec_prefix ;;
1936 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1937 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1938 | --exec=* | --exe=* | --ex=*)
1939 exec_prefix=$ac_optarg ;;
1941 -gas | --gas | --ga | --g)
1942 # Obsolete; use --with-gas.
1943 with_gas=yes ;;
1945 -help | --help | --hel | --he | -h)
1946 ac_init_help=long ;;
1947 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1948 ac_init_help=recursive ;;
1949 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1950 ac_init_help=short ;;
1952 -host | --host | --hos | --ho)
1953 ac_prev=host_alias ;;
1954 -host=* | --host=* | --hos=* | --ho=*)
1955 host_alias=$ac_optarg ;;
1957 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1958 ac_prev=htmldir ;;
1959 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1960 | --ht=*)
1961 htmldir=$ac_optarg ;;
1963 -includedir | --includedir | --includedi | --included | --include \
1964 | --includ | --inclu | --incl | --inc)
1965 ac_prev=includedir ;;
1966 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1967 | --includ=* | --inclu=* | --incl=* | --inc=*)
1968 includedir=$ac_optarg ;;
1970 -infodir | --infodir | --infodi | --infod | --info | --inf)
1971 ac_prev=infodir ;;
1972 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1973 infodir=$ac_optarg ;;
1975 -libdir | --libdir | --libdi | --libd)
1976 ac_prev=libdir ;;
1977 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1978 libdir=$ac_optarg ;;
1980 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1981 | --libexe | --libex | --libe)
1982 ac_prev=libexecdir ;;
1983 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1984 | --libexe=* | --libex=* | --libe=*)
1985 libexecdir=$ac_optarg ;;
1987 -localedir | --localedir | --localedi | --localed | --locale)
1988 ac_prev=localedir ;;
1989 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1990 localedir=$ac_optarg ;;
1992 -localstatedir | --localstatedir | --localstatedi | --localstated \
1993 | --localstate | --localstat | --localsta | --localst | --locals)
1994 ac_prev=localstatedir ;;
1995 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1996 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1997 localstatedir=$ac_optarg ;;
1999 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2000 ac_prev=mandir ;;
2001 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2002 mandir=$ac_optarg ;;
2004 -nfp | --nfp | --nf)
2005 # Obsolete; use --without-fp.
2006 with_fp=no ;;
2008 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2009 | --no-cr | --no-c | -n)
2010 no_create=yes ;;
2012 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2013 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2014 no_recursion=yes ;;
2016 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2017 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2018 | --oldin | --oldi | --old | --ol | --o)
2019 ac_prev=oldincludedir ;;
2020 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2021 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2022 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2023 oldincludedir=$ac_optarg ;;
2025 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2026 ac_prev=prefix ;;
2027 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2028 prefix=$ac_optarg ;;
2030 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2031 | --program-pre | --program-pr | --program-p)
2032 ac_prev=program_prefix ;;
2033 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2034 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2035 program_prefix=$ac_optarg ;;
2037 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2038 | --program-suf | --program-su | --program-s)
2039 ac_prev=program_suffix ;;
2040 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2041 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2042 program_suffix=$ac_optarg ;;
2044 -program-transform-name | --program-transform-name \
2045 | --program-transform-nam | --program-transform-na \
2046 | --program-transform-n | --program-transform- \
2047 | --program-transform | --program-transfor \
2048 | --program-transfo | --program-transf \
2049 | --program-trans | --program-tran \
2050 | --progr-tra | --program-tr | --program-t)
2051 ac_prev=program_transform_name ;;
2052 -program-transform-name=* | --program-transform-name=* \
2053 | --program-transform-nam=* | --program-transform-na=* \
2054 | --program-transform-n=* | --program-transform-=* \
2055 | --program-transform=* | --program-transfor=* \
2056 | --program-transfo=* | --program-transf=* \
2057 | --program-trans=* | --program-tran=* \
2058 | --progr-tra=* | --program-tr=* | --program-t=*)
2059 program_transform_name=$ac_optarg ;;
2061 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2062 ac_prev=pdfdir ;;
2063 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2064 pdfdir=$ac_optarg ;;
2066 -psdir | --psdir | --psdi | --psd | --ps)
2067 ac_prev=psdir ;;
2068 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2069 psdir=$ac_optarg ;;
2071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072 | -silent | --silent | --silen | --sile | --sil)
2073 silent=yes ;;
2075 -runstatedir | --runstatedir | --runstatedi | --runstated \
2076 | --runstate | --runstat | --runsta | --runst | --runs \
2077 | --run | --ru | --r)
2078 ac_prev=runstatedir ;;
2079 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2080 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2081 | --run=* | --ru=* | --r=*)
2082 runstatedir=$ac_optarg ;;
2084 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2085 ac_prev=sbindir ;;
2086 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2087 | --sbi=* | --sb=*)
2088 sbindir=$ac_optarg ;;
2090 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2091 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2092 | --sharedst | --shareds | --shared | --share | --shar \
2093 | --sha | --sh)
2094 ac_prev=sharedstatedir ;;
2095 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2096 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2097 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2098 | --sha=* | --sh=*)
2099 sharedstatedir=$ac_optarg ;;
2101 -site | --site | --sit)
2102 ac_prev=site ;;
2103 -site=* | --site=* | --sit=*)
2104 site=$ac_optarg ;;
2106 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2107 ac_prev=srcdir ;;
2108 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2109 srcdir=$ac_optarg ;;
2111 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2112 | --syscon | --sysco | --sysc | --sys | --sy)
2113 ac_prev=sysconfdir ;;
2114 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2115 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2116 sysconfdir=$ac_optarg ;;
2118 -target | --target | --targe | --targ | --tar | --ta | --t)
2119 ac_prev=target_alias ;;
2120 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2121 target_alias=$ac_optarg ;;
2123 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2124 verbose=yes ;;
2126 -version | --version | --versio | --versi | --vers | -V)
2127 ac_init_version=: ;;
2129 -with-* | --with-*)
2130 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2131 # Reject names that are not valid shell variable names.
2132 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2133 as_fn_error $? "invalid package name: \`$ac_useropt'"
2134 ac_useropt_orig=$ac_useropt
2135 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2136 case $ac_user_opts in
2138 "with_$ac_useropt"
2139 "*) ;;
2140 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2141 ac_unrecognized_sep=', ';;
2142 esac
2143 eval with_$ac_useropt=\$ac_optarg ;;
2145 -without-* | --without-*)
2146 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2147 # Reject names that are not valid shell variable names.
2148 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2149 as_fn_error $? "invalid package name: \`$ac_useropt'"
2150 ac_useropt_orig=$ac_useropt
2151 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2152 case $ac_user_opts in
2154 "with_$ac_useropt"
2155 "*) ;;
2156 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2157 ac_unrecognized_sep=', ';;
2158 esac
2159 eval with_$ac_useropt=no ;;
2161 --x)
2162 # Obsolete; use --with-x.
2163 with_x=yes ;;
2165 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2166 | --x-incl | --x-inc | --x-in | --x-i)
2167 ac_prev=x_includes ;;
2168 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2169 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2170 x_includes=$ac_optarg ;;
2172 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2173 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2174 ac_prev=x_libraries ;;
2175 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2176 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2177 x_libraries=$ac_optarg ;;
2179 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2180 Try \`$0 --help' for more information"
2183 *=*)
2184 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2185 # Reject names that are not valid shell variable names.
2186 case $ac_envvar in #(
2187 '' | [0-9]* | *[!_$as_cr_alnum]* )
2188 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2189 esac
2190 eval $ac_envvar=\$ac_optarg
2191 export $ac_envvar ;;
2194 # FIXME: should be removed in autoconf 3.0.
2195 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2196 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2197 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2198 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2201 esac
2202 done
2204 if test -n "$ac_prev"; then
2205 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2206 as_fn_error $? "missing argument to $ac_option"
2209 if test -n "$ac_unrecognized_opts"; then
2210 case $enable_option_checking in
2211 no) ;;
2212 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2213 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2214 esac
2217 # Check all directory arguments for consistency.
2218 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2219 datadir sysconfdir sharedstatedir localstatedir includedir \
2220 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2221 libdir localedir mandir runstatedir
2223 eval ac_val=\$$ac_var
2224 # Remove trailing slashes.
2225 case $ac_val in
2226 */ )
2227 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2228 eval $ac_var=\$ac_val;;
2229 esac
2230 # Be sure to have absolute directory names.
2231 case $ac_val in
2232 [\\/$]* | ?:[\\/]* ) continue;;
2233 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2234 esac
2235 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2236 done
2238 # There might be people who depend on the old broken behavior: `$host'
2239 # used to hold the argument of --host etc.
2240 # FIXME: To remove some day.
2241 build=$build_alias
2242 host=$host_alias
2243 target=$target_alias
2245 # FIXME: To remove some day.
2246 if test "x$host_alias" != x; then
2247 if test "x$build_alias" = x; then
2248 cross_compiling=maybe
2249 elif test "x$build_alias" != "x$host_alias"; then
2250 cross_compiling=yes
2254 ac_tool_prefix=
2255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2257 test "$silent" = yes && exec 6>/dev/null
2260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2261 ac_ls_di=`ls -di .` &&
2262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2263 as_fn_error $? "working directory cannot be determined"
2264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2265 as_fn_error $? "pwd does not report name of working directory"
2268 # Find the source files, if location was not specified.
2269 if test -z "$srcdir"; then
2270 ac_srcdir_defaulted=yes
2271 # Try the directory containing this script, then the parent directory.
2272 ac_confdir=`$as_dirname -- "$as_myself" ||
2273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2274 X"$as_myself" : 'X\(//\)[^/]' \| \
2275 X"$as_myself" : 'X\(//\)$' \| \
2276 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2277 printf "%s\n" X"$as_myself" |
2278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2279 s//\1/
2282 /^X\(\/\/\)[^/].*/{
2283 s//\1/
2286 /^X\(\/\/\)$/{
2287 s//\1/
2290 /^X\(\/\).*/{
2291 s//\1/
2294 s/.*/./; q'`
2295 srcdir=$ac_confdir
2296 if test ! -r "$srcdir/$ac_unique_file"; then
2297 srcdir=..
2299 else
2300 ac_srcdir_defaulted=no
2302 if test ! -r "$srcdir/$ac_unique_file"; then
2303 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2304 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2307 ac_abs_confdir=`(
2308 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2309 pwd)`
2310 # When building in place, set srcdir=.
2311 if test "$ac_abs_confdir" = "$ac_pwd"; then
2312 srcdir=.
2314 # Remove unnecessary trailing slashes from srcdir.
2315 # Double slashes in file names in object file debugging info
2316 # mess up M-x gdb in Emacs.
2317 case $srcdir in
2318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2319 esac
2320 for ac_var in $ac_precious_vars; do
2321 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2322 eval ac_env_${ac_var}_value=\$${ac_var}
2323 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2324 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2325 done
2328 # Report the --help message.
2330 if test "$ac_init_help" = "long"; then
2331 # Omit some internal or obsolete options to make the list less imposing.
2332 # This message is too long to be a string in the A/UX 3.1 sh.
2333 cat <<_ACEOF
2334 \`configure' configures Wine 8.3 to adapt to many kinds of systems.
2336 Usage: $0 [OPTION]... [VAR=VALUE]...
2338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2339 VAR=VALUE. See below for descriptions of some of the useful variables.
2341 Defaults for the options are specified in brackets.
2343 Configuration:
2344 -h, --help display this help and exit
2345 --help=short display options specific to this package
2346 --help=recursive display the short help of all the included packages
2347 -V, --version display version information and exit
2348 -q, --quiet, --silent do not print \`checking ...' messages
2349 --cache-file=FILE cache test results in FILE [disabled]
2350 -C, --config-cache alias for \`--cache-file=config.cache'
2351 -n, --no-create do not create output files
2352 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2354 Installation directories:
2355 --prefix=PREFIX install architecture-independent files in PREFIX
2356 [$ac_default_prefix]
2357 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2358 [PREFIX]
2360 By default, \`make install' will install all the files in
2361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2363 for instance \`--prefix=\$HOME'.
2365 For better control, use the options below.
2367 Fine tuning of the installation directories:
2368 --bindir=DIR user executables [EPREFIX/bin]
2369 --sbindir=DIR system admin executables [EPREFIX/sbin]
2370 --libexecdir=DIR program executables [EPREFIX/libexec]
2371 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2372 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2373 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2374 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2375 --libdir=DIR object code libraries [EPREFIX/lib]
2376 --includedir=DIR C header files [PREFIX/include]
2377 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2378 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2379 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2380 --infodir=DIR info documentation [DATAROOTDIR/info]
2381 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2382 --mandir=DIR man documentation [DATAROOTDIR/man]
2383 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2384 --htmldir=DIR html documentation [DOCDIR]
2385 --dvidir=DIR dvi documentation [DOCDIR]
2386 --pdfdir=DIR pdf documentation [DOCDIR]
2387 --psdir=DIR ps documentation [DOCDIR]
2388 _ACEOF
2390 cat <<\_ACEOF
2392 X features:
2393 --x-includes=DIR X include files are in DIR
2394 --x-libraries=DIR X library files are in DIR
2396 System types:
2397 --build=BUILD configure for building on BUILD [guessed]
2398 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2399 _ACEOF
2402 if test -n "$ac_init_help"; then
2403 case $ac_init_help in
2404 short | recursive ) echo "Configuration of Wine 8.3:";;
2405 esac
2406 cat <<\_ACEOF
2408 Optional Features:
2409 --disable-option-checking ignore unrecognized --enable/--with options
2410 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2411 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2412 --enable-archs={i386,x86_64,arm,aarch64}
2413 enable multiple architectures for PE compilation
2414 --disable-win16 do not include Win16 support
2415 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2416 binaries)
2417 --disable-tests do not build the regression tests
2418 --enable-build-id include .buildid section in output objects
2419 --enable-maintainer-mode
2420 enable maintainer-specific build rules
2421 --enable-silent-rules use silent build rules (override: "make V=1")
2422 --enable-werror treat compilation warnings as errors
2423 --disable-largefile omit support for large files
2425 Optional Packages:
2426 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2427 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2428 --without-alsa do not use the Alsa sound support
2429 --without-capi do not use CAPI (ISDN support)
2430 --without-coreaudio do not use the CoreAudio sound support
2431 --without-cups do not use CUPS
2432 --without-dbus do not use DBus (dynamic device support)
2433 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2434 --without-fontconfig do not use fontconfig
2435 --without-freetype do not use the FreeType library
2436 --without-gettext do not use gettext
2437 --with-gettextpo use the GetTextPO library to rebuild po files
2438 --without-gphoto do not use gphoto (Digital Camera support)
2439 --without-gnutls do not use GnuTLS (schannel support)
2440 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2441 --without-gstreamer do not use GStreamer (codecs support)
2442 --without-inotify do not use inotify (filesystem change notifications)
2443 --without-krb5 do not use krb5 (Kerberos)
2444 --without-mingw do not use the MinGW cross-compiler
2445 --without-netapi do not use the Samba NetAPI library
2446 --without-opencl do not use OpenCL
2447 --without-opengl do not use OpenGL
2448 --without-osmesa do not use the OSMesa library
2449 --without-oss do not use the OSS sound support
2450 --without-pcap do not use the Packet Capture library
2451 --without-pcsclite do not use PCSC lite
2452 --without-pthread do not use the pthread library
2453 --without-pulse do not use PulseAudio sound support
2454 --without-sane do not use SANE (scanner support)
2455 --without-sdl do not use SDL
2456 --without-udev do not use udev (plug and play support)
2457 --without-unwind do not use the libunwind library (exception
2458 handling)
2459 --without-usb do not use the libusb library
2460 --without-v4l2 do not use v4l2 (video capture)
2461 --without-vulkan do not use Vulkan
2462 --without-xcomposite do not use the Xcomposite extension
2463 --without-xcursor do not use the Xcursor extension
2464 --without-xfixes do not use Xfixes for clipboard change notifications
2465 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2466 --without-xinput do not use the Xinput extension
2467 --without-xinput2 do not use the Xinput 2 extension
2468 --without-xrandr do not use Xrandr (multi-monitor support)
2469 --without-xrender do not use the Xrender extension
2470 --without-xshape do not use the Xshape extension
2471 --without-xshm do not use XShm (shared memory extension)
2472 --without-xxf86vm do not use XFree video mode extension
2473 --with-system-dllpath=PATH
2474 load external PE dependencies from colon-separated
2475 path PATH
2476 --with-wine-tools=DIR use Wine tools from directory DIR
2477 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2478 --with-x use the X Window System
2480 Some influential environment variables:
2481 CC C compiler command
2482 CFLAGS C compiler flags
2483 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2484 nonstandard directory <lib dir>
2485 LIBS libraries to pass to the linker, e.g. -l<library>
2486 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2487 you have headers in a nonstandard directory <include dir>
2488 CXX C++ compiler command
2489 CXXFLAGS C++ compiler flags
2490 OBJC Objective C compiler command
2491 OBJCFLAGS Objective C compiler flags
2492 FAUDIO_PE_CFLAGS
2493 C compiler flags for the PE faudio, overriding the bundled
2494 version
2495 FAUDIO_PE_LIBS
2496 Linker flags for the PE faudio, overriding the bundled version
2497 GSM_PE_CFLAGS
2498 C compiler flags for the PE gsm, overriding the bundled version
2499 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2500 JPEG_PE_CFLAGS
2501 C compiler flags for the PE jpeg, overriding the bundled version
2502 JPEG_PE_LIBS
2503 Linker flags for the PE jpeg, overriding the bundled version
2504 JXR_PE_CFLAGS
2505 C compiler flags for the PE jxr, overriding the bundled version
2506 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2507 LCMS2_PE_CFLAGS
2508 C compiler flags for the PE lcms2, overriding the bundled
2509 version
2510 LCMS2_PE_LIBS
2511 Linker flags for the PE lcms2, overriding the bundled version
2512 LDAP_PE_CFLAGS
2513 C compiler flags for the PE ldap, overriding the bundled version
2514 LDAP_PE_LIBS
2515 Linker flags for the PE ldap, overriding the bundled version
2516 MPG123_PE_CFLAGS
2517 C compiler flags for the PE mpg123, overriding the bundled
2518 version
2519 MPG123_PE_LIBS
2520 Linker flags for the PE mpg123, overriding the bundled version
2521 PNG_PE_CFLAGS
2522 C compiler flags for the PE png, overriding the bundled version
2523 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2524 TIFF_PE_CFLAGS
2525 C compiler flags for the PE tiff, overriding the bundled version
2526 TIFF_PE_LIBS
2527 Linker flags for the PE tiff, overriding the bundled version
2528 VKD3D_PE_CFLAGS
2529 C compiler flags for the PE vkd3d, overriding the bundled
2530 version
2531 VKD3D_PE_LIBS
2532 Linker flags for the PE vkd3d, overriding the bundled version
2533 XML2_PE_CFLAGS
2534 C compiler flags for the PE xml2, overriding the bundled version
2535 XML2_PE_LIBS
2536 Linker flags for the PE xml2, overriding the bundled version
2537 XSLT_PE_CFLAGS
2538 C compiler flags for the PE xslt, overriding the bundled version
2539 XSLT_PE_LIBS
2540 Linker flags for the PE xslt, overriding the bundled version
2541 ZLIB_PE_CFLAGS
2542 C compiler flags for the PE zlib, overriding the bundled version
2543 ZLIB_PE_LIBS
2544 Linker flags for the PE zlib, overriding the bundled version
2545 ZYDIS_PE_CFLAGS
2546 C compiler flags for the PE zydis, overriding the bundled
2547 version
2548 ZYDIS_PE_LIBS
2549 Linker flags for the PE zydis, overriding the bundled version
2550 XMKMF Path to xmkmf, Makefile generator for X Window System
2551 CPP C preprocessor
2552 INOTIFY_CFLAGS
2553 C compiler flags for libinotify, overriding pkg-config
2554 INOTIFY_LIBS
2555 Linker flags for libinotify, overriding pkg-config
2556 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2557 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2558 GNUTLS_CFLAGS
2559 C compiler flags for gnutls, overriding pkg-config
2560 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2561 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2562 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2563 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2564 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2565 GPHOTO2_CFLAGS
2566 C compiler flags for libgphoto2, overriding pkg-config
2567 GPHOTO2_LIBS
2568 Linker flags for libgphoto2, overriding pkg-config
2569 GPHOTO2_PORT_CFLAGS
2570 C compiler flags for libgphoto2_port, overriding pkg-config
2571 GPHOTO2_PORT_LIBS
2572 Linker flags for libgphoto2_port, overriding pkg-config
2573 FREETYPE_CFLAGS
2574 C compiler flags for freetype2, overriding pkg-config
2575 FREETYPE_LIBS
2576 Linker flags for freetype2, overriding pkg-config
2577 PULSE_CFLAGS
2578 C compiler flags for libpulse, overriding pkg-config
2579 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2580 GSTREAMER_CFLAGS
2581 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2582 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2583 GSTREAMER_LIBS
2584 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2585 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2586 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2587 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2588 UNWIND_CFLAGS
2589 C compiler flags for libunwind, overriding pkg-config
2590 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2591 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2592 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2593 CAPI20_CFLAGS
2594 C compiler flags for capi20, overriding pkg-config
2595 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2596 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2597 CUPS_LIBS Linker flags for cups, overriding pkg-config
2598 FONTCONFIG_CFLAGS
2599 C compiler flags for fontconfig, overriding pkg-config
2600 FONTCONFIG_LIBS
2601 Linker flags for fontconfig, overriding pkg-config
2602 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2603 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2604 GSSAPI_CFLAGS
2605 C compiler flags for krb5-gssapi, overriding pkg-config
2606 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2607 NETAPI_CFLAGS
2608 C compiler flags for netapi, overriding pkg-config
2609 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2611 Use these variables to override the choices made by `configure' or to help
2612 it to find libraries and programs with nonstandard names/locations.
2614 Report bugs to <wine-devel@winehq.org>.
2615 Wine home page: <https://www.winehq.org>.
2616 _ACEOF
2617 ac_status=$?
2620 if test "$ac_init_help" = "recursive"; then
2621 # If there are subdirs, report their specific --help.
2622 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2623 test -d "$ac_dir" ||
2624 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2625 continue
2626 ac_builddir=.
2628 case "$ac_dir" in
2629 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2631 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2632 # A ".." for each directory in $ac_dir_suffix.
2633 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2634 case $ac_top_builddir_sub in
2635 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2636 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2637 esac ;;
2638 esac
2639 ac_abs_top_builddir=$ac_pwd
2640 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2641 # for backward compatibility:
2642 ac_top_builddir=$ac_top_build_prefix
2644 case $srcdir in
2645 .) # We are building in place.
2646 ac_srcdir=.
2647 ac_top_srcdir=$ac_top_builddir_sub
2648 ac_abs_top_srcdir=$ac_pwd ;;
2649 [\\/]* | ?:[\\/]* ) # Absolute name.
2650 ac_srcdir=$srcdir$ac_dir_suffix;
2651 ac_top_srcdir=$srcdir
2652 ac_abs_top_srcdir=$srcdir ;;
2653 *) # Relative name.
2654 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2655 ac_top_srcdir=$ac_top_build_prefix$srcdir
2656 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2657 esac
2658 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2660 cd "$ac_dir" || { ac_status=$?; continue; }
2661 # Check for configure.gnu first; this name is used for a wrapper for
2662 # Metaconfig's "Configure" on case-insensitive file systems.
2663 if test -f "$ac_srcdir/configure.gnu"; then
2664 echo &&
2665 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2666 elif test -f "$ac_srcdir/configure"; then
2667 echo &&
2668 $SHELL "$ac_srcdir/configure" --help=recursive
2669 else
2670 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2671 fi || ac_status=$?
2672 cd "$ac_pwd" || { ac_status=$?; break; }
2673 done
2676 test -n "$ac_init_help" && exit $ac_status
2677 if $ac_init_version; then
2678 cat <<\_ACEOF
2679 Wine configure 8.3
2680 generated by GNU Autoconf 2.71
2682 Copyright (C) 2021 Free Software Foundation, Inc.
2683 This configure script is free software; the Free Software Foundation
2684 gives unlimited permission to copy, distribute and modify it.
2685 _ACEOF
2686 exit
2689 ## ------------------------ ##
2690 ## Autoconf initialization. ##
2691 ## ------------------------ ##
2693 # ac_fn_c_try_compile LINENO
2694 # --------------------------
2695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2696 ac_fn_c_try_compile ()
2698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2699 rm -f conftest.$ac_objext conftest.beam
2700 if { { ac_try="$ac_compile"
2701 case "(($ac_try" in
2702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2703 *) ac_try_echo=$ac_try;;
2704 esac
2705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2706 printf "%s\n" "$ac_try_echo"; } >&5
2707 (eval "$ac_compile") 2>conftest.err
2708 ac_status=$?
2709 if test -s conftest.err; then
2710 grep -v '^ *+' conftest.err >conftest.er1
2711 cat conftest.er1 >&5
2712 mv -f conftest.er1 conftest.err
2714 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2715 test $ac_status = 0; } && {
2716 test -z "$ac_c_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest.$ac_objext
2719 then :
2720 ac_retval=0
2721 else $as_nop
2722 printf "%s\n" "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2725 ac_retval=1
2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2728 as_fn_set_status $ac_retval
2730 } # ac_fn_c_try_compile
2732 # ac_fn_cxx_try_compile LINENO
2733 # ----------------------------
2734 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2735 ac_fn_cxx_try_compile ()
2737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2738 rm -f conftest.$ac_objext conftest.beam
2739 if { { ac_try="$ac_compile"
2740 case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2743 esac
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 printf "%s\n" "$ac_try_echo"; } >&5
2746 (eval "$ac_compile") 2>conftest.err
2747 ac_status=$?
2748 if test -s conftest.err; then
2749 grep -v '^ *+' conftest.err >conftest.er1
2750 cat conftest.er1 >&5
2751 mv -f conftest.er1 conftest.err
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2754 test $ac_status = 0; } && {
2755 test -z "$ac_cxx_werror_flag" ||
2756 test ! -s conftest.err
2757 } && test -s conftest.$ac_objext
2758 then :
2759 ac_retval=0
2760 else $as_nop
2761 printf "%s\n" "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2764 ac_retval=1
2766 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2767 as_fn_set_status $ac_retval
2769 } # ac_fn_cxx_try_compile
2771 # ac_fn_c_try_link LINENO
2772 # -----------------------
2773 # Try to link conftest.$ac_ext, and return whether this succeeded.
2774 ac_fn_c_try_link ()
2776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2777 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2778 if { { ac_try="$ac_link"
2779 case "(($ac_try" in
2780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781 *) ac_try_echo=$ac_try;;
2782 esac
2783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2784 printf "%s\n" "$ac_try_echo"; } >&5
2785 (eval "$ac_link") 2>conftest.err
2786 ac_status=$?
2787 if test -s conftest.err; then
2788 grep -v '^ *+' conftest.err >conftest.er1
2789 cat conftest.er1 >&5
2790 mv -f conftest.er1 conftest.err
2792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2793 test $ac_status = 0; } && {
2794 test -z "$ac_c_werror_flag" ||
2795 test ! -s conftest.err
2796 } && test -s conftest$ac_exeext && {
2797 test "$cross_compiling" = yes ||
2798 test -x conftest$ac_exeext
2800 then :
2801 ac_retval=0
2802 else $as_nop
2803 printf "%s\n" "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2806 ac_retval=1
2808 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2809 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2810 # interfere with the next link command; also delete a directory that is
2811 # left behind by Apple's compiler. We do this before executing the actions.
2812 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2814 as_fn_set_status $ac_retval
2816 } # ac_fn_c_try_link
2818 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2819 # -------------------------------------------------------
2820 # Tests whether HEADER exists and can be compiled using the include files in
2821 # INCLUDES, setting the cache variable VAR accordingly.
2822 ac_fn_c_check_header_compile ()
2824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2826 printf %s "checking for $2... " >&6; }
2827 if eval test \${$3+y}
2828 then :
2829 printf %s "(cached) " >&6
2830 else $as_nop
2831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2832 /* end confdefs.h. */
2834 #include <$2>
2835 _ACEOF
2836 if ac_fn_c_try_compile "$LINENO"
2837 then :
2838 eval "$3=yes"
2839 else $as_nop
2840 eval "$3=no"
2842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2844 eval ac_res=\$$3
2845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2846 printf "%s\n" "$ac_res" >&6; }
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 } # ac_fn_c_check_header_compile
2851 # ac_fn_objc_try_compile LINENO
2852 # -----------------------------
2853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_objc_try_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext conftest.beam
2858 if { { ac_try="$ac_compile"
2859 case "(($ac_try" in
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2862 esac
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 printf "%s\n" "$ac_try_echo"; } >&5
2865 (eval "$ac_compile") 2>conftest.err
2866 ac_status=$?
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_objc_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext
2877 then :
2878 ac_retval=0
2879 else $as_nop
2880 printf "%s\n" "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2883 ac_retval=1
2885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2886 as_fn_set_status $ac_retval
2888 } # ac_fn_objc_try_compile
2890 # ac_fn_c_check_func LINENO FUNC VAR
2891 # ----------------------------------
2892 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2893 ac_fn_c_check_func ()
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2897 printf %s "checking for $2... " >&6; }
2898 if eval test \${$3+y}
2899 then :
2900 printf %s "(cached) " >&6
2901 else $as_nop
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2904 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2906 #define $2 innocuous_$2
2908 /* System header to define __stub macros and hopefully few prototypes,
2909 which can conflict with char $2 (); below. */
2911 #include <limits.h>
2912 #undef $2
2914 /* Override any GCC internal prototype to avoid an error.
2915 Use char because int might match the return type of a GCC
2916 builtin and then its argument prototype would still apply. */
2917 #ifdef __cplusplus
2918 extern "C"
2919 #endif
2920 char $2 ();
2921 /* The GNU C library defines this for functions which it implements
2922 to always fail with ENOSYS. Some functions are actually named
2923 something starting with __ and the normal name is an alias. */
2924 #if defined __stub_$2 || defined __stub___$2
2925 choke me
2926 #endif
2929 main (void)
2931 return $2 ();
2933 return 0;
2935 _ACEOF
2936 if ac_fn_c_try_link "$LINENO"
2937 then :
2938 eval "$3=yes"
2939 else $as_nop
2940 eval "$3=no"
2942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2943 conftest$ac_exeext conftest.$ac_ext
2945 eval ac_res=\$$3
2946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2947 printf "%s\n" "$ac_res" >&6; }
2948 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2950 } # ac_fn_c_check_func
2952 # ac_fn_c_try_cpp LINENO
2953 # ----------------------
2954 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2955 ac_fn_c_try_cpp ()
2957 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2958 if { { ac_try="$ac_cpp conftest.$ac_ext"
2959 case "(($ac_try" in
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2962 esac
2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2964 printf "%s\n" "$ac_try_echo"; } >&5
2965 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2966 ac_status=$?
2967 if test -s conftest.err; then
2968 grep -v '^ *+' conftest.err >conftest.er1
2969 cat conftest.er1 >&5
2970 mv -f conftest.er1 conftest.err
2972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2973 test $ac_status = 0; } > conftest.i && {
2974 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2977 then :
2978 ac_retval=0
2979 else $as_nop
2980 printf "%s\n" "$as_me: failed program was:" >&5
2981 sed 's/^/| /' conftest.$ac_ext >&5
2983 ac_retval=1
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2986 as_fn_set_status $ac_retval
2988 } # ac_fn_c_try_cpp
2990 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2991 # ----------------------------------------------------
2992 # Tries to find if the field MEMBER exists in type AGGR, after including
2993 # INCLUDES, setting cache variable VAR accordingly.
2994 ac_fn_c_check_member ()
2996 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2998 printf %s "checking for $2.$3... " >&6; }
2999 if eval test \${$4+y}
3000 then :
3001 printf %s "(cached) " >&6
3002 else $as_nop
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main (void)
3009 static $2 ac_aggr;
3010 if (ac_aggr.$3)
3011 return 0;
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"
3017 then :
3018 eval "$4=yes"
3019 else $as_nop
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3024 main (void)
3026 static $2 ac_aggr;
3027 if (sizeof ac_aggr.$3)
3028 return 0;
3030 return 0;
3032 _ACEOF
3033 if ac_fn_c_try_compile "$LINENO"
3034 then :
3035 eval "$4=yes"
3036 else $as_nop
3037 eval "$4=no"
3039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3043 eval ac_res=\$$4
3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3045 printf "%s\n" "$ac_res" >&6; }
3046 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3048 } # ac_fn_c_check_member
3050 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3051 # -------------------------------------------
3052 # Tests whether TYPE exists after having included INCLUDES, setting cache
3053 # variable VAR accordingly.
3054 ac_fn_c_check_type ()
3056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3058 printf %s "checking for $2... " >&6; }
3059 if eval test \${$3+y}
3060 then :
3061 printf %s "(cached) " >&6
3062 else $as_nop
3063 eval "$3=no"
3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3065 /* end confdefs.h. */
3068 main (void)
3070 if (sizeof ($2))
3071 return 0;
3073 return 0;
3075 _ACEOF
3076 if ac_fn_c_try_compile "$LINENO"
3077 then :
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3082 main (void)
3084 if (sizeof (($2)))
3085 return 0;
3087 return 0;
3089 _ACEOF
3090 if ac_fn_c_try_compile "$LINENO"
3091 then :
3093 else $as_nop
3094 eval "$3=yes"
3096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3098 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3100 eval ac_res=\$$3
3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3102 printf "%s\n" "$ac_res" >&6; }
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3105 } # ac_fn_c_check_type
3106 ac_configure_args_raw=
3107 for ac_arg
3109 case $ac_arg in
3110 *\'*)
3111 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3112 esac
3113 as_fn_append ac_configure_args_raw " '$ac_arg'"
3114 done
3116 case $ac_configure_args_raw in
3117 *$as_nl*)
3118 ac_safe_unquote= ;;
3120 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3121 ac_unsafe_a="$ac_unsafe_z#~"
3122 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3123 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3124 esac
3126 cat >config.log <<_ACEOF
3127 This file contains any messages produced by compilers while
3128 running configure, to aid debugging if configure makes a mistake.
3130 It was created by Wine $as_me 8.3, which was
3131 generated by GNU Autoconf 2.71. Invocation command line was
3133 $ $0$ac_configure_args_raw
3135 _ACEOF
3136 exec 5>>config.log
3138 cat <<_ASUNAME
3139 ## --------- ##
3140 ## Platform. ##
3141 ## --------- ##
3143 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3144 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3145 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3146 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3147 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3149 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3150 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3152 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3153 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3154 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3155 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3156 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3157 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3158 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3160 _ASUNAME
3162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3163 for as_dir in $PATH
3165 IFS=$as_save_IFS
3166 case $as_dir in #(((
3167 '') as_dir=./ ;;
3168 */) ;;
3169 *) as_dir=$as_dir/ ;;
3170 esac
3171 printf "%s\n" "PATH: $as_dir"
3172 done
3173 IFS=$as_save_IFS
3175 } >&5
3177 cat >&5 <<_ACEOF
3180 ## ----------- ##
3181 ## Core tests. ##
3182 ## ----------- ##
3184 _ACEOF
3187 # Keep a trace of the command line.
3188 # Strip out --no-create and --no-recursion so they do not pile up.
3189 # Strip out --silent because we don't want to record it for future runs.
3190 # Also quote any args containing shell meta-characters.
3191 # Make two passes to allow for proper duplicate-argument suppression.
3192 ac_configure_args=
3193 ac_configure_args0=
3194 ac_configure_args1=
3195 ac_must_keep_next=false
3196 for ac_pass in 1 2
3198 for ac_arg
3200 case $ac_arg in
3201 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3203 | -silent | --silent | --silen | --sile | --sil)
3204 continue ;;
3205 *\'*)
3206 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3207 esac
3208 case $ac_pass in
3209 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3211 as_fn_append ac_configure_args1 " '$ac_arg'"
3212 if test $ac_must_keep_next = true; then
3213 ac_must_keep_next=false # Got value, back to normal.
3214 else
3215 case $ac_arg in
3216 *=* | --config-cache | -C | -disable-* | --disable-* \
3217 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3218 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3219 | -with-* | --with-* | -without-* | --without-* | --x)
3220 case "$ac_configure_args0 " in
3221 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3222 esac
3224 -* ) ac_must_keep_next=true ;;
3225 esac
3227 as_fn_append ac_configure_args " '$ac_arg'"
3229 esac
3230 done
3231 done
3232 { ac_configure_args0=; unset ac_configure_args0;}
3233 { ac_configure_args1=; unset ac_configure_args1;}
3235 # When interrupted or exit'd, cleanup temporary files, and complete
3236 # config.log. We remove comments because anyway the quotes in there
3237 # would cause problems or look ugly.
3238 # WARNING: Use '\'' to represent an apostrophe within the trap.
3239 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3240 trap 'exit_status=$?
3241 # Sanitize IFS.
3242 IFS=" "" $as_nl"
3243 # Save into config.log some information that might help in debugging.
3245 echo
3247 printf "%s\n" "## ---------------- ##
3248 ## Cache variables. ##
3249 ## ---------------- ##"
3250 echo
3251 # The following way of writing the cache mishandles newlines in values,
3253 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3254 eval ac_val=\$$ac_var
3255 case $ac_val in #(
3256 *${as_nl}*)
3257 case $ac_var in #(
3258 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3259 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3260 esac
3261 case $ac_var in #(
3262 _ | IFS | as_nl) ;; #(
3263 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3264 *) { eval $ac_var=; unset $ac_var;} ;;
3265 esac ;;
3266 esac
3267 done
3268 (set) 2>&1 |
3269 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3270 *${as_nl}ac_space=\ *)
3271 sed -n \
3272 "s/'\''/'\''\\\\'\'''\''/g;
3273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3274 ;; #(
3276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3278 esac |
3279 sort
3281 echo
3283 printf "%s\n" "## ----------------- ##
3284 ## Output variables. ##
3285 ## ----------------- ##"
3286 echo
3287 for ac_var in $ac_subst_vars
3289 eval ac_val=\$$ac_var
3290 case $ac_val in
3291 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3292 esac
3293 printf "%s\n" "$ac_var='\''$ac_val'\''"
3294 done | sort
3295 echo
3297 if test -n "$ac_subst_files"; then
3298 printf "%s\n" "## ------------------- ##
3299 ## File substitutions. ##
3300 ## ------------------- ##"
3301 echo
3302 for ac_var in $ac_subst_files
3304 eval ac_val=\$$ac_var
3305 case $ac_val in
3306 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3307 esac
3308 printf "%s\n" "$ac_var='\''$ac_val'\''"
3309 done | sort
3310 echo
3313 if test -s confdefs.h; then
3314 printf "%s\n" "## ----------- ##
3315 ## confdefs.h. ##
3316 ## ----------- ##"
3317 echo
3318 cat confdefs.h
3319 echo
3321 test "$ac_signal" != 0 &&
3322 printf "%s\n" "$as_me: caught signal $ac_signal"
3323 printf "%s\n" "$as_me: exit $exit_status"
3324 } >&5
3325 rm -f core *.core core.conftest.* &&
3326 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3327 exit $exit_status
3329 for ac_signal in 1 2 13 15; do
3330 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3331 done
3332 ac_signal=0
3334 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3335 rm -f -r conftest* confdefs.h
3337 printf "%s\n" "/* confdefs.h */" > confdefs.h
3339 # Predefined preprocessor variables.
3341 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3343 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3345 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3347 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3349 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3351 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3354 # Let the site file select an alternate cache file if it wants to.
3355 # Prefer an explicitly selected file to automatically selected ones.
3356 if test -n "$CONFIG_SITE"; then
3357 ac_site_files="$CONFIG_SITE"
3358 elif test "x$prefix" != xNONE; then
3359 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3360 else
3361 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3364 for ac_site_file in $ac_site_files
3366 case $ac_site_file in #(
3367 */*) :
3368 ;; #(
3369 *) :
3370 ac_site_file=./$ac_site_file ;;
3371 esac
3372 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3374 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3375 sed 's/^/| /' "$ac_site_file" >&5
3376 . "$ac_site_file" \
3377 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3379 as_fn_error $? "failed to load site script $ac_site_file
3380 See \`config.log' for more details" "$LINENO" 5; }
3382 done
3384 if test -r "$cache_file"; then
3385 # Some versions of bash will fail to source /dev/null (special files
3386 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3387 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3389 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3390 case $cache_file in
3391 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3392 *) . "./$cache_file";;
3393 esac
3395 else
3396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3397 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3398 >$cache_file
3401 # Test code for whether the C compiler supports C89 (global declarations)
3402 ac_c_conftest_c89_globals='
3403 /* Does the compiler advertise C89 conformance?
3404 Do not test the value of __STDC__, because some compilers set it to 0
3405 while being otherwise adequately conformant. */
3406 #if !defined __STDC__
3407 # error "Compiler does not advertise C89 conformance"
3408 #endif
3410 #include <stddef.h>
3411 #include <stdarg.h>
3412 struct stat;
3413 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3414 struct buf { int x; };
3415 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3416 static char *e (p, i)
3417 char **p;
3418 int i;
3420 return p[i];
3422 static char *f (char * (*g) (char **, int), char **p, ...)
3424 char *s;
3425 va_list v;
3426 va_start (v,p);
3427 s = g (p, va_arg (v,int));
3428 va_end (v);
3429 return s;
3432 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3433 function prototypes and stuff, but not \xHH hex character constants.
3434 These do not provoke an error unfortunately, instead are silently treated
3435 as an "x". The following induces an error, until -std is added to get
3436 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3437 array size at least. It is necessary to write \x00 == 0 to get something
3438 that is true only with -std. */
3439 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3441 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3442 inside strings and character constants. */
3443 #define FOO(x) '\''x'\''
3444 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3446 int test (int i, double x);
3447 struct s1 {int (*f) (int a);};
3448 struct s2 {int (*f) (double a);};
3449 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3450 int, int);'
3452 # Test code for whether the C compiler supports C89 (body of main).
3453 ac_c_conftest_c89_main='
3454 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3457 # Test code for whether the C compiler supports C99 (global declarations)
3458 ac_c_conftest_c99_globals='
3459 // Does the compiler advertise C99 conformance?
3460 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3461 # error "Compiler does not advertise C99 conformance"
3462 #endif
3464 #include <stdbool.h>
3465 extern int puts (const char *);
3466 extern int printf (const char *, ...);
3467 extern int dprintf (int, const char *, ...);
3468 extern void *malloc (size_t);
3470 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3471 // dprintf is used instead of fprintf to avoid needing to declare
3472 // FILE and stderr.
3473 #define debug(...) dprintf (2, __VA_ARGS__)
3474 #define showlist(...) puts (#__VA_ARGS__)
3475 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3476 static void
3477 test_varargs_macros (void)
3479 int x = 1234;
3480 int y = 5678;
3481 debug ("Flag");
3482 debug ("X = %d\n", x);
3483 showlist (The first, second, and third items.);
3484 report (x>y, "x is %d but y is %d", x, y);
3487 // Check long long types.
3488 #define BIG64 18446744073709551615ull
3489 #define BIG32 4294967295ul
3490 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3491 #if !BIG_OK
3492 #error "your preprocessor is broken"
3493 #endif
3494 #if BIG_OK
3495 #else
3496 #error "your preprocessor is broken"
3497 #endif
3498 static long long int bignum = -9223372036854775807LL;
3499 static unsigned long long int ubignum = BIG64;
3501 struct incomplete_array
3503 int datasize;
3504 double data[];
3507 struct named_init {
3508 int number;
3509 const wchar_t *name;
3510 double average;
3513 typedef const char *ccp;
3515 static inline int
3516 test_restrict (ccp restrict text)
3518 // See if C++-style comments work.
3519 // Iterate through items via the restricted pointer.
3520 // Also check for declarations in for loops.
3521 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3522 continue;
3523 return 0;
3526 // Check varargs and va_copy.
3527 static bool
3528 test_varargs (const char *format, ...)
3530 va_list args;
3531 va_start (args, format);
3532 va_list args_copy;
3533 va_copy (args_copy, args);
3535 const char *str = "";
3536 int number = 0;
3537 float fnumber = 0;
3539 while (*format)
3541 switch (*format++)
3543 case '\''s'\'': // string
3544 str = va_arg (args_copy, const char *);
3545 break;
3546 case '\''d'\'': // int
3547 number = va_arg (args_copy, int);
3548 break;
3549 case '\''f'\'': // float
3550 fnumber = va_arg (args_copy, double);
3551 break;
3552 default:
3553 break;
3556 va_end (args_copy);
3557 va_end (args);
3559 return *str && number && fnumber;
3563 # Test code for whether the C compiler supports C99 (body of main).
3564 ac_c_conftest_c99_main='
3565 // Check bool.
3566 _Bool success = false;
3567 success |= (argc != 0);
3569 // Check restrict.
3570 if (test_restrict ("String literal") == 0)
3571 success = true;
3572 char *restrict newvar = "Another string";
3574 // Check varargs.
3575 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3576 test_varargs_macros ();
3578 // Check flexible array members.
3579 struct incomplete_array *ia =
3580 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3581 ia->datasize = 10;
3582 for (int i = 0; i < ia->datasize; ++i)
3583 ia->data[i] = i * 1.234;
3585 // Check named initializers.
3586 struct named_init ni = {
3587 .number = 34,
3588 .name = L"Test wide string",
3589 .average = 543.34343,
3592 ni.number = 58;
3594 int dynamic_array[ni.number];
3595 dynamic_array[0] = argv[0][0];
3596 dynamic_array[ni.number - 1] = 543;
3598 // work around unused variable warnings
3599 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3600 || dynamic_array[ni.number - 1] != 543);
3603 # Test code for whether the C compiler supports C11 (global declarations)
3604 ac_c_conftest_c11_globals='
3605 // Does the compiler advertise C11 conformance?
3606 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3607 # error "Compiler does not advertise C11 conformance"
3608 #endif
3610 // Check _Alignas.
3611 char _Alignas (double) aligned_as_double;
3612 char _Alignas (0) no_special_alignment;
3613 extern char aligned_as_int;
3614 char _Alignas (0) _Alignas (int) aligned_as_int;
3616 // Check _Alignof.
3617 enum
3619 int_alignment = _Alignof (int),
3620 int_array_alignment = _Alignof (int[100]),
3621 char_alignment = _Alignof (char)
3623 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3625 // Check _Noreturn.
3626 int _Noreturn does_not_return (void) { for (;;) continue; }
3628 // Check _Static_assert.
3629 struct test_static_assert
3631 int x;
3632 _Static_assert (sizeof (int) <= sizeof (long int),
3633 "_Static_assert does not work in struct");
3634 long int y;
3637 // Check UTF-8 literals.
3638 #define u8 syntax error!
3639 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3641 // Check duplicate typedefs.
3642 typedef long *long_ptr;
3643 typedef long int *long_ptr;
3644 typedef long_ptr long_ptr;
3646 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3647 struct anonymous
3649 union {
3650 struct { int i; int j; };
3651 struct { int k; long int l; } w;
3653 int m;
3654 } v1;
3657 # Test code for whether the C compiler supports C11 (body of main).
3658 ac_c_conftest_c11_main='
3659 _Static_assert ((offsetof (struct anonymous, i)
3660 == offsetof (struct anonymous, w.k)),
3661 "Anonymous union alignment botch");
3662 v1.i = 2;
3663 v1.w.k = 5;
3664 ok |= v1.i != 5;
3667 # Test code for whether the C compiler supports C11 (complete).
3668 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3669 ${ac_c_conftest_c99_globals}
3670 ${ac_c_conftest_c11_globals}
3673 main (int argc, char **argv)
3675 int ok = 0;
3676 ${ac_c_conftest_c89_main}
3677 ${ac_c_conftest_c99_main}
3678 ${ac_c_conftest_c11_main}
3679 return ok;
3683 # Test code for whether the C compiler supports C99 (complete).
3684 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3685 ${ac_c_conftest_c99_globals}
3688 main (int argc, char **argv)
3690 int ok = 0;
3691 ${ac_c_conftest_c89_main}
3692 ${ac_c_conftest_c99_main}
3693 return ok;
3697 # Test code for whether the C compiler supports C89 (complete).
3698 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3701 main (int argc, char **argv)
3703 int ok = 0;
3704 ${ac_c_conftest_c89_main}
3705 return ok;
3709 # Test code for whether the C++ compiler supports C++98 (global declarations)
3710 ac_cxx_conftest_cxx98_globals='
3711 // Does the compiler advertise C++98 conformance?
3712 #if !defined __cplusplus || __cplusplus < 199711L
3713 # error "Compiler does not advertise C++98 conformance"
3714 #endif
3716 // These inclusions are to reject old compilers that
3717 // lack the unsuffixed header files.
3718 #include <cstdlib>
3719 #include <exception>
3721 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3722 extern void assert (int);
3723 namespace std {
3724 extern int strcmp (const char *, const char *);
3727 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3728 using std::exception;
3729 using std::strcmp;
3731 namespace {
3733 void test_exception_syntax()
3735 try {
3736 throw "test";
3737 } catch (const char *s) {
3738 // Extra parentheses suppress a warning when building autoconf itself,
3739 // due to lint rules shared with more typical C programs.
3740 assert (!(strcmp) (s, "test"));
3744 template <typename T> struct test_template
3746 T const val;
3747 explicit test_template(T t) : val(t) {}
3748 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3751 } // anonymous namespace
3754 # Test code for whether the C++ compiler supports C++98 (body of main)
3755 ac_cxx_conftest_cxx98_main='
3756 assert (argc);
3757 assert (! argv[0]);
3759 test_exception_syntax ();
3760 test_template<double> tt (2.0);
3761 assert (tt.add (4) == 6.0);
3762 assert (true && !false);
3766 # Test code for whether the C++ compiler supports C++11 (global declarations)
3767 ac_cxx_conftest_cxx11_globals='
3768 // Does the compiler advertise C++ 2011 conformance?
3769 #if !defined __cplusplus || __cplusplus < 201103L
3770 # error "Compiler does not advertise C++11 conformance"
3771 #endif
3773 namespace cxx11test
3775 constexpr int get_val() { return 20; }
3777 struct testinit
3779 int i;
3780 double d;
3783 class delegate
3785 public:
3786 delegate(int n) : n(n) {}
3787 delegate(): delegate(2354) {}
3789 virtual int getval() { return this->n; };
3790 protected:
3791 int n;
3794 class overridden : public delegate
3796 public:
3797 overridden(int n): delegate(n) {}
3798 virtual int getval() override final { return this->n * 2; }
3801 class nocopy
3803 public:
3804 nocopy(int i): i(i) {}
3805 nocopy() = default;
3806 nocopy(const nocopy&) = delete;
3807 nocopy & operator=(const nocopy&) = delete;
3808 private:
3809 int i;
3812 // for testing lambda expressions
3813 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3815 return f(v);
3818 // for testing variadic templates and trailing return types
3819 template <typename V> auto sum(V first) -> V
3821 return first;
3823 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3825 return first + sum(rest...);
3830 # Test code for whether the C++ compiler supports C++11 (body of main)
3831 ac_cxx_conftest_cxx11_main='
3833 // Test auto and decltype
3834 auto a1 = 6538;
3835 auto a2 = 48573953.4;
3836 auto a3 = "String literal";
3838 int total = 0;
3839 for (auto i = a3; *i; ++i) { total += *i; }
3841 decltype(a2) a4 = 34895.034;
3844 // Test constexpr
3845 short sa[cxx11test::get_val()] = { 0 };
3848 // Test initializer lists
3849 cxx11test::testinit il = { 4323, 435234.23544 };
3852 // Test range-based for
3853 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3854 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3855 for (auto &x : array) { x += 23; }
3858 // Test lambda expressions
3859 using cxx11test::eval;
3860 assert (eval ([](int x) { return x*2; }, 21) == 42);
3861 double d = 2.0;
3862 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3863 assert (d == 5.0);
3864 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3865 assert (d == 5.0);
3868 // Test use of variadic templates
3869 using cxx11test::sum;
3870 auto a = sum(1);
3871 auto b = sum(1, 2);
3872 auto c = sum(1.0, 2.0, 3.0);
3875 // Test constructor delegation
3876 cxx11test::delegate d1;
3877 cxx11test::delegate d2();
3878 cxx11test::delegate d3(45);
3881 // Test override and final
3882 cxx11test::overridden o1(55464);
3885 // Test nullptr
3886 char *c = nullptr;
3889 // Test template brackets
3890 test_template<::test_template<int>> v(test_template<int>(12));
3893 // Unicode literals
3894 char const *utf8 = u8"UTF-8 string \u2500";
3895 char16_t const *utf16 = u"UTF-8 string \u2500";
3896 char32_t const *utf32 = U"UTF-32 string \u2500";
3900 # Test code for whether the C compiler supports C++11 (complete).
3901 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3902 ${ac_cxx_conftest_cxx11_globals}
3905 main (int argc, char **argv)
3907 int ok = 0;
3908 ${ac_cxx_conftest_cxx98_main}
3909 ${ac_cxx_conftest_cxx11_main}
3910 return ok;
3914 # Test code for whether the C compiler supports C++98 (complete).
3915 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3917 main (int argc, char **argv)
3919 int ok = 0;
3920 ${ac_cxx_conftest_cxx98_main}
3921 return ok;
3925 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3926 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3927 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3928 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3929 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3930 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3931 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3932 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3933 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3935 # Auxiliary files required by this configure script.
3936 ac_aux_files="config.guess config.sub"
3938 # Locations in which to look for auxiliary files.
3939 ac_aux_dir_candidates="${srcdir}/tools"
3941 # Search for a directory containing all of the required auxiliary files,
3942 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3943 # If we don't find one directory that contains all the files we need,
3944 # we report the set of missing files from the *first* directory in
3945 # $ac_aux_dir_candidates and give up.
3946 ac_missing_aux_files=""
3947 ac_first_candidate=:
3948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 as_found=false
3951 for as_dir in $ac_aux_dir_candidates
3953 IFS=$as_save_IFS
3954 case $as_dir in #(((
3955 '') as_dir=./ ;;
3956 */) ;;
3957 *) as_dir=$as_dir/ ;;
3958 esac
3959 as_found=:
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3962 ac_aux_dir_found=yes
3963 ac_install_sh=
3964 for ac_aux in $ac_aux_files
3966 # As a special case, if "install-sh" is required, that requirement
3967 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3968 # and $ac_install_sh is set appropriately for whichever one is found.
3969 if test x"$ac_aux" = x"install-sh"
3970 then
3971 if test -f "${as_dir}install-sh"; then
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3973 ac_install_sh="${as_dir}install-sh -c"
3974 elif test -f "${as_dir}install.sh"; then
3975 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3976 ac_install_sh="${as_dir}install.sh -c"
3977 elif test -f "${as_dir}shtool"; then
3978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3979 ac_install_sh="${as_dir}shtool install -c"
3980 else
3981 ac_aux_dir_found=no
3982 if $ac_first_candidate; then
3983 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3984 else
3985 break
3988 else
3989 if test -f "${as_dir}${ac_aux}"; then
3990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3991 else
3992 ac_aux_dir_found=no
3993 if $ac_first_candidate; then
3994 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3995 else
3996 break
4000 done
4001 if test "$ac_aux_dir_found" = yes; then
4002 ac_aux_dir="$as_dir"
4003 break
4005 ac_first_candidate=false
4007 as_found=false
4008 done
4009 IFS=$as_save_IFS
4010 if $as_found
4011 then :
4013 else $as_nop
4014 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4018 # These three variables are undocumented and unsupported,
4019 # and are intended to be withdrawn in a future Autoconf release.
4020 # They can cause serious problems if a builder's source tree is in a directory
4021 # whose full name contains unusual characters.
4022 if test -f "${ac_aux_dir}config.guess"; then
4023 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4025 if test -f "${ac_aux_dir}config.sub"; then
4026 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4028 if test -f "$ac_aux_dir/configure"; then
4029 ac_configure="$SHELL ${ac_aux_dir}configure"
4032 # Check that the precious variables saved in the cache have kept the same
4033 # value.
4034 ac_cache_corrupted=false
4035 for ac_var in $ac_precious_vars; do
4036 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4037 eval ac_new_set=\$ac_env_${ac_var}_set
4038 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4039 eval ac_new_val=\$ac_env_${ac_var}_value
4040 case $ac_old_set,$ac_new_set in
4041 set,)
4042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4043 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4044 ac_cache_corrupted=: ;;
4045 ,set)
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4047 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4048 ac_cache_corrupted=: ;;
4049 ,);;
4051 if test "x$ac_old_val" != "x$ac_new_val"; then
4052 # differences in whitespace do not lead to failure.
4053 ac_old_val_w=`echo x $ac_old_val`
4054 ac_new_val_w=`echo x $ac_new_val`
4055 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4057 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4058 ac_cache_corrupted=:
4059 else
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4061 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4062 eval $ac_var=\$ac_old_val
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4065 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4067 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4068 fi;;
4069 esac
4070 # Pass precious variables to config.status.
4071 if test "$ac_new_set" = set; then
4072 case $ac_new_val in
4073 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4074 *) ac_arg=$ac_var=$ac_new_val ;;
4075 esac
4076 case " $ac_configure_args " in
4077 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4078 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4079 esac
4081 done
4082 if $ac_cache_corrupted; then
4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4084 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4086 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4087 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4088 and start over" "$LINENO" 5
4090 ## -------------------- ##
4091 ## Main body of script. ##
4092 ## -------------------- ##
4094 ac_ext=c
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4102 ac_config_headers="$ac_config_headers include/config.h"
4106 libwine_version="1.0"
4109 # Check whether --enable-archs was given.
4110 if test ${enable_archs+y}
4111 then :
4112 enableval=$enable_archs;
4115 # Check whether --enable-win16 was given.
4116 if test ${enable_win16+y}
4117 then :
4118 enableval=$enable_win16;
4121 # Check whether --enable-win64 was given.
4122 if test ${enable_win64+y}
4123 then :
4124 enableval=$enable_win64;
4127 # Check whether --enable-tests was given.
4128 if test ${enable_tests+y}
4129 then :
4130 enableval=$enable_tests;
4133 # Check whether --enable-build-id was given.
4134 if test ${enable_build_id+y}
4135 then :
4136 enableval=$enable_build_id;
4139 # Check whether --enable-maintainer-mode was given.
4140 if test ${enable_maintainer_mode+y}
4141 then :
4142 enableval=$enable_maintainer_mode;
4145 # Check whether --enable-silent-rules was given.
4146 if test ${enable_silent_rules+y}
4147 then :
4148 enableval=$enable_silent_rules;
4151 # Check whether --enable-werror was given.
4152 if test ${enable_werror+y}
4153 then :
4154 enableval=$enable_werror;
4159 # Check whether --with-alsa was given.
4160 if test ${with_alsa+y}
4161 then :
4162 withval=$with_alsa;
4166 # Check whether --with-capi was given.
4167 if test ${with_capi+y}
4168 then :
4169 withval=$with_capi;
4173 # Check whether --with-coreaudio was given.
4174 if test ${with_coreaudio+y}
4175 then :
4176 withval=$with_coreaudio;
4180 # Check whether --with-cups was given.
4181 if test ${with_cups+y}
4182 then :
4183 withval=$with_cups;
4187 # Check whether --with-dbus was given.
4188 if test ${with_dbus+y}
4189 then :
4190 withval=$with_dbus;
4194 # Check whether --with-float-abi was given.
4195 if test ${with_float_abi+y}
4196 then :
4197 withval=$with_float_abi;
4201 # Check whether --with-fontconfig was given.
4202 if test ${with_fontconfig+y}
4203 then :
4204 withval=$with_fontconfig;
4208 # Check whether --with-freetype was given.
4209 if test ${with_freetype+y}
4210 then :
4211 withval=$with_freetype;
4215 # Check whether --with-gettext was given.
4216 if test ${with_gettext+y}
4217 then :
4218 withval=$with_gettext;
4222 # Check whether --with-gettextpo was given.
4223 if test ${with_gettextpo+y}
4224 then :
4225 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4229 # Check whether --with-gphoto was given.
4230 if test ${with_gphoto+y}
4231 then :
4232 withval=$with_gphoto;
4236 # Check whether --with-gnutls was given.
4237 if test ${with_gnutls+y}
4238 then :
4239 withval=$with_gnutls;
4243 # Check whether --with-gssapi was given.
4244 if test ${with_gssapi+y}
4245 then :
4246 withval=$with_gssapi;
4250 # Check whether --with-gstreamer was given.
4251 if test ${with_gstreamer+y}
4252 then :
4253 withval=$with_gstreamer;
4257 # Check whether --with-inotify was given.
4258 if test ${with_inotify+y}
4259 then :
4260 withval=$with_inotify;
4264 # Check whether --with-krb5 was given.
4265 if test ${with_krb5+y}
4266 then :
4267 withval=$with_krb5;
4271 # Check whether --with-mingw was given.
4272 if test ${with_mingw+y}
4273 then :
4274 withval=$with_mingw;
4278 # Check whether --with-netapi was given.
4279 if test ${with_netapi+y}
4280 then :
4281 withval=$with_netapi;
4285 # Check whether --with-opencl was given.
4286 if test ${with_opencl+y}
4287 then :
4288 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4292 # Check whether --with-opengl was given.
4293 if test ${with_opengl+y}
4294 then :
4295 withval=$with_opengl;
4299 # Check whether --with-osmesa was given.
4300 if test ${with_osmesa+y}
4301 then :
4302 withval=$with_osmesa;
4306 # Check whether --with-oss was given.
4307 if test ${with_oss+y}
4308 then :
4309 withval=$with_oss;
4313 # Check whether --with-pcap was given.
4314 if test ${with_pcap+y}
4315 then :
4316 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4320 # Check whether --with-pcsclite was given.
4321 if test ${with_pcsclite+y}
4322 then :
4323 withval=$with_pcsclite;
4327 # Check whether --with-pthread was given.
4328 if test ${with_pthread+y}
4329 then :
4330 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4334 # Check whether --with-pulse was given.
4335 if test ${with_pulse+y}
4336 then :
4337 withval=$with_pulse;
4341 # Check whether --with-sane was given.
4342 if test ${with_sane+y}
4343 then :
4344 withval=$with_sane;
4348 # Check whether --with-sdl was given.
4349 if test ${with_sdl+y}
4350 then :
4351 withval=$with_sdl;
4355 # Check whether --with-udev was given.
4356 if test ${with_udev+y}
4357 then :
4358 withval=$with_udev;
4362 # Check whether --with-unwind was given.
4363 if test ${with_unwind+y}
4364 then :
4365 withval=$with_unwind;
4369 # Check whether --with-usb was given.
4370 if test ${with_usb+y}
4371 then :
4372 withval=$with_usb;
4376 # Check whether --with-v4l2 was given.
4377 if test ${with_v4l2+y}
4378 then :
4379 withval=$with_v4l2;
4383 # Check whether --with-vulkan was given.
4384 if test ${with_vulkan+y}
4385 then :
4386 withval=$with_vulkan;
4390 # Check whether --with-xcomposite was given.
4391 if test ${with_xcomposite+y}
4392 then :
4393 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4397 # Check whether --with-xcursor was given.
4398 if test ${with_xcursor+y}
4399 then :
4400 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4404 # Check whether --with-xfixes was given.
4405 if test ${with_xfixes+y}
4406 then :
4407 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4411 # Check whether --with-xinerama was given.
4412 if test ${with_xinerama+y}
4413 then :
4414 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4418 # Check whether --with-xinput was given.
4419 if test ${with_xinput+y}
4420 then :
4421 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4425 # Check whether --with-xinput2 was given.
4426 if test ${with_xinput2+y}
4427 then :
4428 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4432 # Check whether --with-xrandr was given.
4433 if test ${with_xrandr+y}
4434 then :
4435 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4439 # Check whether --with-xrender was given.
4440 if test ${with_xrender+y}
4441 then :
4442 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4446 # Check whether --with-xshape was given.
4447 if test ${with_xshape+y}
4448 then :
4449 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4453 # Check whether --with-xshm was given.
4454 if test ${with_xshm+y}
4455 then :
4456 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4460 # Check whether --with-xxf86vm was given.
4461 if test ${with_xxf86vm+y}
4462 then :
4463 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
4468 # Check whether --with-system-dllpath was given.
4469 if test ${with_system_dllpath+y}
4470 then :
4471 withval=$with_system_dllpath; system_dllpath=$withval
4476 # Check whether --with-wine-tools was given.
4477 if test ${with_wine_tools+y}
4478 then :
4479 withval=$with_wine_tools;
4483 # Check whether --with-wine64 was given.
4484 if test ${with_wine64+y}
4485 then :
4486 withval=$with_wine64;
4493 # Make sure we can run config.sub.
4494 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4495 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4498 printf %s "checking build system type... " >&6; }
4499 if test ${ac_cv_build+y}
4500 then :
4501 printf %s "(cached) " >&6
4502 else $as_nop
4503 ac_build_alias=$build_alias
4504 test "x$ac_build_alias" = x &&
4505 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4506 test "x$ac_build_alias" = x &&
4507 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4508 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4509 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4513 printf "%s\n" "$ac_cv_build" >&6; }
4514 case $ac_cv_build in
4515 *-*-*) ;;
4516 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4517 esac
4518 build=$ac_cv_build
4519 ac_save_IFS=$IFS; IFS='-'
4520 set x $ac_cv_build
4521 shift
4522 build_cpu=$1
4523 build_vendor=$2
4524 shift; shift
4525 # Remember, the first character of IFS is used to create $*,
4526 # except with old shells:
4527 build_os=$*
4528 IFS=$ac_save_IFS
4529 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4533 printf %s "checking host system type... " >&6; }
4534 if test ${ac_cv_host+y}
4535 then :
4536 printf %s "(cached) " >&6
4537 else $as_nop
4538 if test "x$host_alias" = x; then
4539 ac_cv_host=$ac_cv_build
4540 else
4541 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4542 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4547 printf "%s\n" "$ac_cv_host" >&6; }
4548 case $ac_cv_host in
4549 *-*-*) ;;
4550 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4551 esac
4552 host=$ac_cv_host
4553 ac_save_IFS=$IFS; IFS='-'
4554 set x $ac_cv_host
4555 shift
4556 host_cpu=$1
4557 host_vendor=$2
4558 shift; shift
4559 # Remember, the first character of IFS is used to create $*,
4560 # except with old shells:
4561 host_os=$*
4562 IFS=$ac_save_IFS
4563 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4567 dlldir=\${libdir}/wine
4569 fontdir=\${datadir}/wine/fonts
4571 nlsdir=\${datadir}/wine/nls
4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4577 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4578 set x ${MAKE-make}
4579 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4580 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4581 then :
4582 printf %s "(cached) " >&6
4583 else $as_nop
4584 cat >conftest.make <<\_ACEOF
4585 SHELL = /bin/sh
4586 all:
4587 @echo '@@@%%%=$(MAKE)=@@@%%%'
4588 _ACEOF
4589 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4590 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4591 *@@@%%%=?*=@@@%%%*)
4592 eval ac_cv_prog_make_${ac_make}_set=yes;;
4594 eval ac_cv_prog_make_${ac_make}_set=no;;
4595 esac
4596 rm -f conftest.make
4598 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4600 printf "%s\n" "yes" >&6; }
4601 SET_MAKE=
4602 else
4603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 printf "%s\n" "no" >&6; }
4605 SET_MAKE="MAKE=${MAKE-make}"
4617 ac_ext=c
4618 ac_cpp='$CPP $CPPFLAGS'
4619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4622 if test -n "$ac_tool_prefix"; then
4623 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4624 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 printf %s "checking for $ac_word... " >&6; }
4627 if test ${ac_cv_prog_CC+y}
4628 then :
4629 printf %s "(cached) " >&6
4630 else $as_nop
4631 if test -n "$CC"; then
4632 ac_cv_prog_CC="$CC" # Let the user override the test.
4633 else
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4635 for as_dir in $PATH
4637 IFS=$as_save_IFS
4638 case $as_dir in #(((
4639 '') as_dir=./ ;;
4640 */) ;;
4641 *) as_dir=$as_dir/ ;;
4642 esac
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4646 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4647 break 2
4649 done
4650 done
4651 IFS=$as_save_IFS
4655 CC=$ac_cv_prog_CC
4656 if test -n "$CC"; then
4657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4658 printf "%s\n" "$CC" >&6; }
4659 else
4660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4661 printf "%s\n" "no" >&6; }
4666 if test -z "$ac_cv_prog_CC"; then
4667 ac_ct_CC=$CC
4668 # Extract the first word of "gcc", so it can be a program name with args.
4669 set dummy gcc; ac_word=$2
4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 printf %s "checking for $ac_word... " >&6; }
4672 if test ${ac_cv_prog_ac_ct_CC+y}
4673 then :
4674 printf %s "(cached) " >&6
4675 else $as_nop
4676 if test -n "$ac_ct_CC"; then
4677 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4678 else
4679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4680 for as_dir in $PATH
4682 IFS=$as_save_IFS
4683 case $as_dir in #(((
4684 '') as_dir=./ ;;
4685 */) ;;
4686 *) as_dir=$as_dir/ ;;
4687 esac
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4690 ac_cv_prog_ac_ct_CC="gcc"
4691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4692 break 2
4694 done
4695 done
4696 IFS=$as_save_IFS
4700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4701 if test -n "$ac_ct_CC"; then
4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4703 printf "%s\n" "$ac_ct_CC" >&6; }
4704 else
4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 printf "%s\n" "no" >&6; }
4709 if test "x$ac_ct_CC" = x; then
4710 CC=""
4711 else
4712 case $cross_compiling:$ac_tool_warned in
4713 yes:)
4714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4716 ac_tool_warned=yes ;;
4717 esac
4718 CC=$ac_ct_CC
4720 else
4721 CC="$ac_cv_prog_CC"
4724 if test -z "$CC"; then
4725 if test -n "$ac_tool_prefix"; then
4726 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4727 set dummy ${ac_tool_prefix}cc; ac_word=$2
4728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 printf %s "checking for $ac_word... " >&6; }
4730 if test ${ac_cv_prog_CC+y}
4731 then :
4732 printf %s "(cached) " >&6
4733 else $as_nop
4734 if test -n "$CC"; then
4735 ac_cv_prog_CC="$CC" # Let the user override the test.
4736 else
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH
4740 IFS=$as_save_IFS
4741 case $as_dir in #(((
4742 '') as_dir=./ ;;
4743 */) ;;
4744 *) as_dir=$as_dir/ ;;
4745 esac
4746 for ac_exec_ext in '' $ac_executable_extensions; do
4747 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4748 ac_cv_prog_CC="${ac_tool_prefix}cc"
4749 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4750 break 2
4752 done
4753 done
4754 IFS=$as_save_IFS
4758 CC=$ac_cv_prog_CC
4759 if test -n "$CC"; then
4760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4761 printf "%s\n" "$CC" >&6; }
4762 else
4763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 printf "%s\n" "no" >&6; }
4770 if test -z "$CC"; then
4771 # Extract the first word of "cc", so it can be a program name with args.
4772 set dummy cc; ac_word=$2
4773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 printf %s "checking for $ac_word... " >&6; }
4775 if test ${ac_cv_prog_CC+y}
4776 then :
4777 printf %s "(cached) " >&6
4778 else $as_nop
4779 if test -n "$CC"; then
4780 ac_cv_prog_CC="$CC" # Let the user override the test.
4781 else
4782 ac_prog_rejected=no
4783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4784 for as_dir in $PATH
4786 IFS=$as_save_IFS
4787 case $as_dir in #(((
4788 '') as_dir=./ ;;
4789 */) ;;
4790 *) as_dir=$as_dir/ ;;
4791 esac
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4794 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4795 ac_prog_rejected=yes
4796 continue
4798 ac_cv_prog_CC="cc"
4799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4800 break 2
4802 done
4803 done
4804 IFS=$as_save_IFS
4806 if test $ac_prog_rejected = yes; then
4807 # We found a bogon in the path, so make sure we never use it.
4808 set dummy $ac_cv_prog_CC
4809 shift
4810 if test $# != 0; then
4811 # We chose a different compiler from the bogus one.
4812 # However, it has the same basename, so the bogon will be chosen
4813 # first if we set CC to just the basename; use the full file name.
4814 shift
4815 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4820 CC=$ac_cv_prog_CC
4821 if test -n "$CC"; then
4822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4823 printf "%s\n" "$CC" >&6; }
4824 else
4825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 printf "%s\n" "no" >&6; }
4831 if test -z "$CC"; then
4832 if test -n "$ac_tool_prefix"; then
4833 for ac_prog in cl.exe
4835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4838 printf %s "checking for $ac_word... " >&6; }
4839 if test ${ac_cv_prog_CC+y}
4840 then :
4841 printf %s "(cached) " >&6
4842 else $as_nop
4843 if test -n "$CC"; then
4844 ac_cv_prog_CC="$CC" # Let the user override the test.
4845 else
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4849 IFS=$as_save_IFS
4850 case $as_dir in #(((
4851 '') as_dir=./ ;;
4852 */) ;;
4853 *) as_dir=$as_dir/ ;;
4854 esac
4855 for ac_exec_ext in '' $ac_executable_extensions; do
4856 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4857 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4859 break 2
4861 done
4862 done
4863 IFS=$as_save_IFS
4867 CC=$ac_cv_prog_CC
4868 if test -n "$CC"; then
4869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4870 printf "%s\n" "$CC" >&6; }
4871 else
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4873 printf "%s\n" "no" >&6; }
4877 test -n "$CC" && break
4878 done
4880 if test -z "$CC"; then
4881 ac_ct_CC=$CC
4882 for ac_prog in cl.exe
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy $ac_prog; ac_word=$2
4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 printf %s "checking for $ac_word... " >&6; }
4888 if test ${ac_cv_prog_ac_ct_CC+y}
4889 then :
4890 printf %s "(cached) " >&6
4891 else $as_nop
4892 if test -n "$ac_ct_CC"; then
4893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4894 else
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 for as_dir in $PATH
4898 IFS=$as_save_IFS
4899 case $as_dir in #(((
4900 '') as_dir=./ ;;
4901 */) ;;
4902 *) as_dir=$as_dir/ ;;
4903 esac
4904 for ac_exec_ext in '' $ac_executable_extensions; do
4905 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4906 ac_cv_prog_ac_ct_CC="$ac_prog"
4907 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4908 break 2
4910 done
4911 done
4912 IFS=$as_save_IFS
4916 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4917 if test -n "$ac_ct_CC"; then
4918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4919 printf "%s\n" "$ac_ct_CC" >&6; }
4920 else
4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 printf "%s\n" "no" >&6; }
4926 test -n "$ac_ct_CC" && break
4927 done
4929 if test "x$ac_ct_CC" = x; then
4930 CC=""
4931 else
4932 case $cross_compiling:$ac_tool_warned in
4933 yes:)
4934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4935 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4936 ac_tool_warned=yes ;;
4937 esac
4938 CC=$ac_ct_CC
4943 if test -z "$CC"; then
4944 if test -n "$ac_tool_prefix"; then
4945 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4946 set dummy ${ac_tool_prefix}clang; ac_word=$2
4947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 printf %s "checking for $ac_word... " >&6; }
4949 if test ${ac_cv_prog_CC+y}
4950 then :
4951 printf %s "(cached) " >&6
4952 else $as_nop
4953 if test -n "$CC"; then
4954 ac_cv_prog_CC="$CC" # Let the user override the test.
4955 else
4956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 for as_dir in $PATH
4959 IFS=$as_save_IFS
4960 case $as_dir in #(((
4961 '') as_dir=./ ;;
4962 */) ;;
4963 *) as_dir=$as_dir/ ;;
4964 esac
4965 for ac_exec_ext in '' $ac_executable_extensions; do
4966 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4967 ac_cv_prog_CC="${ac_tool_prefix}clang"
4968 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4969 break 2
4971 done
4972 done
4973 IFS=$as_save_IFS
4977 CC=$ac_cv_prog_CC
4978 if test -n "$CC"; then
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4980 printf "%s\n" "$CC" >&6; }
4981 else
4982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 printf "%s\n" "no" >&6; }
4988 if test -z "$ac_cv_prog_CC"; then
4989 ac_ct_CC=$CC
4990 # Extract the first word of "clang", so it can be a program name with args.
4991 set dummy clang; ac_word=$2
4992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 printf %s "checking for $ac_word... " >&6; }
4994 if test ${ac_cv_prog_ac_ct_CC+y}
4995 then :
4996 printf %s "(cached) " >&6
4997 else $as_nop
4998 if test -n "$ac_ct_CC"; then
4999 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5000 else
5001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5002 for as_dir in $PATH
5004 IFS=$as_save_IFS
5005 case $as_dir in #(((
5006 '') as_dir=./ ;;
5007 */) ;;
5008 *) as_dir=$as_dir/ ;;
5009 esac
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_ac_ct_CC="clang"
5013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5014 break 2
5016 done
5017 done
5018 IFS=$as_save_IFS
5022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5023 if test -n "$ac_ct_CC"; then
5024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5025 printf "%s\n" "$ac_ct_CC" >&6; }
5026 else
5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 printf "%s\n" "no" >&6; }
5031 if test "x$ac_ct_CC" = x; then
5032 CC=""
5033 else
5034 case $cross_compiling:$ac_tool_warned in
5035 yes:)
5036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5037 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5038 ac_tool_warned=yes ;;
5039 esac
5040 CC=$ac_ct_CC
5042 else
5043 CC="$ac_cv_prog_CC"
5049 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5050 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5051 as_fn_error $? "no acceptable C compiler found in \$PATH
5052 See \`config.log' for more details" "$LINENO" 5; }
5054 # Provide some information about the compiler.
5055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5056 set X $ac_compile
5057 ac_compiler=$2
5058 for ac_option in --version -v -V -qversion -version; do
5059 { { ac_try="$ac_compiler $ac_option >&5"
5060 case "(($ac_try" in
5061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5062 *) ac_try_echo=$ac_try;;
5063 esac
5064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5065 printf "%s\n" "$ac_try_echo"; } >&5
5066 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5067 ac_status=$?
5068 if test -s conftest.err; then
5069 sed '10a\
5070 ... rest of stderr output deleted ...
5071 10q' conftest.err >conftest.er1
5072 cat conftest.er1 >&5
5074 rm -f conftest.er1 conftest.err
5075 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5076 test $ac_status = 0; }
5077 done
5079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5080 /* end confdefs.h. */
5083 main (void)
5087 return 0;
5089 _ACEOF
5090 ac_clean_files_save=$ac_clean_files
5091 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5092 # Try to create an executable without -o first, disregard a.out.
5093 # It will help us diagnose broken compilers, and finding out an intuition
5094 # of exeext.
5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5096 printf %s "checking whether the C compiler works... " >&6; }
5097 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5099 # The possible output files:
5100 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5102 ac_rmfiles=
5103 for ac_file in $ac_files
5105 case $ac_file in
5106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5107 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5108 esac
5109 done
5110 rm -f $ac_rmfiles
5112 if { { ac_try="$ac_link_default"
5113 case "(($ac_try" in
5114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5115 *) ac_try_echo=$ac_try;;
5116 esac
5117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5118 printf "%s\n" "$ac_try_echo"; } >&5
5119 (eval "$ac_link_default") 2>&5
5120 ac_status=$?
5121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5122 test $ac_status = 0; }
5123 then :
5124 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5125 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5126 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5127 # so that the user can short-circuit this test for compilers unknown to
5128 # Autoconf.
5129 for ac_file in $ac_files ''
5131 test -f "$ac_file" || continue
5132 case $ac_file in
5133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5135 [ab].out )
5136 # We found the default executable, but exeext='' is most
5137 # certainly right.
5138 break;;
5139 *.* )
5140 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5141 then :; else
5142 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5144 # We set ac_cv_exeext here because the later test for it is not
5145 # safe: cross compilers may not add the suffix if given an `-o'
5146 # argument, so we may need to know it at that point already.
5147 # Even if this section looks crufty: it has the advantage of
5148 # actually working.
5149 break;;
5151 break;;
5152 esac
5153 done
5154 test "$ac_cv_exeext" = no && ac_cv_exeext=
5156 else $as_nop
5157 ac_file=''
5159 if test -z "$ac_file"
5160 then :
5161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 printf "%s\n" "no" >&6; }
5163 printf "%s\n" "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5168 as_fn_error 77 "C compiler cannot create executables
5169 See \`config.log' for more details" "$LINENO" 5; }
5170 else $as_nop
5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5172 printf "%s\n" "yes" >&6; }
5174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5175 printf %s "checking for C compiler default output file name... " >&6; }
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5177 printf "%s\n" "$ac_file" >&6; }
5178 ac_exeext=$ac_cv_exeext
5180 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5181 ac_clean_files=$ac_clean_files_save
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5183 printf %s "checking for suffix of executables... " >&6; }
5184 if { { ac_try="$ac_link"
5185 case "(($ac_try" in
5186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5187 *) ac_try_echo=$ac_try;;
5188 esac
5189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5190 printf "%s\n" "$ac_try_echo"; } >&5
5191 (eval "$ac_link") 2>&5
5192 ac_status=$?
5193 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5194 test $ac_status = 0; }
5195 then :
5196 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5197 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5198 # work properly (i.e., refer to `conftest.exe'), while it won't with
5199 # `rm'.
5200 for ac_file in conftest.exe conftest conftest.*; do
5201 test -f "$ac_file" || continue
5202 case $ac_file in
5203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5204 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5205 break;;
5206 * ) break;;
5207 esac
5208 done
5209 else $as_nop
5210 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5211 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5212 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5213 See \`config.log' for more details" "$LINENO" 5; }
5215 rm -f conftest conftest$ac_cv_exeext
5216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5217 printf "%s\n" "$ac_cv_exeext" >&6; }
5219 rm -f conftest.$ac_ext
5220 EXEEXT=$ac_cv_exeext
5221 ac_exeext=$EXEEXT
5222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5224 #include <stdio.h>
5226 main (void)
5228 FILE *f = fopen ("conftest.out", "w");
5229 return ferror (f) || fclose (f) != 0;
5232 return 0;
5234 _ACEOF
5235 ac_clean_files="$ac_clean_files conftest.out"
5236 # Check that the compiler produces executables we can run. If not, either
5237 # the compiler is broken, or we cross compile.
5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5239 printf %s "checking whether we are cross compiling... " >&6; }
5240 if test "$cross_compiling" != yes; then
5241 { { ac_try="$ac_link"
5242 case "(($ac_try" in
5243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5244 *) ac_try_echo=$ac_try;;
5245 esac
5246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5247 printf "%s\n" "$ac_try_echo"; } >&5
5248 (eval "$ac_link") 2>&5
5249 ac_status=$?
5250 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5251 test $ac_status = 0; }
5252 if { ac_try='./conftest$ac_cv_exeext'
5253 { { case "(($ac_try" in
5254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5255 *) ac_try_echo=$ac_try;;
5256 esac
5257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5258 printf "%s\n" "$ac_try_echo"; } >&5
5259 (eval "$ac_try") 2>&5
5260 ac_status=$?
5261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5262 test $ac_status = 0; }; }; then
5263 cross_compiling=no
5264 else
5265 if test "$cross_compiling" = maybe; then
5266 cross_compiling=yes
5267 else
5268 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5269 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5270 as_fn_error 77 "cannot run C compiled programs.
5271 If you meant to cross compile, use \`--host'.
5272 See \`config.log' for more details" "$LINENO" 5; }
5276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5277 printf "%s\n" "$cross_compiling" >&6; }
5279 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5280 ac_clean_files=$ac_clean_files_save
5281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5282 printf %s "checking for suffix of object files... " >&6; }
5283 if test ${ac_cv_objext+y}
5284 then :
5285 printf %s "(cached) " >&6
5286 else $as_nop
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5291 main (void)
5295 return 0;
5297 _ACEOF
5298 rm -f conftest.o conftest.obj
5299 if { { ac_try="$ac_compile"
5300 case "(($ac_try" in
5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5302 *) ac_try_echo=$ac_try;;
5303 esac
5304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5305 printf "%s\n" "$ac_try_echo"; } >&5
5306 (eval "$ac_compile") 2>&5
5307 ac_status=$?
5308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5309 test $ac_status = 0; }
5310 then :
5311 for ac_file in conftest.o conftest.obj conftest.*; do
5312 test -f "$ac_file" || continue;
5313 case $ac_file in
5314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5316 break;;
5317 esac
5318 done
5319 else $as_nop
5320 printf "%s\n" "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.$ac_ext >&5
5323 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5324 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5325 as_fn_error $? "cannot compute suffix of object files: cannot compile
5326 See \`config.log' for more details" "$LINENO" 5; }
5328 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5331 printf "%s\n" "$ac_cv_objext" >&6; }
5332 OBJEXT=$ac_cv_objext
5333 ac_objext=$OBJEXT
5334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5335 printf %s "checking whether the compiler supports GNU C... " >&6; }
5336 if test ${ac_cv_c_compiler_gnu+y}
5337 then :
5338 printf %s "(cached) " >&6
5339 else $as_nop
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5344 main (void)
5346 #ifndef __GNUC__
5347 choke me
5348 #endif
5351 return 0;
5353 _ACEOF
5354 if ac_fn_c_try_compile "$LINENO"
5355 then :
5356 ac_compiler_gnu=yes
5357 else $as_nop
5358 ac_compiler_gnu=no
5360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5365 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5368 if test $ac_compiler_gnu = yes; then
5369 GCC=yes
5370 else
5371 GCC=
5373 ac_test_CFLAGS=${CFLAGS+y}
5374 ac_save_CFLAGS=$CFLAGS
5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5376 printf %s "checking whether $CC accepts -g... " >&6; }
5377 if test ${ac_cv_prog_cc_g+y}
5378 then :
5379 printf %s "(cached) " >&6
5380 else $as_nop
5381 ac_save_c_werror_flag=$ac_c_werror_flag
5382 ac_c_werror_flag=yes
5383 ac_cv_prog_cc_g=no
5384 CFLAGS="-g"
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5389 main (void)
5393 return 0;
5395 _ACEOF
5396 if ac_fn_c_try_compile "$LINENO"
5397 then :
5398 ac_cv_prog_cc_g=yes
5399 else $as_nop
5400 CFLAGS=""
5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5402 /* end confdefs.h. */
5405 main (void)
5409 return 0;
5411 _ACEOF
5412 if ac_fn_c_try_compile "$LINENO"
5413 then :
5415 else $as_nop
5416 ac_c_werror_flag=$ac_save_c_werror_flag
5417 CFLAGS="-g"
5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5419 /* end confdefs.h. */
5422 main (void)
5426 return 0;
5428 _ACEOF
5429 if ac_fn_c_try_compile "$LINENO"
5430 then :
5431 ac_cv_prog_cc_g=yes
5433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5435 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5437 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5438 ac_c_werror_flag=$ac_save_c_werror_flag
5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5441 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5442 if test $ac_test_CFLAGS; then
5443 CFLAGS=$ac_save_CFLAGS
5444 elif test $ac_cv_prog_cc_g = yes; then
5445 if test "$GCC" = yes; then
5446 CFLAGS="-g -O2"
5447 else
5448 CFLAGS="-g"
5450 else
5451 if test "$GCC" = yes; then
5452 CFLAGS="-O2"
5453 else
5454 CFLAGS=
5457 ac_prog_cc_stdc=no
5458 if test x$ac_prog_cc_stdc = xno
5459 then :
5460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5461 printf %s "checking for $CC option to enable C11 features... " >&6; }
5462 if test ${ac_cv_prog_cc_c11+y}
5463 then :
5464 printf %s "(cached) " >&6
5465 else $as_nop
5466 ac_cv_prog_cc_c11=no
5467 ac_save_CC=$CC
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5470 $ac_c_conftest_c11_program
5471 _ACEOF
5472 for ac_arg in '' -std=gnu11
5474 CC="$ac_save_CC $ac_arg"
5475 if ac_fn_c_try_compile "$LINENO"
5476 then :
5477 ac_cv_prog_cc_c11=$ac_arg
5479 rm -f core conftest.err conftest.$ac_objext conftest.beam
5480 test "x$ac_cv_prog_cc_c11" != "xno" && break
5481 done
5482 rm -f conftest.$ac_ext
5483 CC=$ac_save_CC
5486 if test "x$ac_cv_prog_cc_c11" = xno
5487 then :
5488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5489 printf "%s\n" "unsupported" >&6; }
5490 else $as_nop
5491 if test "x$ac_cv_prog_cc_c11" = x
5492 then :
5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5494 printf "%s\n" "none needed" >&6; }
5495 else $as_nop
5496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5497 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5498 CC="$CC $ac_cv_prog_cc_c11"
5500 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5501 ac_prog_cc_stdc=c11
5504 if test x$ac_prog_cc_stdc = xno
5505 then :
5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5507 printf %s "checking for $CC option to enable C99 features... " >&6; }
5508 if test ${ac_cv_prog_cc_c99+y}
5509 then :
5510 printf %s "(cached) " >&6
5511 else $as_nop
5512 ac_cv_prog_cc_c99=no
5513 ac_save_CC=$CC
5514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5516 $ac_c_conftest_c99_program
5517 _ACEOF
5518 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5520 CC="$ac_save_CC $ac_arg"
5521 if ac_fn_c_try_compile "$LINENO"
5522 then :
5523 ac_cv_prog_cc_c99=$ac_arg
5525 rm -f core conftest.err conftest.$ac_objext conftest.beam
5526 test "x$ac_cv_prog_cc_c99" != "xno" && break
5527 done
5528 rm -f conftest.$ac_ext
5529 CC=$ac_save_CC
5532 if test "x$ac_cv_prog_cc_c99" = xno
5533 then :
5534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5535 printf "%s\n" "unsupported" >&6; }
5536 else $as_nop
5537 if test "x$ac_cv_prog_cc_c99" = x
5538 then :
5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5540 printf "%s\n" "none needed" >&6; }
5541 else $as_nop
5542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5543 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5544 CC="$CC $ac_cv_prog_cc_c99"
5546 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5547 ac_prog_cc_stdc=c99
5550 if test x$ac_prog_cc_stdc = xno
5551 then :
5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5553 printf %s "checking for $CC option to enable C89 features... " >&6; }
5554 if test ${ac_cv_prog_cc_c89+y}
5555 then :
5556 printf %s "(cached) " >&6
5557 else $as_nop
5558 ac_cv_prog_cc_c89=no
5559 ac_save_CC=$CC
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5562 $ac_c_conftest_c89_program
5563 _ACEOF
5564 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5566 CC="$ac_save_CC $ac_arg"
5567 if ac_fn_c_try_compile "$LINENO"
5568 then :
5569 ac_cv_prog_cc_c89=$ac_arg
5571 rm -f core conftest.err conftest.$ac_objext conftest.beam
5572 test "x$ac_cv_prog_cc_c89" != "xno" && break
5573 done
5574 rm -f conftest.$ac_ext
5575 CC=$ac_save_CC
5578 if test "x$ac_cv_prog_cc_c89" = xno
5579 then :
5580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5581 printf "%s\n" "unsupported" >&6; }
5582 else $as_nop
5583 if test "x$ac_cv_prog_cc_c89" = x
5584 then :
5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5586 printf "%s\n" "none needed" >&6; }
5587 else $as_nop
5588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5589 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5590 CC="$CC $ac_cv_prog_cc_c89"
5592 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5593 ac_prog_cc_stdc=c89
5597 ac_ext=c
5598 ac_cpp='$CPP $CPPFLAGS'
5599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5609 ac_ext=cpp
5610 ac_cpp='$CXXCPP $CPPFLAGS'
5611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5614 if test -z "$CXX"; then
5615 if test -n "$CCC"; then
5616 CXX=$CCC
5617 else
5618 if test -n "$ac_tool_prefix"; then
5619 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5621 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5622 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 printf %s "checking for $ac_word... " >&6; }
5625 if test ${ac_cv_prog_CXX+y}
5626 then :
5627 printf %s "(cached) " >&6
5628 else $as_nop
5629 if test -n "$CXX"; then
5630 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 case $as_dir in #(((
5637 '') as_dir=./ ;;
5638 */) ;;
5639 *) as_dir=$as_dir/ ;;
5640 esac
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5643 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5645 break 2
5647 done
5648 done
5649 IFS=$as_save_IFS
5653 CXX=$ac_cv_prog_CXX
5654 if test -n "$CXX"; then
5655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5656 printf "%s\n" "$CXX" >&6; }
5657 else
5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 printf "%s\n" "no" >&6; }
5663 test -n "$CXX" && break
5664 done
5666 if test -z "$CXX"; then
5667 ac_ct_CXX=$CXX
5668 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5670 # Extract the first word of "$ac_prog", so it can be a program name with args.
5671 set dummy $ac_prog; ac_word=$2
5672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673 printf %s "checking for $ac_word... " >&6; }
5674 if test ${ac_cv_prog_ac_ct_CXX+y}
5675 then :
5676 printf %s "(cached) " >&6
5677 else $as_nop
5678 if test -n "$ac_ct_CXX"; then
5679 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5680 else
5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682 for as_dir in $PATH
5684 IFS=$as_save_IFS
5685 case $as_dir in #(((
5686 '') as_dir=./ ;;
5687 */) ;;
5688 *) as_dir=$as_dir/ ;;
5689 esac
5690 for ac_exec_ext in '' $ac_executable_extensions; do
5691 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5692 ac_cv_prog_ac_ct_CXX="$ac_prog"
5693 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5694 break 2
5696 done
5697 done
5698 IFS=$as_save_IFS
5702 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5703 if test -n "$ac_ct_CXX"; then
5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5705 printf "%s\n" "$ac_ct_CXX" >&6; }
5706 else
5707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 printf "%s\n" "no" >&6; }
5712 test -n "$ac_ct_CXX" && break
5713 done
5715 if test "x$ac_ct_CXX" = x; then
5716 CXX="g++"
5717 else
5718 case $cross_compiling:$ac_tool_warned in
5719 yes:)
5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5722 ac_tool_warned=yes ;;
5723 esac
5724 CXX=$ac_ct_CXX
5730 # Provide some information about the compiler.
5731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5732 set X $ac_compile
5733 ac_compiler=$2
5734 for ac_option in --version -v -V -qversion; do
5735 { { ac_try="$ac_compiler $ac_option >&5"
5736 case "(($ac_try" in
5737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5739 esac
5740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5741 printf "%s\n" "$ac_try_echo"; } >&5
5742 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5743 ac_status=$?
5744 if test -s conftest.err; then
5745 sed '10a\
5746 ... rest of stderr output deleted ...
5747 10q' conftest.err >conftest.er1
5748 cat conftest.er1 >&5
5750 rm -f conftest.er1 conftest.err
5751 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5752 test $ac_status = 0; }
5753 done
5755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5756 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5757 if test ${ac_cv_cxx_compiler_gnu+y}
5758 then :
5759 printf %s "(cached) " >&6
5760 else $as_nop
5761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5762 /* end confdefs.h. */
5765 main (void)
5767 #ifndef __GNUC__
5768 choke me
5769 #endif
5772 return 0;
5774 _ACEOF
5775 if ac_fn_cxx_try_compile "$LINENO"
5776 then :
5777 ac_compiler_gnu=yes
5778 else $as_nop
5779 ac_compiler_gnu=no
5781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5782 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5786 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5789 if test $ac_compiler_gnu = yes; then
5790 GXX=yes
5791 else
5792 GXX=
5794 ac_test_CXXFLAGS=${CXXFLAGS+y}
5795 ac_save_CXXFLAGS=$CXXFLAGS
5796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5797 printf %s "checking whether $CXX accepts -g... " >&6; }
5798 if test ${ac_cv_prog_cxx_g+y}
5799 then :
5800 printf %s "(cached) " >&6
5801 else $as_nop
5802 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5803 ac_cxx_werror_flag=yes
5804 ac_cv_prog_cxx_g=no
5805 CXXFLAGS="-g"
5806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5807 /* end confdefs.h. */
5810 main (void)
5814 return 0;
5816 _ACEOF
5817 if ac_fn_cxx_try_compile "$LINENO"
5818 then :
5819 ac_cv_prog_cxx_g=yes
5820 else $as_nop
5821 CXXFLAGS=""
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5826 main (void)
5830 return 0;
5832 _ACEOF
5833 if ac_fn_cxx_try_compile "$LINENO"
5834 then :
5836 else $as_nop
5837 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5838 CXXFLAGS="-g"
5839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5843 main (void)
5847 return 0;
5849 _ACEOF
5850 if ac_fn_cxx_try_compile "$LINENO"
5851 then :
5852 ac_cv_prog_cxx_g=yes
5854 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5859 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5862 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5863 if test $ac_test_CXXFLAGS; then
5864 CXXFLAGS=$ac_save_CXXFLAGS
5865 elif test $ac_cv_prog_cxx_g = yes; then
5866 if test "$GXX" = yes; then
5867 CXXFLAGS="-g -O2"
5868 else
5869 CXXFLAGS="-g"
5871 else
5872 if test "$GXX" = yes; then
5873 CXXFLAGS="-O2"
5874 else
5875 CXXFLAGS=
5878 ac_prog_cxx_stdcxx=no
5879 if test x$ac_prog_cxx_stdcxx = xno
5880 then :
5881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5882 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5883 if test ${ac_cv_prog_cxx_cxx11+y}
5884 then :
5885 printf %s "(cached) " >&6
5886 else $as_nop
5887 ac_cv_prog_cxx_cxx11=no
5888 ac_save_CXX=$CXX
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5891 $ac_cxx_conftest_cxx11_program
5892 _ACEOF
5893 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5895 CXX="$ac_save_CXX $ac_arg"
5896 if ac_fn_cxx_try_compile "$LINENO"
5897 then :
5898 ac_cv_prog_cxx_cxx11=$ac_arg
5900 rm -f core conftest.err conftest.$ac_objext conftest.beam
5901 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5902 done
5903 rm -f conftest.$ac_ext
5904 CXX=$ac_save_CXX
5907 if test "x$ac_cv_prog_cxx_cxx11" = xno
5908 then :
5909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5910 printf "%s\n" "unsupported" >&6; }
5911 else $as_nop
5912 if test "x$ac_cv_prog_cxx_cxx11" = x
5913 then :
5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5915 printf "%s\n" "none needed" >&6; }
5916 else $as_nop
5917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5918 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5919 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5921 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5922 ac_prog_cxx_stdcxx=cxx11
5925 if test x$ac_prog_cxx_stdcxx = xno
5926 then :
5927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5928 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5929 if test ${ac_cv_prog_cxx_cxx98+y}
5930 then :
5931 printf %s "(cached) " >&6
5932 else $as_nop
5933 ac_cv_prog_cxx_cxx98=no
5934 ac_save_CXX=$CXX
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5937 $ac_cxx_conftest_cxx98_program
5938 _ACEOF
5939 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5941 CXX="$ac_save_CXX $ac_arg"
5942 if ac_fn_cxx_try_compile "$LINENO"
5943 then :
5944 ac_cv_prog_cxx_cxx98=$ac_arg
5946 rm -f core conftest.err conftest.$ac_objext conftest.beam
5947 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5948 done
5949 rm -f conftest.$ac_ext
5950 CXX=$ac_save_CXX
5953 if test "x$ac_cv_prog_cxx_cxx98" = xno
5954 then :
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5956 printf "%s\n" "unsupported" >&6; }
5957 else $as_nop
5958 if test "x$ac_cv_prog_cxx_cxx98" = x
5959 then :
5960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5961 printf "%s\n" "none needed" >&6; }
5962 else $as_nop
5963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5964 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5965 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5967 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5968 ac_prog_cxx_stdcxx=cxx98
5972 ac_ext=c
5973 ac_cpp='$CPP $CPPFLAGS'
5974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5978 if test -n "$ac_tool_prefix"; then
5979 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5980 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 printf %s "checking for $ac_word... " >&6; }
5983 if test ${ac_cv_prog_CPPBIN+y}
5984 then :
5985 printf %s "(cached) " >&6
5986 else $as_nop
5987 if test -n "$CPPBIN"; then
5988 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5993 IFS=$as_save_IFS
5994 case $as_dir in #(((
5995 '') as_dir=./ ;;
5996 */) ;;
5997 *) as_dir=$as_dir/ ;;
5998 esac
5999 for ac_exec_ext in '' $ac_executable_extensions; do
6000 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6001 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6003 break 2
6005 done
6006 done
6007 IFS=$as_save_IFS
6011 CPPBIN=$ac_cv_prog_CPPBIN
6012 if test -n "$CPPBIN"; then
6013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6014 printf "%s\n" "$CPPBIN" >&6; }
6015 else
6016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6017 printf "%s\n" "no" >&6; }
6022 if test -z "$ac_cv_prog_CPPBIN"; then
6023 ac_ct_CPPBIN=$CPPBIN
6024 # Extract the first word of "cpp", so it can be a program name with args.
6025 set dummy cpp; ac_word=$2
6026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 printf %s "checking for $ac_word... " >&6; }
6028 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6029 then :
6030 printf %s "(cached) " >&6
6031 else $as_nop
6032 if test -n "$ac_ct_CPPBIN"; then
6033 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6034 else
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6036 for as_dir in $PATH
6038 IFS=$as_save_IFS
6039 case $as_dir in #(((
6040 '') as_dir=./ ;;
6041 */) ;;
6042 *) as_dir=$as_dir/ ;;
6043 esac
6044 for ac_exec_ext in '' $ac_executable_extensions; do
6045 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6046 ac_cv_prog_ac_ct_CPPBIN="cpp"
6047 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6048 break 2
6050 done
6051 done
6052 IFS=$as_save_IFS
6056 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6057 if test -n "$ac_ct_CPPBIN"; then
6058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6059 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6060 else
6061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062 printf "%s\n" "no" >&6; }
6065 if test "x$ac_ct_CPPBIN" = x; then
6066 CPPBIN="cpp"
6067 else
6068 case $cross_compiling:$ac_tool_warned in
6069 yes:)
6070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072 ac_tool_warned=yes ;;
6073 esac
6074 CPPBIN=$ac_ct_CPPBIN
6076 else
6077 CPPBIN="$ac_cv_prog_CPPBIN"
6081 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6083 if test -n "$ac_tool_prefix"; then
6084 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6085 set dummy ${ac_tool_prefix}ld; ac_word=$2
6086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6087 printf %s "checking for $ac_word... " >&6; }
6088 if test ${ac_cv_prog_LD+y}
6089 then :
6090 printf %s "(cached) " >&6
6091 else $as_nop
6092 if test -n "$LD"; then
6093 ac_cv_prog_LD="$LD" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 case $as_dir in #(((
6100 '') as_dir=./ ;;
6101 */) ;;
6102 *) as_dir=$as_dir/ ;;
6103 esac
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_LD="${ac_tool_prefix}ld"
6107 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 LD=$ac_cv_prog_LD
6117 if test -n "$LD"; then
6118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6119 printf "%s\n" "$LD" >&6; }
6120 else
6121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 printf "%s\n" "no" >&6; }
6127 if test -z "$ac_cv_prog_LD"; then
6128 ac_ct_LD=$LD
6129 # Extract the first word of "ld", so it can be a program name with args.
6130 set dummy ld; ac_word=$2
6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132 printf %s "checking for $ac_word... " >&6; }
6133 if test ${ac_cv_prog_ac_ct_LD+y}
6134 then :
6135 printf %s "(cached) " >&6
6136 else $as_nop
6137 if test -n "$ac_ct_LD"; then
6138 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 case $as_dir in #(((
6145 '') as_dir=./ ;;
6146 */) ;;
6147 *) as_dir=$as_dir/ ;;
6148 esac
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_ac_ct_LD="ld"
6152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6161 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6162 if test -n "$ac_ct_LD"; then
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6164 printf "%s\n" "$ac_ct_LD" >&6; }
6165 else
6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 printf "%s\n" "no" >&6; }
6170 if test "x$ac_ct_LD" = x; then
6171 LD=""
6172 else
6173 case $cross_compiling:$ac_tool_warned in
6174 yes:)
6175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6176 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6177 ac_tool_warned=yes ;;
6178 esac
6179 LD=$ac_ct_LD
6181 else
6182 LD="$ac_cv_prog_LD"
6186 case $host in
6187 *-darwin*)
6188 with_fontconfig=${with_fontconfig:-no}
6190 *-mingw32*|*-cygwin*)
6191 enable_win16=${enable_win16:-no}
6192 with_mingw=${with_mingw:-no}
6194 esac
6197 case $host in
6198 x86_64*|amd64*)
6199 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6200 then
6201 CC="$CC -m32"
6202 CXX="$CXX -m32"
6204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6205 printf %s "checking whether $CC works... " >&6; }
6206 if test ${wine_cv_cc_m32+y}
6207 then :
6208 printf %s "(cached) " >&6
6209 else $as_nop
6210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6211 /* end confdefs.h. */
6214 main (void)
6218 return 0;
6220 _ACEOF
6221 if ac_fn_c_try_link "$LINENO"
6222 then :
6223 wine_cv_cc_m32=yes
6224 else $as_nop
6225 wine_cv_cc_m32=no
6227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6228 conftest$ac_exeext conftest.$ac_ext
6230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6231 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6232 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
6233 host_cpu="i386"
6234 notice_platform="32-bit "
6235 TARGETFLAGS="$TARGETFLAGS -m32"
6236 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6237 export PKG_CONFIG_LIBDIR
6238 with_unwind=${with_unwind:-no}
6239 else
6240 if test "x${GCC}" = "xyes"
6241 then
6242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6243 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6244 if test ${wine_cv_builtin_ms_va_list+y}
6245 then :
6246 printf %s "(cached) " >&6
6247 else $as_nop
6248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6249 /* end confdefs.h. */
6250 #include <stdarg.h>
6252 main (void)
6254 void func(__builtin_ms_va_list *args);
6256 return 0;
6258 _ACEOF
6259 if ac_fn_c_try_compile "$LINENO"
6260 then :
6261 wine_cv_builtin_ms_va_list=yes
6262 else $as_nop
6263 wine_cv_builtin_ms_va_list=no
6265 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6268 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6269 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
6271 CC="$CC -m64"
6272 CXX="$CXX -m64"
6273 host_cpu="x86_64"
6274 notice_platform="64-bit "
6275 TARGETFLAGS="$TARGETFLAGS -m64"
6278 arm*)
6279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6280 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6281 if test ${wine_cv_thumb2+y}
6282 then :
6283 printf %s "(cached) " >&6
6284 else $as_nop
6285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6286 /* end confdefs.h. */
6289 main (void)
6291 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6293 return 0;
6295 _ACEOF
6296 if ac_fn_c_try_link "$LINENO"
6297 then :
6298 wine_cv_thumb2=yes
6299 else $as_nop
6300 wine_cv_thumb2=no
6302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6303 conftest$ac_exeext conftest.$ac_ext
6305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6306 printf "%s\n" "$wine_cv_thumb2" >&6; }
6307 if test x"$wine_cv_thumb2" = xyes
6308 then
6309 CFLAGS="$CFLAGS -mthumb"
6310 TARGETFLAGS="$TARGETFLAGS -mthumb"
6311 else
6312 CFLAGS="$CFLAGS -marm"
6313 TARGETFLAGS="$TARGETFLAGS -marm"
6315 case $with_float_abi in
6316 soft|softfp|hard)
6317 float_abi=$with_float_abi ;;
6319 case $host_os in
6320 *eabihf)
6321 float_abi=hard ;;
6323 float_abi=softfp
6324 saved_CFLAGS=$CFLAGS
6325 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6327 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6328 if test ${wine_cv_float_abi+y}
6329 then :
6330 printf %s "(cached) " >&6
6331 else $as_nop
6332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6333 /* end confdefs.h. */
6336 main (void)
6338 asm("vmrs r2,fpscr");
6340 return 0;
6342 _ACEOF
6343 if ac_fn_c_try_link "$LINENO"
6344 then :
6345 wine_cv_float_abi=yes
6346 else $as_nop
6347 wine_cv_float_abi=no
6349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6350 conftest$ac_exeext conftest.$ac_ext
6352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6353 printf "%s\n" "$wine_cv_float_abi" >&6; }
6354 if test $wine_cv_float_abi = no
6355 then
6356 float_abi=soft
6357 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6359 CFLAGS=$saved_CFLAGS
6360 esac
6362 esac
6363 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6364 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6366 i[3456789]86*)
6367 with_unwind=${with_unwind:-no}
6369 esac
6371 enable_win16=${enable_win16:-i386}
6372 enable_win64=${enable_win64:-no}
6373 enable_wow64=${enable_wow64:-aarch64,x86_64}
6374 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6375 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6377 enable_winetest=${enable_winetest:-$enable_tests}
6379 if test "x$enable_win64" = "xyes"
6380 then
6381 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6382 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6385 case $build_os in
6386 cygwin*|mingw32*) toolsext=".exe"
6388 *) toolsext=""
6390 esac
6392 HOST_ARCH=unknown
6393 case "$host_cpu" in
6394 aarch64*) HOST_ARCH=aarch64 ;;
6395 arm*) HOST_ARCH=arm ;;
6396 i[3456789]86*) HOST_ARCH=i386 ;;
6397 x86_64) HOST_ARCH=x86_64 ;;
6398 esac
6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6402 printf %s "checking for the directory containing the Wine tools... " >&6; }
6403 if test ${wine_cv_toolsdir+y}
6404 then :
6405 printf %s "(cached) " >&6
6406 else $as_nop
6407 wine_cv_toolsdir="$with_wine_tools"
6408 if test -z "$with_wine_tools"; then
6409 if test "$cross_compiling" = "yes"; then
6410 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6411 elif test -n "$with_wine64"; then
6412 wine_cv_toolsdir="$with_wine64"
6416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6417 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6418 if test -z "$wine_cv_toolsdir"; then
6419 wine_makedep=tools/makedep$toolsext
6420 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6421 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6422 enable_tools=${enable_tools:-no}
6423 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6424 else
6425 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6427 toolsdir=$wine_cv_toolsdir
6429 MAKEDEP=$wine_makedep
6431 RUNTESTFLAGS="-q -P wine"
6433 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'"
6436 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6437 then
6438 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6441 for ac_prog in flex
6443 # Extract the first word of "$ac_prog", so it can be a program name with args.
6444 set dummy $ac_prog; ac_word=$2
6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 printf %s "checking for $ac_word... " >&6; }
6447 if test ${ac_cv_prog_FLEX+y}
6448 then :
6449 printf %s "(cached) " >&6
6450 else $as_nop
6451 if test -n "$FLEX"; then
6452 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6453 else
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 for as_dir in $PATH
6457 IFS=$as_save_IFS
6458 case $as_dir in #(((
6459 '') as_dir=./ ;;
6460 */) ;;
6461 *) as_dir=$as_dir/ ;;
6462 esac
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6465 ac_cv_prog_FLEX="$ac_prog"
6466 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6467 break 2
6469 done
6470 done
6471 IFS=$as_save_IFS
6475 FLEX=$ac_cv_prog_FLEX
6476 if test -n "$FLEX"; then
6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6478 printf "%s\n" "$FLEX" >&6; }
6479 else
6480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 printf "%s\n" "no" >&6; }
6485 test -n "$FLEX" && break
6486 done
6487 test -n "$FLEX" || FLEX="none"
6489 if test "$FLEX" = "none"
6490 then
6491 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6494 printf %s "checking whether flex is recent enough... " >&6; }
6495 if test ${wine_cv_recent_flex+y}
6496 then :
6497 printf %s "(cached) " >&6
6498 else $as_nop
6499 cat >conftest.l <<EOF
6500 %top{
6501 #include "prediluvian.h"
6505 if $FLEX -t conftest.l >/dev/null 2>&5
6506 then
6507 wine_cv_recent_flex=yes
6508 else
6509 wine_cv_recent_flex=no
6512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6513 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6514 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
6516 for ac_prog in bison
6518 # Extract the first word of "$ac_prog", so it can be a program name with args.
6519 set dummy $ac_prog; ac_word=$2
6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6521 printf %s "checking for $ac_word... " >&6; }
6522 if test ${ac_cv_prog_BISON+y}
6523 then :
6524 printf %s "(cached) " >&6
6525 else $as_nop
6526 if test -n "$BISON"; then
6527 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6528 else
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 for as_dir in $PATH
6532 IFS=$as_save_IFS
6533 case $as_dir in #(((
6534 '') as_dir=./ ;;
6535 */) ;;
6536 *) as_dir=$as_dir/ ;;
6537 esac
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6540 ac_cv_prog_BISON="$ac_prog"
6541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6542 break 2
6544 done
6545 done
6546 IFS=$as_save_IFS
6550 BISON=$ac_cv_prog_BISON
6551 if test -n "$BISON"; then
6552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6553 printf "%s\n" "$BISON" >&6; }
6554 else
6555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 printf "%s\n" "no" >&6; }
6560 test -n "$BISON" && break
6561 done
6562 test -n "$BISON" || BISON="none"
6564 if test "$BISON" = "none"
6565 then
6566 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6569 printf %s "checking whether bison is recent enough... " >&6; }
6570 if test ${wine_cv_recent_bison+y}
6571 then :
6572 printf %s "(cached) " >&6
6573 else $as_nop
6574 cat >conftest.y <<EOF
6575 %define parse.error verbose
6577 empty: ;
6579 if $BISON conftest.y >/dev/null 2>&5
6580 then
6581 wine_cv_recent_bison=yes
6582 else
6583 wine_cv_recent_bison=no
6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6587 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6588 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
6590 if test -n "$ac_tool_prefix"; then
6591 for ac_prog in ar gar
6593 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6594 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6596 printf %s "checking for $ac_word... " >&6; }
6597 if test ${ac_cv_prog_AR+y}
6598 then :
6599 printf %s "(cached) " >&6
6600 else $as_nop
6601 if test -n "$AR"; then
6602 ac_cv_prog_AR="$AR" # Let the user override the test.
6603 else
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 for as_dir in $PATH
6607 IFS=$as_save_IFS
6608 case $as_dir in #(((
6609 '') as_dir=./ ;;
6610 */) ;;
6611 *) as_dir=$as_dir/ ;;
6612 esac
6613 for ac_exec_ext in '' $ac_executable_extensions; do
6614 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6615 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6617 break 2
6619 done
6620 done
6621 IFS=$as_save_IFS
6625 AR=$ac_cv_prog_AR
6626 if test -n "$AR"; then
6627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6628 printf "%s\n" "$AR" >&6; }
6629 else
6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 printf "%s\n" "no" >&6; }
6635 test -n "$AR" && break
6636 done
6638 if test -z "$AR"; then
6639 ac_ct_AR=$AR
6640 for ac_prog in ar gar
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 printf %s "checking for $ac_word... " >&6; }
6646 if test ${ac_cv_prog_ac_ct_AR+y}
6647 then :
6648 printf %s "(cached) " >&6
6649 else $as_nop
6650 if test -n "$ac_ct_AR"; then
6651 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 case $as_dir in #(((
6658 '') as_dir=./ ;;
6659 */) ;;
6660 *) as_dir=$as_dir/ ;;
6661 esac
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6664 ac_cv_prog_ac_ct_AR="$ac_prog"
6665 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6675 if test -n "$ac_ct_AR"; then
6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6677 printf "%s\n" "$ac_ct_AR" >&6; }
6678 else
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 printf "%s\n" "no" >&6; }
6684 test -n "$ac_ct_AR" && break
6685 done
6687 if test "x$ac_ct_AR" = x; then
6688 AR="ar"
6689 else
6690 case $cross_compiling:$ac_tool_warned in
6691 yes:)
6692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6693 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6694 ac_tool_warned=yes ;;
6695 esac
6696 AR=$ac_ct_AR
6700 if test -n "$ac_tool_prefix"; then
6701 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6702 set dummy ${ac_tool_prefix}strip; ac_word=$2
6703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6704 printf %s "checking for $ac_word... " >&6; }
6705 if test ${ac_cv_prog_STRIP+y}
6706 then :
6707 printf %s "(cached) " >&6
6708 else $as_nop
6709 if test -n "$STRIP"; then
6710 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6711 else
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 for as_dir in $PATH
6715 IFS=$as_save_IFS
6716 case $as_dir in #(((
6717 '') as_dir=./ ;;
6718 */) ;;
6719 *) as_dir=$as_dir/ ;;
6720 esac
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6723 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6724 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 STRIP=$ac_cv_prog_STRIP
6734 if test -n "$STRIP"; then
6735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6736 printf "%s\n" "$STRIP" >&6; }
6737 else
6738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 printf "%s\n" "no" >&6; }
6744 if test -z "$ac_cv_prog_STRIP"; then
6745 ac_ct_STRIP=$STRIP
6746 # Extract the first word of "strip", so it can be a program name with args.
6747 set dummy strip; ac_word=$2
6748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 printf %s "checking for $ac_word... " >&6; }
6750 if test ${ac_cv_prog_ac_ct_STRIP+y}
6751 then :
6752 printf %s "(cached) " >&6
6753 else $as_nop
6754 if test -n "$ac_ct_STRIP"; then
6755 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6760 IFS=$as_save_IFS
6761 case $as_dir in #(((
6762 '') as_dir=./ ;;
6763 */) ;;
6764 *) as_dir=$as_dir/ ;;
6765 esac
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6768 ac_cv_prog_ac_ct_STRIP="strip"
6769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6770 break 2
6772 done
6773 done
6774 IFS=$as_save_IFS
6778 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6779 if test -n "$ac_ct_STRIP"; then
6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6781 printf "%s\n" "$ac_ct_STRIP" >&6; }
6782 else
6783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 printf "%s\n" "no" >&6; }
6787 if test "x$ac_ct_STRIP" = x; then
6788 STRIP="strip"
6789 else
6790 case $cross_compiling:$ac_tool_warned in
6791 yes:)
6792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6793 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6794 ac_tool_warned=yes ;;
6795 esac
6796 STRIP=$ac_ct_STRIP
6798 else
6799 STRIP="$ac_cv_prog_STRIP"
6802 if test -n "$ac_tool_prefix"; then
6803 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6804 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6806 printf %s "checking for $ac_word... " >&6; }
6807 if test ${ac_cv_prog_RANLIB+y}
6808 then :
6809 printf %s "(cached) " >&6
6810 else $as_nop
6811 if test -n "$RANLIB"; then
6812 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6813 else
6814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 for as_dir in $PATH
6817 IFS=$as_save_IFS
6818 case $as_dir in #(((
6819 '') as_dir=./ ;;
6820 */) ;;
6821 *) as_dir=$as_dir/ ;;
6822 esac
6823 for ac_exec_ext in '' $ac_executable_extensions; do
6824 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6825 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6826 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6827 break 2
6829 done
6830 done
6831 IFS=$as_save_IFS
6835 RANLIB=$ac_cv_prog_RANLIB
6836 if test -n "$RANLIB"; then
6837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6838 printf "%s\n" "$RANLIB" >&6; }
6839 else
6840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6841 printf "%s\n" "no" >&6; }
6846 if test -z "$ac_cv_prog_RANLIB"; then
6847 ac_ct_RANLIB=$RANLIB
6848 # Extract the first word of "ranlib", so it can be a program name with args.
6849 set dummy ranlib; ac_word=$2
6850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6851 printf %s "checking for $ac_word... " >&6; }
6852 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6853 then :
6854 printf %s "(cached) " >&6
6855 else $as_nop
6856 if test -n "$ac_ct_RANLIB"; then
6857 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6858 else
6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 for as_dir in $PATH
6862 IFS=$as_save_IFS
6863 case $as_dir in #(((
6864 '') as_dir=./ ;;
6865 */) ;;
6866 *) as_dir=$as_dir/ ;;
6867 esac
6868 for ac_exec_ext in '' $ac_executable_extensions; do
6869 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6870 ac_cv_prog_ac_ct_RANLIB="ranlib"
6871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6872 break 2
6874 done
6875 done
6876 IFS=$as_save_IFS
6880 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6881 if test -n "$ac_ct_RANLIB"; then
6882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6883 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6884 else
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6886 printf "%s\n" "no" >&6; }
6889 if test "x$ac_ct_RANLIB" = x; then
6890 RANLIB=":"
6891 else
6892 case $cross_compiling:$ac_tool_warned in
6893 yes:)
6894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6895 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6896 ac_tool_warned=yes ;;
6897 esac
6898 RANLIB=$ac_ct_RANLIB
6900 else
6901 RANLIB="$ac_cv_prog_RANLIB"
6904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6905 printf %s "checking whether ln -s works... " >&6; }
6906 LN_S=$as_ln_s
6907 if test "$LN_S" = "ln -s"; then
6908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6909 printf "%s\n" "yes" >&6; }
6910 else
6911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6912 printf "%s\n" "no, using $LN_S" >&6; }
6915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6916 printf %s "checking for grep that handles long lines and -e... " >&6; }
6917 if test ${ac_cv_path_GREP+y}
6918 then :
6919 printf %s "(cached) " >&6
6920 else $as_nop
6921 if test -z "$GREP"; then
6922 ac_path_GREP_found=false
6923 # Loop through the user's path and test for each of PROGNAME-LIST
6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6927 IFS=$as_save_IFS
6928 case $as_dir in #(((
6929 '') as_dir=./ ;;
6930 */) ;;
6931 *) as_dir=$as_dir/ ;;
6932 esac
6933 for ac_prog in grep ggrep
6935 for ac_exec_ext in '' $ac_executable_extensions; do
6936 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6937 as_fn_executable_p "$ac_path_GREP" || continue
6938 # Check for GNU ac_path_GREP and select it if it is found.
6939 # Check for GNU $ac_path_GREP
6940 case `"$ac_path_GREP" --version 2>&1` in
6941 *GNU*)
6942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6944 ac_count=0
6945 printf %s 0123456789 >"conftest.in"
6946 while :
6948 cat "conftest.in" "conftest.in" >"conftest.tmp"
6949 mv "conftest.tmp" "conftest.in"
6950 cp "conftest.in" "conftest.nl"
6951 printf "%s\n" 'GREP' >> "conftest.nl"
6952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6954 as_fn_arith $ac_count + 1 && ac_count=$as_val
6955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6956 # Best one so far, save it but keep looking for a better one
6957 ac_cv_path_GREP="$ac_path_GREP"
6958 ac_path_GREP_max=$ac_count
6960 # 10*(2^10) chars as input seems more than enough
6961 test $ac_count -gt 10 && break
6962 done
6963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6964 esac
6966 $ac_path_GREP_found && break 3
6967 done
6968 done
6969 done
6970 IFS=$as_save_IFS
6971 if test -z "$ac_cv_path_GREP"; then
6972 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6974 else
6975 ac_cv_path_GREP=$GREP
6979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6980 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6981 GREP="$ac_cv_path_GREP"
6984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6985 printf %s "checking for egrep... " >&6; }
6986 if test ${ac_cv_path_EGREP+y}
6987 then :
6988 printf %s "(cached) " >&6
6989 else $as_nop
6990 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6991 then ac_cv_path_EGREP="$GREP -E"
6992 else
6993 if test -z "$EGREP"; then
6994 ac_path_EGREP_found=false
6995 # Loop through the user's path and test for each of PROGNAME-LIST
6996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6999 IFS=$as_save_IFS
7000 case $as_dir in #(((
7001 '') as_dir=./ ;;
7002 */) ;;
7003 *) as_dir=$as_dir/ ;;
7004 esac
7005 for ac_prog in egrep
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7009 as_fn_executable_p "$ac_path_EGREP" || continue
7010 # Check for GNU ac_path_EGREP and select it if it is found.
7011 # Check for GNU $ac_path_EGREP
7012 case `"$ac_path_EGREP" --version 2>&1` in
7013 *GNU*)
7014 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7016 ac_count=0
7017 printf %s 0123456789 >"conftest.in"
7018 while :
7020 cat "conftest.in" "conftest.in" >"conftest.tmp"
7021 mv "conftest.tmp" "conftest.in"
7022 cp "conftest.in" "conftest.nl"
7023 printf "%s\n" 'EGREP' >> "conftest.nl"
7024 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7025 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7026 as_fn_arith $ac_count + 1 && ac_count=$as_val
7027 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7028 # Best one so far, save it but keep looking for a better one
7029 ac_cv_path_EGREP="$ac_path_EGREP"
7030 ac_path_EGREP_max=$ac_count
7032 # 10*(2^10) chars as input seems more than enough
7033 test $ac_count -gt 10 && break
7034 done
7035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7036 esac
7038 $ac_path_EGREP_found && break 3
7039 done
7040 done
7041 done
7042 IFS=$as_save_IFS
7043 if test -z "$ac_cv_path_EGREP"; then
7044 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7046 else
7047 ac_cv_path_EGREP=$EGREP
7052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7053 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7054 EGREP="$ac_cv_path_EGREP"
7057 # Extract the first word of "ldconfig", so it can be a program name with args.
7058 set dummy ldconfig; ac_word=$2
7059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7060 printf %s "checking for $ac_word... " >&6; }
7061 if test ${ac_cv_path_LDCONFIG+y}
7062 then :
7063 printf %s "(cached) " >&6
7064 else $as_nop
7065 case $LDCONFIG in
7066 [\\/]* | ?:[\\/]*)
7067 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7071 for as_dir in /sbin /usr/sbin $PATH
7073 IFS=$as_save_IFS
7074 case $as_dir in #(((
7075 '') as_dir=./ ;;
7076 */) ;;
7077 *) as_dir=$as_dir/ ;;
7078 esac
7079 for ac_exec_ext in '' $ac_executable_extensions; do
7080 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7081 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7083 break 2
7085 done
7086 done
7087 IFS=$as_save_IFS
7089 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7091 esac
7093 LDCONFIG=$ac_cv_path_LDCONFIG
7094 if test -n "$LDCONFIG"; then
7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7096 printf "%s\n" "$LDCONFIG" >&6; }
7097 else
7098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 printf "%s\n" "no" >&6; }
7103 for ac_prog in msgfmt
7105 # Extract the first word of "$ac_prog", so it can be a program name with args.
7106 set dummy $ac_prog; ac_word=$2
7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108 printf %s "checking for $ac_word... " >&6; }
7109 if test ${ac_cv_prog_MSGFMT+y}
7110 then :
7111 printf %s "(cached) " >&6
7112 else $as_nop
7113 if test -n "$MSGFMT"; then
7114 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7115 else
7116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7117 for as_dir in $PATH
7119 IFS=$as_save_IFS
7120 case $as_dir in #(((
7121 '') as_dir=./ ;;
7122 */) ;;
7123 *) as_dir=$as_dir/ ;;
7124 esac
7125 for ac_exec_ext in '' $ac_executable_extensions; do
7126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7127 ac_cv_prog_MSGFMT="$ac_prog"
7128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7129 break 2
7131 done
7132 done
7133 IFS=$as_save_IFS
7137 MSGFMT=$ac_cv_prog_MSGFMT
7138 if test -n "$MSGFMT"; then
7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7140 printf "%s\n" "$MSGFMT" >&6; }
7141 else
7142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7143 printf "%s\n" "no" >&6; }
7147 test -n "$MSGFMT" && break
7148 done
7149 test -n "$MSGFMT" || MSGFMT="false"
7151 if test ${ac_tool_prefix+y}
7152 then :
7153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156 printf %s "checking for $ac_word... " >&6; }
7157 if test ${ac_cv_prog_PKG_CONFIG+y}
7158 then :
7159 printf %s "(cached) " >&6
7160 else $as_nop
7161 if test -n "$PKG_CONFIG"; then
7162 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7163 else
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 for as_dir in $PATH
7167 IFS=$as_save_IFS
7168 case $as_dir in #(((
7169 '') as_dir=./ ;;
7170 */) ;;
7171 *) as_dir=$as_dir/ ;;
7172 esac
7173 for ac_exec_ext in '' $ac_executable_extensions; do
7174 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7175 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7177 break 2
7179 done
7180 done
7181 IFS=$as_save_IFS
7185 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7186 if test -n "$PKG_CONFIG"; then
7187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7188 printf "%s\n" "$PKG_CONFIG" >&6; }
7189 else
7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191 printf "%s\n" "no" >&6; }
7196 if ${ac_cv_prog_PKG_CONFIG:+false} :
7197 then :
7198 if test "x$cross_compiling" = xyes
7199 then :
7201 else $as_nop
7202 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7203 # Extract the first word of "pkg-config", so it can be a program name with args.
7204 set dummy pkg-config; ac_word=$2
7205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 printf %s "checking for $ac_word... " >&6; }
7207 if test ${ac_cv_prog_PKG_CONFIG+y}
7208 then :
7209 printf %s "(cached) " >&6
7210 else $as_nop
7211 if test -n "$PKG_CONFIG"; then
7212 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7213 else
7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 for as_dir in $PATH
7217 IFS=$as_save_IFS
7218 case $as_dir in #(((
7219 '') as_dir=./ ;;
7220 */) ;;
7221 *) as_dir=$as_dir/ ;;
7222 esac
7223 for ac_exec_ext in '' $ac_executable_extensions; do
7224 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7225 ac_cv_prog_PKG_CONFIG="pkg-config"
7226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7227 break 2
7229 done
7230 done
7231 IFS=$as_save_IFS
7235 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7236 if test -n "$PKG_CONFIG"; then
7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7238 printf "%s\n" "$PKG_CONFIG" >&6; }
7239 else
7240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 printf "%s\n" "no" >&6; }
7246 else $as_nop
7247 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7250 if test "x$enable_maintainer_mode" != "xyes"
7251 then
7252 FONTFORGE=""
7253 RSVG=""
7254 CONVERT=""
7255 ICOTOOL=""
7256 else
7257 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7258 for ac_prog in fontforge
7260 # Extract the first word of "$ac_prog", so it can be a program name with args.
7261 set dummy $ac_prog; ac_word=$2
7262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7263 printf %s "checking for $ac_word... " >&6; }
7264 if test ${ac_cv_prog_FONTFORGE+y}
7265 then :
7266 printf %s "(cached) " >&6
7267 else $as_nop
7268 if test -n "$FONTFORGE"; then
7269 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7270 else
7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 for as_dir in $PATH
7274 IFS=$as_save_IFS
7275 case $as_dir in #(((
7276 '') as_dir=./ ;;
7277 */) ;;
7278 *) as_dir=$as_dir/ ;;
7279 esac
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7282 ac_cv_prog_FONTFORGE="$ac_prog"
7283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 FONTFORGE=$ac_cv_prog_FONTFORGE
7293 if test -n "$FONTFORGE"; then
7294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7295 printf "%s\n" "$FONTFORGE" >&6; }
7296 else
7297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 printf "%s\n" "no" >&6; }
7302 test -n "$FONTFORGE" && break
7303 done
7304 test -n "$FONTFORGE" || FONTFORGE="false"
7306 for ac_prog in rsvg-convert rsvg
7308 # Extract the first word of "$ac_prog", so it can be a program name with args.
7309 set dummy $ac_prog; ac_word=$2
7310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 printf %s "checking for $ac_word... " >&6; }
7312 if test ${ac_cv_prog_RSVG+y}
7313 then :
7314 printf %s "(cached) " >&6
7315 else $as_nop
7316 if test -n "$RSVG"; then
7317 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 case $as_dir in #(((
7324 '') as_dir=./ ;;
7325 */) ;;
7326 *) as_dir=$as_dir/ ;;
7327 esac
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7330 ac_cv_prog_RSVG="$ac_prog"
7331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7332 break 2
7334 done
7335 done
7336 IFS=$as_save_IFS
7340 RSVG=$ac_cv_prog_RSVG
7341 if test -n "$RSVG"; then
7342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7343 printf "%s\n" "$RSVG" >&6; }
7344 else
7345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 printf "%s\n" "no" >&6; }
7350 test -n "$RSVG" && break
7351 done
7352 test -n "$RSVG" || RSVG="false"
7354 for ac_prog in convert
7356 # Extract the first word of "$ac_prog", so it can be a program name with args.
7357 set dummy $ac_prog; ac_word=$2
7358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7359 printf %s "checking for $ac_word... " >&6; }
7360 if test ${ac_cv_prog_CONVERT+y}
7361 then :
7362 printf %s "(cached) " >&6
7363 else $as_nop
7364 if test -n "$CONVERT"; then
7365 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 case $as_dir in #(((
7372 '') as_dir=./ ;;
7373 */) ;;
7374 *) as_dir=$as_dir/ ;;
7375 esac
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_CONVERT="$ac_prog"
7379 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7380 break 2
7382 done
7383 done
7384 IFS=$as_save_IFS
7388 CONVERT=$ac_cv_prog_CONVERT
7389 if test -n "$CONVERT"; then
7390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7391 printf "%s\n" "$CONVERT" >&6; }
7392 else
7393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 printf "%s\n" "no" >&6; }
7398 test -n "$CONVERT" && break
7399 done
7400 test -n "$CONVERT" || CONVERT="false"
7402 for ac_prog in icotool
7404 # Extract the first word of "$ac_prog", so it can be a program name with args.
7405 set dummy $ac_prog; ac_word=$2
7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7407 printf %s "checking for $ac_word... " >&6; }
7408 if test ${ac_cv_prog_ICOTOOL+y}
7409 then :
7410 printf %s "(cached) " >&6
7411 else $as_nop
7412 if test -n "$ICOTOOL"; then
7413 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7414 else
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 for as_dir in $PATH
7418 IFS=$as_save_IFS
7419 case $as_dir in #(((
7420 '') as_dir=./ ;;
7421 */) ;;
7422 *) as_dir=$as_dir/ ;;
7423 esac
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7426 ac_cv_prog_ICOTOOL="$ac_prog"
7427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7436 ICOTOOL=$ac_cv_prog_ICOTOOL
7437 if test -n "$ICOTOOL"; then
7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7439 printf "%s\n" "$ICOTOOL" >&6; }
7440 else
7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 printf "%s\n" "no" >&6; }
7446 test -n "$ICOTOOL" && break
7447 done
7448 test -n "$ICOTOOL" || ICOTOOL="false"
7450 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7451 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7453 if test "$CONVERT" = false
7454 then
7455 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7456 else
7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7458 printf %s "checking for recent enough imagemagick... " >&6; }
7459 convert_version=`convert --version | head -n1`
7460 if test "x$convert_version" != "x"
7461 then
7462 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7463 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7464 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7465 then
7466 CONVERT=false
7469 if test "$CONVERT" = false
7470 then
7471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7472 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7473 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7474 else
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7476 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7480 if test "$ICOTOOL" = false
7481 then
7482 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7483 else
7484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7485 printf %s "checking for recent enough icotool... " >&6; }
7486 icotool_version=`icotool --version | head -n1`
7487 if test "x$icotool_version" != "x"
7488 then
7489 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7490 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7491 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7492 then
7493 ICOTOOL=false
7494 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7497 if test "$ICOTOOL" = false
7498 then
7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7500 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7501 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7502 else
7503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7504 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7508 with_gettext=yes
7509 with_gettextpo=yes
7511 enable_werror=yes
7514 test "x$with_gettext" != xno || MSGFMT=false
7515 if test "$MSGFMT" != "false"
7516 then
7517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7518 printf %s "checking whether msgfmt supports contexts... " >&6; }
7519 if test ${wine_cv_msgfmt_contexts+y}
7520 then :
7521 printf %s "(cached) " >&6
7522 else $as_nop
7523 cat >conftest.po <<EOF
7524 # comment
7525 msgctxt "ctxt"
7526 msgid "id"
7527 msgstr "str"
7529 if $MSGFMT -o /dev/null conftest.po 2>&5
7530 then
7531 wine_cv_msgfmt_contexts=yes
7532 else
7533 wine_cv_msgfmt_contexts=no
7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7537 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7538 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7540 if test "$MSGFMT" = false
7541 then :
7542 case "x$with_gettext" in
7543 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7544 xno) ;;
7545 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7546 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7547 esac
7548 enable_po=${enable_po:-no}
7552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7553 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7554 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7555 then :
7556 printf %s "(cached) " >&6
7557 else $as_nop
7558 ac_check_lib_save_LIBS=$LIBS
7559 LIBS="-li386 $LIBS"
7560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561 /* end confdefs.h. */
7563 /* Override any GCC internal prototype to avoid an error.
7564 Use char because int might match the return type of a GCC
7565 builtin and then its argument prototype would still apply. */
7566 char i386_set_ldt ();
7568 main (void)
7570 return i386_set_ldt ();
7572 return 0;
7574 _ACEOF
7575 if ac_fn_c_try_link "$LINENO"
7576 then :
7577 ac_cv_lib_i386_i386_set_ldt=yes
7578 else $as_nop
7579 ac_cv_lib_i386_i386_set_ldt=no
7581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7582 conftest$ac_exeext conftest.$ac_ext
7583 LIBS=$ac_check_lib_save_LIBS
7585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7586 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7587 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7588 then :
7589 I386_LIBS="-li386"
7594 OPENGL_LIBS=""
7598 # Check whether --enable-largefile was given.
7599 if test ${enable_largefile+y}
7600 then :
7601 enableval=$enable_largefile;
7604 if test "$enable_largefile" != no; then
7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7607 printf %s "checking for special C compiler options needed for large files... " >&6; }
7608 if test ${ac_cv_sys_largefile_CC+y}
7609 then :
7610 printf %s "(cached) " >&6
7611 else $as_nop
7612 ac_cv_sys_largefile_CC=no
7613 if test "$GCC" != yes; then
7614 ac_save_CC=$CC
7615 while :; do
7616 # IRIX 6.2 and later do not support large files by default,
7617 # so use the C compiler's -n32 option if that helps.
7618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7619 /* end confdefs.h. */
7620 #include <sys/types.h>
7621 /* Check that off_t can represent 2**63 - 1 correctly.
7622 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7623 since some C++ compilers masquerading as C compilers
7624 incorrectly reject 9223372036854775807. */
7625 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7626 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7627 && LARGE_OFF_T % 2147483647 == 1)
7628 ? 1 : -1];
7630 main (void)
7634 return 0;
7636 _ACEOF
7637 if ac_fn_c_try_compile "$LINENO"
7638 then :
7639 break
7641 rm -f core conftest.err conftest.$ac_objext conftest.beam
7642 CC="$CC -n32"
7643 if ac_fn_c_try_compile "$LINENO"
7644 then :
7645 ac_cv_sys_largefile_CC=' -n32'; break
7647 rm -f core conftest.err conftest.$ac_objext conftest.beam
7648 break
7649 done
7650 CC=$ac_save_CC
7651 rm -f conftest.$ac_ext
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7655 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7656 if test "$ac_cv_sys_largefile_CC" != no; then
7657 CC=$CC$ac_cv_sys_largefile_CC
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7661 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7662 if test ${ac_cv_sys_file_offset_bits+y}
7663 then :
7664 printf %s "(cached) " >&6
7665 else $as_nop
7666 while :; do
7667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7669 #include <sys/types.h>
7670 /* Check that off_t can represent 2**63 - 1 correctly.
7671 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7672 since some C++ compilers masquerading as C compilers
7673 incorrectly reject 9223372036854775807. */
7674 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7675 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7676 && LARGE_OFF_T % 2147483647 == 1)
7677 ? 1 : -1];
7679 main (void)
7683 return 0;
7685 _ACEOF
7686 if ac_fn_c_try_compile "$LINENO"
7687 then :
7688 ac_cv_sys_file_offset_bits=no; break
7690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7692 /* end confdefs.h. */
7693 #define _FILE_OFFSET_BITS 64
7694 #include <sys/types.h>
7695 /* Check that off_t can represent 2**63 - 1 correctly.
7696 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7697 since some C++ compilers masquerading as C compilers
7698 incorrectly reject 9223372036854775807. */
7699 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7700 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7701 && LARGE_OFF_T % 2147483647 == 1)
7702 ? 1 : -1];
7704 main (void)
7708 return 0;
7710 _ACEOF
7711 if ac_fn_c_try_compile "$LINENO"
7712 then :
7713 ac_cv_sys_file_offset_bits=64; break
7715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7716 ac_cv_sys_file_offset_bits=unknown
7717 break
7718 done
7720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7721 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7722 case $ac_cv_sys_file_offset_bits in #(
7723 no | unknown) ;;
7725 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7727 esac
7728 rm -rf conftest*
7729 if test $ac_cv_sys_file_offset_bits = unknown; then
7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7731 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7732 if test ${ac_cv_sys_large_files+y}
7733 then :
7734 printf %s "(cached) " >&6
7735 else $as_nop
7736 while :; do
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #include <sys/types.h>
7740 /* Check that off_t can represent 2**63 - 1 correctly.
7741 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7742 since some C++ compilers masquerading as C compilers
7743 incorrectly reject 9223372036854775807. */
7744 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7745 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7746 && LARGE_OFF_T % 2147483647 == 1)
7747 ? 1 : -1];
7749 main (void)
7753 return 0;
7755 _ACEOF
7756 if ac_fn_c_try_compile "$LINENO"
7757 then :
7758 ac_cv_sys_large_files=no; break
7760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7762 /* end confdefs.h. */
7763 #define _LARGE_FILES 1
7764 #include <sys/types.h>
7765 /* Check that off_t can represent 2**63 - 1 correctly.
7766 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7767 since some C++ compilers masquerading as C compilers
7768 incorrectly reject 9223372036854775807. */
7769 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7770 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7771 && LARGE_OFF_T % 2147483647 == 1)
7772 ? 1 : -1];
7774 main (void)
7778 return 0;
7780 _ACEOF
7781 if ac_fn_c_try_compile "$LINENO"
7782 then :
7783 ac_cv_sys_large_files=1; break
7785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7786 ac_cv_sys_large_files=unknown
7787 break
7788 done
7790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7791 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7792 case $ac_cv_sys_large_files in #(
7793 no | unknown) ;;
7795 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7797 esac
7798 rm -rf conftest*
7803 ac_header= ac_cache=
7804 for ac_item in $ac_header_c_list
7806 if test $ac_cache; then
7807 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7808 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7809 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7811 ac_header= ac_cache=
7812 elif test $ac_header; then
7813 ac_cache=$ac_item
7814 else
7815 ac_header=$ac_item
7817 done
7826 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7827 then :
7829 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7832 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_CL_cl_h" = xyes
7834 then :
7835 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_EGL_egl_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_arpa_inet_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_asm_types_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_asm_user_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_elf_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_float_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_gettext_po_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_libproc_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_link_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_filter_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_input_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_major_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_param_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_serial_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_types_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_lwp_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_mach_mach_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_machine_cpu_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_mntent_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_netdb_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_netinet_in_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_port_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_pthread_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_pwd_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_sched_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_scsi_sg_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_stdint_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sys_attr_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_auxv_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_cdio_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_epoll_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_event_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_extattr_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_filio_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_ipc_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_link_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_modem_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_mtio_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_param_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_prctl_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_queue_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_random_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_resource_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_shm_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_signal_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_sockio_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_strtio_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_syscall_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_times_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_uio_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_user_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_utsname_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_vnode_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_xattr_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_syscall_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_utime_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8307 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8308 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8309 then :
8311 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8315 if test $ac_cv_header_sys_mkdev_h = no; then
8316 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8317 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8318 then :
8320 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8326 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8327 if test ${ac_cv_header_stat_broken+y}
8328 then :
8329 printf %s "(cached) " >&6
8330 else $as_nop
8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8333 #include <sys/types.h>
8334 #include <sys/stat.h>
8336 #if defined S_ISBLK && defined S_IFDIR
8337 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8338 #endif
8340 #if defined S_ISBLK && defined S_IFCHR
8341 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8342 #endif
8344 #if defined S_ISLNK && defined S_IFREG
8345 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8346 #endif
8348 #if defined S_ISSOCK && defined S_IFREG
8349 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8350 #endif
8352 _ACEOF
8353 if ac_fn_c_try_compile "$LINENO"
8354 then :
8355 ac_cv_header_stat_broken=no
8356 else $as_nop
8357 ac_cv_header_stat_broken=yes
8359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8362 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8363 if test $ac_cv_header_stat_broken = yes; then
8365 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8371 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8372 #ifdef HAVE_SYS_PARAM_H
8373 # include <sys/param.h>
8374 #endif
8376 if test "x$ac_cv_header_sys_conf_h" = xyes
8377 then :
8378 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8381 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8382 #ifdef HAVE_SYS_PARAM_H
8383 # include <sys/param.h>
8384 #endif
8386 if test "x$ac_cv_header_sys_mount_h" = xyes
8387 then :
8388 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8391 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8392 #ifdef HAVE_SYS_PARAM_H
8393 # include <sys/param.h>
8394 #endif
8396 if test "x$ac_cv_header_sys_statfs_h" = xyes
8397 then :
8398 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8401 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8404 #endif
8406 if test "x$ac_cv_header_sys_user_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8411 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8412 #ifdef HAVE_SYS_PARAM_H
8413 # include <sys/param.h>
8414 #endif
8416 if test "x$ac_cv_header_sys_vfs_h" = xyes
8417 then :
8418 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8423 saved_sysctl_h_CFLAGS=$CFLAGS
8424 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8425 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8426 #ifdef HAVE_SYS_PARAM_H
8427 # include <sys/param.h>
8428 #endif
8430 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8431 then :
8432 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8436 CFLAGS=$saved_sysctl_h_CFLAGS
8438 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8439 #include <sys/socket.h>
8440 #ifdef HAVE_SYS_SOCKETVAR_H
8441 # include <sys/socketvar.h>
8442 #endif
8443 #ifdef HAVE_NET_ROUTE_H
8444 # include <net/route.h>
8445 #endif
8446 #ifdef HAVE_NETINET_IN_H
8447 # include <netinet/in.h>
8448 #endif
8449 #ifdef HAVE_NETINET_IN_SYSTM_H
8450 # include <netinet/in_systm.h>
8451 #endif
8452 #ifdef HAVE_NET_IF_H
8453 # include <net/if.h>
8454 #endif
8455 #ifdef HAVE_NETINET_IP_H
8456 # include <netinet/ip.h>
8457 #endif
8459 if test "x$ac_cv_header_netinet_ip_h" = xyes
8460 then :
8461 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8464 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8465 #include <sys/socket.h>
8466 #ifdef HAVE_SYS_SOCKETVAR_H
8467 # include <sys/socketvar.h>
8468 #endif
8469 #ifdef HAVE_NET_ROUTE_H
8470 # include <net/route.h>
8471 #endif
8472 #ifdef HAVE_NETINET_IN_H
8473 # include <netinet/in.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IN_SYSTM_H
8476 # include <netinet/in_systm.h>
8477 #endif
8478 #ifdef HAVE_NET_IF_H
8479 # include <net/if.h>
8480 #endif
8481 #ifdef HAVE_NETINET_IP_H
8482 # include <netinet/ip.h>
8483 #endif
8485 if test "x$ac_cv_header_net_if_h" = xyes
8486 then :
8487 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8490 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8491 #include <sys/socket.h>
8492 #ifdef HAVE_SYS_SOCKETVAR_H
8493 # include <sys/socketvar.h>
8494 #endif
8495 #ifdef HAVE_NET_ROUTE_H
8496 # include <net/route.h>
8497 #endif
8498 #ifdef HAVE_NETINET_IN_H
8499 # include <netinet/in.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IN_SYSTM_H
8502 # include <netinet/in_systm.h>
8503 #endif
8504 #ifdef HAVE_NET_IF_H
8505 # include <net/if.h>
8506 #endif
8507 #ifdef HAVE_NETINET_IP_H
8508 # include <netinet/ip.h>
8509 #endif
8511 if test "x$ac_cv_header_net_if_arp_h" = xyes
8512 then :
8513 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8516 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8517 #include <sys/socket.h>
8518 #ifdef HAVE_SYS_SOCKETVAR_H
8519 # include <sys/socketvar.h>
8520 #endif
8521 #ifdef HAVE_NET_ROUTE_H
8522 # include <net/route.h>
8523 #endif
8524 #ifdef HAVE_NETINET_IN_H
8525 # include <netinet/in.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IN_SYSTM_H
8528 # include <netinet/in_systm.h>
8529 #endif
8530 #ifdef HAVE_NET_IF_H
8531 # include <net/if.h>
8532 #endif
8533 #ifdef HAVE_NETINET_IP_H
8534 # include <netinet/ip.h>
8535 #endif
8537 if test "x$ac_cv_header_net_if_dl_h" = xyes
8538 then :
8539 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8542 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8543 #include <sys/socket.h>
8544 #ifdef HAVE_SYS_SOCKETVAR_H
8545 # include <sys/socketvar.h>
8546 #endif
8547 #ifdef HAVE_NET_ROUTE_H
8548 # include <net/route.h>
8549 #endif
8550 #ifdef HAVE_NETINET_IN_H
8551 # include <netinet/in.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IN_SYSTM_H
8554 # include <netinet/in_systm.h>
8555 #endif
8556 #ifdef HAVE_NET_IF_H
8557 # include <net/if.h>
8558 #endif
8559 #ifdef HAVE_NETINET_IP_H
8560 # include <netinet/ip.h>
8561 #endif
8563 if test "x$ac_cv_header_net_if_types_h" = xyes
8564 then :
8565 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8568 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8569 #include <sys/socket.h>
8570 #ifdef HAVE_SYS_SOCKETVAR_H
8571 # include <sys/socketvar.h>
8572 #endif
8573 #ifdef HAVE_NET_ROUTE_H
8574 # include <net/route.h>
8575 #endif
8576 #ifdef HAVE_NETINET_IN_H
8577 # include <netinet/in.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IN_SYSTM_H
8580 # include <netinet/in_systm.h>
8581 #endif
8582 #ifdef HAVE_NET_IF_H
8583 # include <net/if.h>
8584 #endif
8585 #ifdef HAVE_NETINET_IP_H
8586 # include <netinet/ip.h>
8587 #endif
8589 if test "x$ac_cv_header_net_route_h" = xyes
8590 then :
8591 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8594 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8595 #include <sys/socket.h>
8596 #ifdef HAVE_SYS_SOCKETVAR_H
8597 # include <sys/socketvar.h>
8598 #endif
8599 #ifdef HAVE_NET_ROUTE_H
8600 # include <net/route.h>
8601 #endif
8602 #ifdef HAVE_NETINET_IN_H
8603 # include <netinet/in.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IN_SYSTM_H
8606 # include <netinet/in_systm.h>
8607 #endif
8608 #ifdef HAVE_NET_IF_H
8609 # include <net/if.h>
8610 #endif
8611 #ifdef HAVE_NETINET_IP_H
8612 # include <netinet/ip.h>
8613 #endif
8615 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8616 then :
8617 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8620 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8621 #include <sys/socket.h>
8622 #ifdef HAVE_SYS_SOCKETVAR_H
8623 # include <sys/socketvar.h>
8624 #endif
8625 #ifdef HAVE_NET_ROUTE_H
8626 # include <net/route.h>
8627 #endif
8628 #ifdef HAVE_NETINET_IN_H
8629 # include <netinet/in.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IN_SYSTM_H
8632 # include <netinet/in_systm.h>
8633 #endif
8634 #ifdef HAVE_NET_IF_H
8635 # include <net/if.h>
8636 #endif
8637 #ifdef HAVE_NETINET_IP_H
8638 # include <netinet/ip.h>
8639 #endif
8641 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8642 then :
8643 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8646 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8647 #include <sys/socket.h>
8648 #ifdef HAVE_SYS_SOCKETVAR_H
8649 # include <sys/socketvar.h>
8650 #endif
8651 #ifdef HAVE_NET_ROUTE_H
8652 # include <net/route.h>
8653 #endif
8654 #ifdef HAVE_NETINET_IN_H
8655 # include <netinet/in.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IN_SYSTM_H
8658 # include <netinet/in_systm.h>
8659 #endif
8660 #ifdef HAVE_NET_IF_H
8661 # include <net/if.h>
8662 #endif
8663 #ifdef HAVE_NETINET_IP_H
8664 # include <netinet/ip.h>
8665 #endif
8667 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8668 then :
8669 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8672 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8673 #include <sys/socket.h>
8674 #ifdef HAVE_SYS_SOCKETVAR_H
8675 # include <sys/socketvar.h>
8676 #endif
8677 #ifdef HAVE_NET_ROUTE_H
8678 # include <net/route.h>
8679 #endif
8680 #ifdef HAVE_NETINET_IN_H
8681 # include <netinet/in.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IN_SYSTM_H
8684 # include <netinet/in_systm.h>
8685 #endif
8686 #ifdef HAVE_NET_IF_H
8687 # include <net/if.h>
8688 #endif
8689 #ifdef HAVE_NETINET_IP_H
8690 # include <netinet/ip.h>
8691 #endif
8693 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8694 then :
8695 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8698 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8699 #include <sys/socket.h>
8700 #ifdef HAVE_SYS_SOCKETVAR_H
8701 # include <sys/socketvar.h>
8702 #endif
8703 #ifdef HAVE_NET_ROUTE_H
8704 # include <net/route.h>
8705 #endif
8706 #ifdef HAVE_NETINET_IN_H
8707 # include <netinet/in.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IN_SYSTM_H
8710 # include <netinet/in_systm.h>
8711 #endif
8712 #ifdef HAVE_NET_IF_H
8713 # include <net/if.h>
8714 #endif
8715 #ifdef HAVE_NETINET_IP_H
8716 # include <netinet/ip.h>
8717 #endif
8719 if test "x$ac_cv_header_netinet_udp_h" = xyes
8720 then :
8721 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8724 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8725 #include <sys/socket.h>
8726 #ifdef HAVE_SYS_SOCKETVAR_H
8727 # include <sys/socketvar.h>
8728 #endif
8729 #ifdef HAVE_NET_ROUTE_H
8730 # include <net/route.h>
8731 #endif
8732 #ifdef HAVE_NETINET_IN_H
8733 # include <netinet/in.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IN_SYSTM_H
8736 # include <netinet/in_systm.h>
8737 #endif
8738 #ifdef HAVE_NET_IF_H
8739 # include <net/if.h>
8740 #endif
8741 #ifdef HAVE_NETINET_IP_H
8742 # include <netinet/ip.h>
8743 #endif
8745 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8746 then :
8747 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8750 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8751 #include <sys/socket.h>
8752 #ifdef HAVE_SYS_SOCKETVAR_H
8753 # include <sys/socketvar.h>
8754 #endif
8755 #ifdef HAVE_NET_ROUTE_H
8756 # include <net/route.h>
8757 #endif
8758 #ifdef HAVE_NETINET_IN_H
8759 # include <netinet/in.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IN_SYSTM_H
8762 # include <netinet/in_systm.h>
8763 #endif
8764 #ifdef HAVE_NET_IF_H
8765 # include <net/if.h>
8766 #endif
8767 #ifdef HAVE_NETINET_IP_H
8768 # include <netinet/ip.h>
8769 #endif
8771 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8772 then :
8773 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8776 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8777 #include <sys/socket.h>
8778 #ifdef HAVE_SYS_SOCKETVAR_H
8779 # include <sys/socketvar.h>
8780 #endif
8781 #ifdef HAVE_NET_ROUTE_H
8782 # include <net/route.h>
8783 #endif
8784 #ifdef HAVE_NETINET_IN_H
8785 # include <netinet/in.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IN_SYSTM_H
8788 # include <netinet/in_systm.h>
8789 #endif
8790 #ifdef HAVE_NET_IF_H
8791 # include <net/if.h>
8792 #endif
8793 #ifdef HAVE_NETINET_IP_H
8794 # include <netinet/ip.h>
8795 #endif
8797 if test "x$ac_cv_header_sys_un_h" = xyes
8798 then :
8799 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8804 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8805 #include <sys/socket.h>
8806 #ifdef HAVE_SYS_SOCKETVAR_H
8807 # include <sys/socketvar.h>
8808 #endif
8809 #ifdef HAVE_NETINET_IN_H
8810 # include <netinet/in.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IN_SYSTM_H
8813 # include <netinet/in_systm.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IP_H
8816 # include <netinet/ip.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IP_VAR_H
8819 # include <netinet/ip_var.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IP_ICMP_H
8822 # include <netinet/ip_icmp.h>
8823 #endif
8824 #ifdef HAVE_NETINET_UDP_H
8825 # include <netinet/udp.h>
8826 #endif
8827 #ifdef HAVE_NETINET_TCP_H
8828 # include <netinet/tcp.h>
8829 #endif
8831 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8832 then :
8833 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8836 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8837 #include <sys/socket.h>
8838 #ifdef HAVE_SYS_SOCKETVAR_H
8839 # include <sys/socketvar.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IN_H
8842 # include <netinet/in.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IN_SYSTM_H
8845 # include <netinet/in_systm.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IP_H
8848 # include <netinet/ip.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IP_VAR_H
8851 # include <netinet/ip_var.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IP_ICMP_H
8854 # include <netinet/ip_icmp.h>
8855 #endif
8856 #ifdef HAVE_NETINET_UDP_H
8857 # include <netinet/udp.h>
8858 #endif
8859 #ifdef HAVE_NETINET_TCP_H
8860 # include <netinet/tcp.h>
8861 #endif
8863 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8868 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8869 #include <sys/socket.h>
8870 #ifdef HAVE_SYS_SOCKETVAR_H
8871 # include <sys/socketvar.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IN_H
8874 # include <netinet/in.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IN_SYSTM_H
8877 # include <netinet/in_systm.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_H
8880 # include <netinet/ip.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IP_VAR_H
8883 # include <netinet/ip_var.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IP_ICMP_H
8886 # include <netinet/ip_icmp.h>
8887 #endif
8888 #ifdef HAVE_NETINET_UDP_H
8889 # include <netinet/udp.h>
8890 #endif
8891 #ifdef HAVE_NETINET_TCP_H
8892 # include <netinet/tcp.h>
8893 #endif
8895 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8896 then :
8897 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8900 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8901 #include <sys/socket.h>
8902 #ifdef HAVE_SYS_SOCKETVAR_H
8903 # include <sys/socketvar.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IN_H
8906 # include <netinet/in.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IN_SYSTM_H
8909 # include <netinet/in_systm.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IP_H
8912 # include <netinet/ip.h>
8913 #endif
8914 #ifdef HAVE_NETINET_IP_VAR_H
8915 # include <netinet/ip_var.h>
8916 #endif
8917 #ifdef HAVE_NETINET_IP_ICMP_H
8918 # include <netinet/ip_icmp.h>
8919 #endif
8920 #ifdef HAVE_NETINET_UDP_H
8921 # include <netinet/udp.h>
8922 #endif
8923 #ifdef HAVE_NETINET_TCP_H
8924 # include <netinet/tcp.h>
8925 #endif
8927 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8928 then :
8929 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8934 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8935 #include <sys/socket.h>
8936 #ifdef HAVE_ASM_TYPES_H
8937 # include <asm/types.h>
8938 #endif
8939 #ifdef HAVE_LINUX_TYPES_H
8940 # include <linux/types.h>
8941 #endif
8943 if test "x$ac_cv_header_linux_ipx_h" = xyes
8944 then :
8945 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8948 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8949 #include <sys/socket.h>
8950 #ifdef HAVE_ASM_TYPES_H
8951 # include <asm/types.h>
8952 #endif
8953 #ifdef HAVE_LINUX_TYPES_H
8954 # include <linux/types.h>
8955 #endif
8957 if test "x$ac_cv_header_linux_irda_h" = xyes
8958 then :
8959 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8962 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8963 #include <sys/socket.h>
8964 #ifdef HAVE_ASM_TYPES_H
8965 # include <asm/types.h>
8966 #endif
8967 #ifdef HAVE_LINUX_TYPES_H
8968 # include <linux/types.h>
8969 #endif
8971 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8972 then :
8973 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8978 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8979 #include <sys/socket.h>
8980 #ifdef HAVE_NETINET_IN_H
8981 # include <netinet/in.h>
8982 #endif
8983 #ifdef HAVE_ARPA_NAMESER_H
8984 # include <arpa/nameser.h>
8985 #endif
8987 if test "x$ac_cv_header_resolv_h" = xyes
8988 then :
8989 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8994 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8996 if test "x$ac_cv_header_ifaddrs_h" = xyes
8997 then :
8998 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9003 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9005 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9006 then :
9007 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9012 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9013 #ifdef HAVE_SYS_UCONTEXT_H
9014 #include <sys/ucontext.h>
9015 #endif
9017 if test "x$ac_cv_header_sys_thr_h" = xyes
9018 then :
9019 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9025 #include <pthread.h>
9026 #endif
9028 if test "x$ac_cv_header_pthread_np_h" = xyes
9029 then :
9030 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9035 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9036 #include <sys/types.h>
9037 #ifdef HAVE_ASM_TYPES_H
9038 #include <asm/types.h>
9039 #endif
9041 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9042 then :
9043 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9048 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9049 #include <sys/param.h>
9050 #endif
9051 #include <sys/socket.h>
9052 #ifdef HAVE_SYS_QUEUE_H
9053 #include <sys/queue.h>
9054 #endif
9056 if test "x$ac_cv_header_libprocstat_h" = xyes
9057 then :
9058 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9063 if test "x$ac_cv_header_sys_xattr_h" = xyes
9064 then
9065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9066 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9067 if test ${wine_cv_xattr_extra_args+y}
9068 then :
9069 printf %s "(cached) " >&6
9070 else $as_nop
9071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9072 /* end confdefs.h. */
9073 #include <sys/xattr.h>
9075 main (void)
9077 getxattr("", "", "", 0, 0, 0);
9079 return 0;
9081 _ACEOF
9082 if ac_fn_c_try_compile "$LINENO"
9083 then :
9084 wine_cv_xattr_extra_args=yes
9085 else $as_nop
9086 wine_cv_xattr_extra_args=no
9088 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9091 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9092 test $wine_cv_xattr_extra_args != yes ||
9093 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9098 DLLFLAGS=""
9100 LDDLLFLAGS=""
9102 LDEXECFLAGS=""
9104 EXTRACFLAGS=""
9106 UNIXDLLFLAGS="-fPIC"
9108 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9110 TOP_INSTALL_LIB=""
9112 TOP_INSTALL_DEV=""
9114 WINELOADER_LDFLAGS=""
9116 WINEPRELOADER_LDFLAGS=""
9118 LIBEXT="so"
9119 # Extract the first word of "ldd", so it can be a program name with args.
9120 set dummy ldd; ac_word=$2
9121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9122 printf %s "checking for $ac_word... " >&6; }
9123 if test ${ac_cv_path_LDD+y}
9124 then :
9125 printf %s "(cached) " >&6
9126 else $as_nop
9127 case $LDD in
9128 [\\/]* | ?:[\\/]*)
9129 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9133 as_dummy="/sbin:/usr/sbin:$PATH"
9134 for as_dir in $as_dummy
9136 IFS=$as_save_IFS
9137 case $as_dir in #(((
9138 '') as_dir=./ ;;
9139 */) ;;
9140 *) as_dir=$as_dir/ ;;
9141 esac
9142 for ac_exec_ext in '' $ac_executable_extensions; do
9143 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9144 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9146 break 2
9148 done
9149 done
9150 IFS=$as_save_IFS
9152 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9154 esac
9156 LDD=$ac_cv_path_LDD
9157 if test -n "$LDD"; then
9158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9159 printf "%s\n" "$LDD" >&6; }
9160 else
9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9162 printf "%s\n" "no" >&6; }
9166 if test -n "$ac_tool_prefix"; then
9167 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9168 set dummy ${ac_tool_prefix}otool; ac_word=$2
9169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170 printf %s "checking for $ac_word... " >&6; }
9171 if test ${ac_cv_prog_OTOOL+y}
9172 then :
9173 printf %s "(cached) " >&6
9174 else $as_nop
9175 if test -n "$OTOOL"; then
9176 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9177 else
9178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9179 for as_dir in $PATH
9181 IFS=$as_save_IFS
9182 case $as_dir in #(((
9183 '') as_dir=./ ;;
9184 */) ;;
9185 *) as_dir=$as_dir/ ;;
9186 esac
9187 for ac_exec_ext in '' $ac_executable_extensions; do
9188 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9190 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9191 break 2
9193 done
9194 done
9195 IFS=$as_save_IFS
9199 OTOOL=$ac_cv_prog_OTOOL
9200 if test -n "$OTOOL"; then
9201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9202 printf "%s\n" "$OTOOL" >&6; }
9203 else
9204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9205 printf "%s\n" "no" >&6; }
9210 if test -z "$ac_cv_prog_OTOOL"; then
9211 ac_ct_OTOOL=$OTOOL
9212 # Extract the first word of "otool", so it can be a program name with args.
9213 set dummy otool; ac_word=$2
9214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9215 printf %s "checking for $ac_word... " >&6; }
9216 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9217 then :
9218 printf %s "(cached) " >&6
9219 else $as_nop
9220 if test -n "$ac_ct_OTOOL"; then
9221 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9222 else
9223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224 for as_dir in $PATH
9226 IFS=$as_save_IFS
9227 case $as_dir in #(((
9228 '') as_dir=./ ;;
9229 */) ;;
9230 *) as_dir=$as_dir/ ;;
9231 esac
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9234 ac_cv_prog_ac_ct_OTOOL="otool"
9235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9236 break 2
9238 done
9239 done
9240 IFS=$as_save_IFS
9244 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9245 if test -n "$ac_ct_OTOOL"; then
9246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9247 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9248 else
9249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9250 printf "%s\n" "no" >&6; }
9253 if test "x$ac_ct_OTOOL" = x; then
9254 OTOOL="otool"
9255 else
9256 case $cross_compiling:$ac_tool_warned in
9257 yes:)
9258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9259 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9260 ac_tool_warned=yes ;;
9261 esac
9262 OTOOL=$ac_ct_OTOOL
9264 else
9265 OTOOL="$ac_cv_prog_OTOOL"
9268 if test -n "$ac_tool_prefix"; then
9269 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9270 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9272 printf %s "checking for $ac_word... " >&6; }
9273 if test ${ac_cv_prog_READELF+y}
9274 then :
9275 printf %s "(cached) " >&6
9276 else $as_nop
9277 if test -n "$READELF"; then
9278 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9279 else
9280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9281 for as_dir in $PATH
9283 IFS=$as_save_IFS
9284 case $as_dir in #(((
9285 '') as_dir=./ ;;
9286 */) ;;
9287 *) as_dir=$as_dir/ ;;
9288 esac
9289 for ac_exec_ext in '' $ac_executable_extensions; do
9290 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9291 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9292 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9293 break 2
9295 done
9296 done
9297 IFS=$as_save_IFS
9301 READELF=$ac_cv_prog_READELF
9302 if test -n "$READELF"; then
9303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9304 printf "%s\n" "$READELF" >&6; }
9305 else
9306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307 printf "%s\n" "no" >&6; }
9312 if test -z "$ac_cv_prog_READELF"; then
9313 ac_ct_READELF=$READELF
9314 # Extract the first word of "readelf", so it can be a program name with args.
9315 set dummy readelf; ac_word=$2
9316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9317 printf %s "checking for $ac_word... " >&6; }
9318 if test ${ac_cv_prog_ac_ct_READELF+y}
9319 then :
9320 printf %s "(cached) " >&6
9321 else $as_nop
9322 if test -n "$ac_ct_READELF"; then
9323 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9324 else
9325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9326 for as_dir in $PATH
9328 IFS=$as_save_IFS
9329 case $as_dir in #(((
9330 '') as_dir=./ ;;
9331 */) ;;
9332 *) as_dir=$as_dir/ ;;
9333 esac
9334 for ac_exec_ext in '' $ac_executable_extensions; do
9335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9336 ac_cv_prog_ac_ct_READELF="readelf"
9337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9338 break 2
9340 done
9341 done
9342 IFS=$as_save_IFS
9346 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9347 if test -n "$ac_ct_READELF"; then
9348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9349 printf "%s\n" "$ac_ct_READELF" >&6; }
9350 else
9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9352 printf "%s\n" "no" >&6; }
9355 if test "x$ac_ct_READELF" = x; then
9356 READELF="true"
9357 else
9358 case $cross_compiling:$ac_tool_warned in
9359 yes:)
9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9361 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9362 ac_tool_warned=yes ;;
9363 esac
9364 READELF=$ac_ct_READELF
9366 else
9367 READELF="$ac_cv_prog_READELF"
9370 wine_rules="all:"
9371 SUBDIRS=""
9373 DISABLED_SUBDIRS=""
9375 CONFIGURE_TARGETS=""
9378 wine_fn_config_makefile ()
9380 as_fn_append SUBDIRS " \\$as_nl $1"
9381 eval enable=\$$2
9382 case "$enable" in
9383 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9384 *aarch64*|*arm*|*i386*|*x86_64*)
9385 if test -n "$PE_ARCHS"
9386 then
9387 for i in $PE_ARCHS
9389 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9390 done
9391 else
9392 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9393 fi;;
9394 esac
9397 wine_fn_config_symlink ()
9399 ac_links=$@
9400 as_fn_append wine_rules "
9401 $ac_links:
9402 @./config.status \$@"
9403 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9406 case $host_os in
9407 cygwin*|mingw32*)
9408 LIBEXT="dll"
9409 EXTRACFLAGS="-D__WINE_PE_BUILD"
9410 case $host_cpu in
9411 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9412 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9413 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9414 then :
9415 printf %s "(cached) " >&6
9416 else $as_nop
9417 ac_wine_try_cflags_saved=$CFLAGS
9418 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9420 /* end confdefs.h. */
9421 int main(int argc, char **argv) { return 0; }
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"
9424 then :
9425 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9426 else $as_nop
9427 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9430 conftest$ac_exeext conftest.$ac_ext
9431 CFLAGS=$ac_wine_try_cflags_saved
9433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9434 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9435 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9436 then :
9437 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9438 fi ;;
9439 esac
9440 enable_loader=${enable_loader:-no}
9441 enable_server=${enable_server:-no}
9442 with_x=${with_x:-no}
9443 with_pthread=${with_pthread:-no}
9446 darwin*|macosx*)
9447 LIBEXT="dylib"
9448 DLLFLAGS="$DLLFLAGS -fPIC"
9449 LDDLLFLAGS="-fPIC"
9450 enable_winemac_drv=${enable_winemac_drv:-yes}
9451 CARBON_LIBS="-framework Carbon"
9453 COREFOUNDATION_LIBS="-framework CoreFoundation"
9455 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9457 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9459 METAL_LIBS="-framework Metal"
9461 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9463 CORESERVICES_LIBS="-framework CoreServices"
9465 APPKIT_LIBS="-framework AppKit"
9467 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9469 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9472 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9474 wine_can_build_preloader=yes
9475 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
9476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9477 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9478 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9479 then :
9480 printf %s "(cached) " >&6
9481 else $as_nop
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"
9489 then :
9490 ac_cv_cflags__Wl__no_new_main__e__main=yes
9491 else $as_nop
9492 ac_cv_cflags__Wl__no_new_main__e__main=no
9494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9495 conftest$ac_exeext conftest.$ac_ext
9496 CFLAGS=$ac_wine_try_cflags_saved
9498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9499 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9500 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9501 then :
9502 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9504 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9505 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9506 then :
9507 printf %s "(cached) " >&6
9508 else $as_nop
9509 ac_wine_try_cflags_saved=$CFLAGS
9510 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 int main(int argc, char **argv) { return 0; }
9514 _ACEOF
9515 if ac_fn_c_try_link "$LINENO"
9516 then :
9517 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9518 else $as_nop
9519 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9522 conftest$ac_exeext conftest.$ac_ext
9523 CFLAGS=$ac_wine_try_cflags_saved
9525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9526 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9527 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9528 then :
9529 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9530 else $as_nop
9531 wine_can_build_preloader=no
9533 else $as_nop
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9535 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9536 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9537 then :
9538 printf %s "(cached) " >&6
9539 else $as_nop
9540 ac_wine_try_cflags_saved=$CFLAGS
9541 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9543 /* end confdefs.h. */
9544 int main(int argc, char **argv) { return 0; }
9545 _ACEOF
9546 if ac_fn_c_try_link "$LINENO"
9547 then :
9548 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9549 else $as_nop
9550 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9553 conftest$ac_exeext conftest.$ac_ext
9554 CFLAGS=$ac_wine_try_cflags_saved
9556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9557 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9558 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9559 then :
9560 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9561 else $as_nop
9562 wine_can_build_preloader=no
9565 if test "$wine_can_build_preloader" = "yes"
9566 then
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9568 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9569 if test ${ac_cv_cflags__Wl__no_pie+y}
9570 then :
9571 printf %s "(cached) " >&6
9572 else $as_nop
9573 ac_wine_try_cflags_saved=$CFLAGS
9574 CFLAGS="$CFLAGS -Wl,-no_pie"
9575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9576 /* end confdefs.h. */
9577 int main(int argc, char **argv) { return 0; }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"
9580 then :
9581 ac_cv_cflags__Wl__no_pie=yes
9582 else $as_nop
9583 ac_cv_cflags__Wl__no_pie=no
9585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9586 conftest$ac_exeext conftest.$ac_ext
9587 CFLAGS=$ac_wine_try_cflags_saved
9589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9590 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9591 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9592 then :
9593 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9595 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9596 else
9597 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9600 if test "x$with_coreaudio" != "xno";
9601 then
9602 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9604 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9606 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9607 then
9608 OPENCL_LIBS="-framework OpenCL"
9610 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9614 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9615 ac_ext=m
9616 ac_cpp='$OBJCPP $CPPFLAGS'
9617 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9618 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9619 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9621 ac_ext=m
9622 ac_cpp='$OBJCPP $CPPFLAGS'
9623 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9624 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9625 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9626 if test -n "$ac_tool_prefix"; then
9627 for ac_prog in gcc objcc objc cc CC clang
9629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9632 printf %s "checking for $ac_word... " >&6; }
9633 if test ${ac_cv_prog_OBJC+y}
9634 then :
9635 printf %s "(cached) " >&6
9636 else $as_nop
9637 if test -n "$OBJC"; then
9638 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9639 else
9640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9641 for as_dir in $PATH
9643 IFS=$as_save_IFS
9644 case $as_dir in #(((
9645 '') as_dir=./ ;;
9646 */) ;;
9647 *) as_dir=$as_dir/ ;;
9648 esac
9649 for ac_exec_ext in '' $ac_executable_extensions; do
9650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9651 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9653 break 2
9655 done
9656 done
9657 IFS=$as_save_IFS
9661 OBJC=$ac_cv_prog_OBJC
9662 if test -n "$OBJC"; then
9663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9664 printf "%s\n" "$OBJC" >&6; }
9665 else
9666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9667 printf "%s\n" "no" >&6; }
9671 test -n "$OBJC" && break
9672 done
9674 if test -z "$OBJC"; then
9675 ac_ct_OBJC=$OBJC
9676 for ac_prog in gcc objcc objc cc CC clang
9678 # Extract the first word of "$ac_prog", so it can be a program name with args.
9679 set dummy $ac_prog; ac_word=$2
9680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9681 printf %s "checking for $ac_word... " >&6; }
9682 if test ${ac_cv_prog_ac_ct_OBJC+y}
9683 then :
9684 printf %s "(cached) " >&6
9685 else $as_nop
9686 if test -n "$ac_ct_OBJC"; then
9687 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9688 else
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9690 for as_dir in $PATH
9692 IFS=$as_save_IFS
9693 case $as_dir in #(((
9694 '') as_dir=./ ;;
9695 */) ;;
9696 *) as_dir=$as_dir/ ;;
9697 esac
9698 for ac_exec_ext in '' $ac_executable_extensions; do
9699 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9700 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9702 break 2
9704 done
9705 done
9706 IFS=$as_save_IFS
9710 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9711 if test -n "$ac_ct_OBJC"; then
9712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9713 printf "%s\n" "$ac_ct_OBJC" >&6; }
9714 else
9715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9716 printf "%s\n" "no" >&6; }
9720 test -n "$ac_ct_OBJC" && break
9721 done
9723 if test "x$ac_ct_OBJC" = x; then
9724 OBJC="gcc"
9725 else
9726 case $cross_compiling:$ac_tool_warned in
9727 yes:)
9728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9729 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9730 ac_tool_warned=yes ;;
9731 esac
9732 OBJC=$ac_ct_OBJC
9736 # Provide some information about the compiler.
9737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9738 set X $ac_compile
9739 ac_compiler=$2
9740 for ac_option in --version -v -V -qversion; do
9741 { { ac_try="$ac_compiler $ac_option >&5"
9742 case "(($ac_try" in
9743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9744 *) ac_try_echo=$ac_try;;
9745 esac
9746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9747 printf "%s\n" "$ac_try_echo"; } >&5
9748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9749 ac_status=$?
9750 if test -s conftest.err; then
9751 sed '10a\
9752 ... rest of stderr output deleted ...
9753 10q' conftest.err >conftest.er1
9754 cat conftest.er1 >&5
9756 rm -f conftest.er1 conftest.err
9757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9758 test $ac_status = 0; }
9759 done
9761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9762 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9763 if test ${ac_cv_objc_compiler_gnu+y}
9764 then :
9765 printf %s "(cached) " >&6
9766 else $as_nop
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9771 main (void)
9773 #ifndef __GNUC__
9774 choke me
9775 #endif
9778 return 0;
9780 _ACEOF
9781 if ac_fn_objc_try_compile "$LINENO"
9782 then :
9783 ac_compiler_gnu=yes
9784 else $as_nop
9785 ac_compiler_gnu=no
9787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9788 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9792 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9793 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9795 if test $ac_compiler_gnu = yes; then
9796 GOBJC=yes
9797 else
9798 GOBJC=
9800 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9801 ac_save_OBJCFLAGS=$OBJCFLAGS
9802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9803 printf %s "checking whether $OBJC accepts -g... " >&6; }
9804 if test ${ac_cv_prog_objc_g+y}
9805 then :
9806 printf %s "(cached) " >&6
9807 else $as_nop
9808 ac_save_objc_werror_flag=$ac_objc_werror_flag
9809 ac_objc_werror_flag=yes
9810 ac_cv_prog_objc_g=no
9811 OBJCFLAGS="-g"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9816 main (void)
9820 return 0;
9822 _ACEOF
9823 if ac_fn_objc_try_compile "$LINENO"
9824 then :
9825 ac_cv_prog_objc_g=yes
9826 else $as_nop
9827 OBJCFLAGS=""
9828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9832 main (void)
9836 return 0;
9838 _ACEOF
9839 if ac_fn_objc_try_compile "$LINENO"
9840 then :
9842 else $as_nop
9843 ac_objc_werror_flag=$ac_save_objc_werror_flag
9844 OBJCFLAGS="-g"
9845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9849 main (void)
9853 return 0;
9855 _ACEOF
9856 if ac_fn_objc_try_compile "$LINENO"
9857 then :
9858 ac_cv_prog_objc_g=yes
9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9865 ac_objc_werror_flag=$ac_save_objc_werror_flag
9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9868 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9869 if test $ac_test_OBJCFLAGS; then
9870 OBJCFLAGS=$ac_save_OBJCFLAGS
9871 elif test $ac_cv_prog_objc_g = yes; then
9872 if test "$GOBJC" = yes; then
9873 OBJCFLAGS="-g -O2"
9874 else
9875 OBJCFLAGS="-g"
9877 else
9878 if test "$GOBJC" = yes; then
9879 OBJCFLAGS="-O2"
9880 else
9881 OBJCFLAGS=
9884 ac_ext=m
9885 ac_cpp='$OBJCPP $CPPFLAGS'
9886 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9887 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9888 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 #include <Metal/Metal.h>
9895 main (void)
9897 id<MTLDevice> device; device.registryID;
9899 return 0;
9901 _ACEOF
9902 if ac_fn_objc_try_compile "$LINENO"
9903 then :
9904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9905 printf "%s\n" "yes" >&6; }
9907 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9909 else $as_nop
9910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9911 printf "%s\n" "no" >&6; }
9913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9914 ac_ext=c
9915 ac_cpp='$CPP $CPPFLAGS'
9916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9921 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9922 WINELOADER_DEPENDS="wine_info.plist"
9926 linux-android*)
9928 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9930 DLLFLAGS="$DLLFLAGS -fPIC"
9931 LDDLLFLAGS="-fPIC"
9932 LDEXECFLAGS="-Wl,-pie"
9933 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9935 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9936 if test ${ac_cv_cflags__Wl__z_defs+y}
9937 then :
9938 printf %s "(cached) " >&6
9939 else $as_nop
9940 ac_wine_try_cflags_saved=$CFLAGS
9941 CFLAGS="$CFLAGS -Wl,-z,defs"
9942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h. */
9944 int main(int argc, char **argv) { return 0; }
9945 _ACEOF
9946 if ac_fn_c_try_link "$LINENO"
9947 then :
9948 ac_cv_cflags__Wl__z_defs=yes
9949 else $as_nop
9950 ac_cv_cflags__Wl__z_defs=no
9952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9953 conftest$ac_exeext conftest.$ac_ext
9954 CFLAGS=$ac_wine_try_cflags_saved
9956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9957 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9958 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9959 then :
9960 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9963 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9964 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9965 then :
9966 printf %s "(cached) " >&6
9967 else $as_nop
9968 ac_wine_try_cflags_saved=$CFLAGS
9969 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int main(int argc, char **argv) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"
9975 then :
9976 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9977 else $as_nop
9978 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9980 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9985 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9986 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9987 then :
9988 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9990 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9993 printf %s "checking for -lEGL... " >&6; }
9994 if test ${ac_cv_lib_soname_EGL+y}
9995 then :
9996 printf %s "(cached) " >&6
9997 else $as_nop
9998 ac_check_soname_save_LIBS=$LIBS
9999 LIBS="-lEGL $LIBS"
10000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001 /* end confdefs.h. */
10003 /* Override any GCC internal prototype to avoid an error.
10004 Use char because int might match the return type of a GCC
10005 builtin and then its argument prototype would still apply. */
10006 char eglGetProcAddress ();
10008 main (void)
10010 return eglGetProcAddress ();
10012 return 0;
10014 _ACEOF
10015 if ac_fn_c_try_link "$LINENO"
10016 then :
10017 case "$LIBEXT" in
10018 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_EGL:+false} :
10022 then :
10023 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10024 fi ;;
10025 esac
10026 else $as_nop
10027 ac_cv_lib_soname_EGL=
10029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_EGL:+false} :
10034 then :
10035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10036 printf "%s\n" "not found" >&6; }
10038 else $as_nop
10039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10040 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10042 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10047 printf %s "checking for -lGLESv2... " >&6; }
10048 if test ${ac_cv_lib_soname_GLESv2+y}
10049 then :
10050 printf %s "(cached) " >&6
10051 else $as_nop
10052 ac_check_soname_save_LIBS=$LIBS
10053 LIBS="-lGLESv2 $LIBS"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10057 /* Override any GCC internal prototype to avoid an error.
10058 Use char because int might match the return type of a GCC
10059 builtin and then its argument prototype would still apply. */
10060 char glFlush ();
10062 main (void)
10064 return glFlush ();
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"
10070 then :
10071 case "$LIBEXT" in
10072 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10073 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'` ;;
10074 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10075 if ${ac_cv_lib_soname_GLESv2:+false} :
10076 then :
10077 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10078 fi ;;
10079 esac
10080 else $as_nop
10081 ac_cv_lib_soname_GLESv2=
10083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10084 conftest$ac_exeext conftest.$ac_ext
10085 LIBS=$ac_check_soname_save_LIBS
10087 if ${ac_cv_lib_soname_GLESv2:+false} :
10088 then :
10089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10090 printf "%s\n" "not found" >&6; }
10092 else $as_nop
10093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10094 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10096 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10101 if test "x$exec_prefix" = xNONE
10102 then
10103 case $host_cpu in
10104 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10105 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10106 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10107 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10108 esac
10114 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10116 test "$ac_cv_sys_file_offset_bits" = 64 &&
10117 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10119 case $host_cpu in
10120 *i[3456789]86*)
10121 DLLFLAGS="$DLLFLAGS -fno-PIC"
10122 LDDLLFLAGS="-fno-PIC"
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10124 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10125 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10126 then :
10127 printf %s "(cached) " >&6
10128 else $as_nop
10129 ac_wine_try_cflags_saved=$CFLAGS
10130 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 int main(int argc, char **argv) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"
10136 then :
10137 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10138 else $as_nop
10139 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10142 conftest$ac_exeext conftest.$ac_ext
10143 CFLAGS=$ac_wine_try_cflags_saved
10145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10146 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10147 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10148 then :
10149 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10153 DLLFLAGS="$DLLFLAGS -fPIC"
10154 LDDLLFLAGS="-fPIC" ;;
10155 esac
10157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10158 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10159 if test ${ac_cv_cflags__Wl__z_defs+y}
10160 then :
10161 printf %s "(cached) " >&6
10162 else $as_nop
10163 ac_wine_try_cflags_saved=$CFLAGS
10164 CFLAGS="$CFLAGS -Wl,-z,defs"
10165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10166 /* end confdefs.h. */
10167 int main(int argc, char **argv) { return 0; }
10168 _ACEOF
10169 if ac_fn_c_try_link "$LINENO"
10170 then :
10171 ac_cv_cflags__Wl__z_defs=yes
10172 else $as_nop
10173 ac_cv_cflags__Wl__z_defs=no
10175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10176 conftest$ac_exeext conftest.$ac_ext
10177 CFLAGS=$ac_wine_try_cflags_saved
10179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10180 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10181 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10182 then :
10183 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10186 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10187 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10188 then :
10189 printf %s "(cached) " >&6
10190 else $as_nop
10191 ac_wine_try_cflags_saved=$CFLAGS
10192 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 int main(int argc, char **argv) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"
10198 then :
10199 ac_cv_cflags__Wl___export_dynamic=yes
10200 else $as_nop
10201 ac_cv_cflags__Wl___export_dynamic=no
10203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10204 conftest$ac_exeext conftest.$ac_ext
10205 CFLAGS=$ac_wine_try_cflags_saved
10207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10208 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10209 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10210 then :
10211 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10213 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10215 case $host_cpu in
10216 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10218 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10219 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10220 then :
10221 printf %s "(cached) " >&6
10222 else $as_nop
10223 ac_wine_try_cflags_saved=$CFLAGS
10224 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10226 /* end confdefs.h. */
10227 int main(int argc, char **argv) { return 0; }
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"
10230 then :
10231 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10232 else $as_nop
10233 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10236 conftest$ac_exeext conftest.$ac_ext
10237 CFLAGS=$ac_wine_try_cflags_saved
10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10240 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10241 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10242 then :
10243 case $host_os in
10244 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10245 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10246 esac
10247 else $as_nop
10248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10249 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10250 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10251 then :
10252 printf %s "(cached) " >&6
10253 else $as_nop
10254 ac_wine_try_cflags_saved=$CFLAGS
10255 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10258 int main(int argc, char **argv) { return 0; }
10259 _ACEOF
10260 if ac_fn_c_try_link "$LINENO"
10261 then :
10262 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10263 else $as_nop
10264 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10271 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10272 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10273 then :
10274 case $host_os in
10275 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10276 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10277 esac
10280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10281 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10282 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10283 then :
10284 printf %s "(cached) " >&6
10285 else $as_nop
10286 ac_wine_try_cflags_saved=$CFLAGS
10287 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 int main(int argc, char **argv) { return 0; }
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"
10293 then :
10294 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10295 else $as_nop
10296 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10299 conftest$ac_exeext conftest.$ac_ext
10300 CFLAGS=$ac_wine_try_cflags_saved
10302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10303 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10304 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10305 then :
10306 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10309 esac
10311 esac
10313 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10314 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10315 enable_winemac_drv=${enable_winemac_drv:-no}
10317 PE_ARCHS=""
10319 cross_archs=
10320 if test ${enable_archs+y}
10321 then :
10322 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10323 ac_save_IFS=$IFS
10324 IFS=' ,'
10325 set x $enable_archs
10326 IFS=$ac_save_IFS
10327 shift
10328 for arch
10330 case $arch in
10331 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10332 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10333 esac
10334 done
10335 else $as_nop
10336 if test "x$with_mingw" != xno
10337 then
10338 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10339 case "x$with_mingw" in
10340 x|xyes) ;;
10341 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10342 esac
10346 for wine_arch in $cross_archs
10348 if eval \${${wine_arch}_CC:+false} :
10349 then :
10350 case $wine_arch in
10351 aarch64)
10352 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10354 # Extract the first word of "$ac_prog", so it can be a program name with args.
10355 set dummy $ac_prog; ac_word=$2
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10357 printf %s "checking for $ac_word... " >&6; }
10358 if test ${ac_cv_prog_aarch64_CC+y}
10359 then :
10360 printf %s "(cached) " >&6
10361 else $as_nop
10362 if test -n "$aarch64_CC"; then
10363 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10364 else
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10368 IFS=$as_save_IFS
10369 case $as_dir in #(((
10370 '') as_dir=./ ;;
10371 */) ;;
10372 *) as_dir=$as_dir/ ;;
10373 esac
10374 for ac_exec_ext in '' $ac_executable_extensions; do
10375 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10376 ac_cv_prog_aarch64_CC="$ac_prog"
10377 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10378 break 2
10380 done
10381 done
10382 IFS=$as_save_IFS
10386 aarch64_CC=$ac_cv_prog_aarch64_CC
10387 if test -n "$aarch64_CC"; then
10388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10389 printf "%s\n" "$aarch64_CC" >&6; }
10390 else
10391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10392 printf "%s\n" "no" >&6; }
10396 test -n "$aarch64_CC" && break
10397 done
10398 test -n "$aarch64_CC" || aarch64_CC="false"
10401 arm)
10402 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10404 # Extract the first word of "$ac_prog", so it can be a program name with args.
10405 set dummy $ac_prog; ac_word=$2
10406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10407 printf %s "checking for $ac_word... " >&6; }
10408 if test ${ac_cv_prog_arm_CC+y}
10409 then :
10410 printf %s "(cached) " >&6
10411 else $as_nop
10412 if test -n "$arm_CC"; then
10413 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10414 else
10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10416 for as_dir in $PATH
10418 IFS=$as_save_IFS
10419 case $as_dir in #(((
10420 '') as_dir=./ ;;
10421 */) ;;
10422 *) as_dir=$as_dir/ ;;
10423 esac
10424 for ac_exec_ext in '' $ac_executable_extensions; do
10425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10426 ac_cv_prog_arm_CC="$ac_prog"
10427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10428 break 2
10430 done
10431 done
10432 IFS=$as_save_IFS
10436 arm_CC=$ac_cv_prog_arm_CC
10437 if test -n "$arm_CC"; then
10438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10439 printf "%s\n" "$arm_CC" >&6; }
10440 else
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10442 printf "%s\n" "no" >&6; }
10446 test -n "$arm_CC" && break
10447 done
10448 test -n "$arm_CC" || arm_CC="false"
10451 i386)
10452 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 "
10453 for ac_prog in $ac_prefix_list clang
10455 # Extract the first word of "$ac_prog", so it can be a program name with args.
10456 set dummy $ac_prog; ac_word=$2
10457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10458 printf %s "checking for $ac_word... " >&6; }
10459 if test ${ac_cv_prog_i386_CC+y}
10460 then :
10461 printf %s "(cached) " >&6
10462 else $as_nop
10463 if test -n "$i386_CC"; then
10464 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10465 else
10466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10469 IFS=$as_save_IFS
10470 case $as_dir in #(((
10471 '') as_dir=./ ;;
10472 */) ;;
10473 *) as_dir=$as_dir/ ;;
10474 esac
10475 for ac_exec_ext in '' $ac_executable_extensions; do
10476 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10477 ac_cv_prog_i386_CC="$ac_prog"
10478 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10479 break 2
10481 done
10482 done
10483 IFS=$as_save_IFS
10487 i386_CC=$ac_cv_prog_i386_CC
10488 if test -n "$i386_CC"; then
10489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10490 printf "%s\n" "$i386_CC" >&6; }
10491 else
10492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10493 printf "%s\n" "no" >&6; }
10497 test -n "$i386_CC" && break
10498 done
10499 test -n "$i386_CC" || i386_CC="false"
10502 x86_64)
10503 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10504 for ac_prog in $ac_prefix_list clang
10506 # Extract the first word of "$ac_prog", so it can be a program name with args.
10507 set dummy $ac_prog; ac_word=$2
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10509 printf %s "checking for $ac_word... " >&6; }
10510 if test ${ac_cv_prog_x86_64_CC+y}
10511 then :
10512 printf %s "(cached) " >&6
10513 else $as_nop
10514 if test -n "$x86_64_CC"; then
10515 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10516 else
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10520 IFS=$as_save_IFS
10521 case $as_dir in #(((
10522 '') as_dir=./ ;;
10523 */) ;;
10524 *) as_dir=$as_dir/ ;;
10525 esac
10526 for ac_exec_ext in '' $ac_executable_extensions; do
10527 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10528 ac_cv_prog_x86_64_CC="$ac_prog"
10529 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10530 break 2
10532 done
10533 done
10534 IFS=$as_save_IFS
10538 x86_64_CC=$ac_cv_prog_x86_64_CC
10539 if test -n "$x86_64_CC"; then
10540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10541 printf "%s\n" "$x86_64_CC" >&6; }
10542 else
10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10544 printf "%s\n" "no" >&6; }
10548 test -n "$x86_64_CC" && break
10549 done
10550 test -n "$x86_64_CC" || x86_64_CC="false"
10553 esac
10556 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10557 then :
10558 continue
10561 saved_CC=$CC
10562 saved_CFLAGS=$CFLAGS
10564 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10565 eval CC=\$${wine_arch}_CC
10566 eval ${wine_arch}_CFLAGS=\$CFLAGS
10567 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10568 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10570 target=""
10571 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10574 printf %s "checking whether $CC works... " >&6; }
10575 if eval test \${$as_wine_cv_crosscc+y}
10576 then :
10577 printf %s "(cached) " >&6
10578 else $as_nop
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10583 main (void)
10587 return 0;
10589 _ACEOF
10590 if ac_fn_c_try_compile "$LINENO"
10591 then :
10592 eval "$as_wine_cv_crosscc=yes"
10593 else $as_nop
10594 eval "$as_wine_cv_crosscc=no"
10596 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10598 eval ac_res=\$$as_wine_cv_crosscc
10599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10600 printf "%s\n" "$ac_res" >&6; }
10601 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10602 then :
10603 set x $CC
10604 shift
10605 while test $# -ge 1
10607 case "$1" in
10608 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10609 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10610 esac
10611 shift
10612 done
10614 llvm_target=$target
10615 if test -z "$llvm_target"
10616 then
10617 case $wine_arch in
10618 i386) llvm_target=i686-windows ;;
10619 arm) llvm_target=armv7-windows ;;
10620 *) llvm_target=$wine_arch-windows ;;
10621 esac
10623 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10624 case $llvm_target in
10625 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10626 esac
10627 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10629 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10630 if eval test \${$as_ac_var+y}
10631 then :
10632 printf %s "(cached) " >&6
10633 else $as_nop
10634 ac_wine_try_cflags_saved=$CFLAGS
10635 ac_wine_try_cflags_saved_exeext=$ac_exeext
10636 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10637 ac_exeext=".exe"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 int __cdecl mainCRTStartup(void) { return 0; }
10641 _ACEOF
10642 if ac_fn_c_try_link "$LINENO"
10643 then :
10644 eval "$as_ac_var=yes"
10645 else $as_nop
10646 eval "$as_ac_var=no"
10648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10649 conftest$ac_exeext conftest.$ac_ext
10650 CFLAGS=$ac_wine_try_cflags_saved
10651 ac_exeext=$ac_wine_try_cflags_saved_exeext
10653 eval ac_res=\$$as_ac_var
10654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10655 printf "%s\n" "$ac_res" >&6; }
10656 if eval test \"x\$"$as_ac_var"\" = x"yes"
10657 then :
10658 target=$llvm_target
10659 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10660 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10661 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10662 fi }
10663 eval "${wine_arch}_TARGET=\$target"
10667 if test -z "$target"
10668 then
10669 CC=$saved_CC
10670 CFLAGS=$saved_CFLAGS
10671 continue
10673 as_fn_append PE_ARCHS " $wine_arch"
10675 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10678 printf %s "checking for $CC option to enable C99 features... " >&6; }
10679 if eval test \${$as_wine_cv_crosscc_c99+y}
10680 then :
10681 printf %s "(cached) " >&6
10682 else $as_nop
10683 eval "$as_wine_cv_crosscc_c99=no"
10684 for arg in '' '-std=gnu99'
10686 test -z "$arg" || CC="$CC $arg"
10687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10689 $ac_c_conftest_c99_program
10690 _ACEOF
10691 if ac_fn_c_try_compile "$LINENO"
10692 then :
10693 eval "$as_wine_cv_crosscc_c99=\$arg"
10694 else $as_nop
10695 eval "$as_wine_cv_crosscc_c99=no"
10697 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10698 eval CC=\$${wine_arch}_CC
10699 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10700 then :
10702 else $as_nop
10703 break
10705 done
10708 eval res=\$$as_wine_cv_crosscc_c99
10709 case "x$res" in
10710 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10711 printf "%s\n" "none needed" >&6; } ;;
10712 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10713 printf "%s\n" "unsupported" >&6; } ;;
10714 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10715 printf "%s\n" "$res" >&6; }
10716 as_fn_append ${wine_arch}_CC " $res" ;;
10717 esac
10720 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10722 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10723 if eval test \${$as_ac_var+y}
10724 then :
10725 printf %s "(cached) " >&6
10726 else $as_nop
10727 ac_wine_try_cflags_saved=$CFLAGS
10728 ac_wine_try_cflags_saved_exeext=$ac_exeext
10729 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10730 ac_exeext=".exe"
10731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10732 /* end confdefs.h. */
10733 int __cdecl mainCRTStartup(void) { return 0; }
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"
10736 then :
10737 eval "$as_ac_var=yes"
10738 else $as_nop
10739 eval "$as_ac_var=no"
10741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10742 conftest$ac_exeext conftest.$ac_ext
10743 CFLAGS=$ac_wine_try_cflags_saved
10744 ac_exeext=$ac_wine_try_cflags_saved_exeext
10746 eval ac_res=\$$as_ac_var
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10748 printf "%s\n" "$ac_res" >&6; }
10749 if eval test \"x\$"$as_ac_var"\" = x"yes"
10750 then :
10751 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10752 fi }
10753 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10755 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10756 if eval test \${$as_ac_var+y}
10757 then :
10758 printf %s "(cached) " >&6
10759 else $as_nop
10760 ac_wine_try_cflags_saved=$CFLAGS
10761 ac_wine_try_cflags_saved_exeext=$ac_exeext
10762 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10763 ac_exeext=".exe"
10764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10765 /* end confdefs.h. */
10766 int __cdecl mainCRTStartup(void) { return 0; }
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"
10769 then :
10770 eval "$as_ac_var=yes"
10771 else $as_nop
10772 eval "$as_ac_var=no"
10774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10775 conftest$ac_exeext conftest.$ac_ext
10776 CFLAGS=$ac_wine_try_cflags_saved
10777 ac_exeext=$ac_wine_try_cflags_saved_exeext
10779 eval ac_res=\$$as_ac_var
10780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10781 printf "%s\n" "$ac_res" >&6; }
10782 if eval test \"x\$"$as_ac_var"\" = x"yes"
10783 then :
10784 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10785 fi }
10786 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10788 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10789 if eval test \${$as_ac_var+y}
10790 then :
10791 printf %s "(cached) " >&6
10792 else $as_nop
10793 ac_wine_try_cflags_saved=$CFLAGS
10794 ac_wine_try_cflags_saved_exeext=$ac_exeext
10795 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10796 ac_exeext=".exe"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10799 int __cdecl mainCRTStartup(void) { return 0; }
10800 _ACEOF
10801 if ac_fn_c_try_link "$LINENO"
10802 then :
10803 eval "$as_ac_var=yes"
10804 else $as_nop
10805 eval "$as_ac_var=no"
10807 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10808 conftest$ac_exeext conftest.$ac_ext
10809 CFLAGS=$ac_wine_try_cflags_saved
10810 ac_exeext=$ac_wine_try_cflags_saved_exeext
10812 eval ac_res=\$$as_ac_var
10813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10814 printf "%s\n" "$ac_res" >&6; }
10815 if eval test \"x\$"$as_ac_var"\" = x"yes"
10816 then :
10817 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10818 fi }
10819 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10821 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10822 if eval test \${$as_ac_var+y}
10823 then :
10824 printf %s "(cached) " >&6
10825 else $as_nop
10826 ac_wine_try_cflags_saved=$CFLAGS
10827 ac_wine_try_cflags_saved_exeext=$ac_exeext
10828 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10829 ac_exeext=".exe"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10832 int __cdecl mainCRTStartup(void) { return 0; }
10833 _ACEOF
10834 if ac_fn_c_try_link "$LINENO"
10835 then :
10836 eval "$as_ac_var=yes"
10837 else $as_nop
10838 eval "$as_ac_var=no"
10840 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10841 conftest$ac_exeext conftest.$ac_ext
10842 CFLAGS=$ac_wine_try_cflags_saved
10843 ac_exeext=$ac_wine_try_cflags_saved_exeext
10845 eval ac_res=\$$as_ac_var
10846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10847 printf "%s\n" "$ac_res" >&6; }
10848 if eval test \"x\$"$as_ac_var"\" = x"yes"
10849 then :
10850 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10851 fi }
10852 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10854 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10855 if eval test \${$as_ac_var+y}
10856 then :
10857 printf %s "(cached) " >&6
10858 else $as_nop
10859 ac_wine_try_cflags_saved=$CFLAGS
10860 ac_wine_try_cflags_saved_exeext=$ac_exeext
10861 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10862 ac_exeext=".exe"
10863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10865 int __cdecl mainCRTStartup(void) { return 0; }
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"
10868 then :
10869 eval "$as_ac_var=yes"
10870 else $as_nop
10871 eval "$as_ac_var=no"
10873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10874 conftest$ac_exeext conftest.$ac_ext
10875 CFLAGS=$ac_wine_try_cflags_saved
10876 ac_exeext=$ac_wine_try_cflags_saved_exeext
10878 eval ac_res=\$$as_ac_var
10879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10880 printf "%s\n" "$ac_res" >&6; }
10881 if eval test \"x\$"$as_ac_var"\" = x"yes"
10882 then :
10883 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10884 fi }
10885 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10887 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10888 if eval test \${$as_ac_var+y}
10889 then :
10890 printf %s "(cached) " >&6
10891 else $as_nop
10892 ac_wine_try_cflags_saved=$CFLAGS
10893 ac_wine_try_cflags_saved_exeext=$ac_exeext
10894 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10895 ac_exeext=".exe"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10898 int __cdecl mainCRTStartup(void) { return 0; }
10899 _ACEOF
10900 if ac_fn_c_try_link "$LINENO"
10901 then :
10902 eval "$as_ac_var=yes"
10903 else $as_nop
10904 eval "$as_ac_var=no"
10906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10907 conftest$ac_exeext conftest.$ac_ext
10908 CFLAGS=$ac_wine_try_cflags_saved
10909 ac_exeext=$ac_wine_try_cflags_saved_exeext
10911 eval ac_res=\$$as_ac_var
10912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10913 printf "%s\n" "$ac_res" >&6; }
10914 if eval test \"x\$"$as_ac_var"\" = x"yes"
10915 then :
10916 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10917 fi }
10918 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10920 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10921 if eval test \${$as_ac_var+y}
10922 then :
10923 printf %s "(cached) " >&6
10924 else $as_nop
10925 ac_wine_try_cflags_saved=$CFLAGS
10926 ac_wine_try_cflags_saved_exeext=$ac_exeext
10927 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10928 ac_exeext=".exe"
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10931 int __cdecl mainCRTStartup(void) { return 0; }
10932 _ACEOF
10933 if ac_fn_c_try_link "$LINENO"
10934 then :
10935 eval "$as_ac_var=yes"
10936 else $as_nop
10937 eval "$as_ac_var=no"
10939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10940 conftest$ac_exeext conftest.$ac_ext
10941 CFLAGS=$ac_wine_try_cflags_saved
10942 ac_exeext=$ac_wine_try_cflags_saved_exeext
10944 eval ac_res=\$$as_ac_var
10945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10946 printf "%s\n" "$ac_res" >&6; }
10947 if eval test \"x\$"$as_ac_var"\" = x"yes"
10948 then :
10949 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
10950 fi }
10951 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
10952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
10953 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
10954 if eval test \${$as_ac_var+y}
10955 then :
10956 printf %s "(cached) " >&6
10957 else $as_nop
10958 ac_wine_try_cflags_saved=$CFLAGS
10959 ac_wine_try_cflags_saved_exeext=$ac_exeext
10960 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
10961 ac_exeext=".exe"
10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10964 int __cdecl mainCRTStartup(void) { return 0; }
10965 _ACEOF
10966 if ac_fn_c_try_link "$LINENO"
10967 then :
10968 eval "$as_ac_var=yes"
10969 else $as_nop
10970 eval "$as_ac_var=no"
10972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10973 conftest$ac_exeext conftest.$ac_ext
10974 CFLAGS=$ac_wine_try_cflags_saved
10975 ac_exeext=$ac_wine_try_cflags_saved_exeext
10977 eval ac_res=\$$as_ac_var
10978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10979 printf "%s\n" "$ac_res" >&6; }
10980 if eval test \"x\$"$as_ac_var"\" = x"yes"
10981 then :
10982 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
10983 fi }
10984 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
10985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
10986 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
10987 if eval test \${$as_ac_var+y}
10988 then :
10989 printf %s "(cached) " >&6
10990 else $as_nop
10991 ac_wine_try_cflags_saved=$CFLAGS
10992 ac_wine_try_cflags_saved_exeext=$ac_exeext
10993 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
10994 ac_exeext=".exe"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10997 int __cdecl mainCRTStartup(void) { return 0; }
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"
11000 then :
11001 eval "$as_ac_var=yes"
11002 else $as_nop
11003 eval "$as_ac_var=no"
11005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11006 conftest$ac_exeext conftest.$ac_ext
11007 CFLAGS=$ac_wine_try_cflags_saved
11008 ac_exeext=$ac_wine_try_cflags_saved_exeext
11010 eval ac_res=\$$as_ac_var
11011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11012 printf "%s\n" "$ac_res" >&6; }
11013 if eval test \"x\$"$as_ac_var"\" = x"yes"
11014 then :
11015 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11016 fi }
11017 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11019 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11020 if eval test \${$as_ac_var+y}
11021 then :
11022 printf %s "(cached) " >&6
11023 else $as_nop
11024 ac_wine_try_cflags_saved=$CFLAGS
11025 ac_wine_try_cflags_saved_exeext=$ac_exeext
11026 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11027 ac_exeext=".exe"
11028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h. */
11030 int __cdecl mainCRTStartup(void) { return 0; }
11031 _ACEOF
11032 if ac_fn_c_try_link "$LINENO"
11033 then :
11034 eval "$as_ac_var=yes"
11035 else $as_nop
11036 eval "$as_ac_var=no"
11038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11039 conftest$ac_exeext conftest.$ac_ext
11040 CFLAGS=$ac_wine_try_cflags_saved
11041 ac_exeext=$ac_wine_try_cflags_saved_exeext
11043 eval ac_res=\$$as_ac_var
11044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11045 printf "%s\n" "$ac_res" >&6; }
11046 if eval test \"x\$"$as_ac_var"\" = x"yes"
11047 then :
11048 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11049 fi }
11050 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11052 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11053 if eval test \${$as_ac_var+y}
11054 then :
11055 printf %s "(cached) " >&6
11056 else $as_nop
11057 ac_wine_try_cflags_saved=$CFLAGS
11058 ac_wine_try_cflags_saved_exeext=$ac_exeext
11059 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11060 ac_exeext=".exe"
11061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11062 /* end confdefs.h. */
11063 int __cdecl mainCRTStartup(void) { return 0; }
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"
11066 then :
11067 eval "$as_ac_var=yes"
11068 else $as_nop
11069 eval "$as_ac_var=no"
11071 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11072 conftest$ac_exeext conftest.$ac_ext
11073 CFLAGS=$ac_wine_try_cflags_saved
11074 ac_exeext=$ac_wine_try_cflags_saved_exeext
11076 eval ac_res=\$$as_ac_var
11077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11078 printf "%s\n" "$ac_res" >&6; }
11079 if eval test \"x\$"$as_ac_var"\" = x"yes"
11080 then :
11081 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11082 fi }
11083 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11085 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11086 if eval test \${$as_ac_var+y}
11087 then :
11088 printf %s "(cached) " >&6
11089 else $as_nop
11090 ac_wine_try_cflags_saved=$CFLAGS
11091 ac_wine_try_cflags_saved_exeext=$ac_exeext
11092 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11093 ac_exeext=".exe"
11094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11095 /* end confdefs.h. */
11096 int __cdecl mainCRTStartup(void) { return 0; }
11097 _ACEOF
11098 if ac_fn_c_try_link "$LINENO"
11099 then :
11100 eval "$as_ac_var=yes"
11101 else $as_nop
11102 eval "$as_ac_var=no"
11104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11105 conftest$ac_exeext conftest.$ac_ext
11106 CFLAGS=$ac_wine_try_cflags_saved
11107 ac_exeext=$ac_wine_try_cflags_saved_exeext
11109 eval ac_res=\$$as_ac_var
11110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11111 printf "%s\n" "$ac_res" >&6; }
11112 if eval test \"x\$"$as_ac_var"\" = x"yes"
11113 then :
11114 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11115 fi }
11116 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11118 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11119 if eval test \${$as_ac_var+y}
11120 then :
11121 printf %s "(cached) " >&6
11122 else $as_nop
11123 ac_wine_try_cflags_saved=$CFLAGS
11124 ac_wine_try_cflags_saved_exeext=$ac_exeext
11125 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11126 ac_exeext=".exe"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h. */
11129 int __cdecl mainCRTStartup(void) { return 0; }
11130 _ACEOF
11131 if ac_fn_c_try_link "$LINENO"
11132 then :
11133 eval "$as_ac_var=yes"
11134 else $as_nop
11135 eval "$as_ac_var=no"
11137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11138 conftest$ac_exeext conftest.$ac_ext
11139 CFLAGS=$ac_wine_try_cflags_saved
11140 ac_exeext=$ac_wine_try_cflags_saved_exeext
11142 eval ac_res=\$$as_ac_var
11143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11144 printf "%s\n" "$ac_res" >&6; }
11145 if eval test \"x\$"$as_ac_var"\" = x"yes"
11146 then :
11147 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11148 fi }
11149 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11151 printf %s "checking whether $CC supports -Wvla... " >&6; }
11152 if eval test \${$as_ac_var+y}
11153 then :
11154 printf %s "(cached) " >&6
11155 else $as_nop
11156 ac_wine_try_cflags_saved=$CFLAGS
11157 ac_wine_try_cflags_saved_exeext=$ac_exeext
11158 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11159 ac_exeext=".exe"
11160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11161 /* end confdefs.h. */
11162 int __cdecl mainCRTStartup(void) { return 0; }
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"
11165 then :
11166 eval "$as_ac_var=yes"
11167 else $as_nop
11168 eval "$as_ac_var=no"
11170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11171 conftest$ac_exeext conftest.$ac_ext
11172 CFLAGS=$ac_wine_try_cflags_saved
11173 ac_exeext=$ac_wine_try_cflags_saved_exeext
11175 eval ac_res=\$$as_ac_var
11176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11177 printf "%s\n" "$ac_res" >&6; }
11178 if eval test \"x\$"$as_ac_var"\" = x"yes"
11179 then :
11180 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11181 fi }
11182 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11184 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11185 if eval test \${$as_ac_var+y}
11186 then :
11187 printf %s "(cached) " >&6
11188 else $as_nop
11189 ac_wine_try_cflags_saved=$CFLAGS
11190 ac_wine_try_cflags_saved_exeext=$ac_exeext
11191 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11192 ac_exeext=".exe"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11195 int __cdecl mainCRTStartup(void) { return 0; }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"
11198 then :
11199 eval "$as_ac_var=yes"
11200 else $as_nop
11201 eval "$as_ac_var=no"
11203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11204 conftest$ac_exeext conftest.$ac_ext
11205 CFLAGS=$ac_wine_try_cflags_saved
11206 ac_exeext=$ac_wine_try_cflags_saved_exeext
11208 eval ac_res=\$$as_ac_var
11209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11210 printf "%s\n" "$ac_res" >&6; }
11211 if eval test \"x\$"$as_ac_var"\" = x"yes"
11212 then :
11213 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11214 fi }
11215 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11217 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11218 if eval test \${$as_ac_var+y}
11219 then :
11220 printf %s "(cached) " >&6
11221 else $as_nop
11222 ac_wine_try_cflags_saved=$CFLAGS
11223 ac_wine_try_cflags_saved_exeext=$ac_exeext
11224 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11225 ac_exeext=".exe"
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11228 int __cdecl mainCRTStartup(void) { return 0; }
11229 _ACEOF
11230 if ac_fn_c_try_link "$LINENO"
11231 then :
11232 eval "$as_ac_var=yes"
11233 else $as_nop
11234 eval "$as_ac_var=no"
11236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11237 conftest$ac_exeext conftest.$ac_ext
11238 CFLAGS=$ac_wine_try_cflags_saved
11239 ac_exeext=$ac_wine_try_cflags_saved_exeext
11241 eval ac_res=\$$as_ac_var
11242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11243 printf "%s\n" "$ac_res" >&6; }
11244 if eval test \"x\$"$as_ac_var"\" = x"yes"
11245 then :
11246 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11247 fi }
11248 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11250 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11251 if eval test \${$as_ac_var+y}
11252 then :
11253 printf %s "(cached) " >&6
11254 else $as_nop
11255 ac_wine_try_cflags_saved=$CFLAGS
11256 ac_wine_try_cflags_saved_exeext=$ac_exeext
11257 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11258 ac_exeext=".exe"
11259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11261 int __cdecl mainCRTStartup(void) { return 0; }
11262 _ACEOF
11263 if ac_fn_c_try_link "$LINENO"
11264 then :
11265 eval "$as_ac_var=yes"
11266 else $as_nop
11267 eval "$as_ac_var=no"
11269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11270 conftest$ac_exeext conftest.$ac_ext
11271 CFLAGS=$ac_wine_try_cflags_saved
11272 ac_exeext=$ac_wine_try_cflags_saved_exeext
11274 eval ac_res=\$$as_ac_var
11275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11276 printf "%s\n" "$ac_res" >&6; }
11277 if eval test \"x\$"$as_ac_var"\" = x"yes"
11278 then :
11279 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11280 fi }
11281 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11283 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11284 if eval test \${$as_ac_var+y}
11285 then :
11286 printf %s "(cached) " >&6
11287 else $as_nop
11288 ac_wine_try_cflags_saved=$CFLAGS
11289 ac_wine_try_cflags_saved_exeext=$ac_exeext
11290 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11291 ac_exeext=".exe"
11292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11293 /* end confdefs.h. */
11294 int __cdecl mainCRTStartup(void) { return 0; }
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"
11297 then :
11298 eval "$as_ac_var=yes"
11299 else $as_nop
11300 eval "$as_ac_var=no"
11302 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11303 conftest$ac_exeext conftest.$ac_ext
11304 CFLAGS=$ac_wine_try_cflags_saved
11305 ac_exeext=$ac_wine_try_cflags_saved_exeext
11307 eval ac_res=\$$as_ac_var
11308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11309 printf "%s\n" "$ac_res" >&6; }
11310 if eval test \"x\$"$as_ac_var"\" = x"yes"
11311 then :
11312 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11313 fi }
11315 case $wine_arch in
11316 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11318 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11319 if eval test \${$as_ac_var+y}
11320 then :
11321 printf %s "(cached) " >&6
11322 else $as_nop
11323 ac_wine_try_cflags_saved=$CFLAGS
11324 ac_wine_try_cflags_saved_exeext=$ac_exeext
11325 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11326 ac_exeext=".exe"
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11329 int __cdecl mainCRTStartup(void) { return 0; }
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"
11332 then :
11333 eval "$as_ac_var=yes"
11334 else $as_nop
11335 eval "$as_ac_var=no"
11337 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11338 conftest$ac_exeext conftest.$ac_ext
11339 CFLAGS=$ac_wine_try_cflags_saved
11340 ac_exeext=$ac_wine_try_cflags_saved_exeext
11342 eval ac_res=\$$as_ac_var
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11344 printf "%s\n" "$ac_res" >&6; }
11345 if eval test \"x\$"$as_ac_var"\" = x"yes"
11346 then :
11347 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11348 fi }
11349 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11351 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11352 if eval test \${$as_ac_var+y}
11353 then :
11354 printf %s "(cached) " >&6
11355 else $as_nop
11356 ac_wine_try_cflags_saved=$CFLAGS
11357 ac_wine_try_cflags_saved_exeext=$ac_exeext
11358 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11359 ac_exeext=".exe"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11362 int __cdecl mainCRTStartup(void) { return 0; }
11363 _ACEOF
11364 if ac_fn_c_try_link "$LINENO"
11365 then :
11366 eval "$as_ac_var=yes"
11367 else $as_nop
11368 eval "$as_ac_var=no"
11370 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11371 conftest$ac_exeext conftest.$ac_ext
11372 CFLAGS=$ac_wine_try_cflags_saved
11373 ac_exeext=$ac_wine_try_cflags_saved_exeext
11375 eval ac_res=\$$as_ac_var
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11377 printf "%s\n" "$ac_res" >&6; }
11378 if eval test \"x\$"$as_ac_var"\" = x"yes"
11379 then :
11380 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11381 fi } ;;
11382 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11384 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11385 if eval test \${$as_ac_var+y}
11386 then :
11387 printf %s "(cached) " >&6
11388 else $as_nop
11389 ac_wine_try_cflags_saved=$CFLAGS
11390 ac_wine_try_cflags_saved_exeext=$ac_exeext
11391 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11392 ac_exeext=".exe"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 int __cdecl mainCRTStartup(void) { return 0; }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"
11398 then :
11399 eval "$as_ac_var=yes"
11400 else $as_nop
11401 eval "$as_ac_var=no"
11403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11404 conftest$ac_exeext conftest.$ac_ext
11405 CFLAGS=$ac_wine_try_cflags_saved
11406 ac_exeext=$ac_wine_try_cflags_saved_exeext
11408 eval ac_res=\$$as_ac_var
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11410 printf "%s\n" "$ac_res" >&6; }
11411 if eval test \"x\$"$as_ac_var"\" = x"yes"
11412 then :
11413 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11414 fi }
11415 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11417 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11418 if eval test \${$as_ac_var+y}
11419 then :
11420 printf %s "(cached) " >&6
11421 else $as_nop
11422 ac_wine_try_cflags_saved=$CFLAGS
11423 ac_wine_try_cflags_saved_exeext=$ac_exeext
11424 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11425 ac_exeext=".exe"
11426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11427 /* end confdefs.h. */
11428 int __cdecl mainCRTStartup(void) { return 0; }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"
11431 then :
11432 eval "$as_ac_var=yes"
11433 else $as_nop
11434 eval "$as_ac_var=no"
11436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11437 conftest$ac_exeext conftest.$ac_ext
11438 CFLAGS=$ac_wine_try_cflags_saved
11439 ac_exeext=$ac_wine_try_cflags_saved_exeext
11441 eval ac_res=\$$as_ac_var
11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11443 printf "%s\n" "$ac_res" >&6; }
11444 if eval test \"x\$"$as_ac_var"\" = x"yes"
11445 then :
11446 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11447 fi }
11448 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11450 printf %s "checking whether $CC supports -mcx16... " >&6; }
11451 if eval test \${$as_ac_var+y}
11452 then :
11453 printf %s "(cached) " >&6
11454 else $as_nop
11455 ac_wine_try_cflags_saved=$CFLAGS
11456 ac_wine_try_cflags_saved_exeext=$ac_exeext
11457 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11458 ac_exeext=".exe"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11461 int __cdecl mainCRTStartup(void) { return 0; }
11462 _ACEOF
11463 if ac_fn_c_try_link "$LINENO"
11464 then :
11465 eval "$as_ac_var=yes"
11466 else $as_nop
11467 eval "$as_ac_var=no"
11469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11470 conftest$ac_exeext conftest.$ac_ext
11471 CFLAGS=$ac_wine_try_cflags_saved
11472 ac_exeext=$ac_wine_try_cflags_saved_exeext
11474 eval ac_res=\$$as_ac_var
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11476 printf "%s\n" "$ac_res" >&6; }
11477 if eval test \"x\$"$as_ac_var"\" = x"yes"
11478 then :
11479 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11480 fi } ;;
11481 esac
11483 wine_crossdebug=$CROSSDEBUG
11484 if test -z "$wine_crossdebug"
11485 then
11486 for ac_flag in $CFLAGS; do
11487 case $ac_flag in
11488 -gdwarf*) wine_crossdebug=dwarf ;;
11489 -gcodeview) wine_crossdebug=pdb ;;
11490 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11491 esac
11492 done
11495 ac_debug_format_seen=""
11496 for ac_flag in $CFLAGS; do
11497 case $ac_flag in
11498 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11499 esac
11500 done
11501 if test "x$ac_debug_format_seen" = x
11502 then
11503 case $wine_crossdebug in
11504 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11506 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11507 if eval test \${$as_ac_var+y}
11508 then :
11509 printf %s "(cached) " >&6
11510 else $as_nop
11511 ac_wine_try_cflags_saved=$CFLAGS
11512 ac_wine_try_cflags_saved_exeext=$ac_exeext
11513 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11514 ac_exeext=".exe"
11515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11517 int __cdecl mainCRTStartup(void) { return 0; }
11518 _ACEOF
11519 if ac_fn_c_try_link "$LINENO"
11520 then :
11521 eval "$as_ac_var=yes"
11522 else $as_nop
11523 eval "$as_ac_var=no"
11525 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11526 conftest$ac_exeext conftest.$ac_ext
11527 CFLAGS=$ac_wine_try_cflags_saved
11528 ac_exeext=$ac_wine_try_cflags_saved_exeext
11530 eval ac_res=\$$as_ac_var
11531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11532 printf "%s\n" "$ac_res" >&6; }
11533 if eval test \"x\$"$as_ac_var"\" = x"yes"
11534 then :
11535 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11536 fi } ;;
11537 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11539 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11540 if eval test \${$as_ac_var+y}
11541 then :
11542 printf %s "(cached) " >&6
11543 else $as_nop
11544 ac_wine_try_cflags_saved=$CFLAGS
11545 ac_wine_try_cflags_saved_exeext=$ac_exeext
11546 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11547 ac_exeext=".exe"
11548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11550 int __cdecl mainCRTStartup(void) { return 0; }
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"
11553 then :
11554 eval "$as_ac_var=yes"
11555 else $as_nop
11556 eval "$as_ac_var=no"
11558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11559 conftest$ac_exeext conftest.$ac_ext
11560 CFLAGS=$ac_wine_try_cflags_saved
11561 ac_exeext=$ac_wine_try_cflags_saved_exeext
11563 eval ac_res=\$$as_ac_var
11564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11565 printf "%s\n" "$ac_res" >&6; }
11566 if eval test \"x\$"$as_ac_var"\" = x"yes"
11567 then :
11568 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11569 fi } ;;
11570 esac
11572 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11574 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11576 printf %s "checking whether $CC supports -Werror... " >&6; }
11577 if eval test \${$as_ac_var+y}
11578 then :
11579 printf %s "(cached) " >&6
11580 else $as_nop
11581 ac_wine_try_cflags_saved=$CFLAGS
11582 ac_wine_try_cflags_saved_exeext=$ac_exeext
11583 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11584 ac_exeext=".exe"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11587 int __cdecl mainCRTStartup(void) { return 0; }
11588 _ACEOF
11589 if ac_fn_c_try_link "$LINENO"
11590 then :
11591 eval "$as_ac_var=yes"
11592 else $as_nop
11593 eval "$as_ac_var=no"
11595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11596 conftest$ac_exeext conftest.$ac_ext
11597 CFLAGS=$ac_wine_try_cflags_saved
11598 ac_exeext=$ac_wine_try_cflags_saved_exeext
11600 eval ac_res=\$$as_ac_var
11601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11602 printf "%s\n" "$ac_res" >&6; }
11603 if eval test \"x\$"$as_ac_var"\" = x"yes"
11604 then :
11605 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11606 fi }
11607 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11609 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11610 if eval test \${$as_ac_var+y}
11611 then :
11612 printf %s "(cached) " >&6
11613 else $as_nop
11614 ac_wine_try_cflags_saved=$CFLAGS
11615 ac_wine_try_cflags_saved_exeext=$ac_exeext
11616 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11617 ac_exeext=".exe"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11620 int __cdecl mainCRTStartup(void) { return 0; }
11621 _ACEOF
11622 if ac_fn_c_try_link "$LINENO"
11623 then :
11624 eval "$as_ac_var=yes"
11625 else $as_nop
11626 eval "$as_ac_var=no"
11628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11629 conftest$ac_exeext conftest.$ac_ext
11630 CFLAGS=$ac_wine_try_cflags_saved
11631 ac_exeext=$ac_wine_try_cflags_saved_exeext
11633 eval ac_res=\$$as_ac_var
11634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11635 printf "%s\n" "$ac_res" >&6; }
11636 if eval test \"x\$"$as_ac_var"\" = x"yes"
11637 then :
11638 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11639 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11640 fi }
11642 CC=$saved_CC
11643 CFLAGS=$saved_CFLAGS
11644 done
11646 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11647 then
11648 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11651 if test "x$PE_ARCHS" = "x"
11652 then :
11653 case "x$with_mingw" in
11654 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11655 xno) ;;
11656 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11657 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11658 esac
11663 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11664 then
11665 case "$host_cpu" in
11666 i[3456789]86*)
11667 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11669 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11670 esac
11671 for ac_prog in $ac_prefix_list
11673 # Extract the first word of "$ac_prog", so it can be a program name with args.
11674 set dummy $ac_prog; ac_word=$2
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 printf %s "checking for $ac_word... " >&6; }
11677 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11678 then :
11679 printf %s "(cached) " >&6
11680 else $as_nop
11681 if test -n "$MINGW_PKG_CONFIG"; then
11682 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11683 else
11684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685 for as_dir in $PATH
11687 IFS=$as_save_IFS
11688 case $as_dir in #(((
11689 '') as_dir=./ ;;
11690 */) ;;
11691 *) as_dir=$as_dir/ ;;
11692 esac
11693 for ac_exec_ext in '' $ac_executable_extensions; do
11694 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11695 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11697 break 2
11699 done
11700 done
11701 IFS=$as_save_IFS
11705 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11706 if test -n "$MINGW_PKG_CONFIG"; then
11707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11708 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11709 else
11710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11711 printf "%s\n" "no" >&6; }
11715 test -n "$MINGW_PKG_CONFIG" && break
11716 done
11717 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11719 if ${FAUDIO_PE_CFLAGS:+false} :
11720 then :
11721 if test ${MINGW_PKG_CONFIG+y}
11722 then :
11723 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11726 if ${FAUDIO_PE_LIBS:+false} :
11727 then :
11728 if test ${MINGW_PKG_CONFIG+y}
11729 then :
11730 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11733 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11734 ac_save_CPPFLAGS=$CPPFLAGS
11735 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11737 printf %s "checking for MinGW FAudio.h... " >&6; }
11738 if test ${ac_cv_mingw_header_FAudio_h+y}
11739 then :
11740 printf %s "(cached) " >&6
11741 else $as_nop
11742 ac_wine_check_headers_saved_cc=$CC
11743 ac_wine_check_headers_saved_exeext=$ac_exeext
11744 eval CC=\$${wine_arch}_CC
11745 ac_exeext=".exe"
11746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 #include <FAudio.h>
11751 main (void)
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_compile "$LINENO"
11759 then :
11760 ac_cv_mingw_header_FAudio_h=yes
11761 else $as_nop
11762 ac_cv_mingw_header_FAudio_h=no
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11765 CC=$ac_wine_check_headers_saved_cc
11766 ac_exeext=$ac_wine_check_headers_saved_exeext
11768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11769 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11770 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11771 then :
11772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11773 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11774 if test ${ac_cv_mingw_lib_FAudio+y}
11775 then :
11776 printf %s "(cached) " >&6
11777 else $as_nop
11778 ac_wine_check_headers_saved_cc=$CC
11779 ac_wine_check_headers_saved_exeext=$ac_exeext
11780 ac_wine_check_headers_saved_libs=$LIBS
11781 eval CC=\$${wine_arch}_CC
11782 ac_exeext=".exe"
11783 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 char FAudio_CommitOperationSet ();
11792 main (void)
11794 return FAudio_CommitOperationSet ();
11796 return 0;
11798 _ACEOF
11799 if ac_fn_c_try_link "$LINENO"
11800 then :
11801 ac_cv_mingw_lib_FAudio=yes
11802 else $as_nop
11803 ac_cv_mingw_lib_FAudio=no
11805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11806 conftest$ac_exeext conftest.$ac_ext
11807 CC=$ac_wine_check_headers_saved_cc
11808 ac_exeext=$ac_wine_check_headers_saved_exeext
11809 LIBS=$ac_wine_check_headers_saved_libs
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11812 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11813 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11814 then :
11816 else $as_nop
11817 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11819 else $as_nop
11820 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11822 CPPFLAGS=$ac_save_CPPFLAGS
11824 if test "x$FAUDIO_PE_LIBS" = "x"
11825 then
11826 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11829 if ${JPEG_PE_CFLAGS:+false} :
11830 then :
11831 if test ${MINGW_PKG_CONFIG+y}
11832 then :
11833 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11836 if ${JPEG_PE_LIBS:+false} :
11837 then :
11838 if test ${MINGW_PKG_CONFIG+y}
11839 then :
11840 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11844 ac_save_CPPFLAGS=$CPPFLAGS
11845 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11847 printf %s "checking for MinGW jpeglib.h... " >&6; }
11848 if test ${ac_cv_mingw_header_jpeglib_h+y}
11849 then :
11850 printf %s "(cached) " >&6
11851 else $as_nop
11852 ac_wine_check_headers_saved_cc=$CC
11853 ac_wine_check_headers_saved_exeext=$ac_exeext
11854 eval CC=\$${wine_arch}_CC
11855 ac_exeext=".exe"
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <stddef.h>
11859 #include <stdio.h>
11860 #include <jpeglib.h>
11862 main (void)
11866 return 0;
11868 _ACEOF
11869 if ac_fn_c_try_compile "$LINENO"
11870 then :
11871 ac_cv_mingw_header_jpeglib_h=yes
11872 else $as_nop
11873 ac_cv_mingw_header_jpeglib_h=no
11875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11876 CC=$ac_wine_check_headers_saved_cc
11877 ac_exeext=$ac_wine_check_headers_saved_exeext
11879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11880 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11881 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11882 then :
11883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11884 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11885 if test ${ac_cv_mingw_lib_jpeg+y}
11886 then :
11887 printf %s "(cached) " >&6
11888 else $as_nop
11889 ac_wine_check_headers_saved_cc=$CC
11890 ac_wine_check_headers_saved_exeext=$ac_exeext
11891 ac_wine_check_headers_saved_libs=$LIBS
11892 eval CC=\$${wine_arch}_CC
11893 ac_exeext=".exe"
11894 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11901 char jpeg_start_decompress ();
11903 main (void)
11905 return jpeg_start_decompress ();
11907 return 0;
11909 _ACEOF
11910 if ac_fn_c_try_link "$LINENO"
11911 then :
11912 ac_cv_mingw_lib_jpeg=yes
11913 else $as_nop
11914 ac_cv_mingw_lib_jpeg=no
11916 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11917 conftest$ac_exeext conftest.$ac_ext
11918 CC=$ac_wine_check_headers_saved_cc
11919 ac_exeext=$ac_wine_check_headers_saved_exeext
11920 LIBS=$ac_wine_check_headers_saved_libs
11922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11923 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11924 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11925 then :
11927 else $as_nop
11928 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11930 else $as_nop
11931 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
11933 CPPFLAGS=$ac_save_CPPFLAGS
11935 if test "x$JPEG_PE_LIBS" = "x"
11936 then
11937 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
11940 if ${LCMS2_PE_CFLAGS:+false} :
11941 then :
11942 if test ${MINGW_PKG_CONFIG+y}
11943 then :
11944 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
11947 if ${LCMS2_PE_LIBS:+false} :
11948 then :
11949 if test ${MINGW_PKG_CONFIG+y}
11950 then :
11951 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
11954 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
11955 ac_save_CPPFLAGS=$CPPFLAGS
11956 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
11957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
11958 printf %s "checking for MinGW lcms2.h... " >&6; }
11959 if test ${ac_cv_mingw_header_lcms2_h+y}
11960 then :
11961 printf %s "(cached) " >&6
11962 else $as_nop
11963 ac_wine_check_headers_saved_cc=$CC
11964 ac_wine_check_headers_saved_exeext=$ac_exeext
11965 eval CC=\$${wine_arch}_CC
11966 ac_exeext=".exe"
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11970 #include <lcms2.h>
11972 main (void)
11976 return 0;
11978 _ACEOF
11979 if ac_fn_c_try_compile "$LINENO"
11980 then :
11981 ac_cv_mingw_header_lcms2_h=yes
11982 else $as_nop
11983 ac_cv_mingw_header_lcms2_h=no
11985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11986 CC=$ac_wine_check_headers_saved_cc
11987 ac_exeext=$ac_wine_check_headers_saved_exeext
11989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
11990 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
11991 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
11992 then :
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
11994 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
11995 if test ${ac_cv_mingw_lib_lcms2+y}
11996 then :
11997 printf %s "(cached) " >&6
11998 else $as_nop
11999 ac_wine_check_headers_saved_cc=$CC
12000 ac_wine_check_headers_saved_exeext=$ac_exeext
12001 ac_wine_check_headers_saved_libs=$LIBS
12002 eval CC=\$${wine_arch}_CC
12003 ac_exeext=".exe"
12004 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12008 /* Override any GCC internal prototype to avoid an error.
12009 Use char because int might match the return type of a GCC
12010 builtin and then its argument prototype would still apply. */
12011 char cmsOpenProfileFromFile ();
12013 main (void)
12015 return cmsOpenProfileFromFile ();
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_link "$LINENO"
12021 then :
12022 ac_cv_mingw_lib_lcms2=yes
12023 else $as_nop
12024 ac_cv_mingw_lib_lcms2=no
12026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12027 conftest$ac_exeext conftest.$ac_ext
12028 CC=$ac_wine_check_headers_saved_cc
12029 ac_exeext=$ac_wine_check_headers_saved_exeext
12030 LIBS=$ac_wine_check_headers_saved_libs
12032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12033 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12034 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12035 then :
12037 else $as_nop
12038 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12040 else $as_nop
12041 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12043 CPPFLAGS=$ac_save_CPPFLAGS
12045 if test "x$LCMS2_PE_LIBS" = "x"
12046 then
12047 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12050 if ${MPG123_PE_CFLAGS:+false} :
12051 then :
12052 if test ${MINGW_PKG_CONFIG+y}
12053 then :
12054 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12057 if ${MPG123_PE_LIBS:+false} :
12058 then :
12059 if test ${MINGW_PKG_CONFIG+y}
12060 then :
12061 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12064 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12065 ac_save_CPPFLAGS=$CPPFLAGS
12066 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12068 printf %s "checking for MinGW mpg123.h... " >&6; }
12069 if test ${ac_cv_mingw_header_mpg123_h+y}
12070 then :
12071 printf %s "(cached) " >&6
12072 else $as_nop
12073 ac_wine_check_headers_saved_cc=$CC
12074 ac_wine_check_headers_saved_exeext=$ac_exeext
12075 eval CC=\$${wine_arch}_CC
12076 ac_exeext=".exe"
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h. */
12080 #include <mpg123.h>
12082 main (void)
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_compile "$LINENO"
12090 then :
12091 ac_cv_mingw_header_mpg123_h=yes
12092 else $as_nop
12093 ac_cv_mingw_header_mpg123_h=no
12095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12096 CC=$ac_wine_check_headers_saved_cc
12097 ac_exeext=$ac_wine_check_headers_saved_exeext
12099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12100 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12101 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12102 then :
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12104 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12105 if test ${ac_cv_mingw_lib_mpg123+y}
12106 then :
12107 printf %s "(cached) " >&6
12108 else $as_nop
12109 ac_wine_check_headers_saved_cc=$CC
12110 ac_wine_check_headers_saved_exeext=$ac_exeext
12111 ac_wine_check_headers_saved_libs=$LIBS
12112 eval CC=\$${wine_arch}_CC
12113 ac_exeext=".exe"
12114 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 char mpg123_feed ();
12123 main (void)
12125 return mpg123_feed ();
12127 return 0;
12129 _ACEOF
12130 if ac_fn_c_try_link "$LINENO"
12131 then :
12132 ac_cv_mingw_lib_mpg123=yes
12133 else $as_nop
12134 ac_cv_mingw_lib_mpg123=no
12136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12137 conftest$ac_exeext conftest.$ac_ext
12138 CC=$ac_wine_check_headers_saved_cc
12139 ac_exeext=$ac_wine_check_headers_saved_exeext
12140 LIBS=$ac_wine_check_headers_saved_libs
12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12143 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12144 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12145 then :
12147 else $as_nop
12148 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12150 else $as_nop
12151 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12153 CPPFLAGS=$ac_save_CPPFLAGS
12155 if test "x$MPG123_PE_LIBS" = "x"
12156 then
12157 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12160 if ${PNG_PE_CFLAGS:+false} :
12161 then :
12162 if test ${MINGW_PKG_CONFIG+y}
12163 then :
12164 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12167 if ${PNG_PE_LIBS:+false} :
12168 then :
12169 if test ${MINGW_PKG_CONFIG+y}
12170 then :
12171 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12175 ac_save_CPPFLAGS=$CPPFLAGS
12176 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12178 printf %s "checking for MinGW png.h... " >&6; }
12179 if test ${ac_cv_mingw_header_png_h+y}
12180 then :
12181 printf %s "(cached) " >&6
12182 else $as_nop
12183 ac_wine_check_headers_saved_cc=$CC
12184 ac_wine_check_headers_saved_exeext=$ac_exeext
12185 eval CC=\$${wine_arch}_CC
12186 ac_exeext=".exe"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 #include <png.h>
12192 main (void)
12196 return 0;
12198 _ACEOF
12199 if ac_fn_c_try_compile "$LINENO"
12200 then :
12201 ac_cv_mingw_header_png_h=yes
12202 else $as_nop
12203 ac_cv_mingw_header_png_h=no
12205 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12206 CC=$ac_wine_check_headers_saved_cc
12207 ac_exeext=$ac_wine_check_headers_saved_exeext
12209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12210 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12211 if test "x$ac_cv_mingw_header_png_h" = xyes
12212 then :
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12214 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12215 if test ${ac_cv_mingw_lib_png+y}
12216 then :
12217 printf %s "(cached) " >&6
12218 else $as_nop
12219 ac_wine_check_headers_saved_cc=$CC
12220 ac_wine_check_headers_saved_exeext=$ac_exeext
12221 ac_wine_check_headers_saved_libs=$LIBS
12222 eval CC=\$${wine_arch}_CC
12223 ac_exeext=".exe"
12224 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 char png_create_read_struct ();
12233 main (void)
12235 return png_create_read_struct ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"
12241 then :
12242 ac_cv_mingw_lib_png=yes
12243 else $as_nop
12244 ac_cv_mingw_lib_png=no
12246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12247 conftest$ac_exeext conftest.$ac_ext
12248 CC=$ac_wine_check_headers_saved_cc
12249 ac_exeext=$ac_wine_check_headers_saved_exeext
12250 LIBS=$ac_wine_check_headers_saved_libs
12252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12253 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12254 if test "x$ac_cv_mingw_lib_png" = xyes
12255 then :
12257 else $as_nop
12258 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12260 else $as_nop
12261 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12263 CPPFLAGS=$ac_save_CPPFLAGS
12265 if test "x$PNG_PE_LIBS" = "x"
12266 then
12267 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12270 if ${TIFF_PE_CFLAGS:+false} :
12271 then :
12272 if test ${MINGW_PKG_CONFIG+y}
12273 then :
12274 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12277 if ${TIFF_PE_LIBS:+false} :
12278 then :
12279 if test ${MINGW_PKG_CONFIG+y}
12280 then :
12281 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12285 ac_save_CPPFLAGS=$CPPFLAGS
12286 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12288 printf %s "checking for MinGW tiffio.h... " >&6; }
12289 if test ${ac_cv_mingw_header_tiffio_h+y}
12290 then :
12291 printf %s "(cached) " >&6
12292 else $as_nop
12293 ac_wine_check_headers_saved_cc=$CC
12294 ac_wine_check_headers_saved_exeext=$ac_exeext
12295 eval CC=\$${wine_arch}_CC
12296 ac_exeext=".exe"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 #include <tiffio.h>
12302 main (void)
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_compile "$LINENO"
12310 then :
12311 ac_cv_mingw_header_tiffio_h=yes
12312 else $as_nop
12313 ac_cv_mingw_header_tiffio_h=no
12315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12316 CC=$ac_wine_check_headers_saved_cc
12317 ac_exeext=$ac_wine_check_headers_saved_exeext
12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12320 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12321 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12322 then :
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12324 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12325 if test ${ac_cv_mingw_lib_tiff+y}
12326 then :
12327 printf %s "(cached) " >&6
12328 else $as_nop
12329 ac_wine_check_headers_saved_cc=$CC
12330 ac_wine_check_headers_saved_exeext=$ac_exeext
12331 ac_wine_check_headers_saved_libs=$LIBS
12332 eval CC=\$${wine_arch}_CC
12333 ac_exeext=".exe"
12334 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12338 /* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341 char TIFFClientOpen ();
12343 main (void)
12345 return TIFFClientOpen ();
12347 return 0;
12349 _ACEOF
12350 if ac_fn_c_try_link "$LINENO"
12351 then :
12352 ac_cv_mingw_lib_tiff=yes
12353 else $as_nop
12354 ac_cv_mingw_lib_tiff=no
12356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12357 conftest$ac_exeext conftest.$ac_ext
12358 CC=$ac_wine_check_headers_saved_cc
12359 ac_exeext=$ac_wine_check_headers_saved_exeext
12360 LIBS=$ac_wine_check_headers_saved_libs
12362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12363 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12364 if test "x$ac_cv_mingw_lib_tiff" = xyes
12365 then :
12367 else $as_nop
12368 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12370 else $as_nop
12371 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12373 CPPFLAGS=$ac_save_CPPFLAGS
12375 if test "x$TIFF_PE_LIBS" = "x"
12376 then
12377 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12380 if ${XML2_PE_CFLAGS:+false} :
12381 then :
12382 if test ${MINGW_PKG_CONFIG+y}
12383 then :
12384 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12387 if ${XML2_PE_LIBS:+false} :
12388 then :
12389 if test ${MINGW_PKG_CONFIG+y}
12390 then :
12391 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12394 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12395 ac_save_CPPFLAGS=$CPPFLAGS
12396 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12398 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12399 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12400 then :
12401 printf %s "(cached) " >&6
12402 else $as_nop
12403 ac_wine_check_headers_saved_cc=$CC
12404 ac_wine_check_headers_saved_exeext=$ac_exeext
12405 eval CC=\$${wine_arch}_CC
12406 ac_exeext=".exe"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 #include <libxml/parser.h>
12412 main (void)
12416 return 0;
12418 _ACEOF
12419 if ac_fn_c_try_compile "$LINENO"
12420 then :
12421 ac_cv_mingw_header_libxml_parser_h=yes
12422 else $as_nop
12423 ac_cv_mingw_header_libxml_parser_h=no
12425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12426 CC=$ac_wine_check_headers_saved_cc
12427 ac_exeext=$ac_wine_check_headers_saved_exeext
12429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12430 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12431 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12432 then :
12435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12436 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12437 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12438 then :
12439 printf %s "(cached) " >&6
12440 else $as_nop
12441 ac_wine_check_headers_saved_cc=$CC
12442 ac_wine_check_headers_saved_exeext=$ac_exeext
12443 eval CC=\$${wine_arch}_CC
12444 ac_exeext=".exe"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 #include <libxml/xmlsave.h>
12450 main (void)
12454 return 0;
12456 _ACEOF
12457 if ac_fn_c_try_compile "$LINENO"
12458 then :
12459 ac_cv_mingw_header_libxml_xmlsave_h=yes
12460 else $as_nop
12461 ac_cv_mingw_header_libxml_xmlsave_h=no
12463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12464 CC=$ac_wine_check_headers_saved_cc
12465 ac_exeext=$ac_wine_check_headers_saved_exeext
12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12468 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12469 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12470 then :
12473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12474 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12475 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12476 then :
12477 printf %s "(cached) " >&6
12478 else $as_nop
12479 ac_wine_check_headers_saved_cc=$CC
12480 ac_wine_check_headers_saved_exeext=$ac_exeext
12481 eval CC=\$${wine_arch}_CC
12482 ac_exeext=".exe"
12483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12484 /* end confdefs.h. */
12486 #include <libxml/SAX2.h>
12488 main (void)
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_compile "$LINENO"
12496 then :
12497 ac_cv_mingw_header_libxml_SAX2_h=yes
12498 else $as_nop
12499 ac_cv_mingw_header_libxml_SAX2_h=no
12501 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12502 CC=$ac_wine_check_headers_saved_cc
12503 ac_exeext=$ac_wine_check_headers_saved_exeext
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12506 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12507 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12508 then :
12511 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"
12512 then
12513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12514 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12515 if test ${ac_cv_mingw_lib_xml2+y}
12516 then :
12517 printf %s "(cached) " >&6
12518 else $as_nop
12519 ac_wine_check_headers_saved_cc=$CC
12520 ac_wine_check_headers_saved_exeext=$ac_exeext
12521 ac_wine_check_headers_saved_libs=$LIBS
12522 eval CC=\$${wine_arch}_CC
12523 ac_exeext=".exe"
12524 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12528 /* Override any GCC internal prototype to avoid an error.
12529 Use char because int might match the return type of a GCC
12530 builtin and then its argument prototype would still apply. */
12531 char xmlFirstElementChild ();
12533 main (void)
12535 return xmlFirstElementChild ();
12537 return 0;
12539 _ACEOF
12540 if ac_fn_c_try_link "$LINENO"
12541 then :
12542 ac_cv_mingw_lib_xml2=yes
12543 else $as_nop
12544 ac_cv_mingw_lib_xml2=no
12546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12547 conftest$ac_exeext conftest.$ac_ext
12548 CC=$ac_wine_check_headers_saved_cc
12549 ac_exeext=$ac_wine_check_headers_saved_exeext
12550 LIBS=$ac_wine_check_headers_saved_libs
12552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12553 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12554 if test "x$ac_cv_mingw_lib_xml2" = xyes
12555 then :
12557 else $as_nop
12558 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12560 else
12561 XML2_PE_CFLAGS=""
12562 XML2_PE_LIBS=""
12564 CPPFLAGS=$ac_save_CPPFLAGS
12566 if test "x$XML2_PE_LIBS" = "x"
12567 then
12568 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12571 if ${XSLT_PE_CFLAGS:+false} :
12572 then :
12573 if test ${MINGW_PKG_CONFIG+y}
12574 then :
12575 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12578 if ${XSLT_PE_LIBS:+false} :
12579 then :
12580 if test ${MINGW_PKG_CONFIG+y}
12581 then :
12582 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12585 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12586 ac_save_CPPFLAGS=$CPPFLAGS
12587 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12589 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12590 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12591 then :
12592 printf %s "(cached) " >&6
12593 else $as_nop
12594 ac_wine_check_headers_saved_cc=$CC
12595 ac_wine_check_headers_saved_exeext=$ac_exeext
12596 eval CC=\$${wine_arch}_CC
12597 ac_exeext=".exe"
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12601 #include <libxslt/pattern.h>
12603 main (void)
12607 return 0;
12609 _ACEOF
12610 if ac_fn_c_try_compile "$LINENO"
12611 then :
12612 ac_cv_mingw_header_libxslt_pattern_h=yes
12613 else $as_nop
12614 ac_cv_mingw_header_libxslt_pattern_h=no
12616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12617 CC=$ac_wine_check_headers_saved_cc
12618 ac_exeext=$ac_wine_check_headers_saved_exeext
12620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12621 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12622 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12623 then :
12626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12627 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12628 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12629 then :
12630 printf %s "(cached) " >&6
12631 else $as_nop
12632 ac_wine_check_headers_saved_cc=$CC
12633 ac_wine_check_headers_saved_exeext=$ac_exeext
12634 eval CC=\$${wine_arch}_CC
12635 ac_exeext=".exe"
12636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637 /* end confdefs.h. */
12639 #include <libxslt/transform.h>
12641 main (void)
12645 return 0;
12647 _ACEOF
12648 if ac_fn_c_try_compile "$LINENO"
12649 then :
12650 ac_cv_mingw_header_libxslt_transform_h=yes
12651 else $as_nop
12652 ac_cv_mingw_header_libxslt_transform_h=no
12654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12655 CC=$ac_wine_check_headers_saved_cc
12656 ac_exeext=$ac_wine_check_headers_saved_exeext
12658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12659 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12660 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12661 then :
12664 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12665 then
12666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12667 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12668 if test ${ac_cv_mingw_lib_xslt+y}
12669 then :
12670 printf %s "(cached) " >&6
12671 else $as_nop
12672 ac_wine_check_headers_saved_cc=$CC
12673 ac_wine_check_headers_saved_exeext=$ac_exeext
12674 ac_wine_check_headers_saved_libs=$LIBS
12675 eval CC=\$${wine_arch}_CC
12676 ac_exeext=".exe"
12677 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12679 /* end confdefs.h. */
12681 /* Override any GCC internal prototype to avoid an error.
12682 Use char because int might match the return type of a GCC
12683 builtin and then its argument prototype would still apply. */
12684 char xsltCompilePattern ();
12686 main (void)
12688 return xsltCompilePattern ();
12690 return 0;
12692 _ACEOF
12693 if ac_fn_c_try_link "$LINENO"
12694 then :
12695 ac_cv_mingw_lib_xslt=yes
12696 else $as_nop
12697 ac_cv_mingw_lib_xslt=no
12699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12700 conftest$ac_exeext conftest.$ac_ext
12701 CC=$ac_wine_check_headers_saved_cc
12702 ac_exeext=$ac_wine_check_headers_saved_exeext
12703 LIBS=$ac_wine_check_headers_saved_libs
12705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12706 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12707 if test "x$ac_cv_mingw_lib_xslt" = xyes
12708 then :
12710 else $as_nop
12711 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12713 else
12714 XSLT_PE_CFLAGS=""
12715 XSLT_PE_LIBS=""
12717 CPPFLAGS=$ac_save_CPPFLAGS
12719 if test "x$XSLT_PE_LIBS" = "x"
12720 then
12721 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12724 if ${VKD3D_PE_CFLAGS:+false} :
12725 then :
12726 if test ${MINGW_PKG_CONFIG+y}
12727 then :
12728 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12731 if ${VKD3D_PE_LIBS:+false} :
12732 then :
12733 if test ${MINGW_PKG_CONFIG+y}
12734 then :
12735 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12738 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12739 ac_save_CPPFLAGS=$CPPFLAGS
12740 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12742 printf %s "checking for MinGW vkd3d.h... " >&6; }
12743 if test ${ac_cv_mingw_header_vkd3d_h+y}
12744 then :
12745 printf %s "(cached) " >&6
12746 else $as_nop
12747 ac_wine_check_headers_saved_cc=$CC
12748 ac_wine_check_headers_saved_exeext=$ac_exeext
12749 eval CC=\$${wine_arch}_CC
12750 ac_exeext=".exe"
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12754 #include <vkd3d.h>
12756 main (void)
12760 return 0;
12762 _ACEOF
12763 if ac_fn_c_try_compile "$LINENO"
12764 then :
12765 ac_cv_mingw_header_vkd3d_h=yes
12766 else $as_nop
12767 ac_cv_mingw_header_vkd3d_h=no
12769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12770 CC=$ac_wine_check_headers_saved_cc
12771 ac_exeext=$ac_wine_check_headers_saved_exeext
12773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12774 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12775 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12776 then :
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12780 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12781 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12782 then :
12783 printf %s "(cached) " >&6
12784 else $as_nop
12785 ac_wine_check_headers_saved_cc=$CC
12786 ac_wine_check_headers_saved_exeext=$ac_exeext
12787 eval CC=\$${wine_arch}_CC
12788 ac_exeext=".exe"
12789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12790 /* end confdefs.h. */
12792 #include <vkd3d_shader.h>
12794 main (void)
12798 return 0;
12800 _ACEOF
12801 if ac_fn_c_try_compile "$LINENO"
12802 then :
12803 ac_cv_mingw_header_vkd3d_shader_h=yes
12804 else $as_nop
12805 ac_cv_mingw_header_vkd3d_shader_h=no
12807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12808 CC=$ac_wine_check_headers_saved_cc
12809 ac_exeext=$ac_wine_check_headers_saved_exeext
12811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12812 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12813 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12814 then :
12817 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12818 then
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12820 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12821 if test ${ac_cv_mingw_lib_vkd3d+y}
12822 then :
12823 printf %s "(cached) " >&6
12824 else $as_nop
12825 ac_wine_check_headers_saved_cc=$CC
12826 ac_wine_check_headers_saved_exeext=$ac_exeext
12827 ac_wine_check_headers_saved_libs=$LIBS
12828 eval CC=\$${wine_arch}_CC
12829 ac_exeext=".exe"
12830 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12837 char vkd3d_set_log_callback ();
12839 main (void)
12841 return vkd3d_set_log_callback ();
12843 return 0;
12845 _ACEOF
12846 if ac_fn_c_try_link "$LINENO"
12847 then :
12848 ac_cv_mingw_lib_vkd3d=yes
12849 else $as_nop
12850 ac_cv_mingw_lib_vkd3d=no
12852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12853 conftest$ac_exeext conftest.$ac_ext
12854 CC=$ac_wine_check_headers_saved_cc
12855 ac_exeext=$ac_wine_check_headers_saved_exeext
12856 LIBS=$ac_wine_check_headers_saved_libs
12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12859 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12860 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12861 then :
12863 else $as_nop
12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12867 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12868 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12869 then :
12870 printf %s "(cached) " >&6
12871 else $as_nop
12872 ac_wine_check_headers_saved_cc=$CC
12873 ac_wine_check_headers_saved_exeext=$ac_exeext
12874 ac_wine_check_headers_saved_libs=$LIBS
12875 eval CC=\$${wine_arch}_CC
12876 ac_exeext=".exe"
12877 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12879 /* end confdefs.h. */
12881 /* Override any GCC internal prototype to avoid an error.
12882 Use char because int might match the return type of a GCC
12883 builtin and then its argument prototype would still apply. */
12884 char vkd3d_shader_compile ();
12886 main (void)
12888 return vkd3d_shader_compile ();
12890 return 0;
12892 _ACEOF
12893 if ac_fn_c_try_link "$LINENO"
12894 then :
12895 ac_cv_mingw_lib_vkd3d_shader=yes
12896 else $as_nop
12897 ac_cv_mingw_lib_vkd3d_shader=no
12899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12900 conftest$ac_exeext conftest.$ac_ext
12901 CC=$ac_wine_check_headers_saved_cc
12902 ac_exeext=$ac_wine_check_headers_saved_exeext
12903 LIBS=$ac_wine_check_headers_saved_libs
12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12906 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12907 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12908 then :
12910 else $as_nop
12913 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12914 then
12915 VKD3D_PE_CFLAGS=""
12916 VKD3D_PE_LIBS=""
12918 else
12919 VKD3D_PE_CFLAGS=""
12920 VKD3D_PE_LIBS=""
12922 CPPFLAGS=$ac_save_CPPFLAGS
12924 if test "x$VKD3D_PE_LIBS" = "x"
12925 then
12926 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
12929 if ${ZLIB_PE_CFLAGS:+false} :
12930 then :
12931 if test ${MINGW_PKG_CONFIG+y}
12932 then :
12933 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
12936 if ${ZLIB_PE_LIBS:+false} :
12937 then :
12938 if test ${MINGW_PKG_CONFIG+y}
12939 then :
12940 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
12943 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
12944 ac_save_CPPFLAGS=$CPPFLAGS
12945 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
12947 printf %s "checking for MinGW zlib.h... " >&6; }
12948 if test ${ac_cv_mingw_header_zlib_h+y}
12949 then :
12950 printf %s "(cached) " >&6
12951 else $as_nop
12952 ac_wine_check_headers_saved_cc=$CC
12953 ac_wine_check_headers_saved_exeext=$ac_exeext
12954 eval CC=\$${wine_arch}_CC
12955 ac_exeext=".exe"
12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12957 /* end confdefs.h. */
12959 #include <zlib.h>
12961 main (void)
12965 return 0;
12967 _ACEOF
12968 if ac_fn_c_try_compile "$LINENO"
12969 then :
12970 ac_cv_mingw_header_zlib_h=yes
12971 else $as_nop
12972 ac_cv_mingw_header_zlib_h=no
12974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12975 CC=$ac_wine_check_headers_saved_cc
12976 ac_exeext=$ac_wine_check_headers_saved_exeext
12978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
12979 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
12980 if test "x$ac_cv_mingw_header_zlib_h" = xyes
12981 then :
12982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
12983 printf %s "checking for inflate in MinGW -lz... " >&6; }
12984 if test ${ac_cv_mingw_lib_z+y}
12985 then :
12986 printf %s "(cached) " >&6
12987 else $as_nop
12988 ac_wine_check_headers_saved_cc=$CC
12989 ac_wine_check_headers_saved_exeext=$ac_exeext
12990 ac_wine_check_headers_saved_libs=$LIBS
12991 eval CC=\$${wine_arch}_CC
12992 ac_exeext=".exe"
12993 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13000 char inflate ();
13002 main (void)
13004 return inflate ();
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_link "$LINENO"
13010 then :
13011 ac_cv_mingw_lib_z=yes
13012 else $as_nop
13013 ac_cv_mingw_lib_z=no
13015 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13016 conftest$ac_exeext conftest.$ac_ext
13017 CC=$ac_wine_check_headers_saved_cc
13018 ac_exeext=$ac_wine_check_headers_saved_exeext
13019 LIBS=$ac_wine_check_headers_saved_libs
13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13022 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13023 if test "x$ac_cv_mingw_lib_z" = xyes
13024 then :
13026 else $as_nop
13027 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13029 else $as_nop
13030 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13032 CPPFLAGS=$ac_save_CPPFLAGS
13034 if test "x$ZLIB_PE_LIBS" = "x"
13035 then
13036 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13040 if ${FAUDIO_PE_LIBS:+false} :
13041 then :
13042 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13043 if ${FAUDIO_PE_CFLAGS:+false} :
13044 then :
13045 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13046 else $as_nop
13047 enable_faudio=no
13049 else $as_nop
13050 enable_faudio=no
13052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13055 if ${GSM_PE_LIBS:+false} :
13056 then :
13057 GSM_PE_LIBS=gsm
13058 if ${GSM_PE_CFLAGS:+false} :
13059 then :
13060 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13061 else $as_nop
13062 enable_gsm=no
13064 else $as_nop
13065 enable_gsm=no
13067 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13070 if ${JPEG_PE_LIBS:+false} :
13071 then :
13072 JPEG_PE_LIBS=jpeg
13073 if ${JPEG_PE_CFLAGS:+false} :
13074 then :
13075 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13076 else $as_nop
13077 enable_jpeg=no
13079 else $as_nop
13080 enable_jpeg=no
13082 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13085 if ${JXR_PE_LIBS:+false} :
13086 then :
13087 JXR_PE_LIBS=jxr
13088 if ${JXR_PE_CFLAGS:+false} :
13089 then :
13090 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13091 else $as_nop
13092 enable_jxr=no
13094 else $as_nop
13095 enable_jxr=no
13097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13100 if ${LCMS2_PE_LIBS:+false} :
13101 then :
13102 LCMS2_PE_LIBS=lcms2
13103 if ${LCMS2_PE_CFLAGS:+false} :
13104 then :
13105 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13106 else $as_nop
13107 enable_lcms2=no
13109 else $as_nop
13110 enable_lcms2=no
13112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13115 if ${LDAP_PE_LIBS:+false} :
13116 then :
13117 LDAP_PE_LIBS=ldap
13118 if ${LDAP_PE_CFLAGS:+false} :
13119 then :
13120 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13121 else $as_nop
13122 enable_ldap=no
13124 else $as_nop
13125 enable_ldap=no
13127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13130 if ${MPG123_PE_LIBS:+false} :
13131 then :
13132 MPG123_PE_LIBS=mpg123
13133 if ${MPG123_PE_CFLAGS:+false} :
13134 then :
13135 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13136 else $as_nop
13137 enable_mpg123=no
13139 else $as_nop
13140 enable_mpg123=no
13142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13143 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13145 if ${PNG_PE_LIBS:+false} :
13146 then :
13147 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13148 if ${PNG_PE_CFLAGS:+false} :
13149 then :
13150 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13151 else $as_nop
13152 enable_png=no
13154 else $as_nop
13155 enable_png=no
13157 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13160 if ${TIFF_PE_LIBS:+false} :
13161 then :
13162 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13163 if ${TIFF_PE_CFLAGS:+false} :
13164 then :
13165 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13166 else $as_nop
13167 enable_tiff=no
13169 else $as_nop
13170 enable_tiff=no
13172 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13173 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13175 if ${VKD3D_PE_LIBS:+false} :
13176 then :
13177 VKD3D_PE_LIBS=vkd3d
13178 if ${VKD3D_PE_CFLAGS:+false} :
13179 then :
13180 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13181 else $as_nop
13182 enable_vkd3d=no
13184 else $as_nop
13185 enable_vkd3d=no
13187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13190 if ${XML2_PE_LIBS:+false} :
13191 then :
13192 XML2_PE_LIBS=xml2
13193 if ${XML2_PE_CFLAGS:+false} :
13194 then :
13195 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13196 else $as_nop
13197 enable_xml2=no
13199 else $as_nop
13200 enable_xml2=no
13202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13205 if ${XSLT_PE_LIBS:+false} :
13206 then :
13207 XSLT_PE_LIBS=xslt
13208 if ${XSLT_PE_CFLAGS:+false} :
13209 then :
13210 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13211 else $as_nop
13212 enable_xslt=no
13214 else $as_nop
13215 enable_xslt=no
13217 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13220 if ${ZLIB_PE_LIBS:+false} :
13221 then :
13222 ZLIB_PE_LIBS=z
13223 if ${ZLIB_PE_CFLAGS:+false} :
13224 then :
13225 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13226 else $as_nop
13227 enable_zlib=no
13229 else $as_nop
13230 enable_zlib=no
13232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13235 if ${ZYDIS_PE_LIBS:+false} :
13236 then :
13237 ZYDIS_PE_LIBS=zydis
13238 if ${ZYDIS_PE_CFLAGS:+false} :
13239 then :
13240 ZYDIS_PE_CFLAGS="-I\$(top_srcdir)/libs/zydis/include"
13241 else $as_nop
13242 enable_zydis=no
13244 else $as_nop
13245 enable_zydis=no
13247 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis cflags: $ZYDIS_PE_CFLAGS" >&5
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zydis libs: $ZYDIS_PE_LIBS" >&5
13252 if test "$ac_cv_header_pthread_h" = "yes"
13253 then
13254 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13255 if test "x$ac_cv_func_pthread_create" = xyes
13256 then :
13258 else $as_nop
13259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13260 printf %s "checking for pthread_create in -lpthread... " >&6; }
13261 if test ${ac_cv_lib_pthread_pthread_create+y}
13262 then :
13263 printf %s "(cached) " >&6
13264 else $as_nop
13265 ac_check_lib_save_LIBS=$LIBS
13266 LIBS="-lpthread $LIBS"
13267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h. */
13270 /* Override any GCC internal prototype to avoid an error.
13271 Use char because int might match the return type of a GCC
13272 builtin and then its argument prototype would still apply. */
13273 char pthread_create ();
13275 main (void)
13277 return pthread_create ();
13279 return 0;
13281 _ACEOF
13282 if ac_fn_c_try_link "$LINENO"
13283 then :
13284 ac_cv_lib_pthread_pthread_create=yes
13285 else $as_nop
13286 ac_cv_lib_pthread_pthread_create=no
13288 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13289 conftest$ac_exeext conftest.$ac_ext
13290 LIBS=$ac_check_lib_save_LIBS
13292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13293 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13294 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13295 then :
13296 PTHREAD_LIBS="-lpthread"
13303 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13304 then :
13305 case "x$with_pthread" in
13306 xno) ;;
13307 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13308 Wine cannot support threads without libpthread.
13309 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13310 esac
13315 ac_ext=c
13316 ac_cpp='$CPP $CPPFLAGS'
13317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13321 printf %s "checking how to run the C preprocessor... " >&6; }
13322 # On Suns, sometimes $CPP names a directory.
13323 if test -n "$CPP" && test -d "$CPP"; then
13324 CPP=
13326 if test -z "$CPP"; then
13327 if test ${ac_cv_prog_CPP+y}
13328 then :
13329 printf %s "(cached) " >&6
13330 else $as_nop
13331 # Double quotes because $CC needs to be expanded
13332 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13334 ac_preproc_ok=false
13335 for ac_c_preproc_warn_flag in '' yes
13337 # Use a header file that comes with gcc, so configuring glibc
13338 # with a fresh cross-compiler works.
13339 # On the NeXT, cc -E runs the code through the compiler's parser,
13340 # not just through cpp. "Syntax error" is here to catch this case.
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h. */
13343 #include <limits.h>
13344 Syntax error
13345 _ACEOF
13346 if ac_fn_c_try_cpp "$LINENO"
13347 then :
13349 else $as_nop
13350 # Broken: fails on valid input.
13351 continue
13353 rm -f conftest.err conftest.i conftest.$ac_ext
13355 # OK, works on sane cases. Now check whether nonexistent headers
13356 # can be detected and how.
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13359 #include <ac_nonexistent.h>
13360 _ACEOF
13361 if ac_fn_c_try_cpp "$LINENO"
13362 then :
13363 # Broken: success on invalid input.
13364 continue
13365 else $as_nop
13366 # Passes both tests.
13367 ac_preproc_ok=:
13368 break
13370 rm -f conftest.err conftest.i conftest.$ac_ext
13372 done
13373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13374 rm -f conftest.i conftest.err conftest.$ac_ext
13375 if $ac_preproc_ok
13376 then :
13377 break
13380 done
13381 ac_cv_prog_CPP=$CPP
13384 CPP=$ac_cv_prog_CPP
13385 else
13386 ac_cv_prog_CPP=$CPP
13388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13389 printf "%s\n" "$CPP" >&6; }
13390 ac_preproc_ok=false
13391 for ac_c_preproc_warn_flag in '' yes
13393 # Use a header file that comes with gcc, so configuring glibc
13394 # with a fresh cross-compiler works.
13395 # On the NeXT, cc -E runs the code through the compiler's parser,
13396 # not just through cpp. "Syntax error" is here to catch this case.
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13399 #include <limits.h>
13400 Syntax error
13401 _ACEOF
13402 if ac_fn_c_try_cpp "$LINENO"
13403 then :
13405 else $as_nop
13406 # Broken: fails on valid input.
13407 continue
13409 rm -f conftest.err conftest.i conftest.$ac_ext
13411 # OK, works on sane cases. Now check whether nonexistent headers
13412 # can be detected and how.
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13415 #include <ac_nonexistent.h>
13416 _ACEOF
13417 if ac_fn_c_try_cpp "$LINENO"
13418 then :
13419 # Broken: success on invalid input.
13420 continue
13421 else $as_nop
13422 # Passes both tests.
13423 ac_preproc_ok=:
13424 break
13426 rm -f conftest.err conftest.i conftest.$ac_ext
13428 done
13429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13430 rm -f conftest.i conftest.err conftest.$ac_ext
13431 if $ac_preproc_ok
13432 then :
13434 else $as_nop
13435 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13436 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13437 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13438 See \`config.log' for more details" "$LINENO" 5; }
13441 ac_ext=c
13442 ac_cpp='$CPP $CPPFLAGS'
13443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13449 printf %s "checking for X... " >&6; }
13452 # Check whether --with-x was given.
13453 if test ${with_x+y}
13454 then :
13455 withval=$with_x;
13458 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13459 if test "x$with_x" = xno; then
13460 # The user explicitly disabled X.
13461 have_x=disabled
13462 else
13463 case $x_includes,$x_libraries in #(
13464 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13465 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13466 then :
13467 printf %s "(cached) " >&6
13468 else $as_nop
13469 # One or both of the vars are not set, and there is no cached value.
13470 ac_x_includes=no
13471 ac_x_libraries=no
13472 # Do we need to do anything special at all?
13473 ac_save_LIBS=$LIBS
13474 LIBS="-lX11 $LIBS"
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13477 #include <X11/Xlib.h>
13479 main (void)
13481 XrmInitialize ()
13483 return 0;
13485 _ACEOF
13486 if ac_fn_c_try_link "$LINENO"
13487 then :
13488 # We can compile and link X programs with no special options.
13489 ac_x_includes=
13490 ac_x_libraries=
13492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13493 conftest$ac_exeext conftest.$ac_ext
13494 LIBS="$ac_save_LIBS"
13495 # If that didn't work, only try xmkmf and file system searches
13496 # for native compilation.
13497 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13498 then :
13499 rm -f -r conftest.dir
13500 if mkdir conftest.dir; then
13501 cd conftest.dir
13502 cat >Imakefile <<'_ACEOF'
13503 incroot:
13504 @echo incroot='${INCROOT}'
13505 usrlibdir:
13506 @echo usrlibdir='${USRLIBDIR}'
13507 libdir:
13508 @echo libdir='${LIBDIR}'
13509 _ACEOF
13510 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13511 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13512 for ac_var in incroot usrlibdir libdir; do
13513 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13514 done
13515 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13516 for ac_extension in a so sl dylib la dll; do
13517 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13518 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13519 ac_im_usrlibdir=$ac_im_libdir; break
13521 done
13522 # Screen out bogus values from the imake configuration. They are
13523 # bogus both because they are the default anyway, and because
13524 # using them would break gcc on systems where it needs fixed includes.
13525 case $ac_im_incroot in
13526 /usr/include) ac_x_includes= ;;
13527 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13528 esac
13529 case $ac_im_usrlibdir in
13530 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13531 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13532 esac
13534 cd ..
13535 rm -f -r conftest.dir
13538 # Standard set of common directories for X headers.
13539 # Check X11 before X11Rn because it is often a symlink to the current release.
13540 ac_x_header_dirs='
13541 /usr/X11/include
13542 /usr/X11R7/include
13543 /usr/X11R6/include
13544 /usr/X11R5/include
13545 /usr/X11R4/include
13547 /usr/include/X11
13548 /usr/include/X11R7
13549 /usr/include/X11R6
13550 /usr/include/X11R5
13551 /usr/include/X11R4
13553 /usr/local/X11/include
13554 /usr/local/X11R7/include
13555 /usr/local/X11R6/include
13556 /usr/local/X11R5/include
13557 /usr/local/X11R4/include
13559 /usr/local/include/X11
13560 /usr/local/include/X11R7
13561 /usr/local/include/X11R6
13562 /usr/local/include/X11R5
13563 /usr/local/include/X11R4
13565 /opt/X11/include
13567 /usr/X386/include
13568 /usr/x386/include
13569 /usr/XFree86/include/X11
13571 /usr/include
13572 /usr/local/include
13573 /usr/unsupported/include
13574 /usr/athena/include
13575 /usr/local/x11r5/include
13576 /usr/lpp/Xamples/include
13578 /usr/openwin/include
13579 /usr/openwin/share/include'
13581 if test "$ac_x_includes" = no; then
13582 # Guess where to find include files, by looking for Xlib.h.
13583 # First, try using that file with no special directory specified.
13584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13585 /* end confdefs.h. */
13586 #include <X11/Xlib.h>
13587 _ACEOF
13588 if ac_fn_c_try_cpp "$LINENO"
13589 then :
13590 # We can compile using X headers with no special include directory.
13591 ac_x_includes=
13592 else $as_nop
13593 for ac_dir in $ac_x_header_dirs; do
13594 if test -r "$ac_dir/X11/Xlib.h"; then
13595 ac_x_includes=$ac_dir
13596 break
13598 done
13600 rm -f conftest.err conftest.i conftest.$ac_ext
13601 fi # $ac_x_includes = no
13603 if test "$ac_x_libraries" = no; then
13604 # Check for the libraries.
13605 # See if we find them without any special options.
13606 # Don't add to $LIBS permanently.
13607 ac_save_LIBS=$LIBS
13608 LIBS="-lX11 $LIBS"
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13611 #include <X11/Xlib.h>
13613 main (void)
13615 XrmInitialize ()
13617 return 0;
13619 _ACEOF
13620 if ac_fn_c_try_link "$LINENO"
13621 then :
13622 LIBS=$ac_save_LIBS
13623 # We can link X programs with no special library path.
13624 ac_x_libraries=
13625 else $as_nop
13626 LIBS=$ac_save_LIBS
13627 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13629 # Don't even attempt the hair of trying to link an X program!
13630 for ac_extension in a so sl dylib la dll; do
13631 if test -r "$ac_dir/libX11.$ac_extension"; then
13632 ac_x_libraries=$ac_dir
13633 break 2
13635 done
13636 done
13638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13639 conftest$ac_exeext conftest.$ac_ext
13640 fi # $ac_x_libraries = no
13643 # Record the results.
13644 case $ac_x_includes,$ac_x_libraries in #(
13645 no,* | *,no | *\'*) :
13646 # Didn't find X, or a directory has "'" in its name.
13647 ac_cv_have_x="have_x=no" ;; #(
13648 *) :
13649 # Record where we found X for the cache.
13650 ac_cv_have_x="have_x=yes\
13651 ac_x_includes='$ac_x_includes'\
13652 ac_x_libraries='$ac_x_libraries'" ;;
13653 esac
13655 ;; #(
13656 *) have_x=yes;;
13657 esac
13658 eval "$ac_cv_have_x"
13659 fi # $with_x != no
13661 if test "$have_x" != yes; then
13662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13663 printf "%s\n" "$have_x" >&6; }
13664 no_x=yes
13665 else
13666 # If each of the values was on the command line, it overrides each guess.
13667 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13668 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13669 # Update the cache value to reflect the command line values.
13670 ac_cv_have_x="have_x=yes\
13671 ac_x_includes='$x_includes'\
13672 ac_x_libraries='$x_libraries'"
13673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13674 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13677 if test "$no_x" = yes; then
13678 # Not all programs may use this symbol, but it does not hurt to define it.
13680 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13682 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13683 else
13684 if test -n "$x_includes"; then
13685 X_CFLAGS="$X_CFLAGS -I$x_includes"
13688 # It would also be nice to do this for all -L options, not just this one.
13689 if test -n "$x_libraries"; then
13690 X_LIBS="$X_LIBS -L$x_libraries"
13691 # For Solaris; some versions of Sun CC require a space after -R and
13692 # others require no space. Words are not sufficient . . . .
13693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13694 printf %s "checking whether -R must be followed by a space... " >&6; }
13695 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13696 ac_xsave_c_werror_flag=$ac_c_werror_flag
13697 ac_c_werror_flag=yes
13698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13699 /* end confdefs.h. */
13702 main (void)
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"
13710 then :
13711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13712 printf "%s\n" "no" >&6; }
13713 X_LIBS="$X_LIBS -R$x_libraries"
13714 else $as_nop
13715 LIBS="$ac_xsave_LIBS -R $x_libraries"
13716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13720 main (void)
13724 return 0;
13726 _ACEOF
13727 if ac_fn_c_try_link "$LINENO"
13728 then :
13729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13730 printf "%s\n" "yes" >&6; }
13731 X_LIBS="$X_LIBS -R $x_libraries"
13732 else $as_nop
13733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13734 printf "%s\n" "neither works" >&6; }
13736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13737 conftest$ac_exeext conftest.$ac_ext
13739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13740 conftest$ac_exeext conftest.$ac_ext
13741 ac_c_werror_flag=$ac_xsave_c_werror_flag
13742 LIBS=$ac_xsave_LIBS
13745 # Check for system-dependent libraries X programs must link with.
13746 # Do this before checking for the system-independent R6 libraries
13747 # (-lICE), since we may need -lsocket or whatever for X linking.
13749 if test "$ISC" = yes; then
13750 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13751 else
13752 # Martyn Johnson says this is needed for Ultrix, if the X
13753 # libraries were built with DECnet support. And Karl Berry says
13754 # the Alpha needs dnet_stub (dnet does not exist).
13755 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13759 /* Override any GCC internal prototype to avoid an error.
13760 Use char because int might match the return type of a GCC
13761 builtin and then its argument prototype would still apply. */
13762 char XOpenDisplay ();
13764 main (void)
13766 return XOpenDisplay ();
13768 return 0;
13770 _ACEOF
13771 if ac_fn_c_try_link "$LINENO"
13772 then :
13774 else $as_nop
13775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13776 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13777 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13778 then :
13779 printf %s "(cached) " >&6
13780 else $as_nop
13781 ac_check_lib_save_LIBS=$LIBS
13782 LIBS="-ldnet $LIBS"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13789 char dnet_ntoa ();
13791 main (void)
13793 return dnet_ntoa ();
13795 return 0;
13797 _ACEOF
13798 if ac_fn_c_try_link "$LINENO"
13799 then :
13800 ac_cv_lib_dnet_dnet_ntoa=yes
13801 else $as_nop
13802 ac_cv_lib_dnet_dnet_ntoa=no
13804 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13805 conftest$ac_exeext conftest.$ac_ext
13806 LIBS=$ac_check_lib_save_LIBS
13808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13809 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13810 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13811 then :
13812 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13815 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13817 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13818 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13819 then :
13820 printf %s "(cached) " >&6
13821 else $as_nop
13822 ac_check_lib_save_LIBS=$LIBS
13823 LIBS="-ldnet_stub $LIBS"
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 /* Override any GCC internal prototype to avoid an error.
13828 Use char because int might match the return type of a GCC
13829 builtin and then its argument prototype would still apply. */
13830 char dnet_ntoa ();
13832 main (void)
13834 return dnet_ntoa ();
13836 return 0;
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"
13840 then :
13841 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13842 else $as_nop
13843 ac_cv_lib_dnet_stub_dnet_ntoa=no
13845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13846 conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_lib_save_LIBS
13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13850 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13851 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13852 then :
13853 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13859 conftest$ac_exeext conftest.$ac_ext
13860 LIBS="$ac_xsave_LIBS"
13862 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13863 # to get the SysV transport functions.
13864 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13865 # needs -lnsl.
13866 # The nsl library prevents programs from opening the X display
13867 # on Irix 5.2, according to T.E. Dickey.
13868 # The functions gethostbyname, getservbyname, and inet_addr are
13869 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13870 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13871 if test "x$ac_cv_func_gethostbyname" = xyes
13872 then :
13876 if test $ac_cv_func_gethostbyname = no; then
13877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13878 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13879 if test ${ac_cv_lib_nsl_gethostbyname+y}
13880 then :
13881 printf %s "(cached) " >&6
13882 else $as_nop
13883 ac_check_lib_save_LIBS=$LIBS
13884 LIBS="-lnsl $LIBS"
13885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13886 /* end confdefs.h. */
13888 /* Override any GCC internal prototype to avoid an error.
13889 Use char because int might match the return type of a GCC
13890 builtin and then its argument prototype would still apply. */
13891 char gethostbyname ();
13893 main (void)
13895 return gethostbyname ();
13897 return 0;
13899 _ACEOF
13900 if ac_fn_c_try_link "$LINENO"
13901 then :
13902 ac_cv_lib_nsl_gethostbyname=yes
13903 else $as_nop
13904 ac_cv_lib_nsl_gethostbyname=no
13906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_lib_save_LIBS
13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13911 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13912 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13913 then :
13914 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13917 if test $ac_cv_lib_nsl_gethostbyname = no; then
13918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13919 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13920 if test ${ac_cv_lib_bsd_gethostbyname+y}
13921 then :
13922 printf %s "(cached) " >&6
13923 else $as_nop
13924 ac_check_lib_save_LIBS=$LIBS
13925 LIBS="-lbsd $LIBS"
13926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13927 /* end confdefs.h. */
13929 /* Override any GCC internal prototype to avoid an error.
13930 Use char because int might match the return type of a GCC
13931 builtin and then its argument prototype would still apply. */
13932 char gethostbyname ();
13934 main (void)
13936 return gethostbyname ();
13938 return 0;
13940 _ACEOF
13941 if ac_fn_c_try_link "$LINENO"
13942 then :
13943 ac_cv_lib_bsd_gethostbyname=yes
13944 else $as_nop
13945 ac_cv_lib_bsd_gethostbyname=no
13947 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LIBS=$ac_check_lib_save_LIBS
13951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13952 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
13953 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
13954 then :
13955 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13961 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13962 # socket/setsockopt and other routines are undefined under SCO ODT
13963 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13964 # on later versions), says Simon Leinen: it contains gethostby*
13965 # variants that don't use the name server (or something). -lsocket
13966 # must be given before -lnsl if both are needed. We assume that
13967 # if connect needs -lnsl, so does gethostbyname.
13968 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13969 if test "x$ac_cv_func_connect" = xyes
13970 then :
13974 if test $ac_cv_func_connect = no; then
13975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13976 printf %s "checking for connect in -lsocket... " >&6; }
13977 if test ${ac_cv_lib_socket_connect+y}
13978 then :
13979 printf %s "(cached) " >&6
13980 else $as_nop
13981 ac_check_lib_save_LIBS=$LIBS
13982 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13984 /* end confdefs.h. */
13986 /* Override any GCC internal prototype to avoid an error.
13987 Use char because int might match the return type of a GCC
13988 builtin and then its argument prototype would still apply. */
13989 char connect ();
13991 main (void)
13993 return connect ();
13995 return 0;
13997 _ACEOF
13998 if ac_fn_c_try_link "$LINENO"
13999 then :
14000 ac_cv_lib_socket_connect=yes
14001 else $as_nop
14002 ac_cv_lib_socket_connect=no
14004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14005 conftest$ac_exeext conftest.$ac_ext
14006 LIBS=$ac_check_lib_save_LIBS
14008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14009 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14010 if test "x$ac_cv_lib_socket_connect" = xyes
14011 then :
14012 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14017 # Guillermo Gomez says -lposix is necessary on A/UX.
14018 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14019 if test "x$ac_cv_func_remove" = xyes
14020 then :
14024 if test $ac_cv_func_remove = no; then
14025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14026 printf %s "checking for remove in -lposix... " >&6; }
14027 if test ${ac_cv_lib_posix_remove+y}
14028 then :
14029 printf %s "(cached) " >&6
14030 else $as_nop
14031 ac_check_lib_save_LIBS=$LIBS
14032 LIBS="-lposix $LIBS"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14039 char remove ();
14041 main (void)
14043 return remove ();
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"
14049 then :
14050 ac_cv_lib_posix_remove=yes
14051 else $as_nop
14052 ac_cv_lib_posix_remove=no
14054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14055 conftest$ac_exeext conftest.$ac_ext
14056 LIBS=$ac_check_lib_save_LIBS
14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14059 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14060 if test "x$ac_cv_lib_posix_remove" = xyes
14061 then :
14062 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14067 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14068 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14069 if test "x$ac_cv_func_shmat" = xyes
14070 then :
14074 if test $ac_cv_func_shmat = no; then
14075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14076 printf %s "checking for shmat in -lipc... " >&6; }
14077 if test ${ac_cv_lib_ipc_shmat+y}
14078 then :
14079 printf %s "(cached) " >&6
14080 else $as_nop
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lipc $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 char shmat ();
14091 main (void)
14093 return shmat ();
14095 return 0;
14097 _ACEOF
14098 if ac_fn_c_try_link "$LINENO"
14099 then :
14100 ac_cv_lib_ipc_shmat=yes
14101 else $as_nop
14102 ac_cv_lib_ipc_shmat=no
14104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14105 conftest$ac_exeext conftest.$ac_ext
14106 LIBS=$ac_check_lib_save_LIBS
14108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14109 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14110 if test "x$ac_cv_lib_ipc_shmat" = xyes
14111 then :
14112 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14118 # Check for libraries that X11R6 Xt/Xaw programs need.
14119 ac_save_LDFLAGS=$LDFLAGS
14120 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14121 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14122 # check for ICE first), but we must link in the order -lSM -lICE or
14123 # we get undefined symbols. So assume we have SM if we have ICE.
14124 # These have to be linked with before -lX11, unlike the other
14125 # libraries we check for below, so use a different variable.
14126 # John Interrante, Karl Berry
14127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14128 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14129 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14130 then :
14131 printf %s "(cached) " >&6
14132 else $as_nop
14133 ac_check_lib_save_LIBS=$LIBS
14134 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14141 char IceConnectionNumber ();
14143 main (void)
14145 return IceConnectionNumber ();
14147 return 0;
14149 _ACEOF
14150 if ac_fn_c_try_link "$LINENO"
14151 then :
14152 ac_cv_lib_ICE_IceConnectionNumber=yes
14153 else $as_nop
14154 ac_cv_lib_ICE_IceConnectionNumber=no
14156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14157 conftest$ac_exeext conftest.$ac_ext
14158 LIBS=$ac_check_lib_save_LIBS
14160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14161 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14162 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14163 then :
14164 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14167 LDFLAGS=$ac_save_LDFLAGS
14172 if test "$have_x" = "yes"
14173 then
14174 ac_save_CPPFLAGS="$CPPFLAGS"
14175 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14178 printf %s "checking for -lX11... " >&6; }
14179 if test ${ac_cv_lib_soname_X11+y}
14180 then :
14181 printf %s "(cached) " >&6
14182 else $as_nop
14183 ac_check_soname_save_LIBS=$LIBS
14184 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14188 /* Override any GCC internal prototype to avoid an error.
14189 Use char because int might match the return type of a GCC
14190 builtin and then its argument prototype would still apply. */
14191 char XCreateWindow ();
14193 main (void)
14195 return XCreateWindow ();
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"
14201 then :
14202 case "$LIBEXT" in
14203 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14204 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'` ;;
14205 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14206 if ${ac_cv_lib_soname_X11:+false} :
14207 then :
14208 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14209 fi ;;
14210 esac
14211 else $as_nop
14212 ac_cv_lib_soname_X11=
14214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14215 conftest$ac_exeext conftest.$ac_ext
14216 LIBS=$ac_check_soname_save_LIBS
14218 if ${ac_cv_lib_soname_X11:+false} :
14219 then :
14220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14221 printf "%s\n" "not found" >&6; }
14223 else $as_nop
14224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14225 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14227 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14232 printf %s "checking for -lXext... " >&6; }
14233 if test ${ac_cv_lib_soname_Xext+y}
14234 then :
14235 printf %s "(cached) " >&6
14236 else $as_nop
14237 ac_check_soname_save_LIBS=$LIBS
14238 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14242 /* Override any GCC internal prototype to avoid an error.
14243 Use char because int might match the return type of a GCC
14244 builtin and then its argument prototype would still apply. */
14245 char XextCreateExtension ();
14247 main (void)
14249 return XextCreateExtension ();
14251 return 0;
14253 _ACEOF
14254 if ac_fn_c_try_link "$LINENO"
14255 then :
14256 case "$LIBEXT" in
14257 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14258 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'` ;;
14259 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14260 if ${ac_cv_lib_soname_Xext:+false} :
14261 then :
14262 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14263 fi ;;
14264 esac
14265 else $as_nop
14266 ac_cv_lib_soname_Xext=
14268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14269 conftest$ac_exeext conftest.$ac_ext
14270 LIBS=$ac_check_soname_save_LIBS
14272 if ${ac_cv_lib_soname_Xext:+false} :
14273 then :
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14275 printf "%s\n" "not found" >&6; }
14277 else $as_nop
14278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14279 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14281 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14283 X_LIBS="$X_LIBS -lXext"
14285 X_LIBS="$X_LIBS -lX11"
14287 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14288 # include <X11/Xlib.h>
14289 #endif
14290 #ifdef HAVE_X11_XUTIL_H
14291 # include <X11/Xutil.h>
14292 #endif
14294 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14295 then :
14296 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14299 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14300 # include <X11/Xlib.h>
14301 #endif
14302 #ifdef HAVE_X11_XUTIL_H
14303 # include <X11/Xutil.h>
14304 #endif
14306 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14307 then :
14308 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14311 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14312 # include <X11/Xlib.h>
14313 #endif
14314 #ifdef HAVE_X11_XUTIL_H
14315 # include <X11/Xutil.h>
14316 #endif
14318 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14319 then :
14320 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14323 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14324 # include <X11/Xlib.h>
14325 #endif
14326 #ifdef HAVE_X11_XUTIL_H
14327 # include <X11/Xutil.h>
14328 #endif
14330 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14331 then :
14332 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14335 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14336 # include <X11/Xlib.h>
14337 #endif
14338 #ifdef HAVE_X11_XUTIL_H
14339 # include <X11/Xutil.h>
14340 #endif
14342 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14343 then :
14344 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14347 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14348 # include <X11/Xlib.h>
14349 #endif
14350 #ifdef HAVE_X11_XUTIL_H
14351 # include <X11/Xutil.h>
14352 #endif
14354 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14355 then :
14356 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14359 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14360 # include <X11/Xlib.h>
14361 #endif
14362 #ifdef HAVE_X11_XUTIL_H
14363 # include <X11/Xutil.h>
14364 #endif
14366 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14367 then :
14368 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14371 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14372 # include <X11/Xlib.h>
14373 #endif
14374 #ifdef HAVE_X11_XUTIL_H
14375 # include <X11/Xutil.h>
14376 #endif
14378 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14379 then :
14380 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14383 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14384 # include <X11/Xlib.h>
14385 #endif
14386 #ifdef HAVE_X11_XUTIL_H
14387 # include <X11/Xutil.h>
14388 #endif
14390 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14391 then :
14392 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14395 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14396 # include <X11/Xlib.h>
14397 #endif
14398 #ifdef HAVE_X11_XUTIL_H
14399 # include <X11/Xutil.h>
14400 #endif
14402 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14403 then :
14404 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14407 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14408 # include <X11/Xlib.h>
14409 #endif
14410 #ifdef HAVE_X11_XUTIL_H
14411 # include <X11/Xutil.h>
14412 #endif
14414 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14415 then :
14416 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14419 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14420 # include <X11/Xlib.h>
14421 #endif
14422 #ifdef HAVE_X11_XUTIL_H
14423 # include <X11/Xutil.h>
14424 #endif
14426 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14427 then :
14428 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14431 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14432 # include <X11/Xlib.h>
14433 #endif
14434 #ifdef HAVE_X11_XUTIL_H
14435 # include <X11/Xutil.h>
14436 #endif
14438 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14439 then :
14440 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14443 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14444 # include <X11/Xlib.h>
14445 #endif
14446 #ifdef HAVE_X11_XUTIL_H
14447 # include <X11/Xutil.h>
14448 #endif
14450 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14451 then :
14452 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14455 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14456 # include <X11/Xlib.h>
14457 #endif
14458 #ifdef HAVE_X11_XUTIL_H
14459 # include <X11/Xutil.h>
14460 #endif
14462 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14463 then :
14464 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14469 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14470 then
14471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14472 printf %s "checking for -lXcursor... " >&6; }
14473 if test ${ac_cv_lib_soname_Xcursor+y}
14474 then :
14475 printf %s "(cached) " >&6
14476 else $as_nop
14477 ac_check_soname_save_LIBS=$LIBS
14478 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14485 char XcursorImageLoadCursor ();
14487 main (void)
14489 return XcursorImageLoadCursor ();
14491 return 0;
14493 _ACEOF
14494 if ac_fn_c_try_link "$LINENO"
14495 then :
14496 case "$LIBEXT" in
14497 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14498 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'` ;;
14499 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14500 if ${ac_cv_lib_soname_Xcursor:+false} :
14501 then :
14502 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14503 fi ;;
14504 esac
14505 else $as_nop
14506 ac_cv_lib_soname_Xcursor=
14508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14509 conftest$ac_exeext conftest.$ac_ext
14510 LIBS=$ac_check_soname_save_LIBS
14512 if ${ac_cv_lib_soname_Xcursor:+false} :
14513 then :
14514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14515 printf "%s\n" "not found" >&6; }
14517 else $as_nop
14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14519 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14521 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14526 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14527 then :
14528 case "x$with_xcursor" in
14529 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14530 xno) ;;
14531 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14532 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14533 esac
14537 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14538 then
14539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14540 printf %s "checking for -lXi... " >&6; }
14541 if test ${ac_cv_lib_soname_Xi+y}
14542 then :
14543 printf %s "(cached) " >&6
14544 else $as_nop
14545 ac_check_soname_save_LIBS=$LIBS
14546 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 char XOpenDevice ();
14555 main (void)
14557 return XOpenDevice ();
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"
14563 then :
14564 case "$LIBEXT" in
14565 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14566 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'` ;;
14567 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14568 if ${ac_cv_lib_soname_Xi:+false} :
14569 then :
14570 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14571 fi ;;
14572 esac
14573 else $as_nop
14574 ac_cv_lib_soname_Xi=
14576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14577 conftest$ac_exeext conftest.$ac_ext
14578 LIBS=$ac_check_soname_save_LIBS
14580 if ${ac_cv_lib_soname_Xi:+false} :
14581 then :
14582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14583 printf "%s\n" "not found" >&6; }
14585 else $as_nop
14586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14587 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14589 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14594 if test "x$ac_cv_lib_soname_Xi" = "x"
14595 then :
14596 case "x$with_xinput" in
14597 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14598 xno) ;;
14599 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14600 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14601 esac
14605 if test "x$ac_cv_lib_soname_Xi" != x
14606 then
14607 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14608 then :
14609 case "x$with_xinput2" in
14610 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14611 xno) ;;
14612 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14613 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14614 esac
14619 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14620 then
14621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14622 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14623 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14624 then :
14625 printf %s "(cached) " >&6
14626 else $as_nop
14627 ac_check_lib_save_LIBS=$LIBS
14628 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14630 /* end confdefs.h. */
14632 /* Override any GCC internal prototype to avoid an error.
14633 Use char because int might match the return type of a GCC
14634 builtin and then its argument prototype would still apply. */
14635 char XShmQueryExtension ();
14637 main (void)
14639 return XShmQueryExtension ();
14641 return 0;
14643 _ACEOF
14644 if ac_fn_c_try_link "$LINENO"
14645 then :
14646 ac_cv_lib_Xext_XShmQueryExtension=yes
14647 else $as_nop
14648 ac_cv_lib_Xext_XShmQueryExtension=no
14650 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14651 conftest$ac_exeext conftest.$ac_ext
14652 LIBS=$ac_check_lib_save_LIBS
14654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14655 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14656 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14657 then :
14659 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14664 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14665 then :
14666 case "x$with_xshm" in
14667 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14668 xno) ;;
14669 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14670 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14671 esac
14675 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14676 then
14677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14678 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14679 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14680 then :
14681 printf %s "(cached) " >&6
14682 else $as_nop
14683 ac_check_lib_save_LIBS=$LIBS
14684 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14691 char XShapeQueryExtension ();
14693 main (void)
14695 return XShapeQueryExtension ();
14697 return 0;
14699 _ACEOF
14700 if ac_fn_c_try_link "$LINENO"
14701 then :
14702 ac_cv_lib_Xext_XShapeQueryExtension=yes
14703 else $as_nop
14704 ac_cv_lib_Xext_XShapeQueryExtension=no
14706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14707 conftest$ac_exeext conftest.$ac_ext
14708 LIBS=$ac_check_lib_save_LIBS
14710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14711 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14712 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14713 then :
14715 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14720 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14721 then :
14722 case "x$with_xshape" in
14723 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14724 xno) ;;
14725 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14726 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14727 esac
14731 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14732 then
14733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14734 printf %s "checking for -lXxf86vm... " >&6; }
14735 if test ${ac_cv_lib_soname_Xxf86vm+y}
14736 then :
14737 printf %s "(cached) " >&6
14738 else $as_nop
14739 ac_check_soname_save_LIBS=$LIBS
14740 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14744 /* Override any GCC internal prototype to avoid an error.
14745 Use char because int might match the return type of a GCC
14746 builtin and then its argument prototype would still apply. */
14747 char XF86VidModeQueryExtension ();
14749 main (void)
14751 return XF86VidModeQueryExtension ();
14753 return 0;
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"
14757 then :
14758 case "$LIBEXT" in
14759 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14760 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'` ;;
14761 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14762 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14763 then :
14764 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14765 fi ;;
14766 esac
14767 else $as_nop
14768 ac_cv_lib_soname_Xxf86vm=
14770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14771 conftest$ac_exeext conftest.$ac_ext
14772 LIBS=$ac_check_soname_save_LIBS
14774 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14775 then :
14776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14777 printf "%s\n" "not found" >&6; }
14779 else $as_nop
14780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14781 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14783 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14788 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14789 then :
14790 case "x$with_xxf86vm" in
14791 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14792 xno) ;;
14793 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14794 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14795 esac
14799 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14800 then
14801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14802 printf %s "checking for -lXrender... " >&6; }
14803 if test ${ac_cv_lib_soname_Xrender+y}
14804 then :
14805 printf %s "(cached) " >&6
14806 else $as_nop
14807 ac_check_soname_save_LIBS=$LIBS
14808 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 char XRenderQueryExtension ();
14817 main (void)
14819 return XRenderQueryExtension ();
14821 return 0;
14823 _ACEOF
14824 if ac_fn_c_try_link "$LINENO"
14825 then :
14826 case "$LIBEXT" in
14827 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14828 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'` ;;
14829 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14830 if ${ac_cv_lib_soname_Xrender:+false} :
14831 then :
14832 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14833 fi ;;
14834 esac
14835 else $as_nop
14836 ac_cv_lib_soname_Xrender=
14838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14839 conftest$ac_exeext conftest.$ac_ext
14840 LIBS=$ac_check_soname_save_LIBS
14842 if ${ac_cv_lib_soname_Xrender:+false} :
14843 then :
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14845 printf "%s\n" "not found" >&6; }
14847 else $as_nop
14848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14849 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14851 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14854 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14855 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14856 then :
14857 printf %s "(cached) " >&6
14858 else $as_nop
14859 ac_check_lib_save_LIBS=$LIBS
14860 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14864 /* Override any GCC internal prototype to avoid an error.
14865 Use char because int might match the return type of a GCC
14866 builtin and then its argument prototype would still apply. */
14867 char XRenderSetPictureTransform ();
14869 main (void)
14871 return XRenderSetPictureTransform ();
14873 return 0;
14875 _ACEOF
14876 if ac_fn_c_try_link "$LINENO"
14877 then :
14878 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14879 else $as_nop
14880 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14883 conftest$ac_exeext conftest.$ac_ext
14884 LIBS=$ac_check_lib_save_LIBS
14886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14887 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14888 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14889 then :
14891 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14896 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14897 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
14898 then :
14899 printf %s "(cached) " >&6
14900 else $as_nop
14901 ac_check_lib_save_LIBS=$LIBS
14902 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14904 /* end confdefs.h. */
14906 /* Override any GCC internal prototype to avoid an error.
14907 Use char because int might match the return type of a GCC
14908 builtin and then its argument prototype would still apply. */
14909 char XRenderCreateLinearGradient ();
14911 main (void)
14913 return XRenderCreateLinearGradient ();
14915 return 0;
14917 _ACEOF
14918 if ac_fn_c_try_link "$LINENO"
14919 then :
14920 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
14921 else $as_nop
14922 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
14924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14925 conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_check_lib_save_LIBS
14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
14929 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
14930 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
14931 then :
14933 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
14940 if test "x$ac_cv_lib_soname_Xrender" = "x"
14941 then :
14942 case "x$with_xrender" in
14943 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
14944 xno) ;;
14945 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
14946 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
14947 esac
14951 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
14952 then
14953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h. */
14955 #include <X11/Xlib.h>
14956 #include <X11/extensions/Xrandr.h>
14958 main (void)
14960 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
14962 return 0;
14964 _ACEOF
14965 if ac_fn_c_try_compile "$LINENO"
14966 then :
14967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
14968 printf %s "checking for -lXrandr... " >&6; }
14969 if test ${ac_cv_lib_soname_Xrandr+y}
14970 then :
14971 printf %s "(cached) " >&6
14972 else $as_nop
14973 ac_check_soname_save_LIBS=$LIBS
14974 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
14975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14981 char XRRQueryExtension ();
14983 main (void)
14985 return XRRQueryExtension ();
14987 return 0;
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"
14991 then :
14992 case "$LIBEXT" in
14993 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14994 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'` ;;
14995 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14996 if ${ac_cv_lib_soname_Xrandr:+false} :
14997 then :
14998 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14999 fi ;;
15000 esac
15001 else $as_nop
15002 ac_cv_lib_soname_Xrandr=
15004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_check_soname_save_LIBS
15008 if ${ac_cv_lib_soname_Xrandr:+false} :
15009 then :
15010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15011 printf "%s\n" "not found" >&6; }
15013 else $as_nop
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15015 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15017 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 /* end confdefs.h. */
15021 #include <X11/Xlib.h>
15022 #include <X11/extensions/Xrandr.h>
15024 main (void)
15026 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15028 return 0;
15030 _ACEOF
15031 if ac_fn_c_try_compile "$LINENO"
15032 then :
15034 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15036 else $as_nop
15037 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15042 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15044 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15045 then :
15046 case "x$with_xrandr" in
15047 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15048 xno) ;;
15049 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15050 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15051 esac
15055 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15056 then
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15059 #include <X11/Xlib.h>
15060 #include <X11/extensions/Xfixes.h>
15062 main (void)
15064 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15066 return 0;
15068 _ACEOF
15069 if ac_fn_c_try_compile "$LINENO"
15070 then :
15071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15072 printf %s "checking for -lXfixes... " >&6; }
15073 if test ${ac_cv_lib_soname_Xfixes+y}
15074 then :
15075 printf %s "(cached) " >&6
15076 else $as_nop
15077 ac_check_soname_save_LIBS=$LIBS
15078 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15080 /* end confdefs.h. */
15082 /* Override any GCC internal prototype to avoid an error.
15083 Use char because int might match the return type of a GCC
15084 builtin and then its argument prototype would still apply. */
15085 char XFixesQueryVersion ();
15087 main (void)
15089 return XFixesQueryVersion ();
15091 return 0;
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"
15095 then :
15096 case "$LIBEXT" in
15097 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15098 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'` ;;
15099 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15100 if ${ac_cv_lib_soname_Xfixes:+false} :
15101 then :
15102 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15103 fi ;;
15104 esac
15105 else $as_nop
15106 ac_cv_lib_soname_Xfixes=
15108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15109 conftest$ac_exeext conftest.$ac_ext
15110 LIBS=$ac_check_soname_save_LIBS
15112 if ${ac_cv_lib_soname_Xfixes:+false} :
15113 then :
15114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15115 printf "%s\n" "not found" >&6; }
15117 else $as_nop
15118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15119 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15121 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15128 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15129 then :
15130 case "x$with_xfixes" in
15131 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15132 xno) ;;
15133 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15134 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15135 esac
15139 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15140 then
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15143 #include <X11/Xlib.h>
15144 #include <X11/extensions/Xinerama.h>
15146 main (void)
15148 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15150 return 0;
15152 _ACEOF
15153 if ac_fn_c_try_compile "$LINENO"
15154 then :
15155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15156 printf %s "checking for -lXinerama... " >&6; }
15157 if test ${ac_cv_lib_soname_Xinerama+y}
15158 then :
15159 printf %s "(cached) " >&6
15160 else $as_nop
15161 ac_check_soname_save_LIBS=$LIBS
15162 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 char XineramaQueryScreens ();
15171 main (void)
15173 return XineramaQueryScreens ();
15175 return 0;
15177 _ACEOF
15178 if ac_fn_c_try_link "$LINENO"
15179 then :
15180 case "$LIBEXT" in
15181 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15182 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'` ;;
15183 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15184 if ${ac_cv_lib_soname_Xinerama:+false} :
15185 then :
15186 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15187 fi ;;
15188 esac
15189 else $as_nop
15190 ac_cv_lib_soname_Xinerama=
15192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15193 conftest$ac_exeext conftest.$ac_ext
15194 LIBS=$ac_check_soname_save_LIBS
15196 if ${ac_cv_lib_soname_Xinerama:+false} :
15197 then :
15198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15199 printf "%s\n" "not found" >&6; }
15201 else $as_nop
15202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15203 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15205 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15210 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15212 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15213 then :
15214 case "x$with_xinerama" in
15215 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15216 xno) ;;
15217 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15218 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15219 esac
15223 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15224 then
15225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15226 printf %s "checking for -lXcomposite... " >&6; }
15227 if test ${ac_cv_lib_soname_Xcomposite+y}
15228 then :
15229 printf %s "(cached) " >&6
15230 else $as_nop
15231 ac_check_soname_save_LIBS=$LIBS
15232 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15234 /* end confdefs.h. */
15236 /* Override any GCC internal prototype to avoid an error.
15237 Use char because int might match the return type of a GCC
15238 builtin and then its argument prototype would still apply. */
15239 char XCompositeRedirectWindow ();
15241 main (void)
15243 return XCompositeRedirectWindow ();
15245 return 0;
15247 _ACEOF
15248 if ac_fn_c_try_link "$LINENO"
15249 then :
15250 case "$LIBEXT" in
15251 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15252 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'` ;;
15253 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15254 if ${ac_cv_lib_soname_Xcomposite:+false} :
15255 then :
15256 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15257 fi ;;
15258 esac
15259 else $as_nop
15260 ac_cv_lib_soname_Xcomposite=
15262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15263 conftest$ac_exeext conftest.$ac_ext
15264 LIBS=$ac_check_soname_save_LIBS
15266 if ${ac_cv_lib_soname_Xcomposite:+false} :
15267 then :
15268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15269 printf "%s\n" "not found" >&6; }
15271 else $as_nop
15272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15273 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15275 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15280 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15281 then :
15282 case "x$with_xcomposite" in
15283 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15284 xno) ;;
15285 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15286 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15287 esac
15291 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15292 #include <X11/Xlib.h>
15293 #endif
15295 if test "x$ac_cv_member_XICCallback_callback" = xyes
15296 then :
15298 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15302 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15303 #include <X11/Xlib.h>
15304 #endif
15306 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15307 then :
15309 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15316 opengl_msg=""
15317 if test "x$with_opengl" != "xno"
15318 then
15319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15320 printf %s "checking for -lGL... " >&6; }
15321 if test ${ac_cv_lib_soname_GL+y}
15322 then :
15323 printf %s "(cached) " >&6
15324 else $as_nop
15325 ac_check_soname_save_LIBS=$LIBS
15326 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15330 /* Override any GCC internal prototype to avoid an error.
15331 Use char because int might match the return type of a GCC
15332 builtin and then its argument prototype would still apply. */
15333 char glXCreateContext ();
15335 main (void)
15337 return glXCreateContext ();
15339 return 0;
15341 _ACEOF
15342 if ac_fn_c_try_link "$LINENO"
15343 then :
15344 case "$LIBEXT" in
15345 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15346 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'` ;;
15347 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15348 if ${ac_cv_lib_soname_GL:+false} :
15349 then :
15350 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15351 fi ;;
15352 esac
15353 else $as_nop
15354 ac_cv_lib_soname_GL=
15356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15357 conftest$ac_exeext conftest.$ac_ext
15358 LIBS=$ac_check_soname_save_LIBS
15360 if ${ac_cv_lib_soname_GL:+false} :
15361 then :
15362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15363 printf "%s\n" "not found" >&6; }
15364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15365 printf %s "checking for -lGL... " >&6; }
15366 if test ${ac_cv_lib_soname_GL+y}
15367 then :
15368 printf %s "(cached) " >&6
15369 else $as_nop
15370 ac_check_soname_save_LIBS=$LIBS
15371 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"
15372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15373 /* end confdefs.h. */
15375 /* Override any GCC internal prototype to avoid an error.
15376 Use char because int might match the return type of a GCC
15377 builtin and then its argument prototype would still apply. */
15378 char glXCreateContext ();
15380 main (void)
15382 return glXCreateContext ();
15384 return 0;
15386 _ACEOF
15387 if ac_fn_c_try_link "$LINENO"
15388 then :
15389 case "$LIBEXT" in
15390 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15391 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'` ;;
15392 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15393 if ${ac_cv_lib_soname_GL:+false} :
15394 then :
15395 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15396 fi ;;
15397 esac
15398 else $as_nop
15399 ac_cv_lib_soname_GL=
15401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15402 conftest$ac_exeext conftest.$ac_ext
15403 LIBS=$ac_check_soname_save_LIBS
15405 if ${ac_cv_lib_soname_GL:+false} :
15406 then :
15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15408 printf "%s\n" "not found" >&6; }
15409 if test -f /usr/X11R6/lib/libGL.a
15410 then
15411 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15412 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15413 else
15414 opengl_msg="No OpenGL library found on this system."
15416 else $as_nop
15417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15418 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15420 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15422 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"
15424 else $as_nop
15425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15426 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15428 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15430 OPENGL_LIBS="-lGL"
15432 if test "x$with_osmesa" != "xno"
15433 then
15434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15435 printf %s "checking for -lOSMesa... " >&6; }
15436 if test ${ac_cv_lib_soname_OSMesa+y}
15437 then :
15438 printf %s "(cached) " >&6
15439 else $as_nop
15440 ac_check_soname_save_LIBS=$LIBS
15441 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15443 /* end confdefs.h. */
15445 /* Override any GCC internal prototype to avoid an error.
15446 Use char because int might match the return type of a GCC
15447 builtin and then its argument prototype would still apply. */
15448 char OSMesaGetProcAddress ();
15450 main (void)
15452 return OSMesaGetProcAddress ();
15454 return 0;
15456 _ACEOF
15457 if ac_fn_c_try_link "$LINENO"
15458 then :
15459 case "$LIBEXT" in
15460 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15461 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'` ;;
15462 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15463 if ${ac_cv_lib_soname_OSMesa:+false} :
15464 then :
15465 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15466 fi ;;
15467 esac
15468 else $as_nop
15469 ac_cv_lib_soname_OSMesa=
15471 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15472 conftest$ac_exeext conftest.$ac_ext
15473 LIBS=$ac_check_soname_save_LIBS
15475 if ${ac_cv_lib_soname_OSMesa:+false} :
15476 then :
15477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15478 printf "%s\n" "not found" >&6; }
15480 else $as_nop
15481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15482 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15484 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15488 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15489 then :
15490 case "x$with_osmesa" in
15491 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15492 xno) ;;
15493 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15494 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15495 esac
15500 if test -n "$opengl_msg"
15501 then :
15502 case "x$with_opengl" in
15503 x) as_fn_append wine_warnings "|$opengl_msg
15504 OpenGL and Direct3D won't be supported." ;;
15505 xno) ;;
15506 *) as_fn_error $? "$opengl_msg
15507 OpenGL and Direct3D won't be supported.
15508 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15509 esac
15513 CPPFLAGS="$ac_save_CPPFLAGS"
15514 else
15515 X_CFLAGS=""
15516 X_LIBS=""
15519 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15520 then
15521 if test "x$X_LIBS" = "x"
15522 then :
15523 case "x$with_x" in
15524 xno) ;;
15525 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15526 without X support, which probably isn't what you want. You will need
15527 to install ${notice_platform}development packages of Xlib at the very least.
15528 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15529 esac
15530 enable_winex11_drv=${enable_winex11_drv:-no}
15532 else
15533 if test "x$X_LIBS" = "x"
15534 then :
15535 case "x$with_x" in
15536 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15537 xno) ;;
15538 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15539 This is an error since --with-x was requested." "$LINENO" 5 ;;
15540 esac
15541 enable_winex11_drv=${enable_winex11_drv:-no}
15545 if test "$ac_cv_header_CL_cl_h" = "yes"
15546 then
15547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15548 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15549 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15550 then :
15551 printf %s "(cached) " >&6
15552 else $as_nop
15553 ac_check_lib_save_LIBS=$LIBS
15554 LIBS="-lOpenCL $LIBS"
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15558 /* Override any GCC internal prototype to avoid an error.
15559 Use char because int might match the return type of a GCC
15560 builtin and then its argument prototype would still apply. */
15561 char clGetPlatformInfo ();
15563 main (void)
15565 return clGetPlatformInfo ();
15567 return 0;
15569 _ACEOF
15570 if ac_fn_c_try_link "$LINENO"
15571 then :
15572 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15573 else $as_nop
15574 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15576 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15577 conftest$ac_exeext conftest.$ac_ext
15578 LIBS=$ac_check_lib_save_LIBS
15580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15581 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15582 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15583 then :
15584 OPENCL_LIBS="-lOpenCL"
15589 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15590 then :
15591 case "x$with_opencl" in
15592 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15593 xno) ;;
15594 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15595 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15596 esac
15597 enable_opencl=${enable_opencl:-no}
15600 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15601 then
15602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15603 printf %s "checking for pcap_init in -lpcap... " >&6; }
15604 if test ${ac_cv_lib_pcap_pcap_init+y}
15605 then :
15606 printf %s "(cached) " >&6
15607 else $as_nop
15608 ac_check_lib_save_LIBS=$LIBS
15609 LIBS="-lpcap $LIBS"
15610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15611 /* end confdefs.h. */
15613 /* Override any GCC internal prototype to avoid an error.
15614 Use char because int might match the return type of a GCC
15615 builtin and then its argument prototype would still apply. */
15616 char pcap_init ();
15618 main (void)
15620 return pcap_init ();
15622 return 0;
15624 _ACEOF
15625 if ac_fn_c_try_link "$LINENO"
15626 then :
15627 ac_cv_lib_pcap_pcap_init=yes
15628 else $as_nop
15629 ac_cv_lib_pcap_pcap_init=no
15631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15632 conftest$ac_exeext conftest.$ac_ext
15633 LIBS=$ac_check_lib_save_LIBS
15635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15636 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15637 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15638 then :
15639 PCAP_LIBS="-lpcap"
15644 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15645 then :
15646 case "x$with_pcap" in
15647 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15648 xno) ;;
15649 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15650 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15651 esac
15652 enable_wpcap=${enable_wpcap:-no}
15655 if test "x$with_pcsclite" != "xno"
15656 then
15657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15658 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15659 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15660 then :
15661 printf %s "(cached) " >&6
15662 else $as_nop
15663 ac_check_lib_save_LIBS=$LIBS
15664 LIBS="-lpcsclite $LIBS"
15665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15666 /* end confdefs.h. */
15668 /* Override any GCC internal prototype to avoid an error.
15669 Use char because int might match the return type of a GCC
15670 builtin and then its argument prototype would still apply. */
15671 char SCardEstablishContext ();
15673 main (void)
15675 return SCardEstablishContext ();
15677 return 0;
15679 _ACEOF
15680 if ac_fn_c_try_link "$LINENO"
15681 then :
15682 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15683 else $as_nop
15684 ac_cv_lib_pcsclite_SCardEstablishContext=no
15686 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15687 conftest$ac_exeext conftest.$ac_ext
15688 LIBS=$ac_check_lib_save_LIBS
15690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15691 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15692 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15693 then :
15694 PCSCLITE_LIBS="-lpcsclite"
15699 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15700 then :
15701 case "x$with_pcsclite" in
15702 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15703 xno) ;;
15704 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15705 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15706 esac
15707 enable_winscard=${enable_winscard:-no}
15710 if test "x$with_inotify" != "xno"
15711 then
15712 rm -f conftest.err
15713 if ${INOTIFY_CFLAGS:+false} :
15714 then :
15715 if test ${PKG_CONFIG+y}
15716 then :
15717 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15721 if ${INOTIFY_LIBS:+false} :
15722 then :
15723 if test ${PKG_CONFIG+y}
15724 then :
15725 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15731 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15732 if test -s conftest.err; then
15733 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15734 cat conftest.err >&5
15736 rm -f conftest.err
15737 ac_save_CPPFLAGS=$CPPFLAGS
15738 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15739 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15740 if test "x$ac_cv_header_sys_inotify_h" = xyes
15741 then :
15742 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15747 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15748 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15749 then :
15750 printf %s "(cached) " >&6
15751 else $as_nop
15752 ac_check_lib_save_LIBS=$LIBS
15753 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 char inotify_add_watch ();
15762 main (void)
15764 return inotify_add_watch ();
15766 return 0;
15768 _ACEOF
15769 if ac_fn_c_try_link "$LINENO"
15770 then :
15771 ac_cv_lib_inotify_inotify_add_watch=yes
15772 else $as_nop
15773 ac_cv_lib_inotify_inotify_add_watch=no
15775 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15776 conftest$ac_exeext conftest.$ac_ext
15777 LIBS=$ac_check_lib_save_LIBS
15779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15780 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15781 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15782 then :
15784 else $as_nop
15785 INOTIFY_LIBS=""
15788 CPPFLAGS=$ac_save_CPPFLAGS
15791 if test "$ac_cv_header_sys_inotify_h" != "yes"
15792 then :
15793 case "x$with_inotify" in
15794 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15795 xno) ;;
15796 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15797 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15798 esac
15802 if test "x$with_dbus" != "xno"
15803 then
15804 rm -f conftest.err
15805 if ${DBUS_CFLAGS:+false} :
15806 then :
15807 if test ${PKG_CONFIG+y}
15808 then :
15809 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15813 if ${DBUS_LIBS:+false} :
15814 then :
15815 if test ${PKG_CONFIG+y}
15816 then :
15817 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15824 if test -s conftest.err; then
15825 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15826 cat conftest.err >&5
15828 rm -f conftest.err
15829 ac_save_CPPFLAGS=$CPPFLAGS
15830 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15831 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15832 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15833 then :
15834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15835 printf %s "checking for -ldbus-1... " >&6; }
15836 if test ${ac_cv_lib_soname_dbus_1+y}
15837 then :
15838 printf %s "(cached) " >&6
15839 else $as_nop
15840 ac_check_soname_save_LIBS=$LIBS
15841 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15843 /* end confdefs.h. */
15845 /* Override any GCC internal prototype to avoid an error.
15846 Use char because int might match the return type of a GCC
15847 builtin and then its argument prototype would still apply. */
15848 char dbus_connection_close ();
15850 main (void)
15852 return dbus_connection_close ();
15854 return 0;
15856 _ACEOF
15857 if ac_fn_c_try_link "$LINENO"
15858 then :
15859 case "$LIBEXT" in
15860 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15861 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'` ;;
15862 *) 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'`
15863 if ${ac_cv_lib_soname_dbus_1:+false} :
15864 then :
15865 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15866 fi ;;
15867 esac
15868 else $as_nop
15869 ac_cv_lib_soname_dbus_1=
15871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15872 conftest$ac_exeext conftest.$ac_ext
15873 LIBS=$ac_check_soname_save_LIBS
15875 if ${ac_cv_lib_soname_dbus_1:+false} :
15876 then :
15877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15878 printf "%s\n" "not found" >&6; }
15879 DBUS_CFLAGS=""
15880 else $as_nop
15881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15882 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15884 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15888 else $as_nop
15889 DBUS_CFLAGS=""
15892 CPPFLAGS=$ac_save_CPPFLAGS
15895 case $host_os in
15896 darwin*|macosx*) ;;
15897 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15898 then :
15899 case "x$with_dbus" in
15900 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15901 xno) ;;
15902 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15903 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15904 esac
15906 fi ;;
15907 esac
15909 if test "x$with_gnutls" != "xno"
15910 then
15911 rm -f conftest.err
15912 if ${GNUTLS_CFLAGS:+false} :
15913 then :
15914 if test ${PKG_CONFIG+y}
15915 then :
15916 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15920 if ${GNUTLS_LIBS:+false} :
15921 then :
15922 if test ${PKG_CONFIG+y}
15923 then :
15924 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15928 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15931 if test -s conftest.err; then
15932 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15933 cat conftest.err >&5
15935 rm -f conftest.err
15936 ac_save_CPPFLAGS=$CPPFLAGS
15937 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15938 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15939 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15940 then :
15941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15942 /* end confdefs.h. */
15943 #include <gnutls/gnutls.h>
15944 #include <gnutls/crypto.h>
15946 main (void)
15948 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15950 return 0;
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"
15954 then :
15955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
15956 printf %s "checking for -lgnutls... " >&6; }
15957 if test ${ac_cv_lib_soname_gnutls+y}
15958 then :
15959 printf %s "(cached) " >&6
15960 else $as_nop
15961 ac_check_soname_save_LIBS=$LIBS
15962 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15966 /* Override any GCC internal prototype to avoid an error.
15967 Use char because int might match the return type of a GCC
15968 builtin and then its argument prototype would still apply. */
15969 char gnutls_global_init ();
15971 main (void)
15973 return gnutls_global_init ();
15975 return 0;
15977 _ACEOF
15978 if ac_fn_c_try_link "$LINENO"
15979 then :
15980 case "$LIBEXT" in
15981 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15982 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'` ;;
15983 *) 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'`
15984 if ${ac_cv_lib_soname_gnutls:+false} :
15985 then :
15986 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'`
15987 fi ;;
15988 esac
15989 else $as_nop
15990 ac_cv_lib_soname_gnutls=
15992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15993 conftest$ac_exeext conftest.$ac_ext
15994 LIBS=$ac_check_soname_save_LIBS
15996 if ${ac_cv_lib_soname_gnutls:+false} :
15997 then :
15998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15999 printf "%s\n" "not found" >&6; }
16000 GNUTLS_CFLAGS=""
16001 else $as_nop
16002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16003 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16005 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16009 ac_wine_check_funcs_save_LIBS="$LIBS"
16010 LIBS="$LIBS $GNUTLS_LIBS"
16012 for ac_func in gnutls_cipher_init
16013 do :
16014 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16015 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16016 then :
16017 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16019 else $as_nop
16020 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16023 done
16024 LIBS="$ac_wine_check_funcs_save_LIBS"
16026 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16027 else $as_nop
16028 GNUTLS_CFLAGS=""
16031 CPPFLAGS=$ac_save_CPPFLAGS
16034 if test "x$ac_cv_lib_soname_gnutls" = "x"
16035 then :
16036 case "x$with_gnutls" in
16037 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16038 xno) ;;
16039 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16040 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16041 esac
16045 if test "x$with_sane" != "xno"
16046 then
16047 rm -f conftest.err
16048 if ${SANE_CFLAGS:+false} :
16049 then :
16050 if test ${PKG_CONFIG+y}
16051 then :
16052 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16055 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16056 if ${SANE_LIBS:+false} :
16057 then :
16058 if test ${PKG_CONFIG+y}
16059 then :
16060 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16063 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16067 if test -s conftest.err; then
16068 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16069 cat conftest.err >&5
16071 rm -f conftest.err
16072 ac_save_CPPFLAGS=$CPPFLAGS
16073 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16074 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16075 if test "x$ac_cv_header_sane_sane_h" = xyes
16076 then :
16077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16078 printf %s "checking for sane_init in -lsane... " >&6; }
16079 if test ${ac_cv_lib_sane_sane_init+y}
16080 then :
16081 printf %s "(cached) " >&6
16082 else $as_nop
16083 ac_check_lib_save_LIBS=$LIBS
16084 LIBS="-lsane $SANE_LIBS $LIBS"
16085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16086 /* end confdefs.h. */
16088 /* Override any GCC internal prototype to avoid an error.
16089 Use char because int might match the return type of a GCC
16090 builtin and then its argument prototype would still apply. */
16091 char sane_init ();
16093 main (void)
16095 return sane_init ();
16097 return 0;
16099 _ACEOF
16100 if ac_fn_c_try_link "$LINENO"
16101 then :
16102 ac_cv_lib_sane_sane_init=yes
16103 else $as_nop
16104 ac_cv_lib_sane_sane_init=no
16106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16107 conftest$ac_exeext conftest.$ac_ext
16108 LIBS=$ac_check_lib_save_LIBS
16110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16111 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16112 if test "x$ac_cv_lib_sane_sane_init" = xyes
16113 then :
16119 CPPFLAGS=$ac_save_CPPFLAGS
16122 if test "$ac_cv_lib_sane_sane_init" != "yes"
16123 then :
16124 case "x$with_sane" in
16125 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16126 xno) ;;
16127 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16128 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16129 esac
16130 enable_sane_ds=${enable_sane_ds:-no}
16133 if test "x$with_usb" != "xno"
16134 then
16135 rm -f conftest.err
16136 if ${USB_CFLAGS:+false} :
16137 then :
16138 if test ${PKG_CONFIG+y}
16139 then :
16140 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16144 if ${USB_LIBS:+false} :
16145 then :
16146 if test ${PKG_CONFIG+y}
16147 then :
16148 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16152 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16155 if test -s conftest.err; then
16156 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16157 cat conftest.err >&5
16159 rm -f conftest.err
16160 ac_save_CPPFLAGS=$CPPFLAGS
16161 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16162 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16163 if test "x$ac_cv_header_libusb_h" = xyes
16164 then :
16165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16166 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16167 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16168 then :
16169 printf %s "(cached) " >&6
16170 else $as_nop
16171 ac_check_lib_save_LIBS=$LIBS
16172 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174 /* end confdefs.h. */
16176 /* Override any GCC internal prototype to avoid an error.
16177 Use char because int might match the return type of a GCC
16178 builtin and then its argument prototype would still apply. */
16179 char libusb_interrupt_event_handler ();
16181 main (void)
16183 return libusb_interrupt_event_handler ();
16185 return 0;
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"
16189 then :
16190 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16191 else $as_nop
16192 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16194 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16195 conftest$ac_exeext conftest.$ac_ext
16196 LIBS=$ac_check_lib_save_LIBS
16198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16199 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16200 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16201 then :
16203 else $as_nop
16204 USB_LIBS=""
16207 else $as_nop
16208 USB_LIBS=""
16211 CPPFLAGS=$ac_save_CPPFLAGS
16214 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16215 then :
16216 case "x$with_usb" in
16217 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16218 xno) ;;
16219 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16220 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16221 esac
16222 enable_wineusb_sys=${enable_wineusb_sys:-no}
16225 if test "x$with_v4l2" != "xno"
16226 then
16227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16228 printf %s "checking for -lv4l2... " >&6; }
16229 if test ${ac_cv_lib_soname_v4l2+y}
16230 then :
16231 printf %s "(cached) " >&6
16232 else $as_nop
16233 ac_check_soname_save_LIBS=$LIBS
16234 LIBS="-lv4l2 $LIBS"
16235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16236 /* end confdefs.h. */
16238 /* Override any GCC internal prototype to avoid an error.
16239 Use char because int might match the return type of a GCC
16240 builtin and then its argument prototype would still apply. */
16241 char v4l2_open ();
16243 main (void)
16245 return v4l2_open ();
16247 return 0;
16249 _ACEOF
16250 if ac_fn_c_try_link "$LINENO"
16251 then :
16252 case "$LIBEXT" in
16253 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16254 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'` ;;
16255 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16256 if ${ac_cv_lib_soname_v4l2:+false} :
16257 then :
16258 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16259 fi ;;
16260 esac
16261 else $as_nop
16262 ac_cv_lib_soname_v4l2=
16264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16265 conftest$ac_exeext conftest.$ac_ext
16266 LIBS=$ac_check_soname_save_LIBS
16268 if ${ac_cv_lib_soname_v4l2:+false} :
16269 then :
16270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16271 printf "%s\n" "not found" >&6; }
16273 else $as_nop
16274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16275 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16277 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16282 if test "x$ac_cv_lib_soname_v4l2" = "x"
16283 then :
16284 case "x$with_v4l2" in
16285 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16286 xno) ;;
16287 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16288 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16289 esac
16293 if test "x$with_gphoto" != "xno"
16294 then
16295 rm -f conftest.err
16296 if ${GPHOTO2_CFLAGS:+false} :
16297 then :
16298 if test ${PKG_CONFIG+y}
16299 then :
16300 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16303 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16304 if ${GPHOTO2_LIBS:+false} :
16305 then :
16306 if test ${PKG_CONFIG+y}
16307 then :
16308 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16311 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16312 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16315 if test -s conftest.err; then
16316 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16317 cat conftest.err >&5
16319 rm -f conftest.err
16320 ac_save_CPPFLAGS=$CPPFLAGS
16321 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16322 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16323 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16324 then :
16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16326 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16327 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16328 then :
16329 printf %s "(cached) " >&6
16330 else $as_nop
16331 ac_check_lib_save_LIBS=$LIBS
16332 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16336 /* Override any GCC internal prototype to avoid an error.
16337 Use char because int might match the return type of a GCC
16338 builtin and then its argument prototype would still apply. */
16339 char gp_camera_new ();
16341 main (void)
16343 return gp_camera_new ();
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_link "$LINENO"
16349 then :
16350 ac_cv_lib_gphoto2_gp_camera_new=yes
16351 else $as_nop
16352 ac_cv_lib_gphoto2_gp_camera_new=no
16354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16355 conftest$ac_exeext conftest.$ac_ext
16356 LIBS=$ac_check_lib_save_LIBS
16358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16359 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16360 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16361 then :
16367 CPPFLAGS=$ac_save_CPPFLAGS
16369 rm -f conftest.err
16370 if ${GPHOTO2_PORT_CFLAGS:+false} :
16371 then :
16372 if test ${PKG_CONFIG+y}
16373 then :
16374 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16377 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16378 if ${GPHOTO2_PORT_LIBS:+false} :
16379 then :
16380 if test ${PKG_CONFIG+y}
16381 then :
16382 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16385 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16386 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16387 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16388 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16389 if test -s conftest.err; then
16390 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16391 cat conftest.err >&5
16393 rm -f conftest.err
16394 ac_save_CPPFLAGS=$CPPFLAGS
16395 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16396 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16397 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16398 then :
16399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16400 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16401 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16402 then :
16403 printf %s "(cached) " >&6
16404 else $as_nop
16405 ac_check_lib_save_LIBS=$LIBS
16406 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16408 /* end confdefs.h. */
16410 /* Override any GCC internal prototype to avoid an error.
16411 Use char because int might match the return type of a GCC
16412 builtin and then its argument prototype would still apply. */
16413 char gp_port_info_list_new ();
16415 main (void)
16417 return gp_port_info_list_new ();
16419 return 0;
16421 _ACEOF
16422 if ac_fn_c_try_link "$LINENO"
16423 then :
16424 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16425 else $as_nop
16426 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16429 conftest$ac_exeext conftest.$ac_ext
16430 LIBS=$ac_check_lib_save_LIBS
16432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16433 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16434 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16435 then :
16437 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16439 else $as_nop
16440 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16443 else $as_nop
16444 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16447 CPPFLAGS=$ac_save_CPPFLAGS
16450 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16451 then :
16452 case "x$with_gphoto" in
16453 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16454 xno) ;;
16455 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16456 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16457 esac
16458 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16460 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16461 then :
16462 case "x$with_gphoto" in
16463 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16464 xno) ;;
16465 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16466 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16467 esac
16472 if test "$ac_cv_header_resolv_h" = "yes"
16473 then
16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16475 printf %s "checking for resolver library... " >&6; }
16476 if test ${ac_cv_have_resolv+y}
16477 then :
16478 printf %s "(cached) " >&6
16479 else $as_nop
16480 ac_save_LIBS="$LIBS"
16481 for lib in '' -lresolv
16483 LIBS="$lib $ac_save_LIBS"
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486 #ifdef HAVE_NETINET_IN_H
16487 #include <netinet/in.h>
16488 #endif
16489 #include <resolv.h>
16491 main (void)
16493 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"
16499 then :
16500 ac_cv_have_resolv=${lib:-"none required"}
16501 else $as_nop
16502 ac_cv_have_resolv="not found"
16504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16505 conftest$ac_exeext conftest.$ac_ext
16506 test "x$ac_cv_have_resolv" = "xnot found" || break
16507 done
16508 LIBS="$ac_save_LIBS"
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16511 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16513 case "$ac_cv_have_resolv" in
16514 "not found") ;;
16515 "none required")
16517 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16520 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16522 RESOLV_LIBS=$ac_cv_have_resolv
16524 esac
16526 if test "x$ac_cv_have_resolv" != "xnot found"
16527 then
16528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16529 printf %s "checking for res_getservers... " >&6; }
16530 if test ${ac_cv_have_res_getservers+y}
16531 then :
16532 printf %s "(cached) " >&6
16533 else $as_nop
16534 ac_save_LIBS="$LIBS"
16535 LIBS="$RESOLV_LIBS $LIBS"
16536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16537 /* end confdefs.h. */
16538 #include <resolv.h>
16540 main (void)
16542 res_getservers(NULL, NULL, 0);
16544 return 0;
16546 _ACEOF
16547 if ac_fn_c_try_link "$LINENO"
16548 then :
16549 ac_cv_have_res_getservers=yes
16550 else $as_nop
16551 ac_cv_have_res_getservers=no
16553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16554 conftest$ac_exeext conftest.$ac_ext
16555 LIBS="$ac_save_LIBS"
16557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16558 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16559 if test "$ac_cv_have_res_getservers" = "yes"
16560 then
16562 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16568 if test "x$with_freetype" != "xno"
16569 then
16570 rm -f conftest.err
16571 if ${FREETYPE_CFLAGS:+false} :
16572 then :
16573 if test ${PKG_CONFIG+y}
16574 then :
16575 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16578 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16579 if ${FREETYPE_LIBS:+false} :
16580 then :
16581 if test ${PKG_CONFIG+y}
16582 then :
16583 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16586 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16587 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16588 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16590 if test -s conftest.err; then
16591 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16592 cat conftest.err >&5
16594 rm -f conftest.err
16595 ac_save_CPPFLAGS=$CPPFLAGS
16596 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16597 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16598 if test "x$ac_cv_header_ft2build_h" = xyes
16599 then :
16600 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16604 if test "$ac_cv_header_ft2build_h" = "yes"
16605 then
16606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16607 printf %s "checking for -lfreetype... " >&6; }
16608 if test ${ac_cv_lib_soname_freetype+y}
16609 then :
16610 printf %s "(cached) " >&6
16611 else $as_nop
16612 ac_check_soname_save_LIBS=$LIBS
16613 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16615 /* end confdefs.h. */
16617 /* Override any GCC internal prototype to avoid an error.
16618 Use char because int might match the return type of a GCC
16619 builtin and then its argument prototype would still apply. */
16620 char FT_Init_FreeType ();
16622 main (void)
16624 return FT_Init_FreeType ();
16626 return 0;
16628 _ACEOF
16629 if ac_fn_c_try_link "$LINENO"
16630 then :
16631 case "$LIBEXT" in
16632 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16633 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'` ;;
16634 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16635 if ${ac_cv_lib_soname_freetype:+false} :
16636 then :
16637 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16638 fi ;;
16639 esac
16640 else $as_nop
16641 ac_cv_lib_soname_freetype=
16643 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16644 conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_soname_save_LIBS
16647 if ${ac_cv_lib_soname_freetype:+false} :
16648 then :
16649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16650 printf "%s\n" "not found" >&6; }
16651 FREETYPE_LIBS=""
16652 else $as_nop
16653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16654 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16656 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16659 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16661 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16662 #include FT_MODULE_H
16664 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16665 then :
16667 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16673 else
16674 FREETYPE_CFLAGS=""
16675 FREETYPE_LIBS=""
16677 CPPFLAGS=$ac_save_CPPFLAGS
16680 if test "x$ac_cv_lib_soname_freetype" = x
16681 then :
16682 case "x$with_freetype" in
16683 xno) ;;
16684 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16685 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16686 esac
16687 enable_fonts=${enable_fonts:-no}
16690 ac_wine_check_funcs_save_LIBS="$LIBS"
16691 LIBS="$LIBS $PTHREAD_LIBS"
16692 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16693 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16694 then :
16695 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16699 LIBS="$ac_wine_check_funcs_save_LIBS"
16701 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16702 then
16703 if test "$ac_cv_header_gettext_po_h" = "yes"
16704 then
16705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16706 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16707 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16708 then :
16709 printf %s "(cached) " >&6
16710 else $as_nop
16711 ac_check_lib_save_LIBS=$LIBS
16712 LIBS="-lgettextpo $LIBS"
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 char po_message_msgctxt ();
16721 main (void)
16723 return po_message_msgctxt ();
16725 return 0;
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"
16729 then :
16730 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16731 else $as_nop
16732 ac_cv_lib_gettextpo_po_message_msgctxt=no
16734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16735 conftest$ac_exeext conftest.$ac_ext
16736 LIBS=$ac_check_lib_save_LIBS
16738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16739 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16740 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16741 then :
16743 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16745 GETTEXTPO_LIBS="-lgettextpo"
16750 if test "x$GETTEXTPO_LIBS" = "x"
16751 then :
16752 case "x$with_gettextpo" in
16753 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16754 xno) ;;
16755 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16756 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16757 esac
16760 if test "$srcdir" != .
16761 then :
16762 case "x$with_gettextpo" in
16763 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16764 xno) ;;
16765 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16766 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16767 esac
16772 if test "x$with_pulse" != "xno";
16773 then
16774 rm -f conftest.err
16775 if ${PULSE_CFLAGS:+false} :
16776 then :
16777 if test ${PKG_CONFIG+y}
16778 then :
16779 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16783 if ${PULSE_LIBS:+false} :
16784 then :
16785 if test ${PKG_CONFIG+y}
16786 then :
16787 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16794 if test -s conftest.err; then
16795 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16796 cat conftest.err >&5
16798 rm -f conftest.err
16799 ac_save_CPPFLAGS=$CPPFLAGS
16800 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16801 for ac_header in pulse/pulseaudio.h
16802 do :
16803 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16804 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16805 then :
16806 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16808 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16809 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16810 then :
16811 printf %s "(cached) " >&6
16812 else $as_nop
16813 ac_check_lib_save_LIBS=$LIBS
16814 LIBS="-lpulse $PULSE_LIBS $LIBS"
16815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816 /* end confdefs.h. */
16818 /* Override any GCC internal prototype to avoid an error.
16819 Use char because int might match the return type of a GCC
16820 builtin and then its argument prototype would still apply. */
16821 char pa_stream_is_corked ();
16823 main (void)
16825 return pa_stream_is_corked ();
16827 return 0;
16829 _ACEOF
16830 if ac_fn_c_try_link "$LINENO"
16831 then :
16832 ac_cv_lib_pulse_pa_stream_is_corked=yes
16833 else $as_nop
16834 ac_cv_lib_pulse_pa_stream_is_corked=no
16836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16837 conftest$ac_exeext conftest.$ac_ext
16838 LIBS=$ac_check_lib_save_LIBS
16840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16841 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16842 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16843 then :
16845 else $as_nop
16846 PULSE_LIBS=""
16849 else $as_nop
16850 PULSE_LIBS=""
16853 done
16854 CPPFLAGS=$ac_save_CPPFLAGS
16857 if test -z "$PULSE_LIBS"
16858 then :
16859 case "x$with_pulse" in
16860 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16861 xno) ;;
16862 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16863 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16864 esac
16865 enable_winepulse_drv=${enable_winepulse_drv:-no}
16868 if test "x$with_gstreamer" != "xno"
16869 then
16870 rm -f conftest.err
16871 if ${GSTREAMER_CFLAGS:+false} :
16872 then :
16873 if test ${PKG_CONFIG+y}
16874 then :
16875 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16879 if ${GSTREAMER_LIBS:+false} :
16880 then :
16881 if test ${PKG_CONFIG+y}
16882 then :
16883 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
16888 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
16889 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
16890 if test -s conftest.err; then
16891 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
16892 cat conftest.err >&5
16894 rm -f conftest.err
16895 ac_save_CPPFLAGS=$CPPFLAGS
16896 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16897 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16898 if test "x$ac_cv_header_gst_gst_h" = xyes
16899 then :
16900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16901 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <gst/gst.h>
16906 main (void)
16908 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16910 return 0;
16912 _ACEOF
16913 if ac_fn_c_try_compile "$LINENO"
16914 then :
16915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16916 printf "%s\n" "yes" >&6; }
16917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16918 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16919 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16920 then :
16921 printf %s "(cached) " >&6
16922 else $as_nop
16923 ac_check_lib_save_LIBS=$LIBS
16924 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16928 /* Override any GCC internal prototype to avoid an error.
16929 Use char because int might match the return type of a GCC
16930 builtin and then its argument prototype would still apply. */
16931 char gst_pad_new ();
16933 main (void)
16935 return gst_pad_new ();
16937 return 0;
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"
16941 then :
16942 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16943 else $as_nop
16944 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16946 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16947 conftest$ac_exeext conftest.$ac_ext
16948 LIBS=$ac_check_lib_save_LIBS
16950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16951 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16952 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
16953 then :
16957 else $as_nop
16958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
16959 printf "%s\n" "no" >&6; }
16960 ac_glib2_broken=yes
16961 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
16963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16966 CPPFLAGS=$ac_save_CPPFLAGS
16969 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
16970 then :
16971 case "x$with_gstreamer" in
16972 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
16973 xno) ;;
16974 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
16975 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
16976 esac
16977 enable_winegstreamer=${enable_winegstreamer:-no}
16980 ALSA_LIBS=""
16982 if test "x$with_alsa" != "xno"
16983 then
16984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
16985 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
16986 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
16987 then :
16988 printf %s "(cached) " >&6
16989 else $as_nop
16990 ac_check_lib_save_LIBS=$LIBS
16991 LIBS="-lasound $LIBS"
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16995 /* Override any GCC internal prototype to avoid an error.
16996 Use char because int might match the return type of a GCC
16997 builtin and then its argument prototype would still apply. */
16998 char snd_pcm_hw_params_get_access_mask ();
17000 main (void)
17002 return snd_pcm_hw_params_get_access_mask ();
17004 return 0;
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"
17008 then :
17009 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17010 else $as_nop
17011 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17014 conftest$ac_exeext conftest.$ac_ext
17015 LIBS=$ac_check_lib_save_LIBS
17017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17018 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17019 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17020 then :
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <alsa/asoundlib.h>
17025 main (void)
17027 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_compile "$LINENO"
17033 then :
17034 ALSA_LIBS="-lasound"
17036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17040 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17042 if test "x$with_oss" != xno
17043 then
17044 ac_save_CPPFLAGS="$CPPFLAGS"
17045 if test -f /etc/oss.conf
17046 then
17047 . /etc/oss.conf
17049 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17050 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17051 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17052 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17053 then :
17054 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17056 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17057 then :
17059 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17061 OSS4_CFLAGS="$ac_oss_incl"
17063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17064 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17065 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17066 then :
17067 printf %s "(cached) " >&6
17068 else $as_nop
17069 ac_check_lib_save_LIBS=$LIBS
17070 LIBS="-lossaudio $LIBS"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17074 /* Override any GCC internal prototype to avoid an error.
17075 Use char because int might match the return type of a GCC
17076 builtin and then its argument prototype would still apply. */
17077 char _oss_ioctl ();
17079 main (void)
17081 return _oss_ioctl ();
17083 return 0;
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"
17087 then :
17088 ac_cv_lib_ossaudio__oss_ioctl=yes
17089 else $as_nop
17090 ac_cv_lib_ossaudio__oss_ioctl=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17093 conftest$ac_exeext conftest.$ac_ext
17094 LIBS=$ac_check_lib_save_LIBS
17096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17097 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17098 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17099 then :
17100 OSS4_LIBS="-lossaudio"
17108 CPPFLAGS="$ac_save_CPPFLAGS"
17110 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17111 then :
17112 case "x$with_oss" in
17113 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17114 xno) ;;
17115 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17116 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17117 esac
17118 enable_wineoss_drv=${enable_wineoss_drv:-no}
17121 if test "x$with_udev" != "xno"
17122 then
17123 rm -f conftest.err
17124 if ${UDEV_CFLAGS:+false} :
17125 then :
17126 if test ${PKG_CONFIG+y}
17127 then :
17128 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17132 if ${UDEV_LIBS:+false} :
17133 then :
17134 if test ${PKG_CONFIG+y}
17135 then :
17136 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17140 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17142 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17143 if test -s conftest.err; then
17144 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17145 cat conftest.err >&5
17147 rm -f conftest.err
17148 ac_save_CPPFLAGS=$CPPFLAGS
17149 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17150 for ac_header in libudev.h
17151 do :
17152 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17153 if test "x$ac_cv_header_libudev_h" = xyes
17154 then :
17155 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17157 printf %s "checking for udev_new in -ludev... " >&6; }
17158 if test ${ac_cv_lib_udev_udev_new+y}
17159 then :
17160 printf %s "(cached) " >&6
17161 else $as_nop
17162 ac_check_lib_save_LIBS=$LIBS
17163 LIBS="-ludev $UDEV_LIBS $LIBS"
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h. */
17167 /* Override any GCC internal prototype to avoid an error.
17168 Use char because int might match the return type of a GCC
17169 builtin and then its argument prototype would still apply. */
17170 char udev_new ();
17172 main (void)
17174 return udev_new ();
17176 return 0;
17178 _ACEOF
17179 if ac_fn_c_try_link "$LINENO"
17180 then :
17181 ac_cv_lib_udev_udev_new=yes
17182 else $as_nop
17183 ac_cv_lib_udev_udev_new=no
17185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17186 conftest$ac_exeext conftest.$ac_ext
17187 LIBS=$ac_check_lib_save_LIBS
17189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17190 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17191 if test "x$ac_cv_lib_udev_udev_new" = xyes
17192 then :
17194 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17196 else $as_nop
17197 UDEV_LIBS=""
17200 else $as_nop
17201 UDEV_LIBS=""
17204 done
17205 CPPFLAGS=$ac_save_CPPFLAGS
17208 if test "x$UDEV_LIBS" = "x"
17209 then :
17210 case "x$with_udev" in
17211 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17212 xno) ;;
17213 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17214 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17215 esac
17219 if test "x$with_unwind" != xno
17220 then
17221 rm -f conftest.err
17222 if ${UNWIND_CFLAGS:+false} :
17223 then :
17224 if test ${PKG_CONFIG+y}
17225 then :
17226 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17230 if ${UNWIND_LIBS:+false} :
17231 then :
17232 if test ${PKG_CONFIG+y}
17233 then :
17234 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17238 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17241 if test -s conftest.err; then
17242 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17243 cat conftest.err >&5
17245 rm -f conftest.err
17246 ac_save_CPPFLAGS=$CPPFLAGS
17247 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17249 printf %s "checking for unw_step... " >&6; }
17250 if test ${wine_cv_have_unw_step+y}
17251 then :
17252 printf %s "(cached) " >&6
17253 else $as_nop
17254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255 /* end confdefs.h. */
17256 #define UNW_LOCAL_ONLY
17257 #include <libunwind.h>
17259 main (void)
17261 unw_cursor_t cursor; unw_step( &cursor );
17263 return 0;
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"
17267 then :
17268 wine_cv_have_unw_step="yes"
17269 else $as_nop
17270 wine_cv_have_unw_step="no"
17272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17273 conftest$ac_exeext conftest.$ac_ext
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17276 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17277 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17278 then
17279 save_libs=$LIBS
17280 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17281 LIBS="$UNWIND_LIBS $LIBS"
17282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17283 printf %s "checking for unw_step in libunwind... " >&6; }
17284 if test ${wine_cv_have_libunwind_unw_step+y}
17285 then :
17286 printf %s "(cached) " >&6
17287 else $as_nop
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17290 #define UNW_LOCAL_ONLY
17291 #include <libunwind.h>
17293 main (void)
17295 unw_cursor_t cursor; unw_step( &cursor );
17297 return 0;
17299 _ACEOF
17300 if ac_fn_c_try_link "$LINENO"
17301 then :
17302 wine_cv_have_libunwind_unw_step="yes"
17303 else $as_nop
17304 wine_cv_have_libunwind_unw_step="no"
17306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17307 conftest$ac_exeext conftest.$ac_ext
17309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17310 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17311 LIBS=$save_libs
17313 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17314 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17315 then
17317 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17320 CPPFLAGS=$ac_save_CPPFLAGS
17323 case $host in
17324 aarch64*|*-darwin*)
17325 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17326 then :
17327 case "x$with_unwind" in
17328 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17329 xno) ;;
17330 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17331 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17332 esac
17334 fi ;;
17335 esac
17337 if test "x$with_sdl" != "xno"
17338 then
17339 rm -f conftest.err
17340 if ${SDL2_CFLAGS:+false} :
17341 then :
17342 if test ${PKG_CONFIG+y}
17343 then :
17344 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17348 if ${SDL2_LIBS:+false} :
17349 then :
17350 if test ${PKG_CONFIG+y}
17351 then :
17352 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17356 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17357 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17359 if test -s conftest.err; then
17360 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17361 cat conftest.err >&5
17363 rm -f conftest.err
17364 ac_save_CPPFLAGS=$CPPFLAGS
17365 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17366 for ac_header in SDL.h
17367 do :
17368 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17369 if test "x$ac_cv_header_SDL_h" = xyes
17370 then :
17371 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17373 printf %s "checking for -lSDL2... " >&6; }
17374 if test ${ac_cv_lib_soname_SDL2+y}
17375 then :
17376 printf %s "(cached) " >&6
17377 else $as_nop
17378 ac_check_soname_save_LIBS=$LIBS
17379 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 /* Override any GCC internal prototype to avoid an error.
17384 Use char because int might match the return type of a GCC
17385 builtin and then its argument prototype would still apply. */
17386 char SDL_Init ();
17388 main (void)
17390 return SDL_Init ();
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"
17396 then :
17397 case "$LIBEXT" in
17398 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17399 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'` ;;
17400 *) 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'`
17401 if ${ac_cv_lib_soname_SDL2:+false} :
17402 then :
17403 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17404 fi ;;
17405 esac
17406 else $as_nop
17407 ac_cv_lib_soname_SDL2=
17409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17410 conftest$ac_exeext conftest.$ac_ext
17411 LIBS=$ac_check_soname_save_LIBS
17413 if ${ac_cv_lib_soname_SDL2:+false} :
17414 then :
17415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17416 printf "%s\n" "not found" >&6; }
17418 else $as_nop
17419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17420 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17422 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17428 done
17429 CPPFLAGS=$ac_save_CPPFLAGS
17432 if test "x$ac_cv_lib_soname_SDL2" = "x"
17433 then :
17434 case "x$with_sdl" in
17435 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17436 xno) ;;
17437 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17438 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17439 esac
17443 if test "x$with_capi" != "xno"
17444 then
17445 rm -f conftest.err
17446 if ${CAPI20_CFLAGS:+false} :
17447 then :
17448 if test ${PKG_CONFIG+y}
17449 then :
17450 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17454 if ${CAPI20_LIBS:+false} :
17455 then :
17456 if test ${PKG_CONFIG+y}
17457 then :
17458 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17465 if test -s conftest.err; then
17466 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17467 cat conftest.err >&5
17469 rm -f conftest.err
17470 ac_save_CPPFLAGS=$CPPFLAGS
17471 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17472 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17474 if test "x$ac_cv_header_capi20_h" = xyes
17475 then :
17476 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17479 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17481 if test "x$ac_cv_header_linux_capi_h" = xyes
17482 then :
17483 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17487 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17488 then
17489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17490 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17491 if test ${ac_cv_lib_capi20_capi20_register+y}
17492 then :
17493 printf %s "(cached) " >&6
17494 else $as_nop
17495 ac_check_lib_save_LIBS=$LIBS
17496 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17500 /* Override any GCC internal prototype to avoid an error.
17501 Use char because int might match the return type of a GCC
17502 builtin and then its argument prototype would still apply. */
17503 char capi20_register ();
17505 main (void)
17507 return capi20_register ();
17509 return 0;
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"
17513 then :
17514 ac_cv_lib_capi20_capi20_register=yes
17515 else $as_nop
17516 ac_cv_lib_capi20_capi20_register=no
17518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17519 conftest$ac_exeext conftest.$ac_ext
17520 LIBS=$ac_check_lib_save_LIBS
17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17523 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17524 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17525 then :
17527 else $as_nop
17528 CAPI20_LIBS=""
17532 CPPFLAGS=$ac_save_CPPFLAGS
17535 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17536 then :
17537 case "x$with_capi" in
17538 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17539 xno) ;;
17540 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17541 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17542 esac
17543 enable_capi2032=${enable_capi2032:-no}
17546 if test "x$with_cups" != "xno"
17547 then
17548 rm -f conftest.err
17549 if ${CUPS_CFLAGS:+false} :
17550 then :
17551 if test ${PKG_CONFIG+y}
17552 then :
17553 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17556 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17557 if ${CUPS_LIBS:+false} :
17558 then :
17559 if test ${PKG_CONFIG+y}
17560 then :
17561 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17564 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17565 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17568 if test -s conftest.err; then
17569 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17570 cat conftest.err >&5
17572 rm -f conftest.err
17573 ac_save_CPPFLAGS=$CPPFLAGS
17574 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17575 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17576 if test "x$ac_cv_header_cups_cups_h" = xyes
17577 then :
17578 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17581 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17582 if test "x$ac_cv_header_cups_ppd_h" = xyes
17583 then :
17584 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17588 if test "$ac_cv_header_cups_cups_h" = "yes"
17589 then
17590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17591 printf %s "checking for -lcups... " >&6; }
17592 if test ${ac_cv_lib_soname_cups+y}
17593 then :
17594 printf %s "(cached) " >&6
17595 else $as_nop
17596 ac_check_soname_save_LIBS=$LIBS
17597 LIBS="-lcups $CUPS_LIBS $LIBS"
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17601 /* Override any GCC internal prototype to avoid an error.
17602 Use char because int might match the return type of a GCC
17603 builtin and then its argument prototype would still apply. */
17604 char cupsGetDefault ();
17606 main (void)
17608 return cupsGetDefault ();
17610 return 0;
17612 _ACEOF
17613 if ac_fn_c_try_link "$LINENO"
17614 then :
17615 case "$LIBEXT" in
17616 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17617 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'` ;;
17618 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17619 if ${ac_cv_lib_soname_cups:+false} :
17620 then :
17621 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17622 fi ;;
17623 esac
17624 else $as_nop
17625 ac_cv_lib_soname_cups=
17627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17628 conftest$ac_exeext conftest.$ac_ext
17629 LIBS=$ac_check_soname_save_LIBS
17631 if ${ac_cv_lib_soname_cups:+false} :
17632 then :
17633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17634 printf "%s\n" "not found" >&6; }
17635 CUPS_LIBS=""
17636 else $as_nop
17637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17638 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17640 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17644 else
17645 CUPS_CFLAGS=""
17646 CUPS_LIBS=""
17648 CPPFLAGS=$ac_save_CPPFLAGS
17651 if test "x$ac_cv_lib_soname_cups" = "x"
17652 then :
17653 case "x$with_cups" in
17654 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17655 xno) ;;
17656 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17657 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17658 esac
17662 if test "x$with_fontconfig" != "xno"
17663 then
17664 rm -f conftest.err
17665 if ${FONTCONFIG_CFLAGS:+false} :
17666 then :
17667 if test ${PKG_CONFIG+y}
17668 then :
17669 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17672 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17673 if ${FONTCONFIG_LIBS:+false} :
17674 then :
17675 if test ${PKG_CONFIG+y}
17676 then :
17677 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17680 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17683 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17684 if test -s conftest.err; then
17685 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17686 cat conftest.err >&5
17688 rm -f conftest.err
17689 ac_save_CPPFLAGS=$CPPFLAGS
17690 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17691 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17692 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17693 then :
17694 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17698 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17699 then
17700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17701 printf %s "checking for -lfontconfig... " >&6; }
17702 if test ${ac_cv_lib_soname_fontconfig+y}
17703 then :
17704 printf %s "(cached) " >&6
17705 else $as_nop
17706 ac_check_soname_save_LIBS=$LIBS
17707 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17709 /* end confdefs.h. */
17711 /* Override any GCC internal prototype to avoid an error.
17712 Use char because int might match the return type of a GCC
17713 builtin and then its argument prototype would still apply. */
17714 char FcInit ();
17716 main (void)
17718 return FcInit ();
17720 return 0;
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"
17724 then :
17725 case "$LIBEXT" in
17726 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17727 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'` ;;
17728 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17729 if ${ac_cv_lib_soname_fontconfig:+false} :
17730 then :
17731 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17732 fi ;;
17733 esac
17734 else $as_nop
17735 ac_cv_lib_soname_fontconfig=
17737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17738 conftest$ac_exeext conftest.$ac_ext
17739 LIBS=$ac_check_soname_save_LIBS
17741 if ${ac_cv_lib_soname_fontconfig:+false} :
17742 then :
17743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17744 printf "%s\n" "not found" >&6; }
17745 FONTCONFIG_CFLAGS=""
17746 else $as_nop
17747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17748 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17750 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17754 else
17755 FONTCONFIG_CFLAGS=""
17757 CPPFLAGS=$ac_save_CPPFLAGS
17760 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17761 then :
17762 case "x$with_fontconfig" in
17763 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17764 xno) ;;
17765 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17766 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17767 esac
17771 if test "x$with_krb5" != "xno"
17772 then
17773 rm -f conftest.err
17774 if ${KRB5_CFLAGS:+false} :
17775 then :
17776 if test ${PKG_CONFIG+y}
17777 then :
17778 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17781 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17782 if ${KRB5_LIBS:+false} :
17783 then :
17784 if test ${PKG_CONFIG+y}
17785 then :
17786 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17789 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17791 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17792 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17793 if test -s conftest.err; then
17794 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17795 cat conftest.err >&5
17797 rm -f conftest.err
17798 ac_save_CPPFLAGS=$CPPFLAGS
17799 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17800 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17801 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17802 then :
17803 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17807 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17808 then
17809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17810 printf %s "checking for -lkrb5... " >&6; }
17811 if test ${ac_cv_lib_soname_krb5+y}
17812 then :
17813 printf %s "(cached) " >&6
17814 else $as_nop
17815 ac_check_soname_save_LIBS=$LIBS
17816 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17818 /* end confdefs.h. */
17820 /* Override any GCC internal prototype to avoid an error.
17821 Use char because int might match the return type of a GCC
17822 builtin and then its argument prototype would still apply. */
17823 char krb5_is_config_principal ();
17825 main (void)
17827 return krb5_is_config_principal ();
17829 return 0;
17831 _ACEOF
17832 if ac_fn_c_try_link "$LINENO"
17833 then :
17834 case "$LIBEXT" in
17835 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17836 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'` ;;
17837 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17838 if ${ac_cv_lib_soname_krb5:+false} :
17839 then :
17840 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17841 fi ;;
17842 esac
17843 else $as_nop
17844 ac_cv_lib_soname_krb5=
17846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17847 conftest$ac_exeext conftest.$ac_ext
17848 LIBS=$ac_check_soname_save_LIBS
17850 if ${ac_cv_lib_soname_krb5:+false} :
17851 then :
17852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17853 printf "%s\n" "not found" >&6; }
17854 KRB5_CFLAGS=""
17855 else $as_nop
17856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17857 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17859 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17863 else
17864 KRB5_CFLAGS=""
17866 CPPFLAGS=$ac_save_CPPFLAGS
17869 if test "x$ac_cv_lib_soname_krb5" = "x"
17870 then :
17871 case "x$with_krb5" in
17872 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17873 xno) ;;
17874 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17875 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17876 esac
17879 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17881 if test "x$with_gssapi" != "xno"
17882 then
17883 rm -f conftest.err
17884 if ${GSSAPI_CFLAGS:+false} :
17885 then :
17886 if test ${PKG_CONFIG+y}
17887 then :
17888 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17891 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17892 if ${GSSAPI_LIBS:+false} :
17893 then :
17894 if test ${PKG_CONFIG+y}
17895 then :
17896 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17899 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17902 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17903 if test -s conftest.err; then
17904 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17905 cat conftest.err >&5
17907 rm -f conftest.err
17908 ac_save_CPPFLAGS=$CPPFLAGS
17909 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17910 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17911 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17912 then :
17913 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17916 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17917 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17918 then :
17919 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17923 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17924 then
17925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17926 printf %s "checking for -lgssapi_krb5... " >&6; }
17927 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17928 then :
17929 printf %s "(cached) " >&6
17930 else $as_nop
17931 ac_check_soname_save_LIBS=$LIBS
17932 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17936 /* Override any GCC internal prototype to avoid an error.
17937 Use char because int might match the return type of a GCC
17938 builtin and then its argument prototype would still apply. */
17939 char gss_init_sec_context ();
17941 main (void)
17943 return gss_init_sec_context ();
17945 return 0;
17947 _ACEOF
17948 if ac_fn_c_try_link "$LINENO"
17949 then :
17950 case "$LIBEXT" in
17951 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17952 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'` ;;
17953 *) 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'`
17954 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17955 then :
17956 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17957 fi ;;
17958 esac
17959 else $as_nop
17960 ac_cv_lib_soname_gssapi_krb5=
17962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17963 conftest$ac_exeext conftest.$ac_ext
17964 LIBS=$ac_check_soname_save_LIBS
17966 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
17967 then :
17968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17969 printf "%s\n" "not found" >&6; }
17970 GSSAPI_CFLAGS=""
17971 else $as_nop
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
17973 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
17975 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
17979 else
17980 GSSAPI_CFLAGS=""
17982 CPPFLAGS=$ac_save_CPPFLAGS
17985 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
17986 then :
17987 case "x$with_gssapi" in
17988 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
17989 xno) ;;
17990 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
17991 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
17992 esac
17996 if test "$ac_cv_header_libprocstat_h" = "yes"
17997 then
17998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
17999 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18000 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18001 then :
18002 printf %s "(cached) " >&6
18003 else $as_nop
18004 ac_check_lib_save_LIBS=$LIBS
18005 LIBS="-lprocstat $LIBS"
18006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18009 /* Override any GCC internal prototype to avoid an error.
18010 Use char because int might match the return type of a GCC
18011 builtin and then its argument prototype would still apply. */
18012 char procstat_open_sysctl ();
18014 main (void)
18016 return procstat_open_sysctl ();
18018 return 0;
18020 _ACEOF
18021 if ac_fn_c_try_link "$LINENO"
18022 then :
18023 ac_cv_lib_procstat_procstat_open_sysctl=yes
18024 else $as_nop
18025 ac_cv_lib_procstat_procstat_open_sysctl=no
18027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18028 conftest$ac_exeext conftest.$ac_ext
18029 LIBS=$ac_check_lib_save_LIBS
18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18032 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18033 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18034 then :
18036 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18038 PROCSTAT_LIBS="-lprocstat"
18044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18045 printf %s "checking for -lodbc... " >&6; }
18046 if test ${ac_cv_lib_soname_odbc+y}
18047 then :
18048 printf %s "(cached) " >&6
18049 else $as_nop
18050 ac_check_soname_save_LIBS=$LIBS
18051 LIBS="-lodbc $LIBS"
18052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18055 /* Override any GCC internal prototype to avoid an error.
18056 Use char because int might match the return type of a GCC
18057 builtin and then its argument prototype would still apply. */
18058 char SQLConnect ();
18060 main (void)
18062 return SQLConnect ();
18064 return 0;
18066 _ACEOF
18067 if ac_fn_c_try_link "$LINENO"
18068 then :
18069 case "$LIBEXT" in
18070 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18071 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'` ;;
18072 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18073 if ${ac_cv_lib_soname_odbc:+false} :
18074 then :
18075 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18076 fi ;;
18077 esac
18078 else $as_nop
18079 ac_cv_lib_soname_odbc=
18081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18082 conftest$ac_exeext conftest.$ac_ext
18083 LIBS=$ac_check_soname_save_LIBS
18085 if ${ac_cv_lib_soname_odbc:+false} :
18086 then :
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18088 printf "%s\n" "not found" >&6; }
18089 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18091 else $as_nop
18092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18093 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18095 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18100 if test "x$with_netapi" != "xno"
18101 then
18102 rm -f conftest.err
18103 if ${NETAPI_CFLAGS:+false} :
18104 then :
18105 if test ${PKG_CONFIG+y}
18106 then :
18107 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18111 if ${NETAPI_LIBS:+false} :
18112 then :
18113 if test ${PKG_CONFIG+y}
18114 then :
18115 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18122 if test -s conftest.err; then
18123 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18124 cat conftest.err >&5
18126 rm -f conftest.err
18127 ac_save_CPPFLAGS=$CPPFLAGS
18128 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18130 printf %s "checking for -lnetapi... " >&6; }
18131 if test ${ac_cv_lib_soname_netapi+y}
18132 then :
18133 printf %s "(cached) " >&6
18134 else $as_nop
18135 ac_check_soname_save_LIBS=$LIBS
18136 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18138 /* end confdefs.h. */
18140 /* Override any GCC internal prototype to avoid an error.
18141 Use char because int might match the return type of a GCC
18142 builtin and then its argument prototype would still apply. */
18143 char libnetapi_init ();
18145 main (void)
18147 return libnetapi_init ();
18149 return 0;
18151 _ACEOF
18152 if ac_fn_c_try_link "$LINENO"
18153 then :
18154 case "$LIBEXT" in
18155 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18156 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'` ;;
18157 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18158 if ${ac_cv_lib_soname_netapi:+false} :
18159 then :
18160 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18161 fi ;;
18162 esac
18163 else $as_nop
18164 ac_cv_lib_soname_netapi=
18166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18167 conftest$ac_exeext conftest.$ac_ext
18168 LIBS=$ac_check_soname_save_LIBS
18170 if ${ac_cv_lib_soname_netapi:+false} :
18171 then :
18172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18173 printf "%s\n" "not found" >&6; }
18174 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18176 else $as_nop
18177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18178 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18180 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18184 CPPFLAGS=$ac_save_CPPFLAGS
18187 if test "x$ac_cv_lib_soname_netapi" = "x"
18188 then :
18189 case "x$with_netapi" in
18190 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18191 xno) ;;
18192 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18193 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18194 esac
18195 enable_netapi=${enable_netapi:-no}
18199 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18200 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18201 then
18202 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18205 if test "x$with_vulkan" != "xno"
18206 then
18207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18208 printf %s "checking for -lvulkan... " >&6; }
18209 if test ${ac_cv_lib_soname_vulkan+y}
18210 then :
18211 printf %s "(cached) " >&6
18212 else $as_nop
18213 ac_check_soname_save_LIBS=$LIBS
18214 LIBS="-lvulkan $LIBS"
18215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18216 /* end confdefs.h. */
18218 /* Override any GCC internal prototype to avoid an error.
18219 Use char because int might match the return type of a GCC
18220 builtin and then its argument prototype would still apply. */
18221 char vkGetInstanceProcAddr ();
18223 main (void)
18225 return vkGetInstanceProcAddr ();
18227 return 0;
18229 _ACEOF
18230 if ac_fn_c_try_link "$LINENO"
18231 then :
18232 case "$LIBEXT" in
18233 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18234 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'` ;;
18235 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18236 if ${ac_cv_lib_soname_vulkan:+false} :
18237 then :
18238 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18239 fi ;;
18240 esac
18241 else $as_nop
18242 ac_cv_lib_soname_vulkan=
18244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18245 conftest$ac_exeext conftest.$ac_ext
18246 LIBS=$ac_check_soname_save_LIBS
18248 if ${ac_cv_lib_soname_vulkan:+false} :
18249 then :
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18251 printf "%s\n" "not found" >&6; }
18253 else $as_nop
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18255 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18257 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18261 if test "x$ac_cv_lib_soname_vulkan" = "x"
18262 then
18263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18264 printf %s "checking for -lMoltenVK... " >&6; }
18265 if test ${ac_cv_lib_soname_MoltenVK+y}
18266 then :
18267 printf %s "(cached) " >&6
18268 else $as_nop
18269 ac_check_soname_save_LIBS=$LIBS
18270 LIBS="-lMoltenVK $LIBS"
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 /* Override any GCC internal prototype to avoid an error.
18275 Use char because int might match the return type of a GCC
18276 builtin and then its argument prototype would still apply. */
18277 char vkGetInstanceProcAddr ();
18279 main (void)
18281 return vkGetInstanceProcAddr ();
18283 return 0;
18285 _ACEOF
18286 if ac_fn_c_try_link "$LINENO"
18287 then :
18288 case "$LIBEXT" in
18289 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18290 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'` ;;
18291 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18292 if ${ac_cv_lib_soname_MoltenVK:+false} :
18293 then :
18294 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18295 fi ;;
18296 esac
18297 else $as_nop
18298 ac_cv_lib_soname_MoltenVK=
18300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18301 conftest$ac_exeext conftest.$ac_ext
18302 LIBS=$ac_check_soname_save_LIBS
18304 if ${ac_cv_lib_soname_MoltenVK:+false} :
18305 then :
18306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18307 printf "%s\n" "not found" >&6; }
18309 else $as_nop
18310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18311 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18313 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18319 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18320 then :
18321 case "x$with_vulkan" in
18322 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18323 xno) ;;
18324 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18325 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18326 esac
18331 if test "x${GCC}" = "xyes"
18332 then
18333 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18335 saved_CFLAGS=$CFLAGS
18336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18337 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18338 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18339 then :
18340 printf %s "(cached) " >&6
18341 else $as_nop
18342 ac_wine_try_cflags_saved=$CFLAGS
18343 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18346 int main(int argc, char **argv) { return 0; }
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"
18349 then :
18350 ac_cv_cflags__Werror_unknown_warning_option=yes
18351 else $as_nop
18352 ac_cv_cflags__Werror_unknown_warning_option=no
18354 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18355 conftest$ac_exeext conftest.$ac_ext
18356 CFLAGS=$ac_wine_try_cflags_saved
18358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18359 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18360 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18361 then :
18362 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18365 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18366 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18367 then :
18368 printf %s "(cached) " >&6
18369 else $as_nop
18370 ac_wine_try_cflags_saved=$CFLAGS
18371 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18374 int main(int argc, char **argv) { return 0; }
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"
18377 then :
18378 ac_cv_cflags__Werror_unused_command_line_argument=yes
18379 else $as_nop
18380 ac_cv_cflags__Werror_unused_command_line_argument=no
18382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18383 conftest$ac_exeext conftest.$ac_ext
18384 CFLAGS=$ac_wine_try_cflags_saved
18386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18387 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18388 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18389 then :
18390 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18393 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18394 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18395 then :
18396 printf %s "(cached) " >&6
18397 else $as_nop
18398 ac_wine_try_cflags_saved=$CFLAGS
18399 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18401 /* end confdefs.h. */
18402 int main(int argc, char **argv) { return 0; }
18403 _ACEOF
18404 if ac_fn_c_try_link "$LINENO"
18405 then :
18406 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18407 else $as_nop
18408 ac_cv_cflags__Werror_ignored_optimization_argument=no
18410 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18411 conftest$ac_exeext conftest.$ac_ext
18412 CFLAGS=$ac_wine_try_cflags_saved
18414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18415 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18416 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18417 then :
18418 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18421 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18422 if test ${ac_cv_cflags__fcf_protection_none+y}
18423 then :
18424 printf %s "(cached) " >&6
18425 else $as_nop
18426 ac_wine_try_cflags_saved=$CFLAGS
18427 CFLAGS="$CFLAGS -fcf-protection=none"
18428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18429 /* end confdefs.h. */
18430 int main(int argc, char **argv) { return 0; }
18431 _ACEOF
18432 if ac_fn_c_try_link "$LINENO"
18433 then :
18434 ac_cv_cflags__fcf_protection_none=yes
18435 else $as_nop
18436 ac_cv_cflags__fcf_protection_none=no
18438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18439 conftest$ac_exeext conftest.$ac_ext
18440 CFLAGS=$ac_wine_try_cflags_saved
18442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18443 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18444 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18445 then :
18446 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18449 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18450 if test ${ac_cv_cflags__fno_stack_protector+y}
18451 then :
18452 printf %s "(cached) " >&6
18453 else $as_nop
18454 ac_wine_try_cflags_saved=$CFLAGS
18455 CFLAGS="$CFLAGS -fno-stack-protector"
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18458 int main(int argc, char **argv) { return 0; }
18459 _ACEOF
18460 if ac_fn_c_try_link "$LINENO"
18461 then :
18462 ac_cv_cflags__fno_stack_protector=yes
18463 else $as_nop
18464 ac_cv_cflags__fno_stack_protector=no
18466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18467 conftest$ac_exeext conftest.$ac_ext
18468 CFLAGS=$ac_wine_try_cflags_saved
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18471 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18472 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18473 then :
18474 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18477 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18478 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18479 then :
18480 printf %s "(cached) " >&6
18481 else $as_nop
18482 ac_wine_try_cflags_saved=$CFLAGS
18483 CFLAGS="$CFLAGS -fno-strict-aliasing"
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 int main(int argc, char **argv) { return 0; }
18487 _ACEOF
18488 if ac_fn_c_try_link "$LINENO"
18489 then :
18490 ac_cv_cflags__fno_strict_aliasing=yes
18491 else $as_nop
18492 ac_cv_cflags__fno_strict_aliasing=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18495 conftest$ac_exeext conftest.$ac_ext
18496 CFLAGS=$ac_wine_try_cflags_saved
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18499 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18500 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18501 then :
18502 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18505 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18506 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18507 then :
18508 printf %s "(cached) " >&6
18509 else $as_nop
18510 ac_wine_try_cflags_saved=$CFLAGS
18511 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 int main(int argc, char **argv) { return 0; }
18515 _ACEOF
18516 if ac_fn_c_try_link "$LINENO"
18517 then :
18518 ac_cv_cflags__Wdeclaration_after_statement=yes
18519 else $as_nop
18520 ac_cv_cflags__Wdeclaration_after_statement=no
18522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18523 conftest$ac_exeext conftest.$ac_ext
18524 CFLAGS=$ac_wine_try_cflags_saved
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18527 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18528 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18529 then :
18530 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18533 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18534 if test ${ac_cv_cflags__Wempty_body+y}
18535 then :
18536 printf %s "(cached) " >&6
18537 else $as_nop
18538 ac_wine_try_cflags_saved=$CFLAGS
18539 CFLAGS="$CFLAGS -Wempty-body"
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 int main(int argc, char **argv) { return 0; }
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"
18545 then :
18546 ac_cv_cflags__Wempty_body=yes
18547 else $as_nop
18548 ac_cv_cflags__Wempty_body=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18551 conftest$ac_exeext conftest.$ac_ext
18552 CFLAGS=$ac_wine_try_cflags_saved
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18555 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18556 if test "x$ac_cv_cflags__Wempty_body" = xyes
18557 then :
18558 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18561 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18562 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18563 then :
18564 printf %s "(cached) " >&6
18565 else $as_nop
18566 ac_wine_try_cflags_saved=$CFLAGS
18567 CFLAGS="$CFLAGS -Wignored-qualifiers"
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 int main(int argc, char **argv) { return 0; }
18571 _ACEOF
18572 if ac_fn_c_try_link "$LINENO"
18573 then :
18574 ac_cv_cflags__Wignored_qualifiers=yes
18575 else $as_nop
18576 ac_cv_cflags__Wignored_qualifiers=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18579 conftest$ac_exeext conftest.$ac_ext
18580 CFLAGS=$ac_wine_try_cflags_saved
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18583 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18584 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18585 then :
18586 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18589 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18590 if test ${ac_cv_cflags__Winit_self+y}
18591 then :
18592 printf %s "(cached) " >&6
18593 else $as_nop
18594 ac_wine_try_cflags_saved=$CFLAGS
18595 CFLAGS="$CFLAGS -Winit-self"
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 int main(int argc, char **argv) { return 0; }
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"
18601 then :
18602 ac_cv_cflags__Winit_self=yes
18603 else $as_nop
18604 ac_cv_cflags__Winit_self=no
18606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18607 conftest$ac_exeext conftest.$ac_ext
18608 CFLAGS=$ac_wine_try_cflags_saved
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18611 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18612 if test "x$ac_cv_cflags__Winit_self" = xyes
18613 then :
18614 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18617 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18618 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18619 then :
18620 printf %s "(cached) " >&6
18621 else $as_nop
18622 ac_wine_try_cflags_saved=$CFLAGS
18623 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 int main(int argc, char **argv) { return 0; }
18627 _ACEOF
18628 if ac_fn_c_try_link "$LINENO"
18629 then :
18630 ac_cv_cflags__Wpacked_not_aligned=yes
18631 else $as_nop
18632 ac_cv_cflags__Wpacked_not_aligned=no
18634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18635 conftest$ac_exeext conftest.$ac_ext
18636 CFLAGS=$ac_wine_try_cflags_saved
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18639 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18640 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18641 then :
18642 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18645 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18646 if test ${ac_cv_cflags__Wpragma_pack+y}
18647 then :
18648 printf %s "(cached) " >&6
18649 else $as_nop
18650 ac_wine_try_cflags_saved=$CFLAGS
18651 CFLAGS="$CFLAGS -Wpragma-pack"
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18654 int main(int argc, char **argv) { return 0; }
18655 _ACEOF
18656 if ac_fn_c_try_link "$LINENO"
18657 then :
18658 ac_cv_cflags__Wpragma_pack=yes
18659 else $as_nop
18660 ac_cv_cflags__Wpragma_pack=no
18662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18663 conftest$ac_exeext conftest.$ac_ext
18664 CFLAGS=$ac_wine_try_cflags_saved
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18667 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18668 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18669 then :
18670 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18673 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18674 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18675 then :
18676 printf %s "(cached) " >&6
18677 else $as_nop
18678 ac_wine_try_cflags_saved=$CFLAGS
18679 CFLAGS="$CFLAGS -Wshift-overflow=2"
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682 int main(int argc, char **argv) { return 0; }
18683 _ACEOF
18684 if ac_fn_c_try_link "$LINENO"
18685 then :
18686 ac_cv_cflags__Wshift_overflow_2=yes
18687 else $as_nop
18688 ac_cv_cflags__Wshift_overflow_2=no
18690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18691 conftest$ac_exeext conftest.$ac_ext
18692 CFLAGS=$ac_wine_try_cflags_saved
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18695 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18696 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18697 then :
18698 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18701 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18702 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18703 then :
18704 printf %s "(cached) " >&6
18705 else $as_nop
18706 ac_wine_try_cflags_saved=$CFLAGS
18707 CFLAGS="$CFLAGS -Wstrict-prototypes"
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 int main(int argc, char **argv) { return 0; }
18711 _ACEOF
18712 if ac_fn_c_try_link "$LINENO"
18713 then :
18714 ac_cv_cflags__Wstrict_prototypes=yes
18715 else $as_nop
18716 ac_cv_cflags__Wstrict_prototypes=no
18718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18719 conftest$ac_exeext conftest.$ac_ext
18720 CFLAGS=$ac_wine_try_cflags_saved
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18723 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18724 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18725 then :
18726 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18729 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18730 if test ${ac_cv_cflags__Wtype_limits+y}
18731 then :
18732 printf %s "(cached) " >&6
18733 else $as_nop
18734 ac_wine_try_cflags_saved=$CFLAGS
18735 CFLAGS="$CFLAGS -Wtype-limits"
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 int main(int argc, char **argv) { return 0; }
18739 _ACEOF
18740 if ac_fn_c_try_link "$LINENO"
18741 then :
18742 ac_cv_cflags__Wtype_limits=yes
18743 else $as_nop
18744 ac_cv_cflags__Wtype_limits=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18747 conftest$ac_exeext conftest.$ac_ext
18748 CFLAGS=$ac_wine_try_cflags_saved
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18751 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18752 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18753 then :
18754 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18757 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18758 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18759 then :
18760 printf %s "(cached) " >&6
18761 else $as_nop
18762 ac_wine_try_cflags_saved=$CFLAGS
18763 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18766 int main(int argc, char **argv) { return 0; }
18767 _ACEOF
18768 if ac_fn_c_try_link "$LINENO"
18769 then :
18770 ac_cv_cflags__Wunused_but_set_parameter=yes
18771 else $as_nop
18772 ac_cv_cflags__Wunused_but_set_parameter=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18775 conftest$ac_exeext conftest.$ac_ext
18776 CFLAGS=$ac_wine_try_cflags_saved
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18779 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18780 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18781 then :
18782 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18785 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18786 if test ${ac_cv_cflags__Wvla+y}
18787 then :
18788 printf %s "(cached) " >&6
18789 else $as_nop
18790 ac_wine_try_cflags_saved=$CFLAGS
18791 CFLAGS="$CFLAGS -Wvla"
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 int main(int argc, char **argv) { return 0; }
18795 _ACEOF
18796 if ac_fn_c_try_link "$LINENO"
18797 then :
18798 ac_cv_cflags__Wvla=yes
18799 else $as_nop
18800 ac_cv_cflags__Wvla=no
18802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18803 conftest$ac_exeext conftest.$ac_ext
18804 CFLAGS=$ac_wine_try_cflags_saved
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18807 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18808 if test "x$ac_cv_cflags__Wvla" = xyes
18809 then :
18810 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18813 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18814 if test ${ac_cv_cflags__Wwrite_strings+y}
18815 then :
18816 printf %s "(cached) " >&6
18817 else $as_nop
18818 ac_wine_try_cflags_saved=$CFLAGS
18819 CFLAGS="$CFLAGS -Wwrite-strings"
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 int main(int argc, char **argv) { return 0; }
18823 _ACEOF
18824 if ac_fn_c_try_link "$LINENO"
18825 then :
18826 ac_cv_cflags__Wwrite_strings=yes
18827 else $as_nop
18828 ac_cv_cflags__Wwrite_strings=no
18830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18831 conftest$ac_exeext conftest.$ac_ext
18832 CFLAGS=$ac_wine_try_cflags_saved
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18835 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18836 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18837 then :
18838 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18842 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18843 if test ${ac_cv_cflags__Wpointer_arith+y}
18844 then :
18845 printf %s "(cached) " >&6
18846 else $as_nop
18847 ac_wine_try_cflags_saved=$CFLAGS
18848 CFLAGS="$CFLAGS -Wpointer-arith"
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851 int main(int argc, char **argv) { return 0; }
18852 _ACEOF
18853 if ac_fn_c_try_link "$LINENO"
18854 then :
18855 ac_cv_cflags__Wpointer_arith=yes
18856 else $as_nop
18857 ac_cv_cflags__Wpointer_arith=no
18859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18860 conftest$ac_exeext conftest.$ac_ext
18861 CFLAGS=$ac_wine_try_cflags_saved
18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18864 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18865 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18866 then :
18867 saved_string_h_CFLAGS=$CFLAGS
18868 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18870 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18871 if test ${ac_cv_c_string_h_warnings+y}
18872 then :
18873 printf %s "(cached) " >&6
18874 else $as_nop
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 #include <string.h>
18879 main (void)
18883 return 0;
18885 _ACEOF
18886 if ac_fn_c_try_compile "$LINENO"
18887 then :
18888 ac_cv_c_string_h_warnings=no
18889 else $as_nop
18890 ac_cv_c_string_h_warnings=yes
18892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18895 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18896 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18897 CFLAGS=$saved_string_h_CFLAGS
18900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18901 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18902 if test ${ac_cv_cflags__Wlogical_op+y}
18903 then :
18904 printf %s "(cached) " >&6
18905 else $as_nop
18906 ac_wine_try_cflags_saved=$CFLAGS
18907 CFLAGS="$CFLAGS -Wlogical-op"
18908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18909 /* end confdefs.h. */
18910 int main(int argc, char **argv) { return 0; }
18911 _ACEOF
18912 if ac_fn_c_try_link "$LINENO"
18913 then :
18914 ac_cv_cflags__Wlogical_op=yes
18915 else $as_nop
18916 ac_cv_cflags__Wlogical_op=no
18918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18919 conftest$ac_exeext conftest.$ac_ext
18920 CFLAGS=$ac_wine_try_cflags_saved
18922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18923 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18924 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18925 then :
18926 saved_string_h_CFLAGS=$CFLAGS
18927 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18929 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18930 if test ${ac_cv_c_logicalop_noisy+y}
18931 then :
18932 printf %s "(cached) " >&6
18933 else $as_nop
18934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18935 /* end confdefs.h. */
18936 #include <string.h>
18937 char*f(const char *h,char n) {return strchr(h,n);}
18939 main (void)
18943 return 0;
18945 _ACEOF
18946 if ac_fn_c_try_compile "$LINENO"
18947 then :
18948 ac_cv_c_logicalop_noisy=no
18949 else $as_nop
18950 ac_cv_c_logicalop_noisy=yes
18952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
18955 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
18956 CFLAGS=$saved_string_h_CFLAGS
18957 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
18961 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
18962 if test ${wine_cv_64bit_compare_swap+y}
18963 then :
18964 printf %s "(cached) " >&6
18965 else $as_nop
18966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18968 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18969 #error no
18970 #endif
18972 main (void)
18976 return 0;
18978 _ACEOF
18979 if ac_fn_c_try_compile "$LINENO"
18980 then :
18981 wine_cv_64bit_compare_swap="none needed"
18982 else $as_nop
18983 case $host_cpu in
18984 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
18985 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
18986 *) wine_cv_64bit_compare_swap="unknown" ;;
18987 esac
18988 if test "x$wine_cv_64bit_compare_swap" != xunknown
18989 then
18990 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
18991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18993 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
18994 #error no
18995 #endif
18997 main (void)
19001 return 0;
19003 _ACEOF
19004 if ac_fn_c_try_compile "$LINENO"
19005 then :
19007 else $as_nop
19008 wine_cv_64bit_compare_swap="unknown"
19010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19011 CFLAGS=$saved_CFLAGS
19014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19017 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19018 case "$wine_cv_64bit_compare_swap" in
19019 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19020 "none needed") ;;
19021 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19022 esac
19024 ac_debug_format_seen=""
19025 for ac_flag in $CFLAGS; do
19026 case $ac_flag in
19027 -gdwarf*) ac_debug_format_seen=yes ;;
19028 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19029 esac
19030 done
19031 if test "x$ac_debug_format_seen" = xdefault
19032 then
19033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19034 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19035 if test ${ac_cv_cflags__gdwarf_4+y}
19036 then :
19037 printf %s "(cached) " >&6
19038 else $as_nop
19039 ac_wine_try_cflags_saved=$CFLAGS
19040 CFLAGS="$CFLAGS -gdwarf-4"
19041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19042 /* end confdefs.h. */
19043 int main(int argc, char **argv) { return 0; }
19044 _ACEOF
19045 if ac_fn_c_try_link "$LINENO"
19046 then :
19047 ac_cv_cflags__gdwarf_4=yes
19048 else $as_nop
19049 ac_cv_cflags__gdwarf_4=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19052 conftest$ac_exeext conftest.$ac_ext
19053 CFLAGS=$ac_wine_try_cflags_saved
19055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19056 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19057 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19058 then :
19059 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19063 MSVCRTFLAGS=""
19065 case $host_os in
19066 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19067 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19068 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19069 then :
19070 printf %s "(cached) " >&6
19071 else $as_nop
19072 ac_wine_try_cflags_saved=$CFLAGS
19073 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19076 int main(int argc, char **argv) { return 0; }
19077 _ACEOF
19078 if ac_fn_c_try_link "$LINENO"
19079 then :
19080 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19081 else $as_nop
19082 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19085 conftest$ac_exeext conftest.$ac_ext
19086 CFLAGS=$ac_wine_try_cflags_saved
19088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19089 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19090 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19091 then :
19092 DELAYLOADFLAG="-Wl,-delayload,"
19094 fi ;;
19095 *) MSVCRTFLAGS="-D_WIN32"
19096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19097 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19098 if test ${ac_cv_cflags__fno_builtin+y}
19099 then :
19100 printf %s "(cached) " >&6
19101 else $as_nop
19102 ac_wine_try_cflags_saved=$CFLAGS
19103 CFLAGS="$CFLAGS -fno-builtin"
19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19106 int main(int argc, char **argv) { return 0; }
19107 _ACEOF
19108 if ac_fn_c_try_link "$LINENO"
19109 then :
19110 ac_cv_cflags__fno_builtin=yes
19111 else $as_nop
19112 ac_cv_cflags__fno_builtin=no
19114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19115 conftest$ac_exeext conftest.$ac_ext
19116 CFLAGS=$ac_wine_try_cflags_saved
19118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19119 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19120 if test "x$ac_cv_cflags__fno_builtin" = xyes
19121 then :
19122 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19125 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19126 if test ${ac_cv_cflags__fshort_wchar+y}
19127 then :
19128 printf %s "(cached) " >&6
19129 else $as_nop
19130 ac_wine_try_cflags_saved=$CFLAGS
19131 CFLAGS="$CFLAGS -fshort-wchar"
19132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h. */
19134 int main(int argc, char **argv) { return 0; }
19135 _ACEOF
19136 if ac_fn_c_try_link "$LINENO"
19137 then :
19138 ac_cv_cflags__fshort_wchar=yes
19139 else $as_nop
19140 ac_cv_cflags__fshort_wchar=no
19142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19143 conftest$ac_exeext conftest.$ac_ext
19144 CFLAGS=$ac_wine_try_cflags_saved
19146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19147 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19148 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19149 then :
19150 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19153 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19154 if test ${ac_cv_cflags__Wno_format+y}
19155 then :
19156 printf %s "(cached) " >&6
19157 else $as_nop
19158 ac_wine_try_cflags_saved=$CFLAGS
19159 CFLAGS="$CFLAGS -Wno-format"
19160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19162 int main(int argc, char **argv) { return 0; }
19163 _ACEOF
19164 if ac_fn_c_try_link "$LINENO"
19165 then :
19166 ac_cv_cflags__Wno_format=yes
19167 else $as_nop
19168 ac_cv_cflags__Wno_format=no
19170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19171 conftest$ac_exeext conftest.$ac_ext
19172 CFLAGS=$ac_wine_try_cflags_saved
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19175 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19176 if test "x$ac_cv_cflags__Wno_format" = xyes
19177 then :
19178 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19179 fi ;;
19180 esac
19182 case $host_cpu in
19183 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19184 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19185 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19186 then :
19187 printf %s "(cached) " >&6
19188 else $as_nop
19189 ac_wine_try_cflags_saved=$CFLAGS
19190 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19192 /* end confdefs.h. */
19193 int main(int argc, char **argv) { return 0; }
19194 _ACEOF
19195 if ac_fn_c_try_link "$LINENO"
19196 then :
19197 ac_cv_cflags__fno_omit_frame_pointer=yes
19198 else $as_nop
19199 ac_cv_cflags__fno_omit_frame_pointer=no
19201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19202 conftest$ac_exeext conftest.$ac_ext
19203 CFLAGS=$ac_wine_try_cflags_saved
19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19206 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19207 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19208 then :
19209 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19210 fi ;;
19211 *x86_64*)
19212 case $host_os in
19213 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19214 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19215 if test ${ac_cv_cflags__Wno_format+y}
19216 then :
19217 printf %s "(cached) " >&6
19218 else $as_nop
19219 ac_wine_try_cflags_saved=$CFLAGS
19220 CFLAGS="$CFLAGS -Wno-format"
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 int main(int argc, char **argv) { return 0; }
19224 _ACEOF
19225 if ac_fn_c_try_link "$LINENO"
19226 then :
19227 ac_cv_cflags__Wno_format=yes
19228 else $as_nop
19229 ac_cv_cflags__Wno_format=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19232 conftest$ac_exeext conftest.$ac_ext
19233 CFLAGS=$ac_wine_try_cflags_saved
19235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19236 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19237 if test "x$ac_cv_cflags__Wno_format" = xyes
19238 then :
19239 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19240 fi ;;
19241 *) if test -z "$PE_ARCHS"
19242 then
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19244 printf %s "checking for working -mabi=ms... " >&6; }
19245 if test ${ac_cv_mabi_ms+y}
19246 then :
19247 printf %s "(cached) " >&6
19248 else $as_nop
19249 CFLAGS="$CFLAGS -mabi=ms"
19250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 #include <stdarg.h>
19253 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19255 main (void)
19259 return 0;
19261 _ACEOF
19262 if ac_fn_c_try_compile "$LINENO"
19263 then :
19264 ac_cv_mabi_ms=yes
19265 else $as_nop
19266 ac_cv_mabi_ms=no
19268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19269 CFLAGS=$saved_CFLAGS
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19272 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19273 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
19275 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19276 esac ;;
19277 arm*)
19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19279 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19280 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19281 then :
19282 printf %s "(cached) " >&6
19283 else $as_nop
19284 ac_wine_try_cflags_saved=$CFLAGS
19285 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287 /* end confdefs.h. */
19288 int main(int argc, char **argv) { return 0; }
19289 _ACEOF
19290 if ac_fn_c_try_link "$LINENO"
19291 then :
19292 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19293 else $as_nop
19294 ac_cv_cflags__Wincompatible_function_pointer_types=no
19296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19297 conftest$ac_exeext conftest.$ac_ext
19298 CFLAGS=$ac_wine_try_cflags_saved
19300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19301 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19302 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19303 then :
19304 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19305 fi ;;
19306 esac
19308 CFLAGS=$saved_CFLAGS
19310 if test "x$enable_werror" = "xyes"
19311 then
19312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19313 printf %s "checking whether the compiler supports -Werror... " >&6; }
19314 if test ${ac_cv_cflags__Werror+y}
19315 then :
19316 printf %s "(cached) " >&6
19317 else $as_nop
19318 ac_wine_try_cflags_saved=$CFLAGS
19319 CFLAGS="$CFLAGS -Werror"
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 int main(int argc, char **argv) { return 0; }
19323 _ACEOF
19324 if ac_fn_c_try_link "$LINENO"
19325 then :
19326 ac_cv_cflags__Werror=yes
19327 else $as_nop
19328 ac_cv_cflags__Werror=no
19330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19331 conftest$ac_exeext conftest.$ac_ext
19332 CFLAGS=$ac_wine_try_cflags_saved
19334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19335 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19336 if test "x$ac_cv_cflags__Werror" = xyes
19337 then :
19338 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19341 if test "x$enable_build_id" = "xyes"
19342 then
19343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19344 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19345 if test ${ac_cv_cflags__Wl___build_id+y}
19346 then :
19347 printf %s "(cached) " >&6
19348 else $as_nop
19349 ac_wine_try_cflags_saved=$CFLAGS
19350 CFLAGS="$CFLAGS -Wl,--build-id"
19351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19353 int main(int argc, char **argv) { return 0; }
19354 _ACEOF
19355 if ac_fn_c_try_link "$LINENO"
19356 then :
19357 ac_cv_cflags__Wl___build_id=yes
19358 else $as_nop
19359 ac_cv_cflags__Wl___build_id=no
19361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19362 conftest$ac_exeext conftest.$ac_ext
19363 CFLAGS=$ac_wine_try_cflags_saved
19365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19366 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19367 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19368 then :
19369 CFLAGS="$CFLAGS -Wl,--build-id"
19370 LDFLAGS="$LDFLAGS -Wl,--build-id"
19376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19377 printf %s "checking for the need to disable Fortify... " >&6; }
19378 if test ${ac_cv_c_fortify_enabled+y}
19379 then :
19380 printf %s "(cached) " >&6
19381 else $as_nop
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 #include <string.h>
19386 main (void)
19388 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19389 #error Fortify enabled
19390 #endif
19392 return 0;
19394 _ACEOF
19395 if ac_fn_c_try_compile "$LINENO"
19396 then :
19397 ac_cv_c_fortify_enabled=no
19398 else $as_nop
19399 ac_cv_c_fortify_enabled=yes
19401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19404 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19405 if test "$ac_cv_c_fortify_enabled" = yes
19406 then
19407 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19412 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19413 if test ${ac_cv_c_cfi_support+y}
19414 then :
19415 printf %s "(cached) " >&6
19416 else $as_nop
19417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418 /* end confdefs.h. */
19419 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19421 main (void)
19425 return 0;
19427 _ACEOF
19428 if ac_fn_c_try_compile "$LINENO"
19429 then :
19430 ac_cv_c_cfi_support="yes"
19431 else $as_nop
19432 ac_cv_c_cfi_support="no"
19434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19437 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19438 if test "$ac_cv_c_cfi_support" = "yes"
19439 then
19440 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19441 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19442 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19443 elif test $HOST_ARCH = x86_64
19444 then
19445 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19449 case "$HOST_ARCH,$PE_ARCHS" in
19450 x86_64,*i386*) wine_binary="wine" ;;
19451 x86_64,*) wine_binary="wine64" ;;
19452 *) wine_binary="wine" ;;
19453 esac
19454 WINELOADER_PROGRAMS="$wine_binary"
19457 case $host_os in
19458 linux*)
19459 case $host_cpu in
19460 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19461 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19462 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19464 esac
19466 darwin*|macosx*)
19467 if test "$wine_can_build_preloader" = "yes"
19468 then
19469 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19470 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19473 esac
19476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19477 printf %s "checking for library containing dlopen... " >&6; }
19478 if test ${ac_cv_search_dlopen+y}
19479 then :
19480 printf %s "(cached) " >&6
19481 else $as_nop
19482 ac_func_search_save_LIBS=$LIBS
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h. */
19486 /* Override any GCC internal prototype to avoid an error.
19487 Use char because int might match the return type of a GCC
19488 builtin and then its argument prototype would still apply. */
19489 char dlopen ();
19491 main (void)
19493 return dlopen ();
19495 return 0;
19497 _ACEOF
19498 for ac_lib in '' dl
19500 if test -z "$ac_lib"; then
19501 ac_res="none required"
19502 else
19503 ac_res=-l$ac_lib
19504 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19506 if ac_fn_c_try_link "$LINENO"
19507 then :
19508 ac_cv_search_dlopen=$ac_res
19510 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19511 conftest$ac_exeext
19512 if test ${ac_cv_search_dlopen+y}
19513 then :
19514 break
19516 done
19517 if test ${ac_cv_search_dlopen+y}
19518 then :
19520 else $as_nop
19521 ac_cv_search_dlopen=no
19523 rm conftest.$ac_ext
19524 LIBS=$ac_func_search_save_LIBS
19526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19527 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19528 ac_res=$ac_cv_search_dlopen
19529 if test "$ac_res" != no
19530 then :
19531 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19537 printf %s "checking for library containing gethostbyname... " >&6; }
19538 if test ${ac_cv_search_gethostbyname+y}
19539 then :
19540 printf %s "(cached) " >&6
19541 else $as_nop
19542 ac_func_search_save_LIBS=$LIBS
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19546 /* Override any GCC internal prototype to avoid an error.
19547 Use char because int might match the return type of a GCC
19548 builtin and then its argument prototype would still apply. */
19549 char gethostbyname ();
19551 main (void)
19553 return gethostbyname ();
19555 return 0;
19557 _ACEOF
19558 for ac_lib in '' nsl
19560 if test -z "$ac_lib"; then
19561 ac_res="none required"
19562 else
19563 ac_res=-l$ac_lib
19564 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19566 if ac_fn_c_try_link "$LINENO"
19567 then :
19568 ac_cv_search_gethostbyname=$ac_res
19570 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19571 conftest$ac_exeext
19572 if test ${ac_cv_search_gethostbyname+y}
19573 then :
19574 break
19576 done
19577 if test ${ac_cv_search_gethostbyname+y}
19578 then :
19580 else $as_nop
19581 ac_cv_search_gethostbyname=no
19583 rm conftest.$ac_ext
19584 LIBS=$ac_func_search_save_LIBS
19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19587 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19588 ac_res=$ac_cv_search_gethostbyname
19589 if test "$ac_res" != no
19590 then :
19591 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19597 printf %s "checking for library containing connect... " >&6; }
19598 if test ${ac_cv_search_connect+y}
19599 then :
19600 printf %s "(cached) " >&6
19601 else $as_nop
19602 ac_func_search_save_LIBS=$LIBS
19603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19604 /* end confdefs.h. */
19606 /* Override any GCC internal prototype to avoid an error.
19607 Use char because int might match the return type of a GCC
19608 builtin and then its argument prototype would still apply. */
19609 char connect ();
19611 main (void)
19613 return connect ();
19615 return 0;
19617 _ACEOF
19618 for ac_lib in '' socket
19620 if test -z "$ac_lib"; then
19621 ac_res="none required"
19622 else
19623 ac_res=-l$ac_lib
19624 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19626 if ac_fn_c_try_link "$LINENO"
19627 then :
19628 ac_cv_search_connect=$ac_res
19630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19631 conftest$ac_exeext
19632 if test ${ac_cv_search_connect+y}
19633 then :
19634 break
19636 done
19637 if test ${ac_cv_search_connect+y}
19638 then :
19640 else $as_nop
19641 ac_cv_search_connect=no
19643 rm conftest.$ac_ext
19644 LIBS=$ac_func_search_save_LIBS
19646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19647 printf "%s\n" "$ac_cv_search_connect" >&6; }
19648 ac_res=$ac_cv_search_connect
19649 if test "$ac_res" != no
19650 then :
19651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19657 printf %s "checking for library containing inet_aton... " >&6; }
19658 if test ${ac_cv_search_inet_aton+y}
19659 then :
19660 printf %s "(cached) " >&6
19661 else $as_nop
19662 ac_func_search_save_LIBS=$LIBS
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 /* Override any GCC internal prototype to avoid an error.
19667 Use char because int might match the return type of a GCC
19668 builtin and then its argument prototype would still apply. */
19669 char inet_aton ();
19671 main (void)
19673 return inet_aton ();
19675 return 0;
19677 _ACEOF
19678 for ac_lib in '' resolv
19680 if test -z "$ac_lib"; then
19681 ac_res="none required"
19682 else
19683 ac_res=-l$ac_lib
19684 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19686 if ac_fn_c_try_link "$LINENO"
19687 then :
19688 ac_cv_search_inet_aton=$ac_res
19690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19691 conftest$ac_exeext
19692 if test ${ac_cv_search_inet_aton+y}
19693 then :
19694 break
19696 done
19697 if test ${ac_cv_search_inet_aton+y}
19698 then :
19700 else $as_nop
19701 ac_cv_search_inet_aton=no
19703 rm conftest.$ac_ext
19704 LIBS=$ac_func_search_save_LIBS
19706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19707 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19708 ac_res=$ac_cv_search_inet_aton
19709 if test "$ac_res" != no
19710 then :
19711 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19716 ac_save_CFLAGS="$CFLAGS"
19717 CFLAGS="$CFLAGS $BUILTINFLAG"
19718 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19719 if test "x$ac_cv_func_dladdr1" = xyes
19720 then :
19721 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19724 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19725 if test "x$ac_cv_func_dlinfo" = xyes
19726 then :
19727 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19730 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19731 if test "x$ac_cv_func_epoll_create" = xyes
19732 then :
19733 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19736 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19737 if test "x$ac_cv_func_fstatfs" = xyes
19738 then :
19739 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19742 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19743 if test "x$ac_cv_func_futimens" = xyes
19744 then :
19745 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19748 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19749 if test "x$ac_cv_func_futimes" = xyes
19750 then :
19751 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19754 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19755 if test "x$ac_cv_func_futimesat" = xyes
19756 then :
19757 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19760 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19761 if test "x$ac_cv_func_getaddrinfo" = xyes
19762 then :
19763 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19766 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19767 if test "x$ac_cv_func_getattrlist" = xyes
19768 then :
19769 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19772 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19773 if test "x$ac_cv_func_getauxval" = xyes
19774 then :
19775 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19778 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19779 if test "x$ac_cv_func_getifaddrs" = xyes
19780 then :
19781 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19784 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19785 if test "x$ac_cv_func_getrandom" = xyes
19786 then :
19787 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19790 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19791 if test "x$ac_cv_func_kqueue" = xyes
19792 then :
19793 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19796 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19797 if test "x$ac_cv_func_mach_continuous_time" = xyes
19798 then :
19799 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19802 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19803 if test "x$ac_cv_func_pipe2" = xyes
19804 then :
19805 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19808 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19809 if test "x$ac_cv_func_port_create" = xyes
19810 then :
19811 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19814 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19815 if test "x$ac_cv_func_posix_fadvise" = xyes
19816 then :
19817 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19820 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19821 if test "x$ac_cv_func_posix_fallocate" = xyes
19822 then :
19823 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19826 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19827 if test "x$ac_cv_func_prctl" = xyes
19828 then :
19829 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19832 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19833 if test "x$ac_cv_func_proc_pidinfo" = xyes
19834 then :
19835 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19838 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19839 if test "x$ac_cv_func_sched_yield" = xyes
19840 then :
19841 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19844 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19845 if test "x$ac_cv_func_setproctitle" = xyes
19846 then :
19847 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19850 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19851 if test "x$ac_cv_func_setprogname" = xyes
19852 then :
19853 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19856 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19857 if test "x$ac_cv_func_sigprocmask" = xyes
19858 then :
19859 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19862 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19863 if test "x$ac_cv_func_sysinfo" = xyes
19864 then :
19865 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19868 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19869 if test "x$ac_cv_func_tcdrain" = xyes
19870 then :
19871 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19874 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19875 if test "x$ac_cv_func_thr_kill2" = xyes
19876 then :
19877 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19881 CFLAGS="$ac_save_CFLAGS"
19883 case $host_os in
19884 darwin*|macosx*) ;;
19885 *) ac_save_LIBS=$LIBS
19886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19887 printf %s "checking for library containing clock_gettime... " >&6; }
19888 if test ${ac_cv_search_clock_gettime+y}
19889 then :
19890 printf %s "(cached) " >&6
19891 else $as_nop
19892 ac_func_search_save_LIBS=$LIBS
19893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19894 /* end confdefs.h. */
19896 /* Override any GCC internal prototype to avoid an error.
19897 Use char because int might match the return type of a GCC
19898 builtin and then its argument prototype would still apply. */
19899 char clock_gettime ();
19901 main (void)
19903 return clock_gettime ();
19905 return 0;
19907 _ACEOF
19908 for ac_lib in '' rt
19910 if test -z "$ac_lib"; then
19911 ac_res="none required"
19912 else
19913 ac_res=-l$ac_lib
19914 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19916 if ac_fn_c_try_link "$LINENO"
19917 then :
19918 ac_cv_search_clock_gettime=$ac_res
19920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19921 conftest$ac_exeext
19922 if test ${ac_cv_search_clock_gettime+y}
19923 then :
19924 break
19926 done
19927 if test ${ac_cv_search_clock_gettime+y}
19928 then :
19930 else $as_nop
19931 ac_cv_search_clock_gettime=no
19933 rm conftest.$ac_ext
19934 LIBS=$ac_func_search_save_LIBS
19936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19937 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19938 ac_res=$ac_cv_search_clock_gettime
19939 if test "$ac_res" != no
19940 then :
19941 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19943 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19945 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19949 LIBS=$ac_save_LIBS
19951 esac
19953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
19954 printf %s "checking for sched_setaffinity... " >&6; }
19955 if test ${wine_cv_have_sched_setaffinity+y}
19956 then :
19957 printf %s "(cached) " >&6
19958 else $as_nop
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19961 #include <sched.h>
19963 main (void)
19965 sched_setaffinity(0, 0, 0);
19967 return 0;
19969 _ACEOF
19970 if ac_fn_c_try_link "$LINENO"
19971 then :
19972 wine_cv_have_sched_setaffinity=yes
19973 else $as_nop
19974 wine_cv_have_sched_setaffinity=no
19976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19977 conftest$ac_exeext conftest.$ac_ext
19979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
19980 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
19981 if test "$wine_cv_have_sched_setaffinity" = "yes"
19982 then
19984 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
19989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
19990 printf %s "checking for inline... " >&6; }
19991 if test ${ac_cv_c_inline+y}
19992 then :
19993 printf %s "(cached) " >&6
19994 else $as_nop
19995 ac_cv_c_inline=no
19996 for ac_kw in inline __inline__ __inline; do
19997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
19999 #ifndef __cplusplus
20000 typedef int foo_t;
20001 static $ac_kw foo_t static_foo (void) {return 0; }
20002 $ac_kw foo_t foo (void) {return 0; }
20003 #endif
20005 _ACEOF
20006 if ac_fn_c_try_compile "$LINENO"
20007 then :
20008 ac_cv_c_inline=$ac_kw
20010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20011 test "$ac_cv_c_inline" != no && break
20012 done
20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20016 printf "%s\n" "$ac_cv_c_inline" >&6; }
20018 case $ac_cv_c_inline in
20019 inline | yes) ;;
20021 case $ac_cv_c_inline in
20022 no) ac_val=;;
20023 *) ac_val=$ac_cv_c_inline;;
20024 esac
20025 cat >>confdefs.h <<_ACEOF
20026 #ifndef __cplusplus
20027 #define inline $ac_val
20028 #endif
20029 _ACEOF
20031 esac
20033 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20035 if test "x$ac_cv_type_request_sense" = xyes
20036 then :
20038 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20044 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20045 #include <sys/socket.h>
20046 #ifdef HAVE_SYS_SOCKETVAR_H
20047 #include <sys/socketvar.h>
20048 #endif
20049 #ifdef HAVE_NET_ROUTE_H
20050 #include <net/route.h>
20051 #endif
20052 #ifdef HAVE_NETINET_IN_H
20053 #include <netinet/in.h>
20054 #endif
20055 #ifdef HAVE_NETINET_IN_SYSTM_H
20056 #include <netinet/in_systm.h>
20057 #endif
20058 #ifdef HAVE_NETINET_IP_H
20059 #include <netinet/ip.h>
20060 #endif
20061 #ifdef HAVE_NETINET_IN_PCB_H
20062 #include <netinet/in_pcb.h>
20063 #endif
20065 if test "x$ac_cv_type_struct_xinpgen" = xyes
20066 then :
20068 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20075 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20076 if test ${wine_cv_linux_gethostbyname_r_6+y}
20077 then :
20078 printf %s "(cached) " >&6
20079 else $as_nop
20080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20081 /* end confdefs.h. */
20082 #include <netdb.h>
20084 main (void)
20087 char *name=0;
20088 struct hostent he;
20089 struct hostent *result;
20090 char *buf=0;
20091 int bufsize=0;
20092 int errnr;
20093 char *addr=0;
20094 int addrlen=0;
20095 int addrtype=0;
20096 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20097 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20100 return 0;
20102 _ACEOF
20103 if ac_fn_c_try_link "$LINENO"
20104 then :
20105 wine_cv_linux_gethostbyname_r_6=yes
20106 else $as_nop
20107 wine_cv_linux_gethostbyname_r_6=no
20110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20111 conftest$ac_exeext conftest.$ac_ext
20114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20115 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20116 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20117 then
20119 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20123 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20124 #include <sys/socket.h>
20125 #ifdef HAVE_SYS_UN_H
20126 # include <sys/un.h>
20127 #endif
20129 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20130 then :
20132 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20136 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20137 #include <sys/socket.h>
20138 #ifdef HAVE_SYS_UN_H
20139 # include <sys/un.h>
20140 #endif
20142 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20143 then :
20145 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20151 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20152 #ifdef HAVE_SCSI_SG_H
20153 #include <scsi/sg.h>
20154 #endif
20156 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20157 then :
20159 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20163 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>
20164 #ifdef HAVE_SCSI_SG_H
20165 #include <scsi/sg.h>
20166 #endif
20168 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20169 then :
20171 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20177 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20179 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20180 then :
20182 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20188 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20189 #ifdef HAVE_SYS_MTIO_H
20190 #include <sys/mtio.h>
20191 #endif
20193 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20194 then :
20196 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20200 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20201 #ifdef HAVE_SYS_MTIO_H
20202 #include <sys/mtio.h>
20203 #endif
20205 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20206 then :
20208 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20212 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20213 #ifdef HAVE_SYS_MTIO_H
20214 #include <sys/mtio.h>
20215 #endif
20217 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20218 then :
20220 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20226 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20227 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20228 then :
20230 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20234 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20235 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20236 then :
20238 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20242 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20243 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20244 then :
20246 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20250 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20251 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20252 then :
20254 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20258 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20259 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20260 then :
20262 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20266 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20267 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20268 then :
20270 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20274 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20275 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20276 then :
20278 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20282 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20283 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20284 then :
20286 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20290 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20291 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20292 then :
20294 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20298 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20299 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20300 then :
20302 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20306 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20307 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20308 then :
20310 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20316 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>
20317 #ifdef HAVE_NETINET_IN_H
20318 #include <netinet/in.h>
20319 #endif
20321 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20330 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
20331 #include <resolv.h>
20332 #endif
20334 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20335 then :
20337 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20343 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20344 #include <netinet/in.h>
20345 #endif
20347 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20348 then :
20350 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20356 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20357 #ifdef HAVE_SYS_SOCKETVAR_H
20358 #include <sys/socketvar.h>
20359 #endif
20360 #ifdef HAVE_NETINET_IN_H
20361 #include <netinet/in.h>
20362 #endif
20363 #ifdef HAVE_NETINET_IP_VAR_H
20364 #include <netinet/ip_var.h>
20365 #endif
20367 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20368 then :
20370 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20376 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
20377 #include <netinet/ip_var.h>
20378 #endif
20380 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20381 then :
20383 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20389 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20390 #ifdef HAVE_SYS_SOCKETVAR_H
20391 #include <sys/socketvar.h>
20392 #endif
20393 #ifdef HAVE_NETINET_IN_H
20394 #include <netinet/in.h>
20395 #endif
20396 #ifdef HAVE_NETINET6_IP6_VAR_H
20397 #include <netinet6/ip6_var.h>
20398 #endif
20400 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20410 #ifdef HAVE_SYS_SOCKETVAR_H
20411 #include <sys/socketvar.h>
20412 #endif
20413 #ifdef HAVE_NETINET_IN_H
20414 #include <netinet/in.h>
20415 #endif
20416 #ifdef HAVE_NETINET_IP_H
20417 #include <netinet/ip.h>
20418 #endif
20419 #ifdef HAVE_NETINET_IP_ICMP_H
20420 #include <netinet/ip_icmp.h>
20421 #endif
20422 #ifdef HAVE_NETINET_ICMP_VAR_H
20423 #include <netinet/icmp_var.h>
20424 #endif
20426 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20427 then :
20429 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20435 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20436 #ifdef HAVE_SYS_SOCKETVAR_H
20437 #include <sys/socketvar.h>
20438 #endif
20439 #ifdef HAVE_NETINET_IN_H
20440 #include <netinet/in.h>
20441 #endif
20442 #ifdef HAVE_NETINET_ICMP6_H
20443 #include <netinet/icmp6.h>
20444 #endif
20446 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20447 then :
20449 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20456 #ifdef HAVE_SYS_SOCKETVAR_H
20457 #include <sys/socketvar.h>
20458 #endif
20459 #ifdef HAVE_NETINET_IN_H
20460 #include <netinet/in.h>
20461 #endif
20462 #ifdef HAVE_NETINET_TCP_H
20463 #include <netinet/tcp.h>
20464 #endif
20465 #ifdef HAVE_NETINET_TCP_VAR_H
20466 #include <netinet/tcp_var.h>
20467 #endif
20469 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20470 then :
20472 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20478 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
20479 #include <netinet/tcp_var.h>
20480 #endif
20482 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20483 then :
20485 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20491 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20492 #ifdef HAVE_NETINET_IN_H
20493 #include <netinet/in.h>
20494 #endif
20495 #ifdef HAVE_NETINET_IP_VAR_H
20496 #include <netinet/ip_var.h>
20497 #endif
20498 #ifdef HAVE_NETINET_UDP_H
20499 #include <netinet/udp.h>
20500 #endif
20501 #ifdef HAVE_NETINET_UDP_VAR_H
20502 #include <netinet/udp_var.h>
20503 #endif
20505 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20506 then :
20508 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20514 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20515 #ifdef HAVE_NET_IF_H
20516 # include <net/if.h>
20517 #endif
20519 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20520 then :
20522 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20528 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20529 # include <sys/sysinfo.h>
20530 #endif
20532 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20533 then :
20535 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20539 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20540 # include <sys/sysinfo.h>
20541 #endif
20543 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20544 then :
20546 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20552 LIBS="$ac_save_LIBS"
20554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20555 printf %s "checking for __builtin_popcount... " >&6; }
20556 if test ${ac_cv_have___builtin_popcount+y}
20557 then :
20558 printf %s "(cached) " >&6
20559 else $as_nop
20560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20561 /* end confdefs.h. */
20564 main (void)
20566 return __builtin_popcount(1)
20568 return 0;
20570 _ACEOF
20571 if ac_fn_c_try_link "$LINENO"
20572 then :
20573 ac_cv_have___builtin_popcount="yes"
20574 else $as_nop
20575 ac_cv_have___builtin_popcount="no"
20577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20578 conftest$ac_exeext conftest.$ac_ext
20580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20581 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20582 if test "$ac_cv_have___builtin_popcount" = "yes"
20583 then
20585 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20590 printf %s "checking for __clear_cache... " >&6; }
20591 if test ${ac_cv_have___clear_cache+y}
20592 then :
20593 printf %s "(cached) " >&6
20594 else $as_nop
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20596 /* end confdefs.h. */
20599 main (void)
20601 __clear_cache((void*)0, (void*)0); return 0;
20603 return 0;
20605 _ACEOF
20606 if ac_fn_c_try_link "$LINENO"
20607 then :
20608 ac_cv_have___clear_cache="yes"
20609 else $as_nop
20610 ac_cv_have___clear_cache="no"
20612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20613 conftest$ac_exeext conftest.$ac_ext
20615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20616 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20617 if test "$ac_cv_have___clear_cache" = "yes"
20618 then
20620 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20625 case $host_cpu in
20626 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20627 printf %s "checking whether we need to define __i386__... " >&6; }
20628 if test ${ac_cv_cpp_def___i386__+y}
20629 then :
20630 printf %s "(cached) " >&6
20631 else $as_nop
20632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20634 #ifndef __i386__
20636 #endif
20637 _ACEOF
20638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20639 $EGREP "yes" >/dev/null 2>&1
20640 then :
20641 ac_cv_cpp_def___i386__=yes
20642 else $as_nop
20643 ac_cv_cpp_def___i386__=no
20645 rm -rf conftest*
20648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20649 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20650 if test "x$ac_cv_cpp_def___i386__" = xyes
20651 then :
20652 CFLAGS="$CFLAGS -D__i386__"
20653 LINTFLAGS="$LINTFLAGS -D__i386__"
20654 fi ;;
20655 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20656 printf %s "checking whether we need to define __x86_64__... " >&6; }
20657 if test ${ac_cv_cpp_def___x86_64__+y}
20658 then :
20659 printf %s "(cached) " >&6
20660 else $as_nop
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20663 #ifndef __x86_64__
20665 #endif
20666 _ACEOF
20667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20668 $EGREP "yes" >/dev/null 2>&1
20669 then :
20670 ac_cv_cpp_def___x86_64__=yes
20671 else $as_nop
20672 ac_cv_cpp_def___x86_64__=no
20674 rm -rf conftest*
20677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20678 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20679 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20680 then :
20681 CFLAGS="$CFLAGS -D__x86_64__"
20682 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20683 fi ;;
20684 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20685 printf %s "checking whether we need to define __sparc64__... " >&6; }
20686 if test ${ac_cv_cpp_def___sparc64__+y}
20687 then :
20688 printf %s "(cached) " >&6
20689 else $as_nop
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20692 #ifndef __sparc64__
20694 #endif
20695 _ACEOF
20696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20697 $EGREP "yes" >/dev/null 2>&1
20698 then :
20699 ac_cv_cpp_def___sparc64__=yes
20700 else $as_nop
20701 ac_cv_cpp_def___sparc64__=no
20703 rm -rf conftest*
20706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20707 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20708 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20709 then :
20710 CFLAGS="$CFLAGS -D__sparc64__"
20711 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20712 fi ;;
20713 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20714 printf %s "checking whether we need to define __sparc__... " >&6; }
20715 if test ${ac_cv_cpp_def___sparc__+y}
20716 then :
20717 printf %s "(cached) " >&6
20718 else $as_nop
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20721 #ifndef __sparc__
20723 #endif
20724 _ACEOF
20725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20726 $EGREP "yes" >/dev/null 2>&1
20727 then :
20728 ac_cv_cpp_def___sparc__=yes
20729 else $as_nop
20730 ac_cv_cpp_def___sparc__=no
20732 rm -rf conftest*
20735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20736 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20737 if test "x$ac_cv_cpp_def___sparc__" = xyes
20738 then :
20739 CFLAGS="$CFLAGS -D__sparc__"
20740 LINTFLAGS="$LINTFLAGS -D__sparc__"
20741 fi ;;
20742 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20743 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20744 if test ${ac_cv_cpp_def___powerpc64__+y}
20745 then :
20746 printf %s "(cached) " >&6
20747 else $as_nop
20748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20749 /* end confdefs.h. */
20750 #ifndef __powerpc64__
20752 #endif
20753 _ACEOF
20754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20755 $EGREP "yes" >/dev/null 2>&1
20756 then :
20757 ac_cv_cpp_def___powerpc64__=yes
20758 else $as_nop
20759 ac_cv_cpp_def___powerpc64__=no
20761 rm -rf conftest*
20764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20765 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20766 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20767 then :
20768 CFLAGS="$CFLAGS -D__powerpc64__"
20769 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20770 fi ;;
20771 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20772 printf %s "checking whether we need to define __powerpc__... " >&6; }
20773 if test ${ac_cv_cpp_def___powerpc__+y}
20774 then :
20775 printf %s "(cached) " >&6
20776 else $as_nop
20777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20779 #ifndef __powerpc__
20781 #endif
20782 _ACEOF
20783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20784 $EGREP "yes" >/dev/null 2>&1
20785 then :
20786 ac_cv_cpp_def___powerpc__=yes
20787 else $as_nop
20788 ac_cv_cpp_def___powerpc__=no
20790 rm -rf conftest*
20793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20794 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20795 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20796 then :
20797 CFLAGS="$CFLAGS -D__powerpc__"
20798 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20799 fi ;;
20800 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20801 printf %s "checking whether we need to define __aarch64__... " >&6; }
20802 if test ${ac_cv_cpp_def___aarch64__+y}
20803 then :
20804 printf %s "(cached) " >&6
20805 else $as_nop
20806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20807 /* end confdefs.h. */
20808 #ifndef __aarch64__
20810 #endif
20811 _ACEOF
20812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20813 $EGREP "yes" >/dev/null 2>&1
20814 then :
20815 ac_cv_cpp_def___aarch64__=yes
20816 else $as_nop
20817 ac_cv_cpp_def___aarch64__=no
20819 rm -rf conftest*
20822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20823 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20824 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20825 then :
20826 CFLAGS="$CFLAGS -D__aarch64__"
20827 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20828 fi ;;
20829 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20830 printf %s "checking whether we need to define __arm__... " >&6; }
20831 if test ${ac_cv_cpp_def___arm__+y}
20832 then :
20833 printf %s "(cached) " >&6
20834 else $as_nop
20835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20836 /* end confdefs.h. */
20837 #ifndef __arm__
20839 #endif
20840 _ACEOF
20841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20842 $EGREP "yes" >/dev/null 2>&1
20843 then :
20844 ac_cv_cpp_def___arm__=yes
20845 else $as_nop
20846 ac_cv_cpp_def___arm__=no
20848 rm -rf conftest*
20851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20852 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20853 if test "x$ac_cv_cpp_def___arm__" = xyes
20854 then :
20855 CFLAGS="$CFLAGS -D__arm__"
20856 LINTFLAGS="$LINTFLAGS -D__arm__"
20857 fi ;;
20858 esac
20860 case $host_vendor in
20861 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20862 printf %s "checking whether we need to define __sun__... " >&6; }
20863 if test ${ac_cv_cpp_def___sun__+y}
20864 then :
20865 printf %s "(cached) " >&6
20866 else $as_nop
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #ifndef __sun__
20871 #endif
20872 _ACEOF
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev/null 2>&1
20875 then :
20876 ac_cv_cpp_def___sun__=yes
20877 else $as_nop
20878 ac_cv_cpp_def___sun__=no
20880 rm -rf conftest*
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20885 if test "x$ac_cv_cpp_def___sun__" = xyes
20886 then :
20887 CFLAGS="$CFLAGS -D__sun__"
20888 LINTFLAGS="$LINTFLAGS -D__sun__"
20889 fi ;;
20890 esac
20896 ac_config_commands="$ac_config_commands include/stamp-h"
20898 printf %s "creating Makefile rules..." >&6
20900 makedep_flags=""
20901 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20903 wine_srcdir=
20904 test "$srcdir" = . || wine_srcdir="$srcdir/"
20906 ac_config_links="$ac_config_links wine:tools/winewrapper"
20907 wine_fn_config_symlink wine
20908 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
20909 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20910 wine_fn_config_symlink wine64
20913 wine_fn_config_makefile dlls/acledit enable_acledit
20914 wine_fn_config_makefile dlls/aclui enable_aclui
20915 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20916 wine_fn_config_makefile dlls/activeds enable_activeds
20917 wine_fn_config_makefile dlls/activeds/tests enable_tests
20918 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20919 wine_fn_config_makefile dlls/adsldp enable_adsldp
20920 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20921 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20922 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20923 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20924 wine_fn_config_makefile dlls/advpack enable_advpack
20925 wine_fn_config_makefile dlls/advpack/tests enable_tests
20926 wine_fn_config_makefile dlls/amsi enable_amsi
20927 wine_fn_config_makefile dlls/amstream enable_amstream
20928 wine_fn_config_makefile dlls/amstream/tests enable_tests
20929 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
20930 wine_fn_config_makefile dlls/apphelp enable_apphelp
20931 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20932 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20933 wine_fn_config_makefile dlls/atl enable_atl
20934 wine_fn_config_makefile dlls/atl/tests enable_tests
20935 wine_fn_config_makefile dlls/atl100 enable_atl100
20936 wine_fn_config_makefile dlls/atl100/tests enable_tests
20937 wine_fn_config_makefile dlls/atl110 enable_atl110
20938 wine_fn_config_makefile dlls/atl110/tests enable_tests
20939 wine_fn_config_makefile dlls/atl80 enable_atl80
20940 wine_fn_config_makefile dlls/atl80/tests enable_tests
20941 wine_fn_config_makefile dlls/atl90 enable_atl90
20942 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20943 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20944 wine_fn_config_makefile dlls/atmlib enable_atmlib
20945 wine_fn_config_makefile dlls/authz enable_authz
20946 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20947 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20948 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20949 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20950 wine_fn_config_makefile dlls/avrt enable_avrt
20951 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20952 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20953 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20954 wine_fn_config_makefile dlls/browseui enable_browseui
20955 wine_fn_config_makefile dlls/browseui/tests enable_tests
20956 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20957 wine_fn_config_makefile dlls/cabinet enable_cabinet
20958 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20959 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20960 wine_fn_config_makefile dlls/cards enable_cards
20961 wine_fn_config_makefile dlls/cdosys enable_cdosys
20962 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20963 wine_fn_config_makefile dlls/clusapi enable_clusapi
20964 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
20965 wine_fn_config_makefile dlls/combase enable_combase
20966 wine_fn_config_makefile dlls/combase/tests enable_tests
20967 wine_fn_config_makefile dlls/comcat enable_comcat
20968 wine_fn_config_makefile dlls/comcat/tests enable_tests
20969 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20970 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20971 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20972 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20973 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20974 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20975 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20976 wine_fn_config_makefile dlls/compstui enable_compstui
20977 wine_fn_config_makefile dlls/compstui/tests enable_tests
20978 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20979 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20980 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20981 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20982 wine_fn_config_makefile dlls/connect enable_connect
20983 wine_fn_config_makefile dlls/credui enable_credui
20984 wine_fn_config_makefile dlls/credui/tests enable_tests
20985 wine_fn_config_makefile dlls/crtdll enable_crtdll
20986 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20987 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20988 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20989 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20990 wine_fn_config_makefile dlls/cryptext enable_cryptext
20991 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20992 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20993 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
20994 wine_fn_config_makefile dlls/cryptowinrt/tests enable_tests
20995 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20996 wine_fn_config_makefile dlls/cryptui enable_cryptui
20997 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20998 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20999 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21000 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21001 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21002 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21003 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21004 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21005 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21006 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21007 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21008 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21009 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21010 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21011 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21012 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21013 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21014 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21015 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21016 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21017 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21018 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21019 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21020 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21021 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21022 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21023 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21024 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21025 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21026 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21027 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21028 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21029 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21030 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21031 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21032 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21033 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21034 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21035 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21036 wine_fn_config_makefile dlls/d3dim enable_d3dim
21037 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21038 wine_fn_config_makefile dlls/d3drm enable_d3drm
21039 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21040 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21041 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21042 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21043 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21044 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21045 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21046 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21047 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21048 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21049 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21050 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21051 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21052 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21053 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21054 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21055 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21056 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21057 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21058 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21059 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21060 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21061 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21062 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21063 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21064 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21065 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21066 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21067 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21068 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21069 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21070 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21071 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21072 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21073 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21074 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21075 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21076 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21077 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21078 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21079 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21080 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21081 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21082 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21083 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21084 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21085 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21086 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21087 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21088 wine_fn_config_makefile dlls/davclnt enable_davclnt
21089 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21090 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21091 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21092 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21093 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21094 wine_fn_config_makefile dlls/dcomp enable_dcomp
21095 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21096 wine_fn_config_makefile dlls/ddraw enable_ddraw
21097 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21098 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21099 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21100 wine_fn_config_makefile dlls/devenum enable_devenum
21101 wine_fn_config_makefile dlls/devenum/tests enable_tests
21102 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21103 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21104 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21105 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21106 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21107 wine_fn_config_makefile dlls/difxapi enable_difxapi
21108 wine_fn_config_makefile dlls/dinput enable_dinput
21109 wine_fn_config_makefile dlls/dinput/tests enable_tests
21110 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21111 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21112 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21113 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21114 wine_fn_config_makefile dlls/dispex enable_dispex
21115 wine_fn_config_makefile dlls/dispex/tests enable_tests
21116 wine_fn_config_makefile dlls/display.drv16 enable_win16
21117 wine_fn_config_makefile dlls/dmband enable_dmband
21118 wine_fn_config_makefile dlls/dmband/tests enable_tests
21119 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21120 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21121 wine_fn_config_makefile dlls/dmime enable_dmime
21122 wine_fn_config_makefile dlls/dmime/tests enable_tests
21123 wine_fn_config_makefile dlls/dmloader enable_dmloader
21124 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21125 wine_fn_config_makefile dlls/dmscript enable_dmscript
21126 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21127 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21128 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21129 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21130 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21131 wine_fn_config_makefile dlls/dmusic enable_dmusic
21132 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21133 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21134 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21135 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21136 wine_fn_config_makefile dlls/dplay enable_dplay
21137 wine_fn_config_makefile dlls/dplayx enable_dplayx
21138 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21139 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21140 wine_fn_config_makefile dlls/dpnet enable_dpnet
21141 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21142 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21143 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21144 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21145 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21146 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21147 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21148 wine_fn_config_makefile dlls/drmclien enable_drmclien
21149 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21150 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21151 wine_fn_config_makefile dlls/dsound enable_dsound
21152 wine_fn_config_makefile dlls/dsound/tests enable_tests
21153 wine_fn_config_makefile dlls/dsquery enable_dsquery
21154 wine_fn_config_makefile dlls/dssenh enable_dssenh
21155 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21156 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21157 wine_fn_config_makefile dlls/dswave enable_dswave
21158 wine_fn_config_makefile dlls/dswave/tests enable_tests
21159 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21160 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21161 wine_fn_config_makefile dlls/dwrite enable_dwrite
21162 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21163 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21164 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21165 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21166 wine_fn_config_makefile dlls/dxgi enable_dxgi
21167 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21168 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21169 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21170 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21171 wine_fn_config_makefile dlls/esent enable_esent
21172 wine_fn_config_makefile dlls/evr enable_evr
21173 wine_fn_config_makefile dlls/evr/tests enable_tests
21174 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21175 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21176 wine_fn_config_makefile dlls/faultrep enable_faultrep
21177 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21178 wine_fn_config_makefile dlls/feclient enable_feclient
21179 wine_fn_config_makefile dlls/fltlib enable_fltlib
21180 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21181 wine_fn_config_makefile dlls/fntcache enable_fntcache
21182 wine_fn_config_makefile dlls/fontsub enable_fontsub
21183 wine_fn_config_makefile dlls/fusion enable_fusion
21184 wine_fn_config_makefile dlls/fusion/tests enable_tests
21185 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21186 wine_fn_config_makefile dlls/gameux enable_gameux
21187 wine_fn_config_makefile dlls/gameux/tests enable_tests
21188 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21189 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21190 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21191 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21192 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21193 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21194 wine_fn_config_makefile dlls/glu32 enable_glu32
21195 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21196 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21197 wine_fn_config_makefile dlls/hal enable_hal
21198 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21199 wine_fn_config_makefile dlls/hid enable_hid
21200 wine_fn_config_makefile dlls/hid/tests enable_tests
21201 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21202 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21203 wine_fn_config_makefile dlls/hlink enable_hlink
21204 wine_fn_config_makefile dlls/hlink/tests enable_tests
21205 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21206 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21207 wine_fn_config_makefile dlls/http.sys enable_http_sys
21208 wine_fn_config_makefile dlls/httpapi enable_httpapi
21209 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21210 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21211 wine_fn_config_makefile dlls/iccvid enable_iccvid
21212 wine_fn_config_makefile dlls/icmp enable_icmp
21213 wine_fn_config_makefile dlls/ieframe enable_ieframe
21214 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21215 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21216 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21217 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21218 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21219 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21220 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21221 wine_fn_config_makefile dlls/imm32 enable_imm32
21222 wine_fn_config_makefile dlls/imm32/tests enable_tests
21223 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21224 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21225 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21226 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21227 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21228 wine_fn_config_makefile dlls/infosoft enable_infosoft
21229 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21230 wine_fn_config_makefile dlls/initpki enable_initpki
21231 wine_fn_config_makefile dlls/inkobj enable_inkobj
21232 wine_fn_config_makefile dlls/inseng enable_inseng
21233 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21234 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21235 wine_fn_config_makefile dlls/iprop enable_iprop
21236 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21237 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21238 wine_fn_config_makefile dlls/itircl enable_itircl
21239 wine_fn_config_makefile dlls/itss enable_itss
21240 wine_fn_config_makefile dlls/itss/tests enable_tests
21241 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21242 wine_fn_config_makefile dlls/jscript enable_jscript
21243 wine_fn_config_makefile dlls/jscript/tests enable_tests
21244 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21245 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21246 wine_fn_config_makefile dlls/kerberos enable_kerberos
21247 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21248 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21249 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21250 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21251 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21252 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21253 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21254 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21255 wine_fn_config_makefile dlls/ksuser enable_ksuser
21256 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21257 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21258 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21259 wine_fn_config_makefile dlls/loadperf enable_loadperf
21260 wine_fn_config_makefile dlls/localspl enable_localspl
21261 wine_fn_config_makefile dlls/localspl/tests enable_tests
21262 wine_fn_config_makefile dlls/localui enable_localui
21263 wine_fn_config_makefile dlls/localui/tests enable_tests
21264 wine_fn_config_makefile dlls/lz32 enable_lz32
21265 wine_fn_config_makefile dlls/lz32/tests enable_tests
21266 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21267 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21268 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21269 wine_fn_config_makefile dlls/mapistub enable_mapistub
21270 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21271 wine_fn_config_makefile dlls/mcicda enable_mcicda
21272 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21273 wine_fn_config_makefile dlls/mciseq enable_mciseq
21274 wine_fn_config_makefile dlls/mciwave enable_mciwave
21275 wine_fn_config_makefile dlls/mf enable_mf
21276 wine_fn_config_makefile dlls/mf/tests enable_tests
21277 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21278 wine_fn_config_makefile dlls/mferror enable_mferror
21279 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21280 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21281 wine_fn_config_makefile dlls/mfplat enable_mfplat
21282 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21283 wine_fn_config_makefile dlls/mfplay enable_mfplay
21284 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21285 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21286 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21287 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21288 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21289 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21290 wine_fn_config_makefile dlls/midimap enable_midimap
21291 wine_fn_config_makefile dlls/mlang enable_mlang
21292 wine_fn_config_makefile dlls/mlang/tests enable_tests
21293 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21294 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21295 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21296 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21297 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21298 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21299 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21300 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21301 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21302 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21303 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21304 wine_fn_config_makefile dlls/mpr enable_mpr
21305 wine_fn_config_makefile dlls/mpr/tests enable_tests
21306 wine_fn_config_makefile dlls/mprapi enable_mprapi
21307 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21308 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21309 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21310 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21311 wine_fn_config_makefile dlls/msado15 enable_msado15
21312 wine_fn_config_makefile dlls/msado15/tests enable_tests
21313 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21314 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21315 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21316 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21317 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21318 wine_fn_config_makefile dlls/mscms enable_mscms
21319 wine_fn_config_makefile dlls/mscms/tests enable_tests
21320 wine_fn_config_makefile dlls/mscoree enable_mscoree
21321 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21322 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21323 wine_fn_config_makefile dlls/msctf enable_msctf
21324 wine_fn_config_makefile dlls/msctf/tests enable_tests
21325 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21326 wine_fn_config_makefile dlls/msctfp enable_msctfp
21327 wine_fn_config_makefile dlls/msdaps enable_msdaps
21328 wine_fn_config_makefile dlls/msdasql enable_msdasql
21329 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21330 wine_fn_config_makefile dlls/msdelta enable_msdelta
21331 wine_fn_config_makefile dlls/msdmo enable_msdmo
21332 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21333 wine_fn_config_makefile dlls/msdrm enable_msdrm
21334 wine_fn_config_makefile dlls/msftedit enable_msftedit
21335 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21336 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21337 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21338 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21339 wine_fn_config_makefile dlls/mshtml enable_mshtml
21340 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21341 wine_fn_config_makefile dlls/msi enable_msi
21342 wine_fn_config_makefile dlls/msi/tests enable_tests
21343 wine_fn_config_makefile dlls/msident enable_msident
21344 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21345 wine_fn_config_makefile dlls/msimsg enable_msimsg
21346 wine_fn_config_makefile dlls/msimtf enable_msimtf
21347 wine_fn_config_makefile dlls/msisip enable_msisip
21348 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21349 wine_fn_config_makefile dlls/msls31 enable_msls31
21350 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21351 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21352 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21353 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21354 wine_fn_config_makefile dlls/msports enable_msports
21355 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21356 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21357 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21358 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21359 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21360 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21361 wine_fn_config_makefile dlls/mstask enable_mstask
21362 wine_fn_config_makefile dlls/mstask/tests enable_tests
21363 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21364 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21365 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21366 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21367 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21368 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21369 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21370 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21371 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21372 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21373 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21374 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21375 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21376 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21377 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21378 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21379 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21380 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21381 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21382 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21383 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21384 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21385 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21386 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21387 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21388 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21389 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21390 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21391 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21392 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21393 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21394 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21395 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21396 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21397 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21398 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21399 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21400 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21401 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21402 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21403 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21404 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21405 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21406 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21407 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21408 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21409 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21410 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21411 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21412 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21413 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21414 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21415 wine_fn_config_makefile dlls/mswsock enable_mswsock
21416 wine_fn_config_makefile dlls/msxml enable_msxml
21417 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21418 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21419 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21420 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21421 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21422 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21423 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21424 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21425 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21426 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21427 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21428 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21429 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21430 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21431 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21432 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21433 wine_fn_config_makefile dlls/netprofm enable_netprofm
21434 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21435 wine_fn_config_makefile dlls/netutils enable_netutils
21436 wine_fn_config_makefile dlls/newdev enable_newdev
21437 wine_fn_config_makefile dlls/ninput enable_ninput
21438 wine_fn_config_makefile dlls/ninput/tests enable_tests
21439 wine_fn_config_makefile dlls/normaliz enable_normaliz
21440 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21441 wine_fn_config_makefile dlls/npptools enable_npptools
21442 wine_fn_config_makefile dlls/nsi enable_nsi
21443 wine_fn_config_makefile dlls/nsi/tests enable_tests
21444 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21445 wine_fn_config_makefile dlls/ntdll enable_ntdll
21446 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21447 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21448 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21449 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21450 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21451 wine_fn_config_makefile dlls/ntprint enable_ntprint
21452 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21453 wine_fn_config_makefile dlls/objsel enable_objsel
21454 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21455 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21456 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21457 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21458 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21459 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21460 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21461 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21462 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21463 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21464 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21465 wine_fn_config_makefile dlls/ole32 enable_ole32
21466 wine_fn_config_makefile dlls/ole32/tests enable_tests
21467 wine_fn_config_makefile dlls/oleacc enable_oleacc
21468 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21469 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21470 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21471 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21472 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21473 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21474 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21475 wine_fn_config_makefile dlls/oledlg enable_oledlg
21476 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21477 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21478 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21479 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21480 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21481 wine_fn_config_makefile dlls/opcservices enable_opcservices
21482 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21483 wine_fn_config_makefile dlls/opencl enable_opencl
21484 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21485 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21486 wine_fn_config_makefile dlls/packager enable_packager
21487 wine_fn_config_makefile dlls/packager/tests enable_tests
21488 wine_fn_config_makefile dlls/pdh enable_pdh
21489 wine_fn_config_makefile dlls/pdh/tests enable_tests
21490 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21491 wine_fn_config_makefile dlls/pidgen enable_pidgen
21492 wine_fn_config_makefile dlls/powrprof enable_powrprof
21493 wine_fn_config_makefile dlls/printui enable_printui
21494 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21495 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21496 wine_fn_config_makefile dlls/propsys enable_propsys
21497 wine_fn_config_makefile dlls/propsys/tests enable_tests
21498 wine_fn_config_makefile dlls/psapi enable_psapi
21499 wine_fn_config_makefile dlls/psapi/tests enable_tests
21500 wine_fn_config_makefile dlls/pstorec enable_pstorec
21501 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21502 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21503 wine_fn_config_makefile dlls/qasf enable_qasf
21504 wine_fn_config_makefile dlls/qasf/tests enable_tests
21505 wine_fn_config_makefile dlls/qcap enable_qcap
21506 wine_fn_config_makefile dlls/qcap/tests enable_tests
21507 wine_fn_config_makefile dlls/qdvd enable_qdvd
21508 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21509 wine_fn_config_makefile dlls/qedit enable_qedit
21510 wine_fn_config_makefile dlls/qedit/tests enable_tests
21511 wine_fn_config_makefile dlls/qmgr enable_qmgr
21512 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21513 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21514 wine_fn_config_makefile dlls/quartz enable_quartz
21515 wine_fn_config_makefile dlls/quartz/tests enable_tests
21516 wine_fn_config_makefile dlls/query enable_query
21517 wine_fn_config_makefile dlls/qwave enable_qwave
21518 wine_fn_config_makefile dlls/qwave/tests enable_tests
21519 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21520 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21521 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21522 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21523 wine_fn_config_makefile dlls/regapi enable_regapi
21524 wine_fn_config_makefile dlls/resutils enable_resutils
21525 wine_fn_config_makefile dlls/riched20 enable_riched20
21526 wine_fn_config_makefile dlls/riched20/tests enable_tests
21527 wine_fn_config_makefile dlls/riched32 enable_riched32
21528 wine_fn_config_makefile dlls/riched32/tests enable_tests
21529 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21530 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21531 wine_fn_config_makefile dlls/rsabase enable_rsabase
21532 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21533 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21534 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21535 wine_fn_config_makefile dlls/rtutils enable_rtutils
21536 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21537 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21538 wine_fn_config_makefile dlls/samlib enable_samlib
21539 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21540 wine_fn_config_makefile dlls/sapi enable_sapi
21541 wine_fn_config_makefile dlls/sapi/tests enable_tests
21542 wine_fn_config_makefile dlls/sas enable_sas
21543 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21544 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21545 wine_fn_config_makefile dlls/sccbase enable_sccbase
21546 wine_fn_config_makefile dlls/schannel enable_schannel
21547 wine_fn_config_makefile dlls/schannel/tests enable_tests
21548 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21549 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21550 wine_fn_config_makefile dlls/scrobj enable_scrobj
21551 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21552 wine_fn_config_makefile dlls/scrrun enable_scrrun
21553 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21554 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21555 wine_fn_config_makefile dlls/sechost enable_sechost
21556 wine_fn_config_makefile dlls/secur32 enable_secur32
21557 wine_fn_config_makefile dlls/secur32/tests enable_tests
21558 wine_fn_config_makefile dlls/security enable_security
21559 wine_fn_config_makefile dlls/sensapi enable_sensapi
21560 wine_fn_config_makefile dlls/serialui enable_serialui
21561 wine_fn_config_makefile dlls/serialui/tests enable_tests
21562 wine_fn_config_makefile dlls/setupapi enable_setupapi
21563 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21564 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21565 wine_fn_config_makefile dlls/sfc enable_sfc
21566 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21567 wine_fn_config_makefile dlls/shcore enable_shcore
21568 wine_fn_config_makefile dlls/shcore/tests enable_tests
21569 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21570 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21571 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21572 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21573 wine_fn_config_makefile dlls/shell32 enable_shell32
21574 wine_fn_config_makefile dlls/shell32/tests enable_tests
21575 wine_fn_config_makefile dlls/shfolder enable_shfolder
21576 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21577 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21578 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21579 wine_fn_config_makefile dlls/slc enable_slc
21580 wine_fn_config_makefile dlls/slc/tests enable_tests
21581 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21582 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21583 wine_fn_config_makefile dlls/softpub enable_softpub
21584 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21585 wine_fn_config_makefile dlls/spoolss enable_spoolss
21586 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21587 wine_fn_config_makefile dlls/sppc enable_sppc
21588 wine_fn_config_makefile dlls/srclient enable_srclient
21589 wine_fn_config_makefile dlls/srvcli enable_srvcli
21590 wine_fn_config_makefile dlls/sspicli enable_sspicli
21591 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21592 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21593 wine_fn_config_makefile dlls/sti enable_sti
21594 wine_fn_config_makefile dlls/sti/tests enable_tests
21595 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21596 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21597 wine_fn_config_makefile dlls/strmdll enable_strmdll
21598 wine_fn_config_makefile dlls/svrapi enable_svrapi
21599 wine_fn_config_makefile dlls/sxs enable_sxs
21600 wine_fn_config_makefile dlls/sxs/tests enable_tests
21601 wine_fn_config_makefile dlls/system.drv16 enable_win16
21602 wine_fn_config_makefile dlls/t2embed enable_t2embed
21603 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21604 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21605 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21606 wine_fn_config_makefile dlls/taskschd enable_taskschd
21607 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21608 wine_fn_config_makefile dlls/tbs enable_tbs
21609 wine_fn_config_makefile dlls/tdh enable_tdh
21610 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21611 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21612 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21613 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21614 wine_fn_config_makefile dlls/traffic enable_traffic
21615 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21616 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21617 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21618 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21619 wine_fn_config_makefile dlls/tzres enable_tzres
21620 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21621 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21622 wine_fn_config_makefile dlls/uianimation enable_uianimation
21623 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21624 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21625 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21626 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21627 wine_fn_config_makefile dlls/unicows enable_unicows
21628 wine_fn_config_makefile dlls/updspapi enable_updspapi
21629 wine_fn_config_makefile dlls/url enable_url
21630 wine_fn_config_makefile dlls/urlmon enable_urlmon
21631 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21632 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21633 wine_fn_config_makefile dlls/user.exe16 enable_win16
21634 wine_fn_config_makefile dlls/user32 enable_user32
21635 wine_fn_config_makefile dlls/user32/tests enable_tests
21636 wine_fn_config_makefile dlls/userenv enable_userenv
21637 wine_fn_config_makefile dlls/userenv/tests enable_tests
21638 wine_fn_config_makefile dlls/usp10 enable_usp10
21639 wine_fn_config_makefile dlls/usp10/tests enable_tests
21640 wine_fn_config_makefile dlls/utildll enable_utildll
21641 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21642 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21643 wine_fn_config_makefile dlls/vbscript enable_vbscript
21644 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21645 wine_fn_config_makefile dlls/vcomp enable_vcomp
21646 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21647 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21648 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21649 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21650 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21651 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21652 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21653 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21654 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21655 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21656 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21657 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21658 wine_fn_config_makefile dlls/version enable_version
21659 wine_fn_config_makefile dlls/version/tests enable_tests
21660 wine_fn_config_makefile dlls/vga enable_vga
21661 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21662 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21663 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21664 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21665 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21666 wine_fn_config_makefile dlls/vssapi enable_vssapi
21667 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21668 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21669 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21670 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21671 wine_fn_config_makefile dlls/w32skrnl enable_win16
21672 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21673 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21674 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21675 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21676 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21677 wine_fn_config_makefile dlls/wdscore enable_wdscore
21678 wine_fn_config_makefile dlls/webservices enable_webservices
21679 wine_fn_config_makefile dlls/webservices/tests enable_tests
21680 wine_fn_config_makefile dlls/websocket enable_websocket
21681 wine_fn_config_makefile dlls/wer enable_wer
21682 wine_fn_config_makefile dlls/wer/tests enable_tests
21683 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21684 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21685 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21686 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21687 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21688 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21689 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21690 wine_fn_config_makefile dlls/win32u enable_win32u
21691 wine_fn_config_makefile dlls/win32u/tests enable_tests
21692 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21693 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21694 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21695 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21696 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21697 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21698 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21699 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21700 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21701 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21702 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21703 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21704 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21705 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21706 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21707 wine_fn_config_makefile dlls/windows.media enable_windows_media
21708 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21709 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21710 wine_fn_config_makefile dlls/windows.perception.stub enable_windows_perception_stub
21711 wine_fn_config_makefile dlls/windows.perception.stub/tests enable_tests
21712 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21713 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21714 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21715 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21716 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21717 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21718 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21719 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21720 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21721 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21722 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21723 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21724 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21725 wine_fn_config_makefile dlls/wined3d enable_wined3d
21726 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21727 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21728 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21729 wine_fn_config_makefile dlls/winemapi enable_winemapi
21730 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21731 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21732 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21733 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21734 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21735 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21736 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21737 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21738 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21739 wine_fn_config_makefile dlls/wing32 enable_wing32
21740 wine_fn_config_makefile dlls/winhttp enable_winhttp
21741 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21742 wine_fn_config_makefile dlls/wininet enable_wininet
21743 wine_fn_config_makefile dlls/wininet/tests enable_tests
21744 wine_fn_config_makefile dlls/winmm enable_winmm
21745 wine_fn_config_makefile dlls/winmm/tests enable_tests
21746 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21747 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21748 wine_fn_config_makefile dlls/winprint enable_winprint
21749 wine_fn_config_makefile dlls/winscard enable_winscard
21750 wine_fn_config_makefile dlls/winscard/tests enable_tests
21751 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21752 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21753 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21754 wine_fn_config_makefile dlls/winsta enable_winsta
21755 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21756 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21757 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21758 wine_fn_config_makefile dlls/wintrust enable_wintrust
21759 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21760 wine_fn_config_makefile dlls/wintypes enable_wintypes
21761 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21762 wine_fn_config_makefile dlls/winusb enable_winusb
21763 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21764 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21765 wine_fn_config_makefile dlls/wlanui enable_wlanui
21766 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21767 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21768 wine_fn_config_makefile dlls/wmasf enable_wmasf
21769 wine_fn_config_makefile dlls/wmi enable_wmi
21770 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21771 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21772 wine_fn_config_makefile dlls/wmp enable_wmp
21773 wine_fn_config_makefile dlls/wmp/tests enable_tests
21774 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21775 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21776 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21777 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21778 wine_fn_config_makefile dlls/wofutil enable_wofutil
21779 wine_fn_config_makefile dlls/wow32 enable_win16
21780 wine_fn_config_makefile dlls/wow64 enable_wow64
21781 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21782 wine_fn_config_makefile dlls/wow64win enable_wow64win
21783 wine_fn_config_makefile dlls/wpc enable_wpc
21784 wine_fn_config_makefile dlls/wpc/tests enable_tests
21785 wine_fn_config_makefile dlls/wpcap enable_wpcap
21786 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21787 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21788 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21789 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21790 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21791 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21792 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21793 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21794 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21795 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21796 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21797 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21798 wine_fn_config_makefile dlls/wuapi enable_wuapi
21799 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21800 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21801 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21802 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21803 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21804 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21805 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21806 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21807 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21808 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21809 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21810 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21811 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21812 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21813 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21814 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21815 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21816 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21817 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21818 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21819 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21820 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21821 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21822 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21823 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21824 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21825 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21826 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21827 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21828 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21829 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21830 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21831 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21832 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21833 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21834 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21835 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21836 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21837 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21838 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21839 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21840 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21841 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21842 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21843 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21844 wine_fn_config_makefile dlls/xmllite enable_xmllite
21845 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21846 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21847 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21848 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21849 wine_fn_config_makefile fonts enable_fonts
21850 wine_fn_config_makefile include enable_include
21851 wine_fn_config_makefile libs/adsiid enable_adsiid
21852 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21853 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21854 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21855 wine_fn_config_makefile libs/dxguid enable_dxguid
21856 wine_fn_config_makefile libs/faudio enable_faudio
21857 wine_fn_config_makefile libs/gsm enable_gsm
21858 wine_fn_config_makefile libs/jpeg enable_jpeg
21859 wine_fn_config_makefile libs/jxr enable_jxr
21860 wine_fn_config_makefile libs/lcms2 enable_lcms2
21861 wine_fn_config_makefile libs/ldap enable_ldap
21862 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21863 wine_fn_config_makefile libs/mpg123 enable_mpg123
21864 wine_fn_config_makefile libs/png enable_png
21865 wine_fn_config_makefile libs/strmbase enable_strmbase
21866 wine_fn_config_makefile libs/strmiids enable_strmiids
21867 wine_fn_config_makefile libs/tiff enable_tiff
21868 wine_fn_config_makefile libs/uuid enable_uuid
21869 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21870 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21871 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21872 wine_fn_config_makefile libs/xml2 enable_xml2
21873 wine_fn_config_makefile libs/xslt enable_xslt
21874 wine_fn_config_makefile libs/zlib enable_zlib
21875 wine_fn_config_makefile libs/zydis enable_zydis
21876 wine_fn_config_makefile loader enable_loader
21877 wine_fn_config_makefile nls enable_nls
21878 wine_fn_config_makefile po enable_po
21879 wine_fn_config_makefile programs/arp enable_arp
21880 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21881 wine_fn_config_makefile programs/attrib enable_attrib
21882 wine_fn_config_makefile programs/cabarc enable_cabarc
21883 wine_fn_config_makefile programs/cacls enable_cacls
21884 wine_fn_config_makefile programs/certutil enable_certutil
21885 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21886 wine_fn_config_makefile programs/clock enable_clock
21887 wine_fn_config_makefile programs/cmd enable_cmd
21888 wine_fn_config_makefile programs/cmd/tests enable_tests
21889 wine_fn_config_makefile programs/conhost enable_conhost
21890 wine_fn_config_makefile programs/conhost/tests enable_tests
21891 wine_fn_config_makefile programs/control enable_control
21892 wine_fn_config_makefile programs/cscript enable_cscript
21893 wine_fn_config_makefile programs/dism enable_dism
21894 wine_fn_config_makefile programs/dllhost enable_dllhost
21895 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21896 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21897 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21898 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21899 wine_fn_config_makefile programs/eject enable_eject
21900 wine_fn_config_makefile programs/expand enable_expand
21901 wine_fn_config_makefile programs/explorer enable_explorer
21902 wine_fn_config_makefile programs/explorer/tests enable_tests
21903 wine_fn_config_makefile programs/extrac32 enable_extrac32
21904 wine_fn_config_makefile programs/fc enable_fc
21905 wine_fn_config_makefile programs/find enable_find
21906 wine_fn_config_makefile programs/find/tests enable_tests
21907 wine_fn_config_makefile programs/findstr enable_findstr
21908 wine_fn_config_makefile programs/fsutil enable_fsutil
21909 wine_fn_config_makefile programs/fsutil/tests enable_tests
21910 wine_fn_config_makefile programs/hh enable_hh
21911 wine_fn_config_makefile programs/hostname enable_hostname
21912 wine_fn_config_makefile programs/icacls enable_icacls
21913 wine_fn_config_makefile programs/icinfo enable_icinfo
21914 wine_fn_config_makefile programs/iexplore enable_iexplore
21915 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21916 wine_fn_config_makefile programs/lodctr enable_lodctr
21917 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21918 wine_fn_config_makefile programs/mshta enable_mshta
21919 wine_fn_config_makefile programs/msidb enable_msidb
21920 wine_fn_config_makefile programs/msiexec enable_msiexec
21921 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21922 wine_fn_config_makefile programs/net enable_net
21923 wine_fn_config_makefile programs/netsh enable_netsh
21924 wine_fn_config_makefile programs/netstat enable_netstat
21925 wine_fn_config_makefile programs/ngen enable_ngen
21926 wine_fn_config_makefile programs/notepad enable_notepad
21927 wine_fn_config_makefile programs/oleview enable_oleview
21928 wine_fn_config_makefile programs/ping enable_ping
21929 wine_fn_config_makefile programs/plugplay enable_plugplay
21930 wine_fn_config_makefile programs/powershell enable_powershell
21931 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21932 wine_fn_config_makefile programs/progman enable_progman
21933 wine_fn_config_makefile programs/reg enable_reg
21934 wine_fn_config_makefile programs/reg/tests enable_tests
21935 wine_fn_config_makefile programs/regasm enable_regasm
21936 wine_fn_config_makefile programs/regedit enable_regedit
21937 wine_fn_config_makefile programs/regedit/tests enable_tests
21938 wine_fn_config_makefile programs/regini enable_regini
21939 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21940 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21941 wine_fn_config_makefile programs/robocopy enable_robocopy
21942 wine_fn_config_makefile programs/rpcss enable_rpcss
21943 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21944 wine_fn_config_makefile programs/rundll32 enable_rundll32
21945 wine_fn_config_makefile programs/sc enable_sc
21946 wine_fn_config_makefile programs/sc/tests enable_tests
21947 wine_fn_config_makefile programs/schtasks enable_schtasks
21948 wine_fn_config_makefile programs/schtasks/tests enable_tests
21949 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21950 wine_fn_config_makefile programs/secedit enable_secedit
21951 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21952 wine_fn_config_makefile programs/services enable_services
21953 wine_fn_config_makefile programs/services/tests enable_tests
21954 wine_fn_config_makefile programs/setx enable_setx
21955 wine_fn_config_makefile programs/shutdown enable_shutdown
21956 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21957 wine_fn_config_makefile programs/start enable_start
21958 wine_fn_config_makefile programs/subst enable_subst
21959 wine_fn_config_makefile programs/svchost enable_svchost
21960 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21961 wine_fn_config_makefile programs/taskkill enable_taskkill
21962 wine_fn_config_makefile programs/tasklist enable_tasklist
21963 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21964 wine_fn_config_makefile programs/termsv enable_termsv
21965 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21966 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21967 wine_fn_config_makefile programs/view enable_view
21968 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21969 wine_fn_config_makefile programs/where enable_where
21970 wine_fn_config_makefile programs/whoami enable_whoami
21971 wine_fn_config_makefile programs/wineboot enable_wineboot
21972 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21973 wine_fn_config_makefile programs/winecfg enable_winecfg
21974 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21975 wine_fn_config_makefile programs/winedbg enable_winedbg
21976 wine_fn_config_makefile programs/winedevice enable_winedevice
21977 wine_fn_config_makefile programs/winefile enable_winefile
21978 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21979 wine_fn_config_makefile programs/winemine enable_winemine
21980 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21981 wine_fn_config_makefile programs/winepath enable_winepath
21982 wine_fn_config_makefile programs/winetest enable_winetest
21983 wine_fn_config_makefile programs/winevdm enable_win16
21984 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21985 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21986 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21987 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21988 wine_fn_config_makefile programs/winver enable_winver
21989 wine_fn_config_makefile programs/wmic enable_wmic
21990 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21991 wine_fn_config_makefile programs/wordpad enable_wordpad
21992 wine_fn_config_makefile programs/write enable_write
21993 wine_fn_config_makefile programs/wscript enable_wscript
21994 wine_fn_config_makefile programs/wscript/tests enable_tests
21995 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21996 wine_fn_config_makefile programs/wusa enable_wusa
21997 wine_fn_config_makefile programs/xcopy enable_xcopy
21998 wine_fn_config_makefile programs/xcopy/tests enable_tests
21999 wine_fn_config_makefile server enable_server
22000 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22001 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22002 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22003 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22004 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22005 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22006 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22007 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22008 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22011 as_fn_append CONFIGURE_TARGETS " TAGS"
22012 as_fn_append CONFIGURE_TARGETS " tags"
22013 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22014 as_fn_append CONFIGURE_TARGETS " config.log"
22015 as_fn_append CONFIGURE_TARGETS " config.status"
22016 as_fn_append CONFIGURE_TARGETS " include/config.h"
22017 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22018 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22020 if test "x$enable_tools" != xno
22021 then
22022 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22023 ac_config_commands="$ac_config_commands tools/makedep"
22027 ac_config_commands="$ac_config_commands Makefile"
22031 SHELL=/bin/sh
22034 as_fn_append wine_rules "
22035 all: wine
22036 @echo \"Wine build complete.\"
22037 .INIT: Makefile
22038 .MAKEFILEDEPS:
22039 all: Makefile
22040 Makefile: config.status \$(MAKEDEP)
22041 @./config.status Makefile
22042 depend: \$(MAKEDEP)
22043 \$(MAKEDEP)$makedep_flags"
22046 as_fn_append wine_rules "
22047 config.status: ${wine_srcdir}configure
22048 @./config.status --recheck
22049 include/config.h: include/stamp-h
22050 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22051 @./config.status include/config.h include/stamp-h"
22053 if test "x$enable_maintainer_mode" = xyes
22054 then
22055 as_fn_append wine_rules "
22056 configure: configure.ac aclocal.m4
22057 autoconf --warnings=all
22058 include/config.h.in: include/stamp-h.in
22059 include/stamp-h.in: configure.ac aclocal.m4
22060 autoheader --warnings=all
22061 @echo timestamp > \$@"
22064 if test "x$enable_tools" != xno
22065 then
22066 as_fn_append wine_rules "
22067 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22068 @./config.status tools/makedep
22069 Makefile: tools/makedep$ac_exeext"
22070 else
22071 as_fn_append wine_rules "
22072 \$(MAKEDEP):
22073 @echo \"You need to run make in $toolsdir first\" && false"
22077 if test -n "$with_wine64"
22078 then
22079 case "$with_wine64" in
22080 /*) reldir="" ;;
22081 *) reldir="../" ;;
22082 esac
22083 rm -f fonts server 2>/dev/null
22084 as_fn_append wine_rules "
22085 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22086 loader/wine64 loader/wine64-preloader:
22087 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22088 $with_wine64/loader/wine:
22089 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22090 $with_wine64/loader/wine-preloader:
22091 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22092 clean::
22093 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22094 else
22095 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22096 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22097 fonts \
22098 loader/wine.inf \
22099 nls \
22100 programs/msidb/msidb \
22101 programs/msiexec/msiexec \
22102 programs/notepad/notepad \
22103 programs/regedit/regedit \
22104 programs/regsvr32/regsvr32 \
22105 programs/wineboot/wineboot \
22106 programs/winecfg/winecfg \
22107 programs/wineconsole/wineconsole \
22108 programs/winedbg/winedbg \
22109 programs/winefile/winefile \
22110 programs/winemine/winemine \
22111 programs/winepath/winepath \
22112 server/wineserver"
22114 case $host_os in
22115 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22116 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22117 esac
22121 as_fn_append wine_rules "
22122 distclean:: clean
22123 rm -rf autom4te.cache
22124 maintainer-clean::
22125 rm -f configure include/config.h.in"
22128 as_fn_append wine_rules "
22129 dlls/ntdll/unix/version.c: dummy
22130 @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)
22131 programs/winetest/build.rc: dummy
22132 @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)
22133 programs/winetest/build.nfo:
22134 @-\$(CC) -v 2>\$@
22135 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
22136 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22137 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22140 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22142 as_fn_append wine_rules "
22143 TAGS etags:
22144 rm -f TAGS
22145 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22146 tags ctags:
22147 rm -f tags
22148 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22149 dummy:
22150 .PHONY: depend dummy install-manpages"
22152 printf "%s\n" " done" >&6
22153 cat >confcache <<\_ACEOF
22154 # This file is a shell script that caches the results of configure
22155 # tests run on this system so they can be shared between configure
22156 # scripts and configure runs, see configure's option --config-cache.
22157 # It is not useful on other systems. If it contains results you don't
22158 # want to keep, you may remove or edit it.
22160 # config.status only pays attention to the cache file if you give it
22161 # the --recheck option to rerun configure.
22163 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22164 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22165 # following values.
22167 _ACEOF
22169 # The following way of writing the cache mishandles newlines in values,
22170 # but we know of no workaround that is simple, portable, and efficient.
22171 # So, we kill variables containing newlines.
22172 # Ultrix sh set writes to stderr and can't be redirected directly,
22173 # and sets the high bit in the cache file unless we assign to the vars.
22175 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22176 eval ac_val=\$$ac_var
22177 case $ac_val in #(
22178 *${as_nl}*)
22179 case $ac_var in #(
22180 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22181 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22182 esac
22183 case $ac_var in #(
22184 _ | IFS | as_nl) ;; #(
22185 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22186 *) { eval $ac_var=; unset $ac_var;} ;;
22187 esac ;;
22188 esac
22189 done
22191 (set) 2>&1 |
22192 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22193 *${as_nl}ac_space=\ *)
22194 # `set' does not quote correctly, so add quotes: double-quote
22195 # substitution turns \\\\ into \\, and sed turns \\ into \.
22196 sed -n \
22197 "s/'/'\\\\''/g;
22198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22199 ;; #(
22201 # `set' quotes correctly as required by POSIX, so do not add quotes.
22202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22204 esac |
22205 sort
22207 sed '
22208 /^ac_cv_env_/b end
22209 t clear
22210 :clear
22211 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22212 t end
22213 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22214 :end' >>confcache
22215 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22216 if test -w "$cache_file"; then
22217 if test "x$cache_file" != "x/dev/null"; then
22218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22219 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22220 if test ! -f "$cache_file" || test -h "$cache_file"; then
22221 cat confcache >"$cache_file"
22222 else
22223 case $cache_file in #(
22224 */* | ?:*)
22225 mv -f confcache "$cache_file"$$ &&
22226 mv -f "$cache_file"$$ "$cache_file" ;; #(
22228 mv -f confcache "$cache_file" ;;
22229 esac
22232 else
22233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22234 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22237 rm -f confcache
22239 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22240 # Let make expand exec_prefix.
22241 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22243 DEFS=-DHAVE_CONFIG_H
22245 ac_libobjs=
22246 ac_ltlibobjs=
22248 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22249 # 1. Remove the extension, and $U if already installed.
22250 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22251 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22252 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22253 # will be set to the directory where LIBOBJS objects are built.
22254 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22255 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22256 done
22257 LIBOBJS=$ac_libobjs
22259 LTLIBOBJS=$ac_ltlibobjs
22263 : "${CONFIG_STATUS=./config.status}"
22264 ac_write_fail=0
22265 ac_clean_files_save=$ac_clean_files
22266 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22268 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22269 as_write_fail=0
22270 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22271 #! $SHELL
22272 # Generated by $as_me.
22273 # Run this file to recreate the current configuration.
22274 # Compiler output produced by configure, useful for debugging
22275 # configure, is in config.log if it exists.
22277 debug=false
22278 ac_cs_recheck=false
22279 ac_cs_silent=false
22281 SHELL=\${CONFIG_SHELL-$SHELL}
22282 export SHELL
22283 _ASEOF
22284 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22285 ## -------------------- ##
22286 ## M4sh Initialization. ##
22287 ## -------------------- ##
22289 # Be more Bourne compatible
22290 DUALCASE=1; export DUALCASE # for MKS sh
22291 as_nop=:
22292 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22293 then :
22294 emulate sh
22295 NULLCMD=:
22296 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22297 # is contrary to our usage. Disable this feature.
22298 alias -g '${1+"$@"}'='"$@"'
22299 setopt NO_GLOB_SUBST
22300 else $as_nop
22301 case `(set -o) 2>/dev/null` in #(
22302 *posix*) :
22303 set -o posix ;; #(
22304 *) :
22306 esac
22311 # Reset variables that may have inherited troublesome values from
22312 # the environment.
22314 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22315 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22316 # side effect of setting IFS to empty, thus disabling word splitting.)
22317 # Quoting is to prevent editors from complaining about space-tab.
22318 as_nl='
22320 export as_nl
22321 IFS=" "" $as_nl"
22323 PS1='$ '
22324 PS2='> '
22325 PS4='+ '
22327 # Ensure predictable behavior from utilities with locale-dependent output.
22328 LC_ALL=C
22329 export LC_ALL
22330 LANGUAGE=C
22331 export LANGUAGE
22333 # We cannot yet rely on "unset" to work, but we need these variables
22334 # to be unset--not just set to an empty or harmless value--now, to
22335 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22336 # also avoids known problems related to "unset" and subshell syntax
22337 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22338 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22339 do eval test \${$as_var+y} \
22340 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22341 done
22343 # Ensure that fds 0, 1, and 2 are open.
22344 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22345 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22346 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22348 # The user is always right.
22349 if ${PATH_SEPARATOR+false} :; then
22350 PATH_SEPARATOR=:
22351 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22352 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22353 PATH_SEPARATOR=';'
22358 # Find who we are. Look in the path if we contain no directory separator.
22359 as_myself=
22360 case $0 in #((
22361 *[\\/]* ) as_myself=$0 ;;
22362 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22363 for as_dir in $PATH
22365 IFS=$as_save_IFS
22366 case $as_dir in #(((
22367 '') as_dir=./ ;;
22368 */) ;;
22369 *) as_dir=$as_dir/ ;;
22370 esac
22371 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22372 done
22373 IFS=$as_save_IFS
22376 esac
22377 # We did not find ourselves, most probably we were run as `sh COMMAND'
22378 # in which case we are not to be found in the path.
22379 if test "x$as_myself" = x; then
22380 as_myself=$0
22382 if test ! -f "$as_myself"; then
22383 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22384 exit 1
22389 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22390 # ----------------------------------------
22391 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22392 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22393 # script with STATUS, using 1 if that was 0.
22394 as_fn_error ()
22396 as_status=$1; test $as_status -eq 0 && as_status=1
22397 if test "$4"; then
22398 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22399 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22401 printf "%s\n" "$as_me: error: $2" >&2
22402 as_fn_exit $as_status
22403 } # as_fn_error
22407 # as_fn_set_status STATUS
22408 # -----------------------
22409 # Set $? to STATUS, without forking.
22410 as_fn_set_status ()
22412 return $1
22413 } # as_fn_set_status
22415 # as_fn_exit STATUS
22416 # -----------------
22417 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22418 as_fn_exit ()
22420 set +e
22421 as_fn_set_status $1
22422 exit $1
22423 } # as_fn_exit
22425 # as_fn_unset VAR
22426 # ---------------
22427 # Portably unset VAR.
22428 as_fn_unset ()
22430 { eval $1=; unset $1;}
22432 as_unset=as_fn_unset
22434 # as_fn_append VAR VALUE
22435 # ----------------------
22436 # Append the text in VALUE to the end of the definition contained in VAR. Take
22437 # advantage of any shell optimizations that allow amortized linear growth over
22438 # repeated appends, instead of the typical quadratic growth present in naive
22439 # implementations.
22440 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22441 then :
22442 eval 'as_fn_append ()
22444 eval $1+=\$2
22446 else $as_nop
22447 as_fn_append ()
22449 eval $1=\$$1\$2
22451 fi # as_fn_append
22453 # as_fn_arith ARG...
22454 # ------------------
22455 # Perform arithmetic evaluation on the ARGs, and store the result in the
22456 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22457 # must be portable across $(()) and expr.
22458 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22459 then :
22460 eval 'as_fn_arith ()
22462 as_val=$(( $* ))
22464 else $as_nop
22465 as_fn_arith ()
22467 as_val=`expr "$@" || test $? -eq 1`
22469 fi # as_fn_arith
22472 if expr a : '\(a\)' >/dev/null 2>&1 &&
22473 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22474 as_expr=expr
22475 else
22476 as_expr=false
22479 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22480 as_basename=basename
22481 else
22482 as_basename=false
22485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22486 as_dirname=dirname
22487 else
22488 as_dirname=false
22491 as_me=`$as_basename -- "$0" ||
22492 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22493 X"$0" : 'X\(//\)$' \| \
22494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22495 printf "%s\n" X/"$0" |
22496 sed '/^.*\/\([^/][^/]*\)\/*$/{
22497 s//\1/
22500 /^X\/\(\/\/\)$/{
22501 s//\1/
22504 /^X\/\(\/\).*/{
22505 s//\1/
22508 s/.*/./; q'`
22510 # Avoid depending upon Character Ranges.
22511 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22512 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22513 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22514 as_cr_digits='0123456789'
22515 as_cr_alnum=$as_cr_Letters$as_cr_digits
22518 # Determine whether it's possible to make 'echo' print without a newline.
22519 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22520 # for compatibility with existing Makefiles.
22521 ECHO_C= ECHO_N= ECHO_T=
22522 case `echo -n x` in #(((((
22523 -n*)
22524 case `echo 'xy\c'` in
22525 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22526 xy) ECHO_C='\c';;
22527 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22528 ECHO_T=' ';;
22529 esac;;
22531 ECHO_N='-n';;
22532 esac
22534 # For backward compatibility with old third-party macros, we provide
22535 # the shell variables $as_echo and $as_echo_n. New code should use
22536 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22537 as_echo='printf %s\n'
22538 as_echo_n='printf %s'
22540 rm -f conf$$ conf$$.exe conf$$.file
22541 if test -d conf$$.dir; then
22542 rm -f conf$$.dir/conf$$.file
22543 else
22544 rm -f conf$$.dir
22545 mkdir conf$$.dir 2>/dev/null
22547 if (echo >conf$$.file) 2>/dev/null; then
22548 if ln -s conf$$.file conf$$ 2>/dev/null; then
22549 as_ln_s='ln -s'
22550 # ... but there are two gotchas:
22551 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22552 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22553 # In both cases, we have to default to `cp -pR'.
22554 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22555 as_ln_s='cp -pR'
22556 elif ln conf$$.file conf$$ 2>/dev/null; then
22557 as_ln_s=ln
22558 else
22559 as_ln_s='cp -pR'
22561 else
22562 as_ln_s='cp -pR'
22564 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22565 rmdir conf$$.dir 2>/dev/null
22568 # as_fn_mkdir_p
22569 # -------------
22570 # Create "$as_dir" as a directory, including parents if necessary.
22571 as_fn_mkdir_p ()
22574 case $as_dir in #(
22575 -*) as_dir=./$as_dir;;
22576 esac
22577 test -d "$as_dir" || eval $as_mkdir_p || {
22578 as_dirs=
22579 while :; do
22580 case $as_dir in #(
22581 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22582 *) as_qdir=$as_dir;;
22583 esac
22584 as_dirs="'$as_qdir' $as_dirs"
22585 as_dir=`$as_dirname -- "$as_dir" ||
22586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22587 X"$as_dir" : 'X\(//\)[^/]' \| \
22588 X"$as_dir" : 'X\(//\)$' \| \
22589 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22590 printf "%s\n" X"$as_dir" |
22591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22592 s//\1/
22595 /^X\(\/\/\)[^/].*/{
22596 s//\1/
22599 /^X\(\/\/\)$/{
22600 s//\1/
22603 /^X\(\/\).*/{
22604 s//\1/
22607 s/.*/./; q'`
22608 test -d "$as_dir" && break
22609 done
22610 test -z "$as_dirs" || eval "mkdir $as_dirs"
22611 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22614 } # as_fn_mkdir_p
22615 if mkdir -p . 2>/dev/null; then
22616 as_mkdir_p='mkdir -p "$as_dir"'
22617 else
22618 test -d ./-p && rmdir ./-p
22619 as_mkdir_p=false
22623 # as_fn_executable_p FILE
22624 # -----------------------
22625 # Test if FILE is an executable regular file.
22626 as_fn_executable_p ()
22628 test -f "$1" && test -x "$1"
22629 } # as_fn_executable_p
22630 as_test_x='test -x'
22631 as_executable_p=as_fn_executable_p
22633 # Sed expression to map a string onto a valid CPP name.
22634 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22636 # Sed expression to map a string onto a valid variable name.
22637 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22640 exec 6>&1
22641 ## ----------------------------------- ##
22642 ## Main body of $CONFIG_STATUS script. ##
22643 ## ----------------------------------- ##
22644 _ASEOF
22645 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22648 # Save the log message, to keep $0 and so on meaningful, and to
22649 # report actual input values of CONFIG_FILES etc. instead of their
22650 # values after options handling.
22651 ac_log="
22652 This file was extended by Wine $as_me 8.3, which was
22653 generated by GNU Autoconf 2.71. Invocation command line was
22655 CONFIG_FILES = $CONFIG_FILES
22656 CONFIG_HEADERS = $CONFIG_HEADERS
22657 CONFIG_LINKS = $CONFIG_LINKS
22658 CONFIG_COMMANDS = $CONFIG_COMMANDS
22659 $ $0 $@
22661 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22664 _ACEOF
22667 case $ac_config_headers in *"
22668 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22669 esac
22672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22673 # Files that config.status was made for.
22674 config_headers="$ac_config_headers"
22675 config_links="$ac_config_links"
22676 config_commands="$ac_config_commands"
22678 _ACEOF
22680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22681 ac_cs_usage="\
22682 \`$as_me' instantiates files and other configuration actions
22683 from templates according to the current configuration. Unless the files
22684 and actions are specified as TAGs, all are instantiated by default.
22686 Usage: $0 [OPTION]... [TAG]...
22688 -h, --help print this help, then exit
22689 -V, --version print version number and configuration settings, then exit
22690 --config print configuration, then exit
22691 -q, --quiet, --silent
22692 do not print progress messages
22693 -d, --debug don't remove temporary files
22694 --recheck update $as_me by reconfiguring in the same conditions
22695 --header=FILE[:TEMPLATE]
22696 instantiate the configuration header FILE
22698 Configuration headers:
22699 $config_headers
22701 Configuration links:
22702 $config_links
22704 Configuration commands:
22705 $config_commands
22707 Report bugs to <wine-devel@winehq.org>.
22708 Wine home page: <https://www.winehq.org>."
22710 _ACEOF
22711 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22712 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22714 ac_cs_config='$ac_cs_config_escaped'
22715 ac_cs_version="\\
22716 Wine config.status 8.3
22717 configured by $0, generated by GNU Autoconf 2.71,
22718 with options \\"\$ac_cs_config\\"
22720 Copyright (C) 2021 Free Software Foundation, Inc.
22721 This config.status script is free software; the Free Software Foundation
22722 gives unlimited permission to copy, distribute and modify it."
22724 ac_pwd='$ac_pwd'
22725 srcdir='$srcdir'
22726 test -n "\$AWK" || AWK=awk
22727 _ACEOF
22729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22730 # The default lists apply if the user does not specify any file.
22731 ac_need_defaults=:
22732 while test $# != 0
22734 case $1 in
22735 --*=?*)
22736 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22737 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22738 ac_shift=:
22740 --*=)
22741 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22742 ac_optarg=
22743 ac_shift=:
22746 ac_option=$1
22747 ac_optarg=$2
22748 ac_shift=shift
22750 esac
22752 case $ac_option in
22753 # Handling of the options.
22754 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22755 ac_cs_recheck=: ;;
22756 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22757 printf "%s\n" "$ac_cs_version"; exit ;;
22758 --config | --confi | --conf | --con | --co | --c )
22759 printf "%s\n" "$ac_cs_config"; exit ;;
22760 --debug | --debu | --deb | --de | --d | -d )
22761 debug=: ;;
22762 --header | --heade | --head | --hea )
22763 $ac_shift
22764 case $ac_optarg in
22765 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22766 esac
22767 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22768 ac_need_defaults=false;;
22769 --he | --h)
22770 # Conflict between --help and --header
22771 as_fn_error $? "ambiguous option: \`$1'
22772 Try \`$0 --help' for more information.";;
22773 --help | --hel | -h )
22774 printf "%s\n" "$ac_cs_usage"; exit ;;
22775 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22776 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22777 ac_cs_silent=: ;;
22779 # This is an error.
22780 -*) as_fn_error $? "unrecognized option: \`$1'
22781 Try \`$0 --help' for more information." ;;
22783 *) as_fn_append ac_config_targets " $1"
22784 ac_need_defaults=false ;;
22786 esac
22787 shift
22788 done
22790 ac_configure_extra_args=
22792 if $ac_cs_silent; then
22793 exec 6>/dev/null
22794 ac_configure_extra_args="$ac_configure_extra_args --silent"
22797 _ACEOF
22798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22799 if \$ac_cs_recheck; then
22800 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22801 shift
22802 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22803 CONFIG_SHELL='$SHELL'
22804 export CONFIG_SHELL
22805 exec "\$@"
22808 _ACEOF
22809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22810 exec 5>>config.log
22812 echo
22813 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22814 ## Running $as_me. ##
22815 _ASBOX
22816 printf "%s\n" "$ac_log"
22817 } >&5
22819 _ACEOF
22820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22822 # INIT-COMMANDS
22824 wine_fn_output_makedep ()
22826 as_dir=tools; as_fn_mkdir_p
22827 $CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
22829 wine_fn_output_makefile ()
22831 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22832 # This Makefile understands the following targets:
22834 # all (default): build wine
22835 # clean: remove all intermediate files
22836 # distclean: also remove all files created by configure
22837 # test: run tests
22838 # testclean: clean test results to force running all tests again
22839 # install-lib: install libraries needed to run applications
22840 # install-dev: install development environment
22841 # install: install everything
22842 # uninstall: uninstall everything
22843 # ctags: create a tags file for vim and others.
22844 # etags: create a TAGS file for Emacs.
22846 SHELL = $SHELL
22847 PATH_SEPARATOR = $PATH_SEPARATOR
22848 PACKAGE_NAME = $PACKAGE_NAME
22849 PACKAGE_TARNAME = $PACKAGE_TARNAME
22850 PACKAGE_VERSION = $PACKAGE_VERSION
22851 PACKAGE_STRING = $PACKAGE_STRING
22852 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22853 PACKAGE_URL = $PACKAGE_URL
22854 exec_prefix = $exec_prefix
22855 prefix = $prefix
22856 program_transform_name = $program_transform_name
22857 bindir = $bindir
22858 sbindir = $sbindir
22859 libexecdir = $libexecdir
22860 datarootdir = $datarootdir
22861 datadir = $datadir
22862 sysconfdir = $sysconfdir
22863 sharedstatedir = $sharedstatedir
22864 localstatedir = $localstatedir
22865 runstatedir = $runstatedir
22866 includedir = $includedir
22867 oldincludedir = $oldincludedir
22868 docdir = $docdir
22869 infodir = $infodir
22870 htmldir = $htmldir
22871 dvidir = $dvidir
22872 pdfdir = $pdfdir
22873 psdir = $psdir
22874 libdir = $libdir
22875 localedir = $localedir
22876 mandir = $mandir
22877 DEFS = $DEFS
22878 ECHO_C = $ECHO_C
22879 ECHO_N = $ECHO_N
22880 ECHO_T = $ECHO_T
22881 LIBS = $LIBS
22882 build_alias = $build_alias
22883 host_alias = $host_alias
22884 target_alias = $target_alias
22885 system_dllpath = $system_dllpath
22886 build = $build
22887 build_cpu = $build_cpu
22888 build_vendor = $build_vendor
22889 build_os = $build_os
22890 host = $host
22891 host_cpu = $host_cpu
22892 host_vendor = $host_vendor
22893 host_os = $host_os
22894 dlldir = $dlldir
22895 fontdir = $fontdir
22896 nlsdir = $nlsdir
22897 srcdir = $srcdir
22898 SET_MAKE = $SET_MAKE
22899 CC = $CC
22900 CFLAGS = $CFLAGS
22901 LDFLAGS = $LDFLAGS
22902 CPPFLAGS = $CPPFLAGS
22903 ac_ct_CC = $ac_ct_CC
22904 EXEEXT = $EXEEXT
22905 OBJEXT = $OBJEXT
22906 CXX = $CXX
22907 CXXFLAGS = $CXXFLAGS
22908 ac_ct_CXX = $ac_ct_CXX
22909 CPPBIN = $CPPBIN
22910 LD = $LD
22911 TARGETFLAGS = $TARGETFLAGS
22912 toolsext = $toolsext
22913 HOST_ARCH = $HOST_ARCH
22914 aarch64_CC = $aarch64_CC
22915 aarch64_CFLAGS = $aarch64_CFLAGS
22916 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22917 aarch64_LDFLAGS = $aarch64_LDFLAGS
22918 aarch64_DEBUG = $aarch64_DEBUG
22919 aarch64_TARGET = $aarch64_TARGET
22920 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
22921 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
22922 arm_CC = $arm_CC
22923 arm_CFLAGS = $arm_CFLAGS
22924 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
22925 arm_LDFLAGS = $arm_LDFLAGS
22926 arm_DEBUG = $arm_DEBUG
22927 arm_TARGET = $arm_TARGET
22928 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
22929 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
22930 i386_CC = $i386_CC
22931 i386_CFLAGS = $i386_CFLAGS
22932 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
22933 i386_LDFLAGS = $i386_LDFLAGS
22934 i386_DEBUG = $i386_DEBUG
22935 i386_TARGET = $i386_TARGET
22936 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
22937 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
22938 x86_64_CC = $x86_64_CC
22939 x86_64_CFLAGS = $x86_64_CFLAGS
22940 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
22941 x86_64_LDFLAGS = $x86_64_LDFLAGS
22942 x86_64_DEBUG = $x86_64_DEBUG
22943 x86_64_TARGET = $x86_64_TARGET
22944 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
22945 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
22946 toolsdir = $toolsdir
22947 MAKEDEP = $MAKEDEP
22948 RUNTESTFLAGS = $RUNTESTFLAGS
22949 SED_CMD = $SED_CMD
22950 FLEX = $FLEX
22951 BISON = $BISON
22952 AR = $AR
22953 ac_ct_AR = $ac_ct_AR
22954 STRIP = $STRIP
22955 RANLIB = $RANLIB
22956 LN_S = $LN_S
22957 GREP = $GREP
22958 EGREP = $EGREP
22959 LDCONFIG = $LDCONFIG
22960 MSGFMT = $MSGFMT
22961 PKG_CONFIG = $PKG_CONFIG
22962 FONTFORGE = $FONTFORGE
22963 RSVG = $RSVG
22964 CONVERT = $CONVERT
22965 ICOTOOL = $ICOTOOL
22966 I386_LIBS = $I386_LIBS
22967 OPENGL_LIBS = $OPENGL_LIBS
22968 DLLFLAGS = $DLLFLAGS
22969 LDDLLFLAGS = $LDDLLFLAGS
22970 LDEXECFLAGS = $LDEXECFLAGS
22971 EXTRACFLAGS = $EXTRACFLAGS
22972 UNIXDLLFLAGS = $UNIXDLLFLAGS
22973 UNIXLDFLAGS = $UNIXLDFLAGS
22974 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
22975 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
22976 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
22977 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
22978 LDD = $LDD
22979 OTOOL = $OTOOL
22980 READELF = $READELF
22981 SUBDIRS = $SUBDIRS
22982 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
22983 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
22984 CARBON_LIBS = $CARBON_LIBS
22985 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
22986 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
22987 IOKIT_LIBS = $IOKIT_LIBS
22988 METAL_LIBS = $METAL_LIBS
22989 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
22990 CORESERVICES_LIBS = $CORESERVICES_LIBS
22991 APPKIT_LIBS = $APPKIT_LIBS
22992 SECURITY_LIBS = $SECURITY_LIBS
22993 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
22994 COREAUDIO_LIBS = $COREAUDIO_LIBS
22995 OPENCL_LIBS = $OPENCL_LIBS
22996 OBJC = $OBJC
22997 OBJCFLAGS = $OBJCFLAGS
22998 ac_ct_OBJC = $ac_ct_OBJC
22999 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23000 PE_ARCHS = $PE_ARCHS
23001 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23002 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23003 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23004 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23005 GSM_PE_LIBS = $GSM_PE_LIBS
23006 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23007 JPEG_PE_LIBS = $JPEG_PE_LIBS
23008 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23009 JXR_PE_LIBS = $JXR_PE_LIBS
23010 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23011 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23012 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23013 LDAP_PE_LIBS = $LDAP_PE_LIBS
23014 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23015 MPG123_PE_LIBS = $MPG123_PE_LIBS
23016 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23017 PNG_PE_LIBS = $PNG_PE_LIBS
23018 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23019 TIFF_PE_LIBS = $TIFF_PE_LIBS
23020 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23021 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23022 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23023 XML2_PE_LIBS = $XML2_PE_LIBS
23024 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23025 XSLT_PE_LIBS = $XSLT_PE_LIBS
23026 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23027 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23028 ZYDIS_PE_CFLAGS = $ZYDIS_PE_CFLAGS
23029 ZYDIS_PE_LIBS = $ZYDIS_PE_LIBS
23030 PTHREAD_LIBS = $PTHREAD_LIBS
23031 XMKMF = $XMKMF
23032 CPP = $CPP
23033 X_CFLAGS = $X_CFLAGS
23034 X_PRE_LIBS = $X_PRE_LIBS
23035 X_LIBS = $X_LIBS
23036 X_EXTRA_LIBS = $X_EXTRA_LIBS
23037 PCAP_LIBS = $PCAP_LIBS
23038 PCSCLITE_LIBS = $PCSCLITE_LIBS
23039 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23040 INOTIFY_LIBS = $INOTIFY_LIBS
23041 DBUS_CFLAGS = $DBUS_CFLAGS
23042 DBUS_LIBS = $DBUS_LIBS
23043 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23044 GNUTLS_LIBS = $GNUTLS_LIBS
23045 SANE_CFLAGS = $SANE_CFLAGS
23046 SANE_LIBS = $SANE_LIBS
23047 USB_CFLAGS = $USB_CFLAGS
23048 USB_LIBS = $USB_LIBS
23049 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23050 GPHOTO2_LIBS = $GPHOTO2_LIBS
23051 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23052 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23053 RESOLV_LIBS = $RESOLV_LIBS
23054 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23055 FREETYPE_LIBS = $FREETYPE_LIBS
23056 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23057 PULSE_CFLAGS = $PULSE_CFLAGS
23058 PULSE_LIBS = $PULSE_LIBS
23059 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23060 GSTREAMER_LIBS = $GSTREAMER_LIBS
23061 ALSA_LIBS = $ALSA_LIBS
23062 OSS4_CFLAGS = $OSS4_CFLAGS
23063 OSS4_LIBS = $OSS4_LIBS
23064 UDEV_CFLAGS = $UDEV_CFLAGS
23065 UDEV_LIBS = $UDEV_LIBS
23066 UNWIND_CFLAGS = $UNWIND_CFLAGS
23067 UNWIND_LIBS = $UNWIND_LIBS
23068 SDL2_CFLAGS = $SDL2_CFLAGS
23069 SDL2_LIBS = $SDL2_LIBS
23070 CAPI20_CFLAGS = $CAPI20_CFLAGS
23071 CAPI20_LIBS = $CAPI20_LIBS
23072 CUPS_CFLAGS = $CUPS_CFLAGS
23073 CUPS_LIBS = $CUPS_LIBS
23074 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23075 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23076 KRB5_CFLAGS = $KRB5_CFLAGS
23077 KRB5_LIBS = $KRB5_LIBS
23078 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23079 GSSAPI_LIBS = $GSSAPI_LIBS
23080 PROCSTAT_LIBS = $PROCSTAT_LIBS
23081 NETAPI_CFLAGS = $NETAPI_CFLAGS
23082 NETAPI_LIBS = $NETAPI_LIBS
23083 MSVCRTFLAGS = $MSVCRTFLAGS
23084 DELAYLOADFLAG = $DELAYLOADFLAG
23085 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23086 RT_LIBS = $RT_LIBS
23087 TAGSFLAGS = $TAGSFLAGS
23088 LIBOBJS = $LIBOBJS
23089 LTLIBOBJS = $LTLIBOBJS
23090 $SET_MAKE
23091 $wine_rules
23092 _WINE_EOF
23093 as_fn_error $? "could not create Makefile" "$LINENO" 5
23096 _ACEOF
23098 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23100 # Handling of arguments.
23101 for ac_config_target in $ac_config_targets
23103 case $ac_config_target in
23104 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23105 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23106 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23107 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23108 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23109 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23111 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23112 esac
23113 done
23116 # If the user did not use the arguments to specify the items to instantiate,
23117 # then the envvar interface is used. Set only those that are not.
23118 # We use the long form for the default assignment because of an extremely
23119 # bizarre bug on SunOS 4.1.3.
23120 if $ac_need_defaults; then
23121 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23122 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23123 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23126 # Have a temporary directory for convenience. Make it in the build tree
23127 # simply because there is no reason against having it here, and in addition,
23128 # creating and moving files from /tmp can sometimes cause problems.
23129 # Hook for its removal unless debugging.
23130 # Note that there is a small window in which the directory will not be cleaned:
23131 # after its creation but before its name has been assigned to `$tmp'.
23132 $debug ||
23134 tmp= ac_tmp=
23135 trap 'exit_status=$?
23136 : "${ac_tmp:=$tmp}"
23137 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23139 trap 'as_fn_exit 1' 1 2 13 15
23141 # Create a (secure) tmp directory for tmp files.
23144 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23145 test -d "$tmp"
23146 } ||
23148 tmp=./conf$$-$RANDOM
23149 (umask 077 && mkdir "$tmp")
23150 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23151 ac_tmp=$tmp
23153 # Set up the scripts for CONFIG_HEADERS section.
23154 # No need to generate them if there are no CONFIG_HEADERS.
23155 # This happens for instance with `./config.status Makefile'.
23156 if test -n "$CONFIG_HEADERS"; then
23157 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23158 BEGIN {
23159 _ACEOF
23161 # Transform confdefs.h into an awk script `defines.awk', embedded as
23162 # here-document in config.status, that substitutes the proper values into
23163 # config.h.in to produce config.h.
23165 # Create a delimiter string that does not exist in confdefs.h, to ease
23166 # handling of long lines.
23167 ac_delim='%!_!# '
23168 for ac_last_try in false false :; do
23169 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23170 if test -z "$ac_tt"; then
23171 break
23172 elif $ac_last_try; then
23173 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23174 else
23175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23177 done
23179 # For the awk script, D is an array of macro values keyed by name,
23180 # likewise P contains macro parameters if any. Preserve backslash
23181 # newline sequences.
23183 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23184 sed -n '
23185 s/.\{148\}/&'"$ac_delim"'/g
23186 t rset
23187 :rset
23188 s/^[ ]*#[ ]*define[ ][ ]*/ /
23189 t def
23191 :def
23192 s/\\$//
23193 t bsnl
23194 s/["\\]/\\&/g
23195 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23196 D["\1"]=" \3"/p
23197 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23199 :bsnl
23200 s/["\\]/\\&/g
23201 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23202 D["\1"]=" \3\\\\\\n"\\/p
23203 t cont
23204 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23205 t cont
23207 :cont
23209 s/.\{148\}/&'"$ac_delim"'/g
23210 t clear
23211 :clear
23212 s/\\$//
23213 t bsnlc
23214 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23216 :bsnlc
23217 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23218 b cont
23219 ' <confdefs.h | sed '
23220 s/'"$ac_delim"'/"\\\
23221 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23223 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23224 for (key in D) D_is_set[key] = 1
23225 FS = "\a"
23227 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23228 line = \$ 0
23229 split(line, arg, " ")
23230 if (arg[1] == "#") {
23231 defundef = arg[2]
23232 mac1 = arg[3]
23233 } else {
23234 defundef = substr(arg[1], 2)
23235 mac1 = arg[2]
23237 split(mac1, mac2, "(") #)
23238 macro = mac2[1]
23239 prefix = substr(line, 1, index(line, defundef) - 1)
23240 if (D_is_set[macro]) {
23241 # Preserve the white space surrounding the "#".
23242 print prefix "define", macro P[macro] D[macro]
23243 next
23244 } else {
23245 # Replace #undef with comments. This is necessary, for example,
23246 # in the case of _POSIX_SOURCE, which is predefined and required
23247 # on some systems where configure will not decide to define it.
23248 if (defundef == "undef") {
23249 print "/*", prefix defundef, macro, "*/"
23250 next
23254 { print }
23255 _ACAWK
23256 _ACEOF
23257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23258 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23259 fi # test -n "$CONFIG_HEADERS"
23262 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23263 shift
23264 for ac_tag
23266 case $ac_tag in
23267 :[FHLC]) ac_mode=$ac_tag; continue;;
23268 esac
23269 case $ac_mode$ac_tag in
23270 :[FHL]*:*);;
23271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23272 :[FH]-) ac_tag=-:-;;
23273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23274 esac
23275 ac_save_IFS=$IFS
23276 IFS=:
23277 set x $ac_tag
23278 IFS=$ac_save_IFS
23279 shift
23280 ac_file=$1
23281 shift
23283 case $ac_mode in
23284 :L) ac_source=$1;;
23285 :[FH])
23286 ac_file_inputs=
23287 for ac_f
23289 case $ac_f in
23290 -) ac_f="$ac_tmp/stdin";;
23291 *) # Look for the file first in the build tree, then in the source tree
23292 # (if the path is not absolute). The absolute path cannot be DOS-style,
23293 # because $ac_f cannot contain `:'.
23294 test -f "$ac_f" ||
23295 case $ac_f in
23296 [\\/$]*) false;;
23297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23298 esac ||
23299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23300 esac
23301 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23302 as_fn_append ac_file_inputs " '$ac_f'"
23303 done
23305 # Let's still pretend it is `configure' which instantiates (i.e., don't
23306 # use $as_me), people would be surprised to read:
23307 # /* config.h. Generated by config.status. */
23308 configure_input='Generated from '`
23309 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23310 `' by configure.'
23311 if test x"$ac_file" != x-; then
23312 configure_input="$ac_file. $configure_input"
23313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23314 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23316 # Neutralize special characters interpreted by sed in replacement strings.
23317 case $configure_input in #(
23318 *\&* | *\|* | *\\* )
23319 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23320 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23321 *) ac_sed_conf_input=$configure_input;;
23322 esac
23324 case $ac_tag in
23325 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23327 esac
23329 esac
23331 ac_dir=`$as_dirname -- "$ac_file" ||
23332 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23333 X"$ac_file" : 'X\(//\)[^/]' \| \
23334 X"$ac_file" : 'X\(//\)$' \| \
23335 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23336 printf "%s\n" X"$ac_file" |
23337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23338 s//\1/
23341 /^X\(\/\/\)[^/].*/{
23342 s//\1/
23345 /^X\(\/\/\)$/{
23346 s//\1/
23349 /^X\(\/\).*/{
23350 s//\1/
23353 s/.*/./; q'`
23354 as_dir="$ac_dir"; as_fn_mkdir_p
23355 ac_builddir=.
23357 case "$ac_dir" in
23358 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23360 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23361 # A ".." for each directory in $ac_dir_suffix.
23362 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23363 case $ac_top_builddir_sub in
23364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23366 esac ;;
23367 esac
23368 ac_abs_top_builddir=$ac_pwd
23369 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23370 # for backward compatibility:
23371 ac_top_builddir=$ac_top_build_prefix
23373 case $srcdir in
23374 .) # We are building in place.
23375 ac_srcdir=.
23376 ac_top_srcdir=$ac_top_builddir_sub
23377 ac_abs_top_srcdir=$ac_pwd ;;
23378 [\\/]* | ?:[\\/]* ) # Absolute name.
23379 ac_srcdir=$srcdir$ac_dir_suffix;
23380 ac_top_srcdir=$srcdir
23381 ac_abs_top_srcdir=$srcdir ;;
23382 *) # Relative name.
23383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23384 ac_top_srcdir=$ac_top_build_prefix$srcdir
23385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23386 esac
23387 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23390 case $ac_mode in
23394 # CONFIG_HEADER
23396 if test x"$ac_file" != x-; then
23398 printf "%s\n" "/* $configure_input */" >&1 \
23399 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23400 } >"$ac_tmp/config.h" \
23401 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23402 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23404 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23405 else
23406 rm -f "$ac_file"
23407 mv "$ac_tmp/config.h" "$ac_file" \
23408 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23410 else
23411 printf "%s\n" "/* $configure_input */" >&1 \
23412 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23413 || as_fn_error $? "could not create -" "$LINENO" 5
23418 # CONFIG_LINK
23421 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23423 else
23424 # Prefer the file from the source tree if names are identical.
23425 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23426 ac_source=$srcdir/$ac_source
23429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23430 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23432 if test ! -r "$ac_source"; then
23433 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23435 rm -f "$ac_file"
23437 # Try a relative symlink, then a hard link, then a copy.
23438 case $ac_source in
23439 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23440 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23441 esac
23442 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23443 ln "$ac_source" "$ac_file" 2>/dev/null ||
23444 cp -p "$ac_source" "$ac_file" ||
23445 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23448 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23449 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23451 esac
23454 case $ac_file$ac_mode in
23455 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23456 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23457 "Makefile":C) wine_fn_output_makefile Makefile ;;
23459 esac
23460 done # for ac_tag
23463 as_fn_exit 0
23464 _ACEOF
23465 ac_clean_files=$ac_clean_files_save
23467 test $ac_write_fail = 0 ||
23468 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23471 # configure is writing to config.log, and then calls config.status.
23472 # config.status does its own redirection, appending to config.log.
23473 # Unfortunately, on DOS this fails, as config.log is still kept open
23474 # by configure, so config.status won't be able to write to it; its
23475 # output is simply discarded. So we exec the FD to /dev/null,
23476 # effectively closing config.log, so it can be properly (re)opened and
23477 # appended to by config.status. When coming back to configure, we
23478 # need to make the FD available again.
23479 if test "$no_create" != yes; then
23480 ac_cs_success=:
23481 ac_config_status_args=
23482 test "$silent" = yes &&
23483 ac_config_status_args="$ac_config_status_args --quiet"
23484 exec 5>/dev/null
23485 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23486 exec 5>>config.log
23487 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23488 # would make configure fail if this is the last instruction.
23489 $ac_cs_success || as_fn_exit 1
23491 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23493 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23497 if test "$no_create" = "yes"
23498 then
23499 exit 0
23502 ac_save_IFS="$IFS"
23503 if test "x$wine_notices" != x; then
23504 echo >&6
23505 IFS="|"
23506 for msg in $wine_notices; do
23507 IFS="$ac_save_IFS"
23508 if ${msg:+false} :
23509 then :
23511 else $as_nop
23512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23513 printf "%s\n" "$as_me: $msg" >&6;}
23515 done
23517 IFS="|"
23518 for msg in $wine_warnings; do
23519 IFS="$ac_save_IFS"
23520 if ${msg:+false} :
23521 then :
23523 else $as_nop
23524 echo >&2
23525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23526 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23528 done
23529 IFS="$ac_save_IFS"
23531 printf "%s\n" "
23532 $as_me: Finished. Do '${ac_make}' to compile Wine.
23533 " >&6